Skip to content

Commit

Permalink
Merge pull request #92 from SonicGarden/0.17.1
Browse files Browse the repository at this point in the history
[review] ERB.new引数の非推奨警告対応
  • Loading branch information
aki77 authored Apr 23, 2024
2 parents a259b48 + 856169c commit 0ff3939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/copy_tuner_client/request_sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def render_with_layout(view)
# you have to pass a binding to this (a proc) so that ERB can have
# access to helper functions and local variables
def render_without_layout(view, binding)
ERB.new(File.read(File.join(VIEW_PATH, 'copytuner', view.to_s + '.html.erb')), nil, nil, 'frobnitz').result(binding)
ERB.new(File.read(File.join(VIEW_PATH, 'copytuner', view.to_s + '.html.erb')), eoutvar: 'frobnitz').result(binding)
end

def cancel_sync?(env)
Expand Down
2 changes: 1 addition & 1 deletion lib/copy_tuner_client/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module CopyTunerClient
# Client version
VERSION = '0.17.0'.freeze
VERSION = '0.17.1'.freeze

# API version being used to communicate with the server
API_VERSION = '2.0'.freeze
Expand Down

0 comments on commit 0ff3939

Please sign in to comment.