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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78a9ec4a5c3040d69fa2d06bcd322ec8aba1739a
4
- data.tar.gz: 1668506bd3e443405893b8e1e1c082ebcd967d09
3
+ metadata.gz: fc2e9db6619985c8a4f5a9b52b26c54100ef32e1
4
+ data.tar.gz: feeb46b8b6d63c7a55c61060daf70ef032456530
5
5
  SHA512:
6
- metadata.gz: 1e6a2749daa8a4531a0d14ba4b3b893a7d067d1e47e64ed40af6796d55b9c0e95a52145337e819a0ed6dbf312dc2c93a431bc6b5fd8330ea6e645a0fc6d1fd49
7
- data.tar.gz: 62a3ad2d04c6d73fd711e6f7db1e244a1a651e8a5146ab12dec4c7be8f1e72b6e1bb3cbb5b4fd73eb84fd61caf9857bbd8c35424dd646b0f653463bddfdceb0e
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
 
@@ -1,5 +1,5 @@
1
1
  # This software is public domain. No rights are reserved. See LICENSE for more information.
2
2
 
3
3
  class Constancy
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
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.3
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-05-18 00:00:00.000000000 Z
11
+ date: 2018-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: imperium