rack-graphql 2.7.0 → 2.7.1

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: b0aed325620504c52731b38726309a1633831e5af42af1f2a42b9a85e1c7b662
4
- data.tar.gz: df13c1c063bab50027908d4c44f0ecc242fca1bf6d7485e1fadb69a2e9dddbac
3
+ metadata.gz: e93e42e089512fb66fd31d4ee5927904e795b98729b7e61819c85062d1bbe05d
4
+ data.tar.gz: 01156f4ddac5d400a610aedb10eba7cf7b15f35ae54b2379e5a3cee812128c68
5
5
  SHA512:
6
- metadata.gz: a0ca07400a4d7229462f720310d9da3a734c91ca78318bcba122734d8983cae935563488c1e146f19a991d3a1890be740ba6f752fb6ef0babeca791f188bed3b
7
- data.tar.gz: 571b478112fd84ae108c78afd17a1e48a7163d8c2c2b582824ec9b2bdb1057aaa934a9a12f9a0dadfa6fe0008a80391e5d210970cc7736bfcfee173b09757ca6
6
+ metadata.gz: 19716823cf60ebd465c7c9d7927f2b03bc54c0c07e0ffe14105548af9effd090f5ae98df3a50efbf6bd59a54d1823181c6e5669accf5ef291e1a28850d7b4e42
7
+ data.tar.gz: 60b7edf7e00f84c5f83a7d10f03706660a5dd9b9e95dd3954b2e405c72814c10950c375bbfad2ac2e71043aa7cb79b6f5cfa34fea17949d1638d8e6c5185ab91
data/.bundler-version CHANGED
@@ -1 +1 @@
1
- 2.2.14
1
+ 2.2.29
@@ -1,18 +1,6 @@
1
- ## Description
1
+ ## Description, motivation and context
2
2
  <!--- Describe your changes in detail -->
3
-
4
- ## Related issue(s)
5
- <!--- GH issue number -->
6
-
7
- ## Motivation and Context
8
3
  <!--- Why is this change required? What problem does it solve? -->
9
- <!--- If it fixes an open issue, please link to the issue here. -->
10
4
 
11
- ## How Has This Been Tested?
12
- <!--- Please describe in detail how you tested your changes. -->
13
-
14
- ## Screenshots (if appropriate):
15
- <!--- Please add any screenshots of the feature. -->
16
-
17
- ## Related PRs
18
- <!--- Please add links to any related PRs (backend, component packages, etc). -->
5
+ ## Related issue(s) or PR(s)
6
+ <!--- GH issue number -->
@@ -0,0 +1,28 @@
1
+ name: Ruby CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ['2.7', '3.0']
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Ruby
19
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
20
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
21
+ # uses: ruby/setup-ruby@v1
22
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26
+
27
+ - name: Run tests
28
+ run: bundle exec rake ci
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-graphql (2.7.0)
5
- graphql
4
+ rack-graphql (2.7.1)
5
+ graphql (~> 1.12)
6
6
  oj
7
7
  rack (~> 2.2)
8
8
 
@@ -13,22 +13,22 @@ GEM
13
13
  awesome_print (1.9.2)
14
14
  coderay (1.1.3)
15
15
  diff-lcs (1.4.4)
16
- graphql (1.12.6)
16
+ graphql (1.12.17)
17
17
  method_source (1.0.0)
18
- oj (3.11.3)
19
- parallel (1.20.1)
20
- parser (3.0.0.0)
18
+ oj (3.13.9)
19
+ parallel (1.21.0)
20
+ parser (3.0.2.0)
21
21
  ast (~> 2.4.1)
22
- pry (0.14.0)
22
+ pry (0.14.1)
23
23
  coderay (~> 1.1)
24
24
  method_source (~> 1.0)
25
25
  rack (2.2.3)
26
26
  rack-test (1.1.0)
27
27
  rack (>= 1.0, < 3)
28
28
  rainbow (3.0.0)
29
- rake (13.0.3)
29
+ rake (13.0.6)
30
30
  regexp_parser (2.1.1)
31
- rexml (3.2.4)
31
+ rexml (3.2.5)
32
32
  rspec (3.10.0)
33
33
  rspec-core (~> 3.10.0)
34
34
  rspec-expectations (~> 3.10.0)
@@ -42,26 +42,28 @@ GEM
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.10.0)
44
44
  rspec-support (3.10.2)
