artemis 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +53 -0
- data/Appraisals +22 -16
- data/CHANGELOG.md +63 -6
- data/Gemfile +2 -1
- data/README.md +62 -32
- data/artemis.gemspec +7 -8
- data/banner.png +0 -0
- data/gemfiles/rails_50.gemfile +6 -3
- data/gemfiles/rails_51.gemfile +5 -3
- data/gemfiles/rails_52.gemfile +5 -3
- data/gemfiles/rails_60.gemfile +13 -0
- data/gemfiles/{rails_42.gemfile → rails_61.gemfile} +5 -4
- data/gemfiles/rails_edge.gemfile +2 -1
- data/lib/artemis/adapters/abstract_adapter.rb +6 -1
- data/lib/artemis/adapters/curb_adapter.rb +2 -2
- data/lib/artemis/adapters/multi_domain_adapter.rb +43 -0
- data/lib/artemis/adapters/net_http_adapter.rb +1 -3
- data/lib/artemis/adapters/net_http_persistent_adapter.rb +1 -1
- data/lib/artemis/adapters/test_adapter.rb +1 -1
- data/lib/artemis/adapters.rb +1 -0
- data/lib/artemis/client.rb +45 -19
- data/lib/artemis/graphql_endpoint.rb +24 -6
- data/lib/artemis/railtie.rb +15 -13
- data/lib/artemis/test_helper.rb +41 -14
- data/lib/artemis/version.rb +1 -1
- data/lib/artemis.rb +32 -1
- data/lib/generators/artemis/install/install_generator.rb +2 -2
- data/lib/generators/artemis/mutation/templates/mutation.graphql +1 -1
- data/lib/generators/artemis/query/query_generator.rb +13 -1
- data/lib/generators/artemis/query/templates/fixture.yml +19 -0
- data/lib/generators/artemis/query/templates/query.graphql +1 -1
- data/lib/tasks/artemis.rake +3 -3
- data/spec/adapters_spec.rb +56 -10
- data/spec/callbacks_spec.rb +14 -0
- data/spec/client_spec.rb +26 -1
- data/spec/fixtures/responses/{artist.yml → metaphysics/artist.yml} +7 -0
- data/spec/fixtures/responses/{artwork.json → metaphysics/artwork.json} +0 -0
- data/spec/fixtures/responses/spotify_client/artist.yml +5 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/test_helper_spec.rb +34 -4
- metadata +36 -46
- data/.travis.yml +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a0f96c5c92adae8e2b52b173e05240aaa8967d8184887f25e3b986abe7db6a6
|
4
|
+
data.tar.gz: bf731d81af95a1ae12c6cc0d1bc01b4f0b13e3d563717d7ee97d3bdbbbc2c18f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 448933d593a7cb931dca4fb128e4a7052792e2c6405f42a797e9f1e9f4bde557fb6845f123a0132e89a53b6f56310c2c0585af74a87acace334dd34d5f74b105
|
7
|
+
data.tar.gz: 6865a729838c972eda26707ea12cddb846a21aea6d1b2c0cd252054054f2f5758b2c81bdd543ddbac5dfc1fd6ca127c31fd83a5a67f6e847230d7eec787d7375
|
@@ -0,0 +1,53 @@
|
|
1
|
+
name: build
|
2
|
+
|
3
|
+
on:
|
4
|
+
- push
|
5
|
+
- pull_request
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
strategy:
|
10
|
+
matrix:
|
11
|
+
ruby_version:
|
12
|
+
- '3.0'
|
13
|
+
- '2.7'
|
14
|
+
- '2.6'
|
15
|
+
- '2.5'
|
16
|
+
# - 'jruby-9.2.17.0'
|
17
|
+
gemfile:
|
18
|
+
- gemfiles/rails_61.gemfile
|
19
|
+
- gemfiles/rails_60.gemfile
|
20
|
+
- gemfiles/rails_52.gemfile
|
21
|
+
- gemfiles/rails_51.gemfile
|
22
|
+
- gemfiles/rails_50.gemfile
|
23
|
+
# - gemfiles/rails_edge.gemfile
|
24
|
+
exclude:
|
25
|
+
- ruby_version: '3.0'
|
26
|
+
gemfile: gemfiles/rails_52.gemfile
|
27
|
+
- ruby_version: '3.0'
|
28
|
+
gemfile: gemfiles/rails_51.gemfile
|
29
|
+
- ruby_version: '3.0'
|
30
|
+
gemfile: gemfiles/rails_50.gemfile
|
31
|
+
- ruby_version: '2.7'
|
32
|
+
gemfile: gemfiles/rails_52.gemfile
|
33
|
+
- ruby_version: '2.7'
|
34
|
+
gemfile: gemfiles/rails_51.gemfile
|
35
|
+
- ruby_version: '2.7'
|
36
|
+
gemfile: gemfiles/rails_50.gemfile
|
37
|
+
# - ruby_version: '2.6'
|
38
|
+
# gemfile: gemfiles/rails_edge.gemfile
|
39
|
+
# - ruby_version: '2.5'
|
40
|
+
# gemfile: gemfiles/rails_edge.gemfile
|
41
|
+
runs-on: ubuntu-18.04
|
42
|
+
env:
|
43
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
44
|
+
steps:
|
45
|
+
- uses: actions/checkout@v2
|
46
|
+
- name: Install curl
|
47
|
+
run: sudo apt-get install curl libcurl4-openssl-dev
|
48
|
+
- name: Set up Ruby
|
49
|
+
uses: ruby/setup-ruby@v1
|
50
|
+
with:
|
51
|
+
ruby-version: ${{ matrix.ruby_version }}
|
52
|
+
bundler-cache: true
|
53
|
+
- run: bundle exec rake
|
data/Appraisals
CHANGED
@@ -1,32 +1,38 @@
|
|
1
1
|
appraise "rails_edge" do
|
2
|
-
git '
|
2
|
+
git 'https://github.com/rails/rails.git' do
|
3
3
|
gem "rails"
|
4
4
|
gem "railties"
|
5
5
|
gem "activesupport"
|
6
6
|
end
|
7
7
|
end
|
8
8
|
|
9
|
+
appraise "rails_61" do
|
10
|
+
gem "rails", '~> 6.1.0'
|
11
|
+
gem "railties", '~> 6.1.0'
|
12
|
+
gem "activesupport", '~> 6.1.0'
|
13
|
+
end
|
14
|
+
|
15
|
+
appraise "rails_60" do
|
16
|
+
gem "rails", '~> 6.0.0.rc1'
|
17
|
+
gem "railties", '~> 6.0.0.rc1'
|
18
|
+
gem "activesupport", '~> 6.0.0.rc1'
|
19
|
+
end
|
20
|
+
|
9
21
|
appraise "rails_52" do
|
10
|
-
gem "rails", '~> 5.2'
|
11
|
-
gem "railties", '~> 5.2'
|
12
|
-
gem "activesupport", '~> 5.2'
|
22
|
+
gem "rails", '~> 5.2.0'
|
23
|
+
gem "railties", '~> 5.2.0'
|
24
|
+
gem "activesupport", '~> 5.2.0'
|
13
25
|
end
|
14
26
|
|
15
27
|
appraise "rails_51" do
|
16
|
-
gem "rails", '~> 5.1'
|
17
|
-
gem "railties", '~> 5.1'
|
18
|
-
gem "activesupport", '~> 5.1'
|
28
|
+
gem "rails", '~> 5.1.0'
|
29
|
+
gem "railties", '~> 5.1.0'
|
30
|
+
gem "activesupport", '~> 5.1.0'
|
19
31
|
end
|
20
32
|
|
21
33
|
appraise "rails_50" do
|
22
|
-
gem "rails", '~> 5.0'
|
23
|
-
gem "railties", '~> 5.0'
|
24
|
-
gem "activesupport", '~> 5.0'
|
25
|
-
end
|
26
|
-
|
27
|
-
appraise "rails_42" do
|
28
|
-
gem "rails", '~> 4.2'
|
29
|
-
gem "railties", '~> 4.2'
|
30
|
-
gem "activesupport", '~> 4.2'
|
34
|
+
gem "rails", '~> 5.0.0'
|
35
|
+
gem "railties", '~> 5.0.0'
|
36
|
+
gem "activesupport", '~> 5.0.0'
|
31
37
|
gem "minitest", '5.10.3'
|
32
38
|
end
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,65 @@
|
|
1
|
-
##
|
1
|
+
## v0.6.0
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
_<sup>(unreleased)</sup>_
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Add support for Ruby 3.0 and Rails 6.0, 6.1
|
8
|
+
* Add the multi domain adapter (744b8ea3)
|
9
|
+
|
10
|
+
#### Fixes
|
11
|
+
|
12
|
+
* ~~Generate fixture YAML files on `rails g artemis:query queryName` (#78)~~ Removed due to a bug for now.
|
13
|
+
* Address warnings from Ruby 2.7 (408adcb3)
|
14
|
+
* Avoid crashing when config/graphql.yml does not exist (@dlackty, #76)
|
15
|
+
|
16
|
+
## [v0.5.2](https://github.com/yuki24/artemis/tree/v0.5.2)
|
17
|
+
|
18
|
+
_<sup>released at 2019-07-26 03:21:43 UTC</sup>_
|
19
|
+
|
20
|
+
#### Fixes
|
21
|
+
|
22
|
+
- Fixes an issue where fixtures can not be looked up properly when the client has two or more words in its name ([@JanStevens](https://github.com/JanStevens), issue: [#72](https://github.com/yuki24/artemis/issues/72), PR: [#73](https://github.com/yuki24/artemis/pull/73))
|
23
|
+
|
24
|
+
## [v0.5.1](https://github.com/yuki24/artemis/tree/v0.5.1)
|
25
|
+
|
26
|
+
_<sup>released at 2019-07-01 14:25:35 UTC</sup>_
|
27
|
+
|
28
|
+
#### Fixes
|
29
|
+
|
30
|
+
- Fixes an issue where callbacks are shared across all clients ([@JanStevens](https://github.com/JanStevens), issue: [#69](https://github.com/yuki24/artemis/issues/69), PR: [#70](https://github.com/yuki24/artemis/pull/70))
|
31
|
+
- Fixes an issue where fixtures with the same name cause a conflict ([@JanStevens](https://github.com/JanStevens), Issue: [#68](https://github.com/yuki24/artemis/issues/68), commit: [<tt>e1f57f4</tt>](https://github.com/yuki24/artemis/commit/e1f57f49ebb032553d7a6f70e48422fc9825c119))
|
32
|
+
|
33
|
+
## [v0.5.0](https://github.com/yuki24/artemis/tree/v0.5.0)
|
34
|
+
|
35
|
+
_<sup>released at 2019-06-02 22:01:57 UTC</sup>_
|
36
|
+
|
37
|
+
#### Features
|
38
|
+
|
39
|
+
- Add support for Rails 6.0, 4.1, and 4.0
|
40
|
+
- [<tt>6701b54</tt>](https://github.com/yuki24/artemis/commit/6701b546a143c22109c7ab30018acf96d67067d1), [#62](https://github.com/yuki24/artemis/issues/62): Allow to dynamically call the operation ([@JanStevens](https://github.com/JanStevens))
|
41
|
+
|
42
|
+
#### Fixes
|
43
|
+
|
44
|
+
- [#67](https://github.com/yuki24/artemis/pull/67): Fix the wrong test version constraints in `Appraisals` ([@daemonsy](https://github.com/daemonsy))
|
45
|
+
- [#60](https://github.com/yuki24/artemis/pull/60): Fix an issue where not all adapters send required HTTP headers
|
46
|
+
|
47
|
+
## [v0.4.0](https://github.com/yuki24/artemis/tree/v0.4.0)
|
48
|
+
|
49
|
+
_<sup>released at 2019-01-30 03:42:14 UTC</sup>_
|
50
|
+
|
51
|
+
#### Features
|
52
|
+
|
53
|
+
- [<tt>48d052e</tt>](https://github.com/yuki24/artemis/commit/48d052e9819703f1cefa95fbdb431bd03928f4ed): Add an easy way to set up Rspec integration
|
54
|
+
- [<tt>0f7cd12</tt>](https://github.com/yuki24/artemis/commit/0f7cd120594a0dd2a4af2b2e5cf990891dd8de16): Make Artemis' Railtie configurable
|
55
|
+
- [<tt>6bd15e2</tt>](https://github.com/yuki24/artemis/commit/6bd15e20779e5a6f898e1aacf8237c94c8c46aba): Add the ability to use ERB in test fixtures
|
56
|
+
- [#49](https://github.com/yuki24/artemis/pull/49): Expose the TestAdapter as a public API
|
57
|
+
|
58
|
+
#### Bug fixes
|
59
|
+
|
60
|
+
- [<tt>b7ad4a4</tt>](https://github.com/yuki24/artemis/commit/b7ad4a481a43cadd9193076c0e44938e05e6d44b): Require `graphl >= 1.8` to fix a bug in the generator
|
61
|
+
- [#48](https://github.com/yuki24/artemis/pull/48): Do not transform keys of query variables ([@erikdstock](https://github.com/erikdstock))
|
62
|
+
- [#47](https://github.com/yuki24/artemis/pull/47): Fixes an issue where errors thrown from `config/graphql.yml` get swallowed
|
6
63
|
|
7
64
|
## [v0.2.0: New generators and small improvements](https://github.com/yuki24/artemis/tree/v0.2.0)
|
8
65
|
|
@@ -14,11 +71,11 @@ _<sup>released at 2018-10-30 02:09:59 UTC</sup>_
|
|
14
71
|
- [#42](https://github.com/yuki24/artemis/pull/42): Allow for setting up the test adapter without `url`
|
15
72
|
- [#41](https://github.com/yuki24/artemis/pull/41): Add a mutation generator
|
16
73
|
- [#40](https://github.com/yuki24/artemis/pull/40): Add a query generator
|
17
|
-
- [#39](https://github.com/yuki24/artemis/pull/39): Installer now adds a new service if config/graphql.yml is present
|
74
|
+
- [#39](https://github.com/yuki24/artemis/pull/39): Installer now adds a new service if `config/graphql.yml` is present
|
18
75
|
|
19
76
|
## [v0.1.0: First release!](https://github.com/yuki24/artemis/tree/v0.1.0)
|
20
77
|
|
21
78
|
_<sup>released at 2018-10-16 20:57:51 UTC</sup>_
|
22
79
|
|
23
|
-
First release of Artemis! <g-emoji class="g-emoji" alias="tada" fallback-src="https://
|
80
|
+
First release of Artemis! <g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">🎉</g-emoji>
|
24
81
|
|
data/Gemfile
CHANGED
@@ -5,6 +5,7 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
|
5
5
|
# Specify your gem's dependencies in artemis.gemspec
|
6
6
|
gemspec
|
7
7
|
|
8
|
-
gem 'rails'
|
9
8
|
gem 'pry'
|
10
9
|
gem 'pry-byebug', platforms: :mri
|
10
|
+
gem 'curb', '>= 0.9.6' if RUBY_ENGINE == 'ruby'
|
11
|
+
gem 'webrick' if RUBY_VERSION >= '3.0.0'
|
data/README.md
CHANGED
@@ -12,24 +12,7 @@ Artemis is a GraphQL client that is designed to fit well on Rails.
|
|
12
12
|
|
13
13
|
<img width="24" height="24" src="https://avatars1.githubusercontent.com/u/541332?s=48&v=4"> Battle-tested at [Artsy](https://www.artsy.net)
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
You could set up Artemis with just a few commands. See it in action:
|
18
|
-
|
19
|
-
```bash
|
20
|
-
$ bundle add artemis
|
21
|
-
$ rails g artemis:install artsy https://metaphysics-production.artsy.net/
|
22
|
-
$ echo '
|
23
|
-
query($id: String!) {
|
24
|
-
artist(id: $id) {
|
25
|
-
name
|
26
|
-
birthday
|
27
|
-
}
|
28
|
-
}' > app/operations/artsy/artist.graphql
|
29
|
-
$ rails c
|
30
|
-
> Artsy.artist(id: "leonardo-da-vinci").data.artist.name # => "Leonardo da Vinci"
|
31
|
-
> Artsy.artist(id: "leonardo-da-vinci").data.artist.birthday # => "1452/04/15"
|
32
|
-
```
|
15
|
+

|
33
16
|
|
34
17
|
## Getting started
|
35
18
|
|
@@ -39,20 +22,13 @@ Add this line to your application's Gemfile:
|
|
39
22
|
gem 'artemis'
|
40
23
|
```
|
41
24
|
|
42
|
-
And then execute:
|
43
|
-
|
44
|
-
$ bundle
|
45
|
-
|
46
25
|
Once you run `bundle install` on your Rails app, run the install command:
|
47
26
|
|
48
27
|
|
49
28
|
```sh
|
50
29
|
$ rails g artemis:install artsy https://metaphysics-production.artsy.net/
|
51
|
-
```
|
52
|
-
|
53
|
-
You could also use the `--authorization` option to assign a token so the installer can download the GraphQL schema:
|
54
30
|
|
55
|
-
|
31
|
+
# or if you need to specify the `--authorization` header:
|
56
32
|
$ rails g artemis:install github https://api.github.com/graphql --authorization 'token ...'
|
57
33
|
```
|
58
34
|
|
@@ -75,7 +51,7 @@ query($id: String!) {
|
|
75
51
|
}
|
76
52
|
```
|
77
53
|
|
78
|
-
Then you could the class method that has the matching name `artist`:
|
54
|
+
Then you could call the class method that has the matching name `artist`:
|
79
55
|
|
80
56
|
```ruby
|
81
57
|
Artsy.artist(id: "pablo-picasso")
|
@@ -118,7 +94,7 @@ Artemis assumes that the files related to GraphQL are organized in a certain way
|
|
118
94
|
|
119
95
|
## Callbacks
|
120
96
|
|
121
|
-
|
97
|
+
You can use the `before_execute` callback to intercept outgoing requests and the `after_execute` callback to observe the
|
122
98
|
response. A common operation that's done in the `before_execute` hook is assigning a token to the header:
|
123
99
|
|
124
100
|
```ruby
|
@@ -169,14 +145,68 @@ There are four adapter options available. Choose the adapter that best fits on y
|
|
169
145
|
| `:net_http_persistent` | HTTP/1.1 only | **Yes** | **Fast** | [`net-http-persistent 3.0.0+`][nhp]
|
170
146
|
| `:test` | N/A (See Testing)
|
171
147
|
|
148
|
+
#### Third-party adapters
|
149
|
+
|
150
|
+
This is a comminuty-maintained adapter. Want to add yours? Send us a pull request!
|
151
|
+
|
152
|
+
| Adapter | Description |
|
153
|
+
| ---------------------- | ------------|
|
154
|
+
| [`:net_http_hmac`](https://github.com/JanStevens/artemis-api-auth/tree/master) | provides a new Adapter for the Artemis GraphQL ruby client to support HMAC Authentication using [ApiAuth](https://github.com/mgomes/api_auth). |
|
155
|
+
|
156
|
+
#### Writing your own adapter
|
157
|
+
|
158
|
+
When the built-in adapters do not satisfy your needs, you may want to implement your own adapter. You could do so by following the steps below. Let's implement the [`:net_http_hmac`](https://github.com/JanStevens/artemis-api-auth/tree/master) adapter as an example.
|
159
|
+
|
160
|
+
1. Define `NetHttpHmacAdapter` under the `Artemis::Adapters` namespace and implement [the `#execute` method](https://github.com/github/graphql-client/blob/master/guides/remote-queries.md):
|
161
|
+
|
162
|
+
```ruby
|
163
|
+
# lib/artemis/adapters/net_http_hmac_adapter.rb
|
164
|
+
module Artemis::Adapters
|
165
|
+
class NetHttpHmacAdapter
|
166
|
+
def execute(document:, operation_name: nil, variables: {}, context: {})
|
167
|
+
# Makes an HTTP request for GraphQL query.
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
```
|
172
|
+
|
173
|
+
2. Load the adapter in `config/initializers/artemis.rb` (or any place that gets loaded before Rails runs initializers):
|
174
|
+
|
175
|
+
```ruby
|
176
|
+
require 'artemis/adapters/net_http_hmac_adapter'
|
177
|
+
```
|
178
|
+
|
179
|
+
3. Specify the adapter name in `config/graphql.yml`:
|
180
|
+
|
181
|
+
```yml
|
182
|
+
default: &default
|
183
|
+
adapter: :net_http_hmac
|
184
|
+
```
|
185
|
+
|
172
186
|
## Rake tasks
|
173
187
|
|
174
188
|
Artemis also adds a useful `rake graphql:schema:update` rake task that downloads the GraphQL schema using the
|
175
189
|
`Introspection` query.
|
176
190
|
|
177
|
-
|
178
|
-
|
179
|
-
|
191
|
+
### `graphql:schema:update`
|
192
|
+
|
193
|
+
Downloads and saves the GraphQL schema.
|
194
|
+
|
195
|
+
| Option Name | Description |
|
196
|
+
| ------------------ | ------------|
|
197
|
+
| `SERVICE` | Service name the schema is downloaded from.|
|
198
|
+
| `AUTHORIZATION` | HTTP `Authorization` header value used to download the schema with.|
|
199
|
+
|
200
|
+
|
201
|
+
#### Examples
|
202
|
+
|
203
|
+
```
|
204
|
+
$ rake graphql:schema:update
|
205
|
+
# => downloads schema from the service. fails if there are multiple services in config/graphql.yml.
|
206
|
+
|
207
|
+
$ rake graphql:schema:update SERVICE=github AUTHORIZATION="token ..."
|
208
|
+
# => downloads schema from the `github` service using the HTTP header "AUTHORIZATION: token ..."
|
209
|
+
```
|
180
210
|
|
181
211
|
## Testing
|
182
212
|
|
@@ -269,4 +299,4 @@ Everyone interacting in the Artemis project’s codebases, issue trackers, chat
|
|
269
299
|
[curb]: https://rubygems.org/gems/curb
|
270
300
|
[curl]: https://curl.haxx.se/docs/http2.html
|
271
301
|
[nghttp]: https://nghttp2.org/
|
272
|
-
[nhp]: https://rubygems.org/gems/net-http-persistent
|
302
|
+
[nhp]: https://rubygems.org/gems/net-http-persistent
|
data/artemis.gemspec
CHANGED
@@ -15,15 +15,14 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test)/}) }
|
16
16
|
spec.require_paths = ["lib"]
|
17
17
|
|
18
|
-
spec.add_dependency "activesupport", ">= 4.
|
18
|
+
spec.add_dependency "activesupport", ">= 4.0.0"
|
19
|
+
spec.add_dependency "railties", ">= 4.0.0"
|
19
20
|
spec.add_dependency "graphql", ">= 1.8"
|
20
21
|
spec.add_dependency "graphql-client", ">= 0.13.0"
|
21
|
-
spec.add_dependency "railties", ">= 4.2.0"
|
22
22
|
|
23
|
-
spec.add_development_dependency "appraisal", "
|
24
|
-
spec.add_development_dependency "bundler", "
|
25
|
-
spec.add_development_dependency "
|
26
|
-
spec.add_development_dependency "
|
27
|
-
spec.add_development_dependency "
|
28
|
-
spec.add_development_dependency "rspec", "~> 3.8"
|
23
|
+
spec.add_development_dependency "appraisal", ">= 2.2"
|
24
|
+
spec.add_development_dependency "bundler", ">= 1.16"
|
25
|
+
spec.add_development_dependency "net-http-persistent", ">= 3.0"
|
26
|
+
spec.add_development_dependency "rake", ">= 10.0"
|
27
|
+
spec.add_development_dependency "rspec", ">= 3.8"
|
29
28
|
end
|
data/banner.png
ADDED
Binary file
|
data/gemfiles/rails_50.gemfile
CHANGED
@@ -4,8 +4,11 @@ source "https://rubygems.org"
|
|
4
4
|
|
5
5
|
gem "pry"
|
6
6
|
gem "pry-byebug", platforms: :mri
|
7
|
-
gem "
|
8
|
-
gem "
|
9
|
-
gem "
|
7
|
+
gem "curb", ">= 0.9.6"
|
8
|
+
gem "webrick"
|
9
|
+
gem "rails", "~> 5.0.0"
|
10
|
+
gem "railties", "~> 5.0.0"
|
11
|
+
gem "activesupport", "~> 5.0.0"
|
12
|
+
gem "minitest", "5.10.3"
|
10
13
|
|
11
14
|
gemspec path: "../"
|
data/gemfiles/rails_51.gemfile
CHANGED
@@ -4,8 +4,10 @@ source "https://rubygems.org"
|
|
4
4
|
|
5
5
|
gem "pry"
|
6
6
|
gem "pry-byebug", platforms: :mri
|
7
|
-
gem "
|
8
|
-
gem "
|
9
|
-
gem "
|
7
|
+
gem "curb", ">= 0.9.6"
|
8
|
+
gem "webrick"
|
9
|
+
gem "rails", "~> 5.1.0"
|
10
|
+
gem "railties", "~> 5.1.0"
|
11
|
+
gem "activesupport", "~> 5.1.0"
|
10
12
|
|
11
13
|
gemspec path: "../"
|
data/gemfiles/rails_52.gemfile
CHANGED
@@ -4,8 +4,10 @@ source "https://rubygems.org"
|
|
4
4
|
|
5
5
|
gem "pry"
|
6
6
|
gem "pry-byebug", platforms: :mri
|
7
|
-
gem "
|
8
|
-
gem "
|
9
|
-
gem "
|
7
|
+
gem "curb", ">= 0.9.6"
|
8
|
+
gem "webrick"
|
9
|
+
gem "rails", "~> 5.2.0"
|
10
|
+
gem "railties", "~> 5.2.0"
|
11
|
+
gem "activesupport", "~> 5.2.0"
|
10
12
|
|
11
13
|
gemspec path: "../"
|
@@ -0,0 +1,13 @@
|
|
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", "~> 6.0.0.rc1"
|
10
|
+
gem "railties", "~> 6.0.0.rc1"
|
11
|
+
gem "activesupport", "~> 6.0.0.rc1"
|
12
|
+
|
13
|
+
gemspec path: "../"
|
@@ -4,9 +4,10 @@ source "https://rubygems.org"
|
|
4
4
|
|
5
5
|
gem "pry"
|
6
6
|
gem "pry-byebug", platforms: :mri
|
7
|
-
gem "
|
8
|
-
gem "
|
9
|
-
gem "
|
10
|
-
gem "
|
7
|
+
gem "curb", ">= 0.9.6"
|
8
|
+
gem "webrick"
|
9
|
+
gem "rails", "~> 6.1.0"
|
10
|
+
gem "railties", "~> 6.1.0"
|
11
|
+
gem "activesupport", "~> 6.1.0"
|
11
12
|
|
12
13
|
gemspec path: "../"
|