artemis 0.9.0 → 1.0.0

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: fcf01b2987aaf247cee4afa02982fd582208ea0b48f3042ed207e7bb5ed6fdd8
4
- data.tar.gz: 4eea51e39bbe709d579d08a409d09c2a95495590ab99609834d0af735cc0c46a
3
+ metadata.gz: 67885289ab96c6ee04586b1c448bfa3832ecdb6b8ce2b28726d988a24801aee4
4
+ data.tar.gz: 788127f71e696536fd2f6e2076f97f2bb8af6d9374af5760782da12c85005660
5
5
  SHA512:
6
- metadata.gz: a0f862a4301a613dfe0fadefe9bdbad4170f2b6af1ef6f5db859fb13d40dc0065a1d93d37cab4f44790c90c1b624bf62d4b7777ebaa67e38028be0816d14d19d
7
- data.tar.gz: 0b197e80bf6ffe84c489423804d8b67fa18f37c57679015308598284090d5ab9adcdea587a27c6e49312c741642e5fe03675a594e6b66695af08dc344fb76db3
6
+ metadata.gz: e4099922005bf7f838d9e6147253b8403b9381fa5ea7c29a1317045b64c8cbe08e2bcc8ea0060ff60da41b7fba9325f47cce079ae1c8d217d0d47dcfee437c5f
7
+ data.tar.gz: f633c25ba1ddbe8bcec167425f4f48b9ed8d6f94bac6048dc75c9a68bb13745af76b4572bb1b4e3a869bbf542a0928c8a0235e9ee835726e52325085e089d42b
@@ -2,18 +2,17 @@ name: build
2
2
 
3
3
  on:
4
4
  - push
5
- - pull_request
6
5
 
7
6
  jobs:
8
7
  mri:
9
8
  strategy:
10
9
  matrix:
11
10
  ruby_version:
11
+ - '3.3'
12
12
  - '3.2'
13
13
  - '3.1'
14
14
  - '3.0'
15
15
  - '2.7'
16
- - '2.6'
17
16
  gemfile:
18
17
  - gemfiles/rails_71.gemfile
19
18
  - gemfiles/rails_70.gemfile
@@ -22,7 +21,18 @@ jobs:
22
21
  - gemfiles/rails_52.gemfile
23
22
  - gemfiles/rails_51.gemfile
24
23
  - gemfiles/rails_50.gemfile
24
+ - gemfiles/graphql_2_0.gemfile
25
25
  exclude:
26
+ - ruby_version: '3.3'
27
+ gemfile: gemfiles/rails_61.gemfile
28
+ - ruby_version: '3.3'
29
+ gemfile: gemfiles/rails_60.gemfile
30
+ - ruby_version: '3.3'
31
+ gemfile: gemfiles/rails_52.gemfile
32
+ - ruby_version: '3.3'
33
+ gemfile: gemfiles/rails_51.gemfile
34
+ - ruby_version: '3.3'
35
+ gemfile: gemfiles/rails_50.gemfile
26
36
  - ruby_version: '3.2'
27
37
  gemfile: gemfiles/rails_61.gemfile
28
38
  - ruby_version: '3.2'
@@ -49,6 +59,8 @@ jobs:
49
59
  gemfile: gemfiles/rails_51.gemfile
50
60
  - ruby_version: '3.0'
51
61
  gemfile: gemfiles/rails_50.gemfile
62
+ - ruby_version: '3.0'
63
+ gemfile: gemfiles/graphql_2_0.gemfile
52
64
  - ruby_version: '2.7'
53
65
  gemfile: gemfiles/rails_71.gemfile
54
66
  - ruby_version: '2.7'
@@ -57,10 +69,8 @@ jobs:
57
69
  gemfile: gemfiles/rails_51.gemfile
58
70
  - ruby_version: '2.7'
59
71
  gemfile: gemfiles/rails_50.gemfile
60
- - ruby_version: '2.6'
61
- gemfile: gemfiles/rails_71.gemfile
62
- - ruby_version: '2.6'
63
- gemfile: gemfiles/rails_70.gemfile
72
+ - ruby_version: '2.7'
73
+ gemfile: gemfiles/graphql_2_0.gemfile
64
74
  runs-on: ubuntu-22.04
65
75
  env:
66
76
  BUNDLE_GEMFILE: ${{ matrix.gemfile }}
@@ -88,7 +98,7 @@ jobs:
88
98
  - name: Set up Ruby
