cyrax 0.5.12 → 0.5.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cyrax/serializers/scope.rb +2 -1
- data/lib/cyrax/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: 4a305051a8e89e95a2fccd98ef8c2ac05679189c
|
4
|
+
data.tar.gz: f9f3cb1822a1f850ff9a55e1f0d492579ff73ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8e50444c96e653ab43c86463816cc5d7ab4593ef7f27c08b211c1193a87fb2e773ba620ff26d60c91c6e297857f76ea2e8d8d8631626660b7f77f57e4dbfea2
|
7
|
+
data.tar.gz: dcbfc8d93cfdd24c5a4d080be8a4db16776e9e49bc45524f74fe5dce820473c744f29513479296b304ebe7b80f08a7880126d2215f67899d234319b3974666a2
|
@@ -69,7 +69,8 @@ module Cyrax::Serializers
|
|
69
69
|
result[attribute] = scope.serialize(value, options)
|
70
70
|
end
|
71
71
|
@assigned_attrs.map do |attribute, scope|
|
72
|
-
|
72
|
+
assignments = options[:assignments] || {}
|
73
|
+
value = assignments[attribute]
|
73
74
|
result[attribute] = scope.serialize(value, options)
|
74
75
|
end
|
75
76
|
@namespace_attrs.map do |attribute, scope|
|
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.5.
|
4
|
+
version: 0.5.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Droidlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.
|
154
|
+
rubygems_version: 2.4.3
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Small library for adding service layer to Rails projects
|