json_schema_tools 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWUzNzQ4ZTc1NjNjNzRmYzc3Y2Y1ODg2MDBjZWU3NzdhYjNlMzBmOQ==
4
+ ODY5MGJkODcxM2MxNzFjMmI2ZTdlMjU5YjI5NmI4NmQ4ZTYwOTZlYw==
5
5
  data.tar.gz: !binary |-
6
- NGI2YjAzZGQ2M2UxMDY1M2M5NWNiY2E2NzRhYzYxZDhlZTZiY2E5Zg==
6
+ MDY3YTg5NDliYTliOGI1NjgxZDZlMTVlZmVmMDg1Y2EzMzQ4MWIwOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzAxYjIwZTgzN2JhMmMyYTQ5ZGNmNjIyYjdhYzg0ZGNkM2E0ODk2ZTcwZDU2
10
- NzU2OWI1MjU1YjA2ZjEzYjc0ZjI1YmU0ZDg5MzEzNGY1ZjRjYTYxNGU1NmYy
11
- ZDQyM2NmM2I4NWMxOGViOWZlYzA2YzQ5MmRiMWQ3NmE1M2ViNTI=
9
+ MjQxODIyMmI3Njg5MzIzZmZmYjE0NDk3M2YzZTc3NTY1MTgyYjA2N2I2NjI3
10
+ MmFlMjRkMzdmNTVkYjFiOGFhMDFiYjFmMTEwNTRlOWY3OWQ4ODU0ZTc2NTli
11
+ ZDNhY2FiNmZmNWRmZmFhMzgzNGEwOGJmYTlmMjI1MmJhZjc0OWM=
12
12
  data.tar.gz: !binary |-
13
- OTcxMDg5YmQ1NjQ4NzcxMzhkN2U4MjVhYTk2MWU5NjQzODAwZGI5MzU1MTkz
14
- OGM3MmFmMGM1ZTUwYzM4YzhmNzRhYjUwZTFiZTE1YTZiNjU2YzkxOGM1NGVl
15
- MGQzYjBiZTgzZmE2ZmQzNDQzZjVhYmNiMDIxNTA3NWY1MTdmMDg=
13
+ YzVlZGY3MTJmMjYyZjA1MDYyN2Q3NjI3ZWFmYzFiMTY5ZTUzNzM5ODI0ZTkw
14
+ Y2M5NWY1N2Q3MzVlZGQ3MGI5ZDE5ODc5NTJjNDM4Mzk2ZGE4ZjBjMjdjMTRj
15
+ NmZiNTUwODg2NTA4Yjk0NGFlODk0ODNhMDIzNjg2MmIxZWY3YTU=
@@ -85,7 +85,7 @@ module SchemaTools
85
85
  # set values to raw schema attributes, even if there are no setters
86
86
  # assuming this objects comes from a remote site
87
87
  # TODO type conversion string/integer/number/date/datetime?
88
- obj.schema_attrs[key] = val
88
+ obj.schema_attrs["#{key}"] = val
89
89
  # TODO if val is a hash / array => look for nested class
90
90
  end
91
91
  obj
@@ -1,3 +1,3 @@
1
1
  module SchemaTools
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_schema_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Leciejewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-26 00:00:00.000000000 Z
11
+ date: 2014-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json