89
99
  uses: ruby/setup-ruby@v1
90
100
  with:
91
- ruby-version: 3.2
101
+ ruby-version: 3.3
92
102
  bundler-cache: true
93
103
  - run: bundle exec rake || echo "Rails edge test is done."
94
104
 
data/Appraisals CHANGED
@@ -8,10 +8,19 @@ appraise "rails_edge" do
8
8
  gem "rackup"
9
9
  end
10
10
 
11
+ appraise "graphql_2_0" do
12
+ gem "rails", '~> 7.1.0'
13
+ gem "railties", '~> 7.1.0'
14
+ gem "activesupport", '~> 7.1.0'
15
+ gem "rackup"
16
+
17
+ gem "graphql", "< 2.1"
18
+ end
19
+
11
20
  appraise "rails_71" do
12
- gem "rails", '~> 7.1.0.beta1'
13
- gem "railties", '~> 7.1.0.beta1'
14
- gem "activesupport", '~> 7.1.0.beta1'
21
+ gem "rails", '~> 7.1.0'
22
+ gem "railties", '~> 7.1.0'
23
+ gem "activesupport", '~> 7.1.0'
15
24
  gem "rackup"
16
25
  end
17
26
 
@@ -28,9 +37,9 @@ appraise "rails_61" do
28
37
  end
29
38
 
30
39
  appraise "rails_60" do
31
- gem "rails", '~> 6.0.0.rc1'
32
- gem "railties", '~> 6.0.0.rc1'
33
- gem "activesupport", '~> 6.0.0.rc1'
40
+ gem "rails", '~> 6.0.0'
41
+ gem "railties", '~> 6.0.0'
42
+ gem "activesupport", '~> 6.0.0'
34
43
  end
35
44
 
36
45
  appraise "rails_52" do
data/CHANGELOG.md CHANGED
@@ -1,12 +1,30 @@
1
- ## v0.9.0
1
+ ## v1.0.0
2
+
3
+ #### 🚨 Breaking Changes
4
+
5
+ - Drop support for Ruby 2.6. For those of you looking to use Artemis on Ruby 2.6, please use the `artemis` version
6
+ `0.9.0` and the `graphql-client` version `0.17.0`.
7
+
8
+ #### ⭐️ New Features
9
+
10
+ - Add support for Ruby 3.3.
11
+ - Add support for the latest versinos of the `graphql` gem.
12
+
13
+ #### 🐞 Bug Fixes
14
+
15
+ - No bug fixes.
16
+
17
+ ## [v0.9.0](https://github.com/yuki24/artemis/tree/v0.9.0)
18
+
19
+ _<sup>released at 2023-09-18 01:08:34 UTC</sup>_
2
20
 
3
21
  #### New Features
4
22
 
