solidus_graphql_api 0.2.0 → 0.3.0
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/.circleci/config.yml +42 -82
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +1 -167
- data/CONTRIBUTING.md +5 -5
- data/Gemfile +6 -1
- data/Gemfile-local +1 -0
- data/OLD_CHANGELOG.md +170 -0
- data/README.md +4 -4
- data/Rakefile +1 -0
- data/bin/sandbox +2 -6
- data/lib/solidus_graphql_api/batch_loader.rb +1 -1
- data/lib/solidus_graphql_api/context.rb +2 -2
- data/lib/solidus_graphql_api/queries/taxon/children_query.rb +1 -1
- data/lib/solidus_graphql_api/queries/taxonomy/taxons_query.rb +1 -1
- data/lib/solidus_graphql_api/version.rb +1 -1
- data/solidus_graphql_api.gemspec +5 -7
- data/spec/integration/mutations/checkout/add_addresses_to_checkout_spec.rb +1 -1
- data/spec/integration/queries/countries_spec.rb +2 -2
- data/spec/integration/queries/current_user_spec.rb +7 -2
- data/spec/integration/queries/taxonomies_spec.rb +5 -2
- data/spec/lib/solidus_graphql_api/batch_loader/belongs_to_spec.rb +24 -25
- data/spec/lib/solidus_graphql_api/batch_loader/has_many_spec.rb +17 -15
- data/spec/lib/solidus_graphql_api/batch_loader/has_many_through_spec.rb +23 -18
- data/spec/lib/solidus_graphql_api/batch_loader/has_one_spec.rb +17 -15
- data/spec/lib/solidus_graphql_api/queries/taxon/children_query_spec.rb +9 -5
- data/spec/lib/solidus_graphql_api/queries/taxonomy/taxons_query_spec.rb +8 -5
- data/spec/spec_helper.rb +6 -4
- data/spec/support/helpers/active_record.rb +18 -0
- data/spec/support/helpers/graphql.rb +4 -4
- metadata +16 -40
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_graphql_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Rimondi
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-08-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: batch-loader
|
@@ -46,40 +46,26 @@ dependencies:
|
|
46
46
|
- - "<"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '1.13'
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: rails
|
51
|
-
requirement: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '6.1'
|
56
|
-
type: :runtime
|
57
|
-
prerelease: false
|
58
|
-
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '6.1'
|
63
49
|
- !ruby/object:Gem::Dependency
|
64
50
|
name: solidus_core
|
65
51
|
requirement: !ruby/object:Gem::Requirement
|
66
52
|
requirements:
|
67
53
|
- - ">="
|
68
54
|
- !ruby/object:Gem::Version
|
69
|
-
version: '2
|
55
|
+
version: '3.2'
|
70
56
|
- - "<"
|
71
57
|
- !ruby/object:Gem::Version
|
72
|
-
version: '
|
58
|
+
version: '5'
|
73
59
|
type: :runtime
|
74
60
|
prerelease: false
|
75
61
|
version_requirements: !ruby/object:Gem::Requirement
|
76
62
|
requirements:
|
77
63
|
- - ">="
|
78
64
|
- !ruby/object:Gem::Version
|
79
|
-
version: '2
|
65
|
+
version: '3.2'
|
80
66
|
- - "<"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
68
|
+
version: '5'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: solidus_support
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,20 +164,6 @@ dependencies:
|
|
178
164
|
- - "~>"
|
179
165
|
- !ruby/object:Gem::Version
|
180
166
|
version: 0.9.1
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: with_model
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 2.1.2
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 2.1.2
|
195
167
|
description: GraphQL comes to Solidus
|
196
168
|
email: contact@solidus.io
|
197
169
|
executables: []
|
@@ -209,8 +181,10 @@ files:
|
|
209
181
|
- CHANGELOG.md
|
210
182
|
- CONTRIBUTING.md
|
211
183
|
- Gemfile
|
184
|
+
- Gemfile-local
|
212
185
|
- LICENSE
|
213
186
|
- LICENSE.md
|
187
|
+
- OLD_CHANGELOG.md
|
214
188
|
- README.md
|
215
189
|
- Rakefile
|
216
190
|
- app/assets/javascripts/spree/backend/solidus_graphql_api.js
|
@@ -634,16 +608,17 @@ files:
|
|
634
608
|
- spec/support/graphql/responses/current_user.json.erb
|
635
609
|
- spec/support/graphql/responses/product_by_slug.json.erb
|
636
610
|
- spec/support/graphql/responses/taxonomies.json.erb
|
611
|
+
- spec/support/helpers/active_record.rb
|
637
612
|
- spec/support/helpers/graphql.rb
|
638
613
|
- spec/support/matchers/graphql.rb
|
639
614
|
- spec/support/shared_contexts/graphql_query_subject.rb
|
640
|
-
homepage: https://github.com/solidusio
|
615
|
+
homepage: https://github.com/solidusio/solidus_graphql_api
|
641
616
|
licenses:
|
642
617
|
- BSD-3-Clause
|
643
618
|
metadata:
|
644
|
-
homepage_uri: https://github.com/solidusio
|
645
|
-
source_code_uri: https://github.com/solidusio
|
646
|
-
changelog_uri: https://github.com/solidusio
|
619
|
+
homepage_uri: https://github.com/solidusio/solidus_graphql_api
|
620
|
+
source_code_uri: https://github.com/solidusio/solidus_graphql_api
|
621
|
+
changelog_uri: https://github.com/solidusio/solidus_graphql_api/releases
|
647
622
|
post_install_message:
|
648
623
|
rdoc_options: []
|
649
624
|
require_paths:
|
@@ -652,14 +627,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
652
627
|
requirements:
|
653
628
|
- - "~>"
|
654
629
|
- !ruby/object:Gem::Version
|
655
|
-
version: '
|
630
|
+
version: '3.0'
|
656
631
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
657
632
|
requirements:
|
658
633
|
- - ">="
|
659
634
|
- !ruby/object:Gem::Version
|
660
635
|
version: '0'
|
661
636
|
requirements: []
|
662
|
-
rubygems_version: 3.
|
637
|
+
rubygems_version: 3.3.7
|
663
638
|
signing_key:
|
664
639
|
specification_version: 4
|
665
640
|
summary: Solidus GraphQL API
|
@@ -782,6 +757,7 @@ test_files:
|
|
782
757
|
- spec/support/graphql/responses/current_user.json.erb
|
783
758
|
- spec/support/graphql/responses/product_by_slug.json.erb
|
784
759
|
- spec/support/graphql/responses/taxonomies.json.erb
|
760
|
+
- spec/support/helpers/active_record.rb
|
785
761
|
- spec/support/helpers/graphql.rb
|
786
762
|
- spec/support/matchers/graphql.rb
|
787
763
|
- spec/support/shared_contexts/graphql_query_subject.rb
|