Skip to content

Commit

Permalink
rephrase
Browse files Browse the repository at this point in the history
  • Loading branch information
LeipeLeon committed Oct 16, 2023
1 parent a069500 commit e097396
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
Starting process:
-> Copy config/credentials/production.key -> config/credentials/production.key.bak-2023-10-15-084335
-> Copy config/credentials/production.yml.enc -> config/credentials/production.yml.enc.bak-2023-10-15-084335
-> Writing 774ef137809953c633f03233d3ec5d35 to config/credentials/production.key
-> Writing the key "774ef137809953c633f03233d3ec5d35" to config/credentials/production.key
-> Writing the re-encrypted credentials to config/credentials/production.yml.enc

Finished! The next steps are:
Expand Down
2 changes: 1 addition & 1 deletion lib/rails_key_rotator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def write_credentials(contents) # the new configuration
end

def write_key
say "Writing #{new_key} to #{key_path}"
say %(Writing the key "#{new_key}" to #{key_path})
File.write(key_path, new_key)
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/rails_key_rotator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
Starting process:
-> Copy #{credentials_file_path} -> #{credentials_file_path}.bak-2023-10-15-084335
-> Copy #{credentials_key_path} -> #{credentials_key_path}.bak-2023-10-15-084335
-> Writing #{new_key} to #{credentials_key_path}
-> Writing the key "#{new_key}" to #{credentials_key_path}
-> Writing the re-encrypted credentials to #{credentials_file_path}
Finished! The next steps are:
Expand Down

0 comments on commit e097396

Please sign in to comment.