nulogy_graphql_api 2.0.1 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -2
- data/.ruby-version +1 -1
- data/Appraisals +5 -0
- data/CHANGELOG.md +10 -0
- data/Gemfile +0 -3
- data/README.md +3 -1
- data/gemfiles/rails_6.gemfile +0 -2
- data/gemfiles/rails_6_1.gemfile +0 -2
- data/gemfiles/rails_7.gemfile +8 -0
- data/lib/nulogy_graphql_api/tasks/schema_changes_checker.rb +1 -1
- data/lib/nulogy_graphql_api/version.rb +1 -1
- data/nulogy_graphql_api.gemspec +9 -6
- metadata +60 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87a444a6843fc021b24f8a907c41fa597b493dd42f577986d4ec7359f8de2e1b
|
4
|
+
data.tar.gz: f093c1228a2f6eb8a87d7726455a1cf6004ca6681ba559bed9bd9bae9f9dd5d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4459a62aa3520a6219330b01c8c0c57cb6a0b3826a054ed73697da42d23a29b1baa7b005ef69d16163f285843f74f475b8f33b9433d214fb42cba332ce0e6b9
|
7
|
+
data.tar.gz: 90fcb3a947cbe3c094126f70f98a21fff6e79616e532b98500b3c38142127d5079d9a45e47b8d0ec2da919598f8b487cd117448e891521f74b120e925d9f9c85
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
-
require:
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rake
|
4
|
+
- rubocop-rspec
|
2
5
|
|
3
6
|
inherit_from:
|
4
7
|
- .rubocop.directories.yml
|
5
8
|
|
6
9
|
AllCops:
|
7
|
-
|
10
|
+
NewCops: enable
|
11
|
+
TargetRubyVersion: 2.7
|
8
12
|
|
9
13
|
Gemspec/DateAssignment:
|
10
14
|
Enabled: true
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.4
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Help Nulogy applications be compliant with the [Standard on Error-handling in Gr
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem "nulogy_graphql_api", "2.0
|
12
|
+
gem "nulogy_graphql_api", "2.1.0"
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -275,6 +275,8 @@ expect(response).to have_graphql_error("Error message")
|
|
275
275
|
|
276
276
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake` to run rubocop and tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
277
277
|
|
278
|
+
To test against all supported versions of rails run `bundle exec appraisal install` and then run `bundle exec appraisal rake`.
|
279
|
+
|
278
280
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
279
281
|
|
280
282
|
## Contributing
|
data/gemfiles/rails_6.gemfile
CHANGED
data/gemfiles/rails_6_1.gemfile
CHANGED
data/nulogy_graphql_api.gemspec
CHANGED
@@ -28,15 +28,18 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
29
|
spec.require_paths = ["lib"]
|
30
30
|
|
31
|
-
spec.add_dependency "graphql", "~>
|
31
|
+
spec.add_dependency "graphql", "~> 2.0"
|
32
32
|
spec.add_dependency "graphql-schema_comparator", "~> 1.0"
|
33
|
-
spec.add_dependency "rails", ">=
|
33
|
+
spec.add_dependency "rails", ">= 6.0", "< 8.0"
|
34
34
|
spec.add_dependency "rainbow", "~> 3.0"
|
35
35
|
|
36
36
|
spec.add_development_dependency "appraisal", "~> 2.4"
|
37
|
-
spec.add_development_dependency "
|
38
|
-
spec.add_development_dependency "
|
39
|
-
spec.add_development_dependency "
|
40
|
-
spec.add_development_dependency "rubocop
|
37
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
38
|
+
spec.add_development_dependency "rspec", "~> 3.9"
|
39
|
+
spec.add_development_dependency "rspec-rails", "~> 5.1"
|
40
|
+
spec.add_development_dependency "rubocop", "~> 1.25"
|
41
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.13"
|
42
|
+
spec.add_development_dependency "rubocop-rake", "~> 0.6"
|
43
|
+
spec.add_development_dependency "rubocop-rspec", "~> 2.8"
|
41
44
|
spec.add_development_dependency "sqlite3", "~> 1.4"
|
42
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nulogy_graphql_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: graphql-schema_comparator
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,20 +44,20 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '6.0'
|
48
48
|
- - "<"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
50
|
+
version: '8.0'
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
57
|
+
version: '6.0'
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '8.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rainbow
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,62 +86,104 @@ dependencies:
|
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '2.4'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rake
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '13.0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '13.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rspec
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '3.9'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '3.9'
|
89
117
|
- !ruby/object:Gem::Dependency
|
90
118
|
name: rspec-rails
|
91
119
|
requirement: !ruby/object:Gem::Requirement
|
92
120
|
requirements:
|
93
121
|
- - "~>"
|
94
122
|
- !ruby/object:Gem::Version
|
95
|
-
version: '5.
|
123
|
+
version: '5.1'
|
96
124
|
type: :development
|
97
125
|
prerelease: false
|
98
126
|
version_requirements: !ruby/object:Gem::Requirement
|
99
127
|
requirements:
|
100
128
|
- - "~>"
|
101
129
|
- !ruby/object:Gem::Version
|
102
|
-
version: '5.
|
130
|
+
version: '5.1'
|
103
131
|
- !ruby/object:Gem::Dependency
|
104
132
|
name: rubocop
|
105
133
|
requirement: !ruby/object:Gem::Requirement
|
106
134
|
requirements:
|
107
135
|
- - "~>"
|
108
136
|
- !ruby/object:Gem::Version
|
109
|
-
version: '1.
|
137
|
+
version: '1.25'
|
110
138
|
type: :development
|
111
139
|
prerelease: false
|
112
140
|
version_requirements: !ruby/object:Gem::Requirement
|
113
141
|
requirements:
|
114
142
|
- - "~>"
|
115
143
|
- !ruby/object:Gem::Version
|
116
|
-
version: '1.
|
144
|
+
version: '1.25'
|
117
145
|
- !ruby/object:Gem::Dependency
|
118
146
|
name: rubocop-performance
|
119
147
|
requirement: !ruby/object:Gem::Requirement
|
120
148
|
requirements:
|
121
149
|
- - "~>"
|
122
150
|
- !ruby/object:Gem::Version
|
123
|
-
version: '1.
|
151
|
+
version: '1.13'
|
124
152
|
type: :development
|
125
153
|
prerelease: false
|
126
154
|
version_requirements: !ruby/object:Gem::Requirement
|
127
155
|
requirements:
|
128
156
|
- - "~>"
|
129
157
|
- !ruby/object:Gem::Version
|
130
|
-
version: '1.
|
158
|
+
version: '1.13'
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rubocop-rake
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0.6'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0.6'
|
131
173
|
- !ruby/object:Gem::Dependency
|
132
174
|
name: rubocop-rspec
|
133
175
|
requirement: !ruby/object:Gem::Requirement
|
134
176
|
requirements:
|
135
177
|
- - "~>"
|
136
178
|
- !ruby/object:Gem::Version
|
137
|
-
version: '2.
|
179
|
+
version: '2.8'
|
138
180
|
type: :development
|
139
181
|
prerelease: false
|
140
182
|
version_requirements: !ruby/object:Gem::Requirement
|
141
183
|
requirements:
|
142
184
|
- - "~>"
|
143
185
|
- !ruby/object:Gem::Version
|
144
|
-
version: '2.
|
186
|
+
version: '2.8'
|
145
187
|
- !ruby/object:Gem::Dependency
|
146
188
|
name: sqlite3
|
147
189
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,6 +222,7 @@ files:
|
|
180
222
|
- bin/setup
|
181
223
|
- gemfiles/rails_6.gemfile
|
182
224
|
- gemfiles/rails_6_1.gemfile
|
225
|
+
- gemfiles/rails_7.gemfile
|
183
226
|
- lib/nulogy_graphql_api.rb
|
184
227
|
- lib/nulogy_graphql_api/error_handling.rb
|
185
228
|
- lib/nulogy_graphql_api/graphql_error.rb
|
@@ -221,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
264
|
- !ruby/object:Gem::Version
|
222
265
|
version: '0'
|
223
266
|
requirements: []
|
224
|
-
rubygems_version: 3.
|
267
|
+
rubygems_version: 3.3.7
|
225
268
|
signing_key:
|
226
269
|
specification_version: 4
|
227
270
|
summary: Standard tooling for building GraphQL apis
|