45
- rubocop (1.11.0)
45
+ rubocop (1.22.1)
46
46
  parallel (~> 1.10)
47
47
  parser (>= 3.0.0.0)
48
48
  rainbow (>= 2.2.2, < 4.0)
49
49
  regexp_parser (>= 1.8, < 3.0)
50
50
  rexml
51
- rubocop-ast (>= 1.2.0, < 2.0)
51
+ rubocop-ast (>= 1.12.0, < 2.0)
52
52
  ruby-progressbar (~> 1.7)
53
53
  unicode-display_width (>= 1.4.0, < 3.0)
54
- rubocop-ast (1.4.1)
55
- parser (>= 2.7.1.5)
56
- rubocop-rake (0.5.1)
57
- rubocop
58
- rubocop-rspec (2.2.0)
54
+ rubocop-ast (1.12.0)
55
+ parser (>= 3.0.1.1)
56
+ rubocop-rake (0.6.0)
59
57
  rubocop (~> 1.0)
60
- rubocop-ast (>= 1.1.0)
58
+ rubocop-rspec (2.5.0)
59
+ rubocop (~> 1.19)
61
60
  ruby-progressbar (1.11.0)
62
- unicode-display_width (2.0.0)
61
+ unicode-display_width (2.1.0)
63
62
 
64
63
  PLATFORMS
64
+ aarch64-linux-musl
65
+ x86_64-darwin-18
66
+ x86_64-darwin-19
65
67
  x86_64-darwin-20
66
68
  x86_64-linux
67
69
 
@@ -78,4 +80,4 @@ DEPENDENCIES
78
80
  rubocop-rspec
79
81
 
80
82
  BUNDLED WITH
81
- 2.2.15
83
+ 2.2.29
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/rack-graphql.svg)](https://rubygems.org/gems/rack-graphql)
2
- [![Build Status](https://travis-ci.org/RenoFi/rack-graphql.svg?branch=master)](https://travis-ci.org/RenoFi/rack-graphql)
2
+ [![Build Status](https://github.com/RenoFi/rack-graphql/actions/workflows/ci.yml/badge.svg)](https://github.com/RenoFi/rack-graphql/actions/workflows/ci.yml?query=branch%3Amain)
3
3
 
4
4
  # rack-graphql
5
5
 
data/Rakefile CHANGED
@@ -5,4 +5,5 @@ require 'rubocop/rake_task'
5
5
  RSpec::Core::RakeTask.new(:spec)
6
6
  RuboCop::RakeTask.new
7
7
 
8
+ task ci: %i[spec rubocop]
8
9
  task default: %i[spec rubocop:auto_correct]
@@ -1,3 +1,3 @@
1
1
  module RackGraphql
2
- VERSION = '2.7.0'.freeze
2
+ VERSION = '2.7.1'.freeze
3
3
  end
data/rack-graphql.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.required_ruby_version = '>= 2.6'
27
27
 
28
- spec.add_dependency 'graphql'
28
+ spec.add_dependency 'graphql', '~> 1.12'
29
29
  spec.add_dependency 'oj'
30
30
  spec.add_dependency 'rack', '~> 2.2'
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-03-24 00:00:00.000000000 Z
12
+ date: 2021-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: graphql
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: '1.12'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: '1.12'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: oj
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -195,9 +195,9 @@ files:
195
195
  - ".github/PULL_REQUEST_TEMPLATE.md"
196
196
  - ".github/workflows/auto-approve.yml"
197
197
  - ".github/workflows/auto-merge.yml"
198
+ - ".github/workflows/ci.yml"
198
199
  - ".gitignore"
199
200
  - ".rspec"
200
- - ".travis.yml"
201
201
  - CHANGELOG.md
202
202
  - Gemfile
203
203
  - Gemfile.lock
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  - !ruby/object:Gem::Version
235
235
  version: '0'
236
236
  requirements: []
237
- rubygems_version: 3.2.15
237
+ rubygems_version: 3.2.23
238
238
  signing_key:
239
239
  specification_version: 4
240
240
  summary: Rack middleware implementing graphql endpoint.
data/.travis.yml DELETED
@@ -1,12 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6
7
- - 2.7
8
- - 3.0
9
- before_install: gem install bundler
10
- script:
11
- - bundle exec rake rubocop
12
- - bundle exec rake spec