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 +8 -8
- data/lib/schema_tools/modules/attributes.rb +1 -1
- data/lib/schema_tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODY5MGJkODcxM2MxNzFjMmI2ZTdlMjU5YjI5NmI4NmQ4ZTYwOTZlYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDY3YTg5NDliYTliOGI1NjgxZDZlMTVlZmVmMDg1Y2EzMzQ4MWIwOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjQxODIyMmI3Njg5MzIzZmZmYjE0NDk3M2YzZTc3NTY1MTgyYjA2N2I2NjI3
|
10
|
+
MmFlMjRkMzdmNTVkYjFiOGFhMDFiYjFmMTEwNTRlOWY3OWQ4ODU0ZTc2NTli
|
11
|
+
ZDNhY2FiNmZmNWRmZmFhMzgzNGEwOGJmYTlmMjI1MmJhZjc0OWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
data/lib/schema_tools/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|