Skip to content

Commit 5aae40d

Browse files
authored
Fix namespace when included in rails (#100)
1 parent 918ca99 commit 5aae40d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88

99

10+
## Unreleased
11+
12+
### Fixed
13+
14+
- Broken namespace when saving credentials in rails
15+
16+
17+
1018
## [0.6.0] - 2022-02-06
1119

1220
### Added

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-
File.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)