Skip to content

Commit a15ec0f

Browse files
authored
bundle update (#94)
1 parent a100ad3 commit a15ec0f

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Style/TrailingCommaInHashLiteral:
2323
EnforcedStyleForMultiline: consistent_comma
2424
Style/AccessorGrouping:
2525
EnforcedStyle: separated
26+
Style/OpenStructUse:
27+
Exclude:
28+
- test/*_test.rb
29+
- test/**/*_test.rb
2630

2731
Layout/LineLength:
2832
Exclude:

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ source 'https://rubygems.org'
66
gemspec
77

88
gem 'minitest', '~> 5.0'
9-
gem 'minitest-reporters', '~> 1.4.3'
9+
gem 'minitest-reporters', '~> 1.5.0'
1010
gem 'rake', '~> 13.0'
11-
gem 'rubocop', '~> 1.17.0'
11+
gem 'rubocop', '~> 1.25.1'
1212
gem 'simplecov', '~> 0.21.2', require: false # CodeClimate not compatible with 0.18+ yet - https://github.com/codeclimate/test-reporter/issues/413
1313
gem 'simplecov-lcov', '< 0.9'

diffcrypt.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
3131

3232
spec.add_runtime_dependency 'activesupport', '>= 6.0', '< 7.1'
3333
spec.add_runtime_dependency 'thor', '>= 0.20', '< 2'
34+
spec.metadata['rubygems_mfa_required'] = 'true'
3435
end

lib/diffcrypt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MissingKeyError < RuntimeError
1717
def initialize(key_path:, env_key:)
1818
super \
1919
'Missing encryption key to decrypt file with. ' \
20-
"Ask your team for your master key and write it to #{key_path} or put it in the ENV['#{env_key}']."
20+
"Ask your team for your master key and write it to #{key_path} or put it in the ENV['#{env_key}']."
2121
end
2222
end
2323
end

lib/diffcrypt/rails/encrypted_configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def read
5454
def write(contents, original_encrypted_contents = nil)
5555
deserialize(contents)
5656

57-
IO.binwrite "#{content_path}.tmp", encrypt(contents, original_encrypted_contents)
57+
File.binwrite "#{content_path}.tmp", encrypt(contents, original_encrypted_contents)
5858
::FileUtils.mv "#{content_path}.tmp", content_path
5959
end
6060

0 commit comments

Comments
 (0)