Skip to content

Commit 69f67ec

Browse files
committed
Style/NumericLiteralPrefix
1 parent d4b6d79 commit 69f67ec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

example_app_generator/generate_action_mailer_specs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Rails.application.class.parent.to_s
2020

2121
copy_file 'spec/support/default_preview_path'
22-
chmod 'spec/support/default_preview_path', 0755
22+
chmod 'spec/support/default_preview_path', 0o755
2323
gsub_file 'spec/support/default_preview_path',
2424
/ExampleApp/,
2525
Rails.application.class.parent.to_s

example_app_generator/generate_app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@
7878
gsub_file 'travis_retry_bundle_install.sh',
7979
'REPLACE_BUNDLE_PATH',
8080
bundle_install_path
81-
chmod 'travis_retry_bundle_install.sh', 0755
81+
chmod 'travis_retry_bundle_install.sh', 0o755
8282
end

spec/sanity_check_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def with_clean_env
2222
|RSpec::Support.require_rspec_core "project_initializer"
2323
EOF
2424
end
25-
FileUtils.chmod 0777, script
25+
FileUtils.chmod 0o777, script
2626

2727
with_clean_env do
2828
expect(`bundle exec #{script} 2>&1`).
@@ -43,7 +43,7 @@ def with_clean_env
4343
|RSpec::Support.require_rspec_core "project_initializer"
4444
EOF
4545
end
46-
FileUtils.chmod 0777, script
46+
FileUtils.chmod 0o777, script
4747

4848
with_clean_env do
4949
expect(`bundle exec #{script} 2>&1`).to be_empty

0 commit comments

Comments
 (0)