graphql_devise 2.1.0 → 2.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ab4ca463ad9fa1ac86b68eabd1e7feac2f5327e5600163004b4f971e6b2c537
4
- data.tar.gz: a4dba314911133664abeb4cee515e59dcf655a6188fa73a785c23a5bbfd8936b
3
+ metadata.gz: 28ae97398452b180380187200e71a8591a24e2956e3d65644b68a79da124c436
4
+ data.tar.gz: 1172149d6decbfb89bdcd13b23801662c25f2dce8ad3ee9e841172d0d5ebb72f
5
5
  SHA512:
6
- metadata.gz: cf7c1c21fdf5a8e1604cc7b2bbbfc6b47a29c8b74514ab9e0f09155342cb6e2a4c1acb3fcfc3b4dce2446c6a452744bdbb9ad524192cb478aad743573367cf8f
7
- data.tar.gz: c88d025814544ed547d97ecc9d05c748a3c271b67f9587f7fecaba501f69b6a2a1a11cd18bb736543d4b9b6694183d1551e5c6408699ec841cc6835af424762a
6
+ metadata.gz: 00e5c35e93db72ab84f7cfd4ab634ec30ef5e854d875effd87c32fcc77184a95bc7ae5be1df465239490ce820be9df19543a6f7e9336899ac0f191a00fc149d4
7
+ data.tar.gz: 8d4eea481a3ff5137b8e204395f0f471514ae0e7b0b473e9804702bc6265017eb16b23a83793d7a97cc01f0d0e71ca377fa2f1c0292a5c1e8ad18dddc920d8c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [v2.1.1](https://github.com/graphql-devise/graphql_devise/tree/v2.1.1) (2026-04-15)
4
+
5
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v2.1.0...v2.1.1)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Object types must have fields \(FieldsAreRequiredError\) [\#283](https://github.com/graphql-devise/graphql_devise/issues/283)
10
+ - Use has\_no\_fields\(true\) in base types to silence warnings [\#290](https://github.com/graphql-devise/graphql_devise/pull/290) ([mcelicalderon](https://github.com/mcelicalderon))
11
+
3
12
  ## [v2.1.0](https://github.com/graphql-devise/graphql_devise/tree/v2.1.0) (2025-07-28)
4
13
 
5
14
  [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v2.0.0...v2.1.0)
@@ -4,6 +4,7 @@ module GraphqlDevise
4
4
  module Types
5
5
  class MutationType < GraphQL::Schema::Object
6
6
  field_class GraphqlDevise::Types::BaseField if Gem::Version.new(GraphQL::VERSION) >= Gem::Version.new('2.0')
7
+ has_no_fields(true) if respond_to?(:has_no_fields)
7
8
  end
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module GraphqlDevise
4
4
  module Types
5
5
  class QueryType < GraphQL::Schema::Object
6
6
  field_class GraphqlDevise::Types::BaseField if Gem::Version.new(GraphQL::VERSION) >= Gem::Version.new('2.0')
7
+ has_no_fields(true) if respond_to?(:has_no_fields)
7
8
  end
8
9
  end
9
10
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlDevise
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Celi