nulogy_graphql_api 2.1.1 → 2.1.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: 87a444a6843fc021b24f8a907c41fa597b493dd42f577986d4ec7359f8de2e1b
4
- data.tar.gz: f093c1228a2f6eb8a87d7726455a1cf6004ca6681ba559bed9bd9bae9f9dd5d8
3
+ metadata.gz: f899476d44c2e336ac2684b30445c89af46e2d2aad292943d590c76c5cd04ec4
4
+ data.tar.gz: 65853b83fa441b71646d87b383d9455b794edd72c43afbdd935510042cb5f209
5
5
  SHA512:
6
- metadata.gz: e4459a62aa3520a6219330b01c8c0c57cb6a0b3826a054ed73697da42d23a29b1baa7b005ef69d16163f285843f74f475b8f33b9433d214fb42cba332ce0e6b9
7
- data.tar.gz: 90fcb3a947cbe3c094126f70f98a21fff6e79616e532b98500b3c38142127d5079d9a45e47b8d0ec2da919598f8b487cd117448e891521f74b120e925d9f9c85
6
+ metadata.gz: 8f3c38ab529a9171d0c091d5f724827095eb6336270046707c3d5826e567b0b7ea2873833980b7f70744f5cc5963090b87da38163a1b3128f232b39894a21866
7
+ data.tar.gz: 232c275825e112651ea52efbdac0a4a0aafe1cfb309aeaa288b4da4577022bb801314f1d8667b7eae2a7bc96b850465cd2de2db19650ebea08277d6e23ee0045
@@ -0,0 +1,32 @@
1
+ name: Release
2
+
3
+ on: workflow_dispatch
4
+
5
+ jobs:
6
+ release:
7
+ name: Release
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Clone Repository
11
+ uses: actions/checkout@v4
12
+ with:
13
+ fetch-depth: 0
14
+
15
+ - uses: ruby/setup-ruby@master
16
+
17
+ - name: Install gems
18
+ run: bundle install
19
+
20
+ - name: Setup git config
21
+ run: |
22
+ # Setup the username and email to enable git tag creation
23
+ git config user.name "GitHub Actions Bot"
24
+ git config user.email "<>"
25
+
26
+ - name: Create release
27
+ run: |
28
+ gem_push=false bundle exec rake release
29
+ gem build *.gemspec
30
+ gem push *.gem
31
+ env:
32
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
@@ -0,0 +1,56 @@
1
+ name: Integrate
2
+
3
+ on:
4
+ issue_comment:
5
+ types: [ created ]
6
+
7
+ env:
8
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9
+ PR_URL: ${{ github.event.issue.pull_request.url }}
10
+
11
+ jobs:
12
+ integrate:
13
+ name: Integrate
14
+ if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/integrate')
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Clone Repository
18
+ uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
+
22
+ - name: Checkout Pull Request
23
+ run: |
24
+ PR_NUM=${PR_URL##*/}
25
+ gh pr checkout $PR_NUM
26
+
27
+ - uses: ruby/setup-ruby@master
28
+
29
+ - name: Install gems
30
+ run: bundle install
31
+
32
+ - name: Install dependencies
33
+ run: bundle exec appraisal install
34
+
35
+ - name: Run Rubocop
36
+ run: bundle exec appraisal rake rubocop
37
+
38
+ - name: Run Specs
39
+ run: bundle exec appraisal rake spec
40
+
41
+ - name: Merge PR
42
+ run: |
43
+ PR_NUM=${PR_URL##*/}
44
+ gh pr merge $PR_NUM --merge --delete-branch
45
+
46
+ - name: Add reaction to PR comment
47
+ if: always()
48
+ env:
49
+ REACTION: ${{ job.status == 'success' && 'THUMBS_UP' || 'THUMBS_DOWN' }}
50
+ run: |
51
+ gh api graphql --paginate -f query='
52
+ mutation {
53
+ addReaction(input: { clientMutationId: "integrate.yml", content: ${{env.REACTION}}, subjectId: "${{github.event.comment.node_id}}" }) {
54
+ clientMutationId
55
+ }
56
+ }'
data/.rubocop.yml CHANGED
@@ -10,7 +10,7 @@ AllCops:
10
10
  NewCops: enable
11
11
  TargetRubyVersion: 2.7
12
12
 
13
- Gemspec/DateAssignment:
13
+ Gemspec/DeprecatedAttributeAssignment:
14
14
  Enabled: true
15
15
 
16
16
  Layout/EmptyLinesAroundAttributeAccessor:
@@ -135,6 +135,9 @@ RSpec/MessageSpies:
135
135
  RSpec/NotToNot:
136
136
  EnforcedStyle: to_not
137
137
 
138
+ RSpec/Rails/InferredSpecType:
139
+ Enabled: false
140
+
138
141
  Style/AccessorGrouping:
139
142
  Enabled: true
140
143
 
data/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@
4
4
 
5
5
  _none_
6
6
 
7
+ ## 2.1.3 (2023-12-06)
8
+
9
+ **Changes**
10
+ * Support appraisal 2.5.x
11
+ * Support rake 13.1.x
12
+ * Support rspec 3.12.x
13
+
14
+ ## 2.1.2 (2023-11-24)
15
+
16
+ **Changes**
17
+ * Support graphql 2.1.x
18
+ * Support graphql-schema_comparator 1.2.x
19
+
7
20
  ## 2.1.1 (2022-09-21)
8
21
 
9
22
  **Changes**
data/README.md CHANGED
@@ -273,7 +273,7 @@ expect(response).to have_graphql_error("Error message")
273
273
 
274
274
  ## Development
275
275
 
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.
276
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
277
277
 
278
278
  To test against all supported versions of rails run `bundle exec appraisal install` and then run `bundle exec appraisal rake`.
279
279
 
@@ -305,3 +305,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
305
305
  ## Code of Conduct
306
306
 
307
307
  Everyone interacting in the NulogyGraphqlApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/nulogy/nulogy_graphql_api/blob/master/CODE_OF_CONDUCT.md).
308
+
@@ -1,3 +1,3 @@
1
1
  module NulogyGraphqlApi
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.3"
3
3
  end
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
14
14
  "homepage_uri" => "https://github.com/nulogy/nulogy_graphql_api",
15
15
  "changelog_uri" => "https://github.com/nulogy/nulogy_graphql_api/blob/master/CHANGELOG.md",
16
16
  "source_code_uri" => "https://github.com/nulogy/nulogy_graphql_api",
17
- "bug_tracker_uri" => "https://github.com/nulogy/nulogy_graphql_api/issues"
17
+ "bug_tracker_uri" => "https://github.com/nulogy/nulogy_graphql_api/issues",
18
+ "rubygems_mfa_required" => "true"
18
19
  }
