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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzYyOGVkNTNkOGVhN2I2NzVjNGRjYmI4OWY2NDJlMzJmZDIyNzJiZQ==
4
+ ZjgzY2ZiM2U4M2NjOTdmMDU3NmU1NmExN2FiZjU4YTBiZDVhYjY5Yw==
5
5
  data.tar.gz: !binary |-
6
- NmUzZWM1MjI5NTUxZjdhMDg1ZGRhN2M3MGIwNWE4ZGI2NGFhMGRiYg==
6
+ MjE3YTNjMjYwYjI5NTRiMTk2NmM3NWRkNGVkZmQxODJlYjYzZDY1MA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZjIwMTBiODZhOTU2N2ZmOTFkNjQzOWZmMDI3NzRhNWM0NGVkYzhjYjAwZmM3
10
- Mjg3ZjgxMDcyYTAwYjEyNzlkYzAzZjBhNjA3MWYxZDJmNGFjOWQwYWY2NGRi
11
- YzNhZmVhZWFiZjZiODVjYmY4MDUyOTEwNDExY2IyNjQ0ZDE0NjI=
9
+ OTlkODZmYzc2NjI3NTJmOGIxZjRiYWQ2ZDNiZmRjYzBjMzY2NjdkZTZjMDE4
10
+ NWIwM2VjNDEyYzNlZmRmZjE4YmE1ODQ4Nzc2ZTM0MTM1ZGFlYTY2NTJjNWVh
11
+ ZDRkNGZhYjFmMDg3NmE2NDhjNGIxYTg2MDEwM2YyYmI2ZjJhZTE=
12
12
  data.tar.gz: !binary |-
13
- ZmRkMDU4ZTk4MzI4NTU4YTNhZDM2YjI5MzM5ZmRiMGZhODY4ODRlMzZjOTI4
14
- MjAwMWYyY2VkYzc0NmY3ZTJlNDgxNWEyNTFkZTYwNTAwZDMxNTI0YjViYWEw
15
- ZDM2ZDZhYzk1ZTI5MzExMTkwY2Y3MDA5MGQ4OGY4YjA2OTBjNDQ=
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)
@@ -1,3 +1,3 @@
1
1
  module Cyrax
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
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.3
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-03-22 00:00:00.000000000 Z
11
+ date: 2014-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport