constancy 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/constancy/sync_target.rb +2 -2
- data/lib/constancy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc2e9db6619985c8a4f5a9b52b26c54100ef32e1
|
4
|
+
data.tar.gz: feeb46b8b6d63c7a55c61060daf70ef032456530
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fd58215c1eb8d513976504692d77e71f0498419cb95a8c592772480504d47dc678fe577047ad7269c46230be1314cd97bbcf0dc0c57d793330605cde8811b7a
|
7
|
+
data.tar.gz: 9b86de0c1bd385ee5647392706ce4d59d7e3ab1f676127ad717a85943267ce73482460c9234ecf77e339b2e9635a6c63a1d2bd6870d7d4534a9becd63be53a14
|
@@ -71,9 +71,9 @@ class Constancy
|
|
71
71
|
|
72
72
|
self.local_files.each do |local_file|
|
73
73
|
@local_items[local_file.sub(%r{^#{self.base_dir}/?}, '')] = if self.chomp?
|
74
|
-
File.read(local_file).chomp
|
74
|
+
File.read(local_file).chomp.force_encoding(Encoding::ASCII_8BIT)
|
75
75
|
else
|
76
|
-
File.read(local_file)
|
76
|
+
File.read(local_file).force_encoding(Encoding::ASCII_8BIT)
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
data/lib/constancy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: constancy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Adams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: imperium
|