19
20
 
20
21
  spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
@@ -28,14 +29,14 @@ Gem::Specification.new do |spec|
28
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
30
  spec.require_paths = ["lib"]
30
31
 
31
- spec.add_dependency "graphql", "~> 2.0"
32
- spec.add_dependency "graphql-schema_comparator", "~> 1.0"
32
+ spec.add_dependency "graphql", "~> 2.1"
33
+ spec.add_dependency "graphql-schema_comparator", "~> 1.2"
33
34
  spec.add_dependency "rails", ">= 6.0", "< 8.0"
34
35
  spec.add_dependency "rainbow", "~> 3.0"
35
36
 
36
- spec.add_development_dependency "appraisal", "~> 2.4"
37
- spec.add_development_dependency "rake", "~> 13.0"
38
- spec.add_development_dependency "rspec", "~> 3.9"
37
+ spec.add_development_dependency "appraisal", "~> 2.5"
38
+ spec.add_development_dependency "rake", "~> 13.1"
39
+ spec.add_development_dependency "rspec", "~> 3.12"
39
40
  spec.add_development_dependency "rspec-rails", "~> 5.1"
40
41
  spec.add_development_dependency "rubocop", "~> 1.25"
41
42
  spec.add_development_dependency "rubocop-performance", "~> 1.13"
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.1.1
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Silva
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-22 00:00:00.000000000 Z
11
+ date: 2023-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2.1'
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: '2.0'
26
+ version: '2.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: graphql-schema_comparator
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
33
+ version: '1.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.0'
40
+ version: '1.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -78,42 +78,42 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '2.4'
81
+ version: '2.5'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '2.4'
88
+ version: '2.5'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rake
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '13.0'
95
+ version: '13.1'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '13.0'
102
+ version: '13.1'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rspec
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '3.9'
109
+ version: '3.12'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '3.9'
116
+ version: '3.12'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: rspec-rails
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -198,13 +198,15 @@ dependencies:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
200
  version: '1.4'
201
- description:
201
+ description:
202
202
  email:
203
203
  - danielsi@nulogy.com
204
204
  executables: []
205
205
  extensions: []
206
206
  extra_rdoc_files: []
207
207
  files:
208
+ - ".github/workflows/gem-push.yml"
209
+ - ".github/workflows/integrate.yml"
208
210
  - ".gitignore"
209
211
  - ".rspec"
210
212
  - ".rubocop"
@@ -249,7 +251,8 @@ metadata:
249
251
  changelog_uri: https://github.com/nulogy/nulogy_graphql_api/blob/master/CHANGELOG.md
250
252
  source_code_uri: https://github.com/nulogy/nulogy_graphql_api
251
253
  bug_tracker_uri: https://github.com/nulogy/nulogy_graphql_api/issues
252
- post_install_message:
254
+ rubygems_mfa_required: 'true'
255
+ post_install_message:
253
256
  rdoc_options: []
254
257
  require_paths:
255
258
  - lib
@@ -264,8 +267,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
267
  - !ruby/object:Gem::Version
265
268
  version: '0'
266
269
  requirements: []
267
- rubygems_version: 3.3.7
268
- signing_key:
270
+ rubygems_version: 3.1.6
271
+ signing_key:
269
272
  specification_version: 4
270
273
  summary: Standard tooling for building GraphQL apis
271
274
  test_files: []