gql_serializer 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/Gemfile.lock +60 -62
- data/lib/gql_serializer/configuration.rb +2 -2
- data/lib/gql_serializer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4ef6a4b4e09bd19bb6251565854da46012a5533284d9bcfddb973070c4c1d9b
|
4
|
+
data.tar.gz: 3b0c65709fc44fad328cb5958ff4e8165e99de934d00441c7e93e8631ab478b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42d01de7bd41e4c5291077d1b43556ae797fea616690560c340aca7186470bd22f18b6310501d65488f16de4d1ee6759f82c94ebf5048ffca6105a1a06e050a6
|
7
|
+
data.tar.gz: a3a9f3976fe48529903442531eb9861c8e63c9f15e23d5cd3262d5cdbd67a64ccb4dffe12de30a0f6bd4514a2bb08cfe896e5a9f12f0aa51cca874378fad578a
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,62 +1,60 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
gql_serializer (2.2.
|
5
|
-
activerecord (>= 5.2, < 8.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (
|
11
|
-
activesupport (=
|
12
|
-
activerecord (
|
13
|
-
activemodel (=
|
14
|
-
activesupport (=
|
15
|
-
activesupport (
|
16
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
-
i18n (>= 1.6, < 2)
|
18
|
-
minitest (>= 5.1)
|
19
|
-
tzinfo (~> 2.0)
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
rspec-
|
34
|
-
rspec-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
BUNDLED WITH
|
62
|
-
2.1.4
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
gql_serializer (2.2.1)
|
5
|
+
activerecord (>= 5.2, < 8.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activemodel (7.0.2.3)
|
11
|
+
activesupport (= 7.0.2.3)
|
12
|
+
activerecord (7.0.2.3)
|
13
|
+
activemodel (= 7.0.2.3)
|
14
|
+
activesupport (= 7.0.2.3)
|
15
|
+
activesupport (7.0.2.3)
|
16
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
+
i18n (>= 1.6, < 2)
|
18
|
+
minitest (>= 5.1)
|
19
|
+
tzinfo (~> 2.0)
|
20
|
+
coderay (1.1.3)
|
21
|
+
concurrent-ruby (1.1.9)
|
22
|
+
diff-lcs (1.4.4)
|
23
|
+
i18n (1.10.0)
|
24
|
+
concurrent-ruby (~> 1.0)
|
25
|
+
method_source (1.0.0)
|
26
|
+
minitest (5.15.0)
|
27
|
+
pry (0.13.1)
|
28
|
+
coderay (~> 1.1)
|
29
|
+
method_source (~> 1.0)
|
30
|
+
rake (12.3.3)
|
31
|
+
rspec (3.10.0)
|
32
|
+
rspec-core (~> 3.10.0)
|
33
|
+
rspec-expectations (~> 3.10.0)
|
34
|
+
rspec-mocks (~> 3.10.0)
|
35
|
+
rspec-core (3.10.0)
|
36
|
+
rspec-support (~> 3.10.0)
|
37
|
+
rspec-expectations (3.10.0)
|
38
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
+
rspec-support (~> 3.10.0)
|
40
|
+
rspec-mocks (3.10.0)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.10.0)
|
43
|
+
rspec-support (3.10.0)
|
44
|
+
sqlite3 (1.4.2)
|
45
|
+
tzinfo (2.0.4)
|
46
|
+
concurrent-ruby (~> 1.0)
|
47
|
+
|
48
|
+
PLATFORMS
|
49
|
+
ruby
|
50
|
+
x64-mingw32
|
51
|
+
|
52
|
+
DEPENDENCIES
|
53
|
+
gql_serializer!
|
54
|
+
pry (~> 0.13.1)
|
55
|
+
rake (~> 12.0)
|
56
|
+
rspec (~> 3.0)
|
57
|
+
sqlite3 (~> 1.4.2)
|
58
|
+
|
59
|
+
BUNDLED WITH
|
60
|
+
2.1.4
|
@@ -11,7 +11,7 @@ module GqlSerializer
|
|
11
11
|
reset
|
12
12
|
end
|
13
13
|
|
14
|
-
|
14
|
+
attr_accessor :case, :preload
|
15
15
|
|
16
16
|
def case=(value)
|
17
17
|
raise "Specified case '#{value}' is not supported" unless SUPPORTED_CASES.include?(value)
|
@@ -24,7 +24,7 @@ module GqlSerializer
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def to_h
|
27
|
-
|
27
|
+
self.instance_values.symbolize_keys
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gql_serializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Scullion
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|