5
- - Rails 7.1.0.beta1 is now officially supported
23
+ - Rails 7.1.0.beta1 is now officially supported ([<tt>f25ba29</tt>](https://github.com/yuki24/artemis/commit/f25ba296f15b26ffba7e4ec0f5b4cbeb061c97a1))
6
24
 
7
25
  #### Fixes
8
26
 
9
- - Fixes an issue where `graphql` gem `2.1.0` may not work with `graphql-client` (`b144ee2f`)
27
+ - Fixes an issue where `graphql` gem `2.1.0` may not work with `graphql-client` ([<tt>b144ee2</tt>](https://github.com/yuki24/artemis/commit/b144ee2fbca2c23b4aaed8236f6fc07f65d8239d))
10
28
 
11
29
  ## [v0.8.0](https://github.com/yuki24/artemis/tree/v0.8.0)
12
30
 
@@ -39,7 +57,6 @@ _<sup>released at 2021-09-03 04:17:55 UTC</sup>_
39
57
 
40
58
  #### Fixes
41
59
 
42
- - ~~Generate fixture YAML files on `rails g artemis:query queryName` ([#78](https://github.com/yuki24/artemis/pull/78))~~ Removed due to a bug for now.
43
60
  - Address warnings from Ruby 2.7 ([<tt>408adcb</tt>](https://github.com/yuki24/artemis/commit/408adcb3f39912f7afb7b3690a52f1d593662b7b))
44
61
  - Avoid crashing when config/graphql.yml does not exist ([@dlackty](https://github.com/dlackty), [#76](https://github.com/yuki24/artemis/pull/76))
45
62
 
@@ -107,5 +124,5 @@ _<sup>released at 2018-10-30 02:09:59 UTC</sup>_
107
124
 
108
125
  _<sup>released at 2018-10-16 20:57:51 UTC</sup>_
109
126
 
110
- First release of Artemis! <g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">&#127881;</g-emoji>
127
+ First release of Artemis! 🎉
111
128
 
data/artemis.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
 
18
18
  spec.add_dependency "activesupport", ">= 4.0.0"
19
19
  spec.add_dependency "railties", ">= 4.0.0"
20
- spec.add_dependency "graphql", "< 2.1"
20
+ spec.add_dependency "graphql"
21
21
  spec.add_dependency "graphql-client", ">= 0.13.0"
22
22
 
23
23
  spec.add_development_dependency "appraisal", ">= 2.2"
data/bin/console CHANGED
@@ -4,9 +4,9 @@ require "bundler/setup"
4
4
  require "artemis"
5
5
 
6
6
  Artemis::Client.query_paths = [File.join(__dir__, '../spec/fixtures')]
7
- Artemis::GraphQLEndpoint.register!(:metaphysics, adapter: :test, url: '', schema_path: 'spec/fixtures/metaphysics/schema.json')
8
- Artemis::GraphQLEndpoint.lookup(:metaphysics).load_schema!
9
- require_relative '../spec/fixtures/metaphysics'
7
+ Artemis::GraphQLEndpoint.register!(:github, adapter: :test, url: '', schema_path: 'spec/fixtures/github/schema.json')
8
+ Artemis::GraphQLEndpoint.lookup(:github).load_schema!
9
+ require_relative '../spec/fixtures/github'
10
10
 
11
11
  require "pry"
12
12
  Pry.start
@@ -0,0 +1,15 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "pry"
6
+ gem "pry-byebug", platforms: :mri
7
+ gem "curb", ">= 0.9.6"
8
+ gem "webrick"
9
+ gem "rails", "~> 7.1.0"
10
+ gem "railties", "~> 7.1.0"
11
+ gem "activesupport", "~> 7.1.0"
12
+ gem "rackup"
13
+ gem "graphql", "< 2.1"
14
+
15
+ gemspec path: "../"
@@ -6,8 +6,8 @@ gem "pry"
6
6
  gem "pry-byebug", platforms: :mri
7
7
  gem "curb", ">= 0.9.6"
8
8
  gem "webrick"
9
- gem "rails", "~> 6.0.0.rc1"
10
- gem "railties", "~> 6.0.0.rc1"
11
- gem "activesupport", "~> 6.0.0.rc1"
9
+ gem "rails", "~> 6.0.0"
10
+ gem "railties", "~> 6.0.0"
11
+ gem "activesupport", "~> 6.0.0"
12
12
 
13
13
  gemspec path: "../"
@@ -6,9 +6,9 @@ gem "pry"
6
6
  gem "pry-byebug", platforms: :mri
7
7
  gem "curb", ">= 0.9.6"
8
8
  gem "webrick"
9
- gem "rails", "~> 7.1.0.beta1"
10
- gem "railties", "~> 7.1.0.beta1"
11
- gem "activesupport", "~> 7.1.0.beta1"
9
+ gem "rails", "~> 7.1.0"
10
+ gem "railties", "~> 7.1.0"
11
+ gem "activesupport", "~> 7.1.0"
12
12
  gem "rackup"
13
13
 
14
14
  gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module Artemis
2
- VERSION = "0.9.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artemis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Allured
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-09-18 00:00:00.000000000 Z
12
+ date: 2024-02-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -43,16 +43,16 @@ dependencies:
43
43
  name: graphql
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "<"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '2.1'
48
+ version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "<"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '2.1'
55
+ version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: graphql-client
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -162,6 +162,7 @@ files:
162
162
  - doc/CHANGELOG.md.erb
163
163
  - doc/changelog_generator.rb
164
164
  - gemfiles/.bundle/config
165
+ - gemfiles/graphql_2_0.gemfile
165
166
  - gemfiles/rails_50.gemfile
166
167
  - gemfiles/rails_51.gemfile
167
168
  - gemfiles/rails_52.gemfile
@@ -233,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
234
  - !ruby/object:Gem::Version
234
235
  version: '0'
235
236
  requirements: []
236
- rubygems_version: 3.4.19
237
+ rubygems_version: 3.5.3
237
238
  signing_key:
238
239
  specification_version: 4
239
240
  summary: GraphQL on Rails