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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d96a74f14ef6f27338117852bb88aebdfd32662
4
- data.tar.gz: 7a5baac442a5bf308a57b4dcf0ff1b0e7de21128
3
+ metadata.gz: cf68fa19236931b44ba43b7d9e287b89f779251b
4
+ data.tar.gz: 8badcc1a3a942ffa85c8fb0e14f5e0cfd55c06e4
5
5
  SHA512:
6
- metadata.gz: 0817bf1a9bf7f91af82b33651578a775ffedcea25c102b35a4d6cd6cae39ea224b2863ae92b5ece2a4f210ae53def8609e87dd5874322fc04490e761dff30463
7
- data.tar.gz: 6e542bb6d2dbc96ba6133ce457141ab402f42954e052e741c63433393d33bcce6b9d4ff795c47bc629bbc76a4fb32dd4263a5c2f1ae923b5f88a76f0d14a56df
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Doggy
4
- VERSION = "2.0.2"
4
+ VERSION = "2.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doggy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Gorodetsky