active_model_serializers 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/active_model/serializer.rb +2 -2
- data/lib/active_model/serializers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe4ac40d39a738a9f0761ddaf33f1a13c5ef5565
|
4
|
+
data.tar.gz: a3db3953c4a189e3eb2c7b9b45fec250572013bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d410fea01930d45f6b263c4cc347b3f4be9aae2d92465ca83bc6e56f7c5059bde90fcf2207fabfca2ae048eb136c6d81fea15b186c4b8a0a2b54dfd2177a3af
|
7
|
+
data.tar.gz: 4f87769234bdaa917b36387b124da7667bac3acb13745694b8013a0cdbdcb366f6519641fddacb0c2db26e5ea2bc2654234db3ec5d82e1f0d0b6fc46ed20d68f
|
data/CHANGELOG.md
CHANGED
@@ -368,8 +368,8 @@ module ActiveModel
|
|
368
368
|
end
|
369
369
|
|
370
370
|
def include?(name)
|
371
|
-
return false if options.key?(:only) && !Array(options[:only]).include?(name)
|
372
|
-
return false if options.key?(:except) && Array(options[:except]).include?(name)
|
371
|
+
return false if @options.key?(:only) && !Array(@options[:only]).include?(name)
|
372
|
+
return false if @options.key?(:except) && Array(@options[:except]).include?(name)
|
373
373
|
send INCLUDE_METHODS[name]
|
374
374
|
end
|
375
375
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_model_serializers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Valim
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|