doggy 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/doggy/model.rb +1 -1
- data/lib/doggy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf68fa19236931b44ba43b7d9e287b89f779251b
|
4
|
+
data.tar.gz: 8badcc1a3a942ffa85c8fb0e14f5e0cfd55c06e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52aaa6d8f4db0e6420c66da1dd89e5b9152b0f5042e5bf3f3ce847258ecf47b0d8a6e6b214b3f56aaac301ed4097b11878ec7eb28eb6d0bd54d155c7d39375b8
|
7
|
+
data.tar.gz: c9004b62638128bd01242f134cec40d71b686e93ae58b74c0f8e05fe861c8d89acd37e715ff588f37daae9969d34b61fb3235fe5aebcb22912837e2e974374b8
|
data/lib/doggy/model.rb
CHANGED
@@ -61,7 +61,7 @@ module Doggy
|
|
61
61
|
# TODO: Add serializer support here
|
62
62
|
files = Dir[Doggy.object_root.join("**/*.json")]
|
63
63
|
resources = Parallel.map(files) do |file|
|
64
|
-
raw = File.read(file)
|
64
|
+
raw = File.read(file, encoding: 'utf-8')
|
65
65
|
|
66
66
|
begin
|
67
67
|
attributes = JSON.parse(raw)
|
data/lib/doggy/version.rb
CHANGED