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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62ec9b2a508b37842da8cc403daaaa142550252d
4
- data.tar.gz: aac5963bfe515e09001003d9243a8cc6803c8625
3
+ metadata.gz: a56b906bd5b8a0d975b5ca5dbbfb8be7fe10de3b
4
+ data.tar.gz: 5235d41752994d3a542b13ec8f813d09479ace9a
5
5
  SHA512:
6
- metadata.gz: c66553175f2b8f626345a49bf4e3aed579fb6f8ecb9d8d50a235fb73ce08f2d7839a308d78a16ecde93ba0d1acf7af1cbff0d2052d417af2534e12e2e06a196d
7
- data.tar.gz: 2d647fe1e9891096574f6d77af0832ce4859ddd8b7e23846d0aa5ac5053971808d1bda4357c0000f0eeaad2acbaf3d85bb3eb6acb25a11763ae4d27eb3c30315
6
+ metadata.gz: d4a7ebd1976210b96f8d2ec1011ace3146a7c2d529c3931ac0959916c0eb4b47fdc96060b54b44cc8590f9e9331a5ac04ce5682d3ece0137bbcda4dd6e980e10
7
+ data.tar.gz: 0c7251abfca1e122d65c418a2ac44355199987bfb231c76f3171fc5589e5bae77d2757a1d778431a7877fe64c47e13ad6753f7709c4c244e7598cb047763d6cc
@@ -1,3 +1,7 @@
1
+ ## 0.2.6
2
+
3
+ - Use `#__send__` instead of `#send`
4
+
1
5
  ## 0.2.5
2
6
 
3
7
  - Remove unnecessary dependency on json
@@ -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 = send(property_name)
20
+ value = __send__(property_name)
21
21
  value = value.iso8601 if value.is_a?(Time)
22
22
  hash.merge(key => value)
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module JsonWorld
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
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.5
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: 2016-12-09 00:00:00.000000000 Z
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.4.5
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.