collection_json_serializer 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/collection_json_serializer.rb +3 -0
- data/lib/collection_json_serializer/version.rb +1 -1
- data/test/minitest_helper.rb +0 -3
- 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: 0663e720fc3843ee8c028d9d3d6dc8e060792217
|
4
|
+
data.tar.gz: 8a789413bcff39e3d7df648b027472a5b568a2a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 059b0bd27cd307e3347e9699829daeafbb16a96d6819216cdfe899c8c42ff2e9897f3bb069bc190608dcf46ba7831a74468294716adbb9047307e841bbe48c1f
|
7
|
+
data.tar.gz: e2bc1b7708f4f7f69bfb25329e0394e0bdc5ffff6b067b3e0857110749cae802a30b07dc1ea535814bd727fcc42030a10771089e096cdf4ca0d20910c9f6b0fc
|
@@ -20,3 +20,6 @@ require "collection_json_serializer/validator/types/value"
|
|
20
20
|
require "collection_json_serializer/objects/item"
|
21
21
|
require "collection_json_serializer/objects/template"
|
22
22
|
require "collection_json_serializer/objects/query"
|
23
|
+
|
24
|
+
require "active_support/core_ext/object/blank"
|
25
|
+
require "active_support/json"
|
data/test/minitest_helper.rb
CHANGED
@@ -7,9 +7,6 @@ require "fixtures/poro"
|
|
7
7
|
require "fixtures/models"
|
8
8
|
Dir.glob(File.dirname(__FILE__) + "/fixtures/serializers/**/*.rb") { |file| require file }
|
9
9
|
|
10
|
-
require "active_support/json"
|
11
|
-
require "active_support/inflector"
|
12
|
-
|
13
10
|
module TestHelper
|
14
11
|
def empty_serializer_for(object)
|
15
12
|
serializer = CollectionJson::Serializer.new(object)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collection_json_serializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carles Jove i Buxeda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|