We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ruby-next
1 parent 597fb14 commit c45fac0Copy full SHA for c45fac0
3 files changed
.rbnextrc
@@ -1,4 +1,5 @@
1
nextify: |
2
+ ./lib
3
--min-version=2.6
4
--edge
5
--proposed
Rakefile
@@ -76,7 +76,7 @@ end
76
desc "Transpile all gems"
77
task "nextify:all" do
78
with_all_gems(false) do |path|
79
- sh "bundle exec ruby-next nextify #{path}/lib -V"
+ sh "bundle exec ruby-next nextify #{path} -V"
80
end
81
82
test/integration/function_with_strong_parameters_plugin_test.rb
@@ -17,7 +17,9 @@ def index
17
@response.body = request_body.permit(*PERMITTED_PARAMS).to_h
18
19
20
- private def request_body = params.require(:body)
+ private def request_body
21
+ params.require(:body)
22
+ end
23
24
25
describe FunctionWithStrongParameters do
0 commit comments