the_garage 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 +4 -4
- data/lib/garage/representer.rb +1 -1
- data/lib/garage/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: 99630344263372cbbc03bbb368b252f8dd4b0ad7
|
4
|
+
data.tar.gz: 4964f4f54a1904eeb14313d8f6830ab36a7b346b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 191aa740289c4fd51763f25d5697909c0e1076585598d20b1c9730369c20a91a3c8bcdba752ca96f0c94c0b025d11f84a287d3a08df0cdeddcb5318cb47fe1b7
|
7
|
+
data.tar.gz: 92d938a94a78c38813109bd5bae630c9724f8e36d9adbdd6ee0d66c370bef783aa0ac8ae6571582d311dd6daa628f20e28985aa8e29d7e975d3cf4744c527180
|
data/lib/garage/representer.rb
CHANGED
@@ -157,7 +157,7 @@ module Garage::Representer
|
|
157
157
|
end
|
158
158
|
|
159
159
|
def encode_value(value, responder, selector)
|
160
|
-
if
|
160
|
+
if value.is_a?(Garage::Representer)
|
161
161
|
responder.encode_to_hash(value, partial: true, selector: selector)
|
162
162
|
elsif primitive?(value)
|
163
163
|
value
|
data/lib/garage/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the_garage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tatsuhiko Miyagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
269
|
version: '0'
|
270
270
|
requirements: []
|
271
271
|
rubyforge_project:
|
272
|
-
rubygems_version: 2.
|
272
|
+
rubygems_version: 2.5.1
|
273
273
|
signing_key:
|
274
274
|
specification_version: 4
|
275
275
|
summary: Garage Platform Engine
|