graphql_rails 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27f377528145c3e4c9a6ea37d7bf844531088ecb7b6471ca722f7f84655ca924
4
- data.tar.gz: 3e6b29a745210a0ba453f0c158219013b007e3ef85c006f8eaf5665d5e095659
3
+ metadata.gz: 95b29ebcb8c062456b3709134aca3184037fabc4d1f5dc6e8440f712065b8b9d
4
+ data.tar.gz: 7b177bb136a4bedffaf9c9836db393713d88d531de3cb302f89ec52c652dc56a
5
5
  SHA512:
6
- metadata.gz: 2825a1b14839d9fbf8a5958826df14ffae4f9d74c0a4b71015c95d590a9493668b4780727da5b53a6e431397ca399caa3ebb76066e1629d5865660f8566eafb0
7
- data.tar.gz: 3e97009f750ad27ebb66c92696d1cab5aca91dc660f35f340134ceff8b01c5f55cbb70c68247172c2604670cc45e6367deabb7d287ba0e54151d42b8057fb13a
6
+ metadata.gz: 6aa73c56c429120d6d6aa534075bee9e36cf4d0fa18d2169e89afb81965eb06e90e3d595f214faf4af1ff91aadcb2fbea9be6ceaf569321be57a9ca654d7bb0f
7
+ data.tar.gz: 85fbd80f9a00833636e65941c78e14e0696d55a8b1a3b4530d1a143341d86a152ad3f5879dcf2f9f2b308b297a31cdaa1ed144ad9e50533a9b5e244584a35b87
data/CHANGELOG.md CHANGED
@@ -9,9 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  * Added/Changed/Deprecated/Removed/Fixed/Security: YOUR CHANGE HERE
11
11
 
12
+ ## [1.2.3](2021-04-12)
13
+
14
+ * Fixed: Total count on paginated resources
15
+
12
16
  ## [1.2.2](2021-02-19)
13
17
 
14
- * Fixed: Incorrect type resolution for required list type fields in model declaration.
18
+ * Fixed: Incorrect type resolution for required list type fields in model declaration.
15
19
 
16
20
  ## [1.2.1](2021-02-17)
17
21
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql_rails (1.2.2)
4
+ graphql_rails (1.2.3)
5
5
  activesupport (>= 4)
6
6
  graphql (~> 1.12, >= 1.12.4)
7
7
 
@@ -33,7 +33,7 @@ module GraphqlRails
33
33
  field :total, Integer, null: false
34
34
 
35
35
  def total
36
- CountItems.call(self)
36
+ CountItems.call(object)
37
37
  end
38
38
  end
39
39
  end
@@ -27,7 +27,7 @@ module GraphqlRails
27
27
  attr_reader :graphql_object
28
28
 
29
29
  def list
30
- graphql_object.nodes
30
+ graphql_object.items
31
31
  end
32
32
 
33
33
  def active_record?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlRails
4
- VERSION = '1.2.2'
4
+ VERSION = '1.2.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Povilas Jurčys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-19 00:00:00.000000000 Z
11
+ date: 2021-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql