json_world 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/json_world/json_encodable.rb +1 -1
- data/lib/json_world/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a56b906bd5b8a0d975b5ca5dbbfb8be7fe10de3b
|
4
|
+
data.tar.gz: 5235d41752994d3a542b13ec8f813d09479ace9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4a7ebd1976210b96f8d2ec1011ace3146a7c2d529c3931ac0959916c0eb4b47fdc96060b54b44cc8590f9e9331a5ac04ce5682d3ece0137bbcda4dd6e980e10
|
7
|
+
data.tar.gz: 0c7251abfca1e122d65c418a2ac44355199987bfb231c76f3171fc5589e5bae77d2757a1d778431a7877fe64c47e13ad6753f7709c4c244e7598cb047763d6cc
|
data/CHANGELOG.md
CHANGED
@@ -17,7 +17,7 @@ module JsonWorld
|
|
17
17
|
names = names & Array(options[:only]) if options[:only]
|
18
18
|
names.inject({}) do |hash, property_name|
|
19
19
|
key = property_name
|
20
|
-
value =
|
20
|
+
value = __send__(property_name)
|
21
21
|
value = value.iso8601 if value.is_a?(Time)
|
22
22
|
hash.merge(key => value)
|
23
23
|
end
|
data/lib/json_world/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_world
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.6.11
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: Provides DSL to define JSON Schema representation of your class.
|