cyrax 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/cyrax/serializers/scope.rb +1 -1
- data/lib/cyrax/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
|
+
ZjgzY2ZiM2U4M2NjOTdmMDU3NmU1NmExN2FiZjU4YTBiZDVhYjY5Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjE3YTNjMjYwYjI5NTRiMTk2NmM3NWRkNGVkZmQxODJlYjYzZDY1MA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTlkODZmYzc2NjI3NTJmOGIxZjRiYWQ2ZDNiZmRjYzBjMzY2NjdkZTZjMDE4
|
10
|
+
NWIwM2VjNDEyYzNlZmRmZjE4YmE1ODQ4Nzc2ZTM0MTM1ZGFlYTY2NTJjNWVh
|
11
|
+
ZDRkNGZhYjFmMDg3NmE2NDhjNGIxYTg2MDEwM2YyYmI2ZjJhZTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDEwN2QyZTM2OTQwZDVmNzNhOTlkMGIzNDk2M2M2ODc2MDQ5YmVhMmNmZTcz
|
14
|
+
MzQzMDExOTEwNDlhODFlMDBkYTM1ZDJhNTlmZjc0M2YxMDc0MTM4MDJiZGVk
|
15
|
+
ZDI0ODRhZWU2MjExODJjMmM3MmRjOTMzMThkZWJiY2Q2NWMxZmQ=
|
@@ -60,7 +60,7 @@ module Cyrax::Serializers
|
|
60
60
|
result = resource.attributes rescue {}
|
61
61
|
end
|
62
62
|
@dynamic_attrs.map do |attribute, block|
|
63
|
-
result[attribute] = options[:serializer].instance_exec(resource, &block)
|
63
|
+
result[attribute] = options[:serializer].instance_exec(resource, options, &block)
|
64
64
|
end
|
65
65
|
@relation_attrs.map do |attribute, scope|
|
66
66
|
value = resource.send(attribute)
|
data/lib/cyrax/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cyrax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Droidlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|