Skip to content

Commit

Permalink
Fix namespace when included in rails (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcqualie authored Feb 6, 2022
1 parent 918ca99 commit 5aae40d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0



## Unreleased

### Fixed

- Broken namespace when saving credentials in rails



## [0.6.0] - 2022-02-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion lib/diffcrypt/rails/encrypted_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def read
def write(contents, original_encrypted_contents = nil)
deserialize(contents)

File.binwrite "#{content_path}.tmp", encrypt(contents, original_encrypted_contents)
::File.binwrite "#{content_path}.tmp", encrypt(contents, original_encrypted_contents)
::FileUtils.mv "#{content_path}.tmp", content_path
end

Expand Down

0 comments on commit 5aae40d

Please sign in to comment.