nulogy_graphql_api 2.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -2
- data/.ruby-version +1 -1
- data/CHANGELOG.md +5 -0
- data/README.md +3 -1
- 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 +8 -6
- metadata +42 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db274a9cec22ef8a51cbd994d2f58acde6c8451c2623448b7f715f12a03b9d59
|
4
|
+
data.tar.gz: e19335ca8c5a0516c4de9e0e4071df567055de6d481bc5481dbb1e34b070aa10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ce046557efade6c8994424bf0c273eefa82833f2f85201b027c5ac0bc1ac176ec083998919b9c21786a4363ac7de5da6b6c7d7357f09be7cf7a364b77f32f0'
|
7
|
+
data.tar.gz: 91996acf8a5b2d42a7344870c14af19ff914e10181858f9cb4cf1d4e28e1608fe2a69b5d3ce3d091c606c4109c782186c75bd068d3fef8b80bb8ce4d252e7f5f
|
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/CHANGELOG.md
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/nulogy_graphql_api.gemspec
CHANGED
@@ -28,15 +28,17 @@ 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", "< 7.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 "rubocop
|
40
|
-
spec.add_development_dependency "rubocop-
|
37
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
38
|
+
spec.add_development_dependency "rspec-rails", "~> 5.1"
|
39
|
+
spec.add_development_dependency "rubocop", "~> 1.25"
|
40
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.13"
|
41
|
+
spec.add_development_dependency "rubocop-rake", "~> 0.6"
|
42
|
+
spec.add_development_dependency "rubocop-rspec", "~> 2.8"
|
41
43
|
spec.add_development_dependency "sqlite3", "~> 1.4"
|
42
44
|
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.0
|
4
|
+
version: 2.1.0
|
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-02-10 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,7 +44,7 @@ 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
50
|
version: '7.0'
|
@@ -54,7 +54,7 @@ dependencies:
|
|
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
60
|
version: '7.0'
|
@@ -86,62 +86,90 @@ 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'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: rspec-rails
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
107
|
- - "~>"
|
94
108
|
- !ruby/object:Gem::Version
|
95
|
-
version: '5.
|
109
|
+
version: '5.1'
|
96
110
|
type: :development
|
97
111
|
prerelease: false
|
98
112
|
version_requirements: !ruby/object:Gem::Requirement
|
99
113
|
requirements:
|
100
114
|
- - "~>"
|
101
115
|
- !ruby/object:Gem::Version
|
102
|
-
version: '5.
|
116
|
+
version: '5.1'
|
103
117
|
- !ruby/object:Gem::Dependency
|
104
118
|
name: rubocop
|
105
119
|
requirement: !ruby/object:Gem::Requirement
|
106
120
|
requirements:
|
107
121
|
- - "~>"
|
108
122
|
- !ruby/object:Gem::Version
|
109
|
-
version: '1.
|
123
|
+
version: '1.25'
|
110
124
|
type: :development
|
111
125
|
prerelease: false
|
112
126
|
version_requirements: !ruby/object:Gem::Requirement
|
113
127
|
requirements:
|
114
128
|
- - "~>"
|
115
129
|
- !ruby/object:Gem::Version
|
116
|
-
version: '1.
|
130
|
+
version: '1.25'
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
132
|
name: rubocop-performance
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|
120
134
|
requirements:
|
121
135
|
- - "~>"
|
122
136
|
- !ruby/object:Gem::Version
|
123
|
-
version: '1.
|
137
|
+
version: '1.13'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '1.13'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: rubocop-rake
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0.6'
|
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: '
|
158
|
+
version: '0.6'
|
131
159
|
- !ruby/object:Gem::Dependency
|
132
160
|
name: rubocop-rspec
|
133
161
|
requirement: !ruby/object:Gem::Requirement
|
134
162
|
requirements:
|
135
163
|
- - "~>"
|
136
164
|
- !ruby/object:Gem::Version
|
137
|
-
version: '2.
|
165
|
+
version: '2.8'
|
138
166
|
type: :development
|
139
167
|
prerelease: false
|
140
168
|
version_requirements: !ruby/object:Gem::Requirement
|
141
169
|
requirements:
|
142
170
|
- - "~>"
|
143
171
|
- !ruby/object:Gem::Version
|
144
|
-
version: '2.
|
172
|
+
version: '2.8'
|
145
173
|
- !ruby/object:Gem::Dependency
|
146
174
|
name: sqlite3
|
147
175
|
requirement: !ruby/object:Gem::Requirement
|