oauth2 1.4.1 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +7 -0
- data/.ruby-version +1 -0
- data/.travis.yml +55 -17
- data/CHANGELOG.md +26 -8
- data/Gemfile +1 -2
- data/README.md +39 -12
- data/gemfiles/jruby_1.7.gemfile +6 -6
- data/gemfiles/jruby_9.0.gemfile +2 -8
- data/gemfiles/jruby_9.1.gemfile +0 -14
- data/gemfiles/jruby_9.2.gemfile +0 -14
- data/gemfiles/jruby_head.gemfile +0 -14
- data/gemfiles/ruby_1.9.gemfile +2 -7
- data/gemfiles/ruby_2.0.gemfile +1 -12
- data/gemfiles/ruby_2.1.gemfile +1 -14
- data/gemfiles/ruby_2.2.gemfile +0 -14
- data/gemfiles/ruby_2.3.gemfile +0 -14
- data/gemfiles/ruby_2.4.gemfile +0 -14
- data/gemfiles/ruby_2.5.gemfile +0 -14
- data/gemfiles/ruby_2.6.gemfile +9 -0
- data/gemfiles/ruby_2.7.gemfile +9 -0
- data/gemfiles/ruby_head.gemfile +2 -10
- data/gemfiles/truffleruby.gemfile +3 -0
- data/lib/oauth2/access_token.rb +8 -1
- data/lib/oauth2/authenticator.rb +10 -0
- data/lib/oauth2/client.rb +3 -2
- data/lib/oauth2/version.rb +6 -6
- data/oauth2.gemspec +14 -2
- metadata +73 -20
- data/gemfiles/jruby_1.7.gemfile.lock +0 -81
- data/gemfiles/jruby_9.1.gemfile.lock +0 -112
- data/gemfiles/jruby_9.2.gemfile.lock +0 -112
- data/gemfiles/ruby_1.9.gemfile.lock +0 -85
- data/gemfiles/ruby_2.0.gemfile.lock +0 -90
- data/gemfiles/ruby_2.1.gemfile.lock +0 -109
- data/gemfiles/ruby_2.2.gemfile.lock +0 -108
- data/gemfiles/ruby_2.3.gemfile.lock +0 -108
- data/gemfiles/ruby_2.4.gemfile.lock +0 -108
- data/gemfiles/ruby_2.5.gemfile.lock +0 -108
- data/gemfiles/ruby_head.gemfile.lock +0 -108
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b97977a64f018ee795bce70e2b670bac5d50c731c8f206f1ff9d074c29be1192
|
4
|
+
data.tar.gz: 3d11d9da6bd69267f571e01077e776f07deae6d0411e71493061faa22bbfd694
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2931c2d95bb544b4af8ad3415c4be029733042cb1e959c11427344e062bcd59fab97293371241843cca9b7ba92b1ef7ef148f687f91ba36df5d4c94cf6dd9c5d
|
7
|
+
data.tar.gz: 9db9d4e0bb93eff4c83e567abcf1c6c3b59023d1d8eaccb3f7e2762809e2ac6278288c56a3aafc3f812ceb946c6a84840d65172428e89dda9b608ee248676c55
|
data/.gitignore
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.0
|
data/.travis.yml
CHANGED
@@ -1,49 +1,87 @@
|
|
1
1
|
before_install:
|
2
|
-
|
3
|
-
-
|
2
|
+
# rubygems 2.7.8 and greater include bundler
|
3
|
+
# - Ruby 2.2, and under, get RubyGems ~> 2.7.10, (includes bundler 1.17.3)
|
4
|
+
# - Anything else, including Ruby 2.3, and above, gets RubyGems ~> 3, and update bundler to latest
|
5
|
+
# - NOTE ON JRUBY: identifies as RUBY_VERSION ~> 1.9, 2.0, 2.3, or 2.5.
|
6
|
+
# - NOTE ON TRUFFLERUBY: identifies as RUBY_VERSION ~> 2.6
|
7
|
+
- |
|
8
|
+
rv="$(ruby -e 'STDOUT.write RUBY_VERSION')"
|
9
|
+
echo "Discovered Ruby Version of =====> $rv"
|
10
|
+
if [ "$rv" \< "2.3" ]; then
|
11
|
+
gem update --system 2.7.10
|
12
|
+
elif [ "$rv" \< "2.4" ]; then
|
13
|
+
gem update --system 2.7.10 --no-document
|
14
|
+
elif [ "$rv" = "2.5.3" ]; then
|
15
|
+
# JRUBY 9.2 Identifies as 2.5.3, and it fails to update rubygems
|
16
|
+
gem install --no-document bundler "bundler:>=2.0"
|
17
|
+
else
|
18
|
+
gem update --system --no-document --conservative
|
19
|
+
gem install --no-document bundler "bundler:>=2.0"
|
20
|
+
fi
|
21
|
+
|
22
|
+
before_script:
|
23
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
24
|
+
- chmod +x ./cc-test-reporter
|
25
|
+
- ./cc-test-reporter before-build
|
26
|
+
|
27
|
+
after_script:
|
28
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
4
29
|
|
5
30
|
bundler_args: --no-deployment --jobs 3 --retry 3
|
6
31
|
|
7
32
|
cache: bundler
|
8
33
|
|
34
|
+
env:
|
35
|
+
global:
|
36
|
+
- JRUBY_OPTS="$JRUBY_OPTS -Xcli.debug=true --debug"
|
37
|
+
- CC_TEST_REPORTER_ID=29caf9cf27d27ae609c088feb9d4ba34460f7a39251f2e8615c9a16f3075530e
|
38
|
+
|
9
39
|
language: ruby
|
10
40
|
|
11
41
|
matrix:
|
12
42
|
allow_failures:
|
13
43
|
- rvm: jruby-head
|
14
44
|
- rvm: ruby-head
|
15
|
-
- rvm:
|
45
|
+
- rvm: truffleruby
|
46
|
+
- rvm: jruby-9.0
|
47
|
+
- rvm: jruby-9.1 # jruby-9.1 often fails to download, thus failing the build.
|
48
|
+
- rvm: jruby-9.2 # jruby-9.2 often fails to download, thus failing the build.
|
16
49
|
fast_finish: true
|
17
50
|
include:
|
18
|
-
- rvm: jruby-1.7
|
19
|
-
gemfile: gemfiles/jruby_1.7.gemfile
|
20
|
-
- rvm: 1.9
|
51
|
+
# - rvm: jruby-1.7 # targets MRI v1.9
|
52
|
+
# gemfile: gemfiles/jruby_1.7.gemfile
|
53
|
+
- rvm: 1.9
|
21
54
|
gemfile: gemfiles/ruby_1.9.gemfile
|
22
|
-
- rvm: 2.0
|
55
|
+
- rvm: 2.0
|
23
56
|
gemfile: gemfiles/ruby_2.0.gemfile
|
24
|
-
- rvm:
|
25
|
-
gemfile: gemfiles/ruby_2.1.gemfile
|
26
|
-
- rvm: jruby-9.0.5.0 # targets MRI v2.0
|
57
|
+
- rvm: jruby-9.0 # targets MRI v2.0
|
27
58
|
gemfile: gemfiles/jruby_9.0.gemfile
|
59
|
+
- rvm: 2.1
|
60
|
+
gemfile: gemfiles/ruby_2.1.gemfile
|
28
61
|
# DEPRECATION WARNING
|
29
62
|
# oauth2 1.x series releases are the last to support Ruby versions above
|
30
63
|
# oauth2 2.x series releases will support Ruby versions below, and not above
|
31
|
-
- rvm: jruby-9.1
|
64
|
+
- rvm: jruby-9.1 # targets MRI v2.3
|
32
65
|
gemfile: gemfiles/jruby_9.1.gemfile
|
33
|
-
- rvm: 2.2
|
66
|
+
- rvm: 2.2
|
34
67
|
gemfile: gemfiles/ruby_2.2.gemfile
|
35
|
-
- rvm: 2.3
|
68
|
+
- rvm: 2.3
|
36
69
|
gemfile: gemfiles/ruby_2.3.gemfile
|
37
|
-
- rvm: 2.4
|
70
|
+
- rvm: 2.4
|
38
71
|
gemfile: gemfiles/ruby_2.4.gemfile
|
39
|
-
- rvm: jruby-9.2
|
72
|
+
- rvm: jruby-9.2 # targets MRI v2.5
|
40
73
|
gemfile: gemfiles/jruby_9.2.gemfile
|
41
|
-
- rvm: 2.5
|
74
|
+
- rvm: 2.5
|
42
75
|
gemfile: gemfiles/ruby_2.5.gemfile
|
76
|
+
- rvm: 2.6
|
77
|
+
gemfile: gemfiles/ruby_2.6.gemfile
|
78
|
+
- rvm: 2.7
|
79
|
+
gemfile: gemfiles/ruby_2.7.gemfile
|
43
80
|
- rvm: jruby-head
|
44
81
|
gemfile: gemfiles/jruby_head.gemfile
|
45
82
|
- rvm: ruby-head
|
46
83
|
gemfile: gemfiles/ruby_head.gemfile
|
47
|
-
- rvm:
|
84
|
+
- rvm: truffleruby
|
85
|
+
gemfile: gemfiles/truffleruby.gemfile
|
48
86
|
|
49
87
|
sudo: false
|
data/CHANGELOG.md
CHANGED
@@ -5,15 +5,31 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
|
6
6
|
- no changes yet
|
7
7
|
|
8
|
+
## [1.4.4] - 2020-02-12
|
9
|
+
|
10
|
+
- [#408](https://github.com/oauth-xx/oauth2/pull/408) - Fixed expires_at for formatted time (@Lomey)
|
11
|
+
|
12
|
+
## [1.4.3] - 2020-01-29
|
13
|
+
|
14
|
+
- [#483](https://github.com/oauth-xx/oauth2/pull/483) - add project metadata to gemspec (@orien)
|
15
|
+
- [#495](https://github.com/oauth-xx/oauth2/pull/495) - support additional types of access token requests (@SteveyblamFreeagent, @thomcorley, @dgholz)
|
16
|
+
- Adds support for private_key_jwt and tls_client_auth
|
17
|
+
- [#433](https://github.com/oauth-xx/oauth2/pull/433) - allow field names with square brackets and numbers in params (@asm256)
|
18
|
+
|
19
|
+
## [1.4.2] - 2019-10-01
|
20
|
+
|
21
|
+
- [#478](https://github.com/oauth-xx/oauth2/pull/478) - support latest version of faraday & fix build (@pboling)
|
22
|
+
- officially support Ruby 2.6 and truffleruby
|
23
|
+
|
8
24
|
## [1.4.1] - 2018-10-13
|
9
25
|
|
10
|
-
- [#417](oauth-xx/oauth2
|
11
|
-
- [#
|
12
|
-
- [#
|
13
|
-
- [#420](oauth-xx/oauth2
|
14
|
-
- [#421](oauth-xx/oauth2
|
15
|
-
- [#422](oauth-xx/oauth2
|
16
|
-
- [#423](oauth-xx/oauth2
|
26
|
+
- [#417](https://github.com/oauth-xx/oauth2/pull/417) - update jwt dependency (@thewoolleyman)
|
27
|
+
- [#419](https://github.com/oauth-xx/oauth2/pull/419) - remove rubocop dependency (temporary, added back in [#423](https://github.com/oauth-xx/oauth2/pull/423)) (@pboling)
|
28
|
+
- [#418](https://github.com/oauth-xx/oauth2/pull/418) - update faraday dependency (@pboling)
|
29
|
+
- [#420](https://github.com/oauth-xx/oauth2/pull/420) - update [oauth2.gemspec](https://github.com/oauth-xx/oauth2/blob/1-4-stable/oauth2.gemspec) (@pboling)
|
30
|
+
- [#421](https://github.com/oauth-xx/oauth2/pull/421) - fix [CHANGELOG.md](https://github.com/oauth-xx/oauth2/blob/1-4-stable/CHANGELOG.md) for previous releases (@pboling)
|
31
|
+
- [#422](https://github.com/oauth-xx/oauth2/pull/422) - update [LICENSE](https://github.com/oauth-xx/oauth2/blob/1-4-stable/LICENSE) and [README.md](https://github.com/oauth-xx/oauth2/blob/1-4-stable/README.md) (@pboling)
|
32
|
+
- [#423](https://github.com/oauth-xx/oauth2/pull/423) - update [builds](https://travis-ci.org/oauth-xx/oauth2/builds), [Rakefile](https://github.com/oauth-xx/oauth2/blob/1-4-stable/Rakefile) (@pboling)
|
17
33
|
- officially document supported Rubies
|
18
34
|
* Ruby 1.9.3
|
19
35
|
* Ruby 2.0.0
|
@@ -136,4 +152,6 @@ All notable changes to this project will be documented in this file.
|
|
136
152
|
[1.3.1]: https://github.com/oauth-xx/oauth2/compare/v1.3.0...v1.3.1
|
137
153
|
[1.4.0]: https://github.com/oauth-xx/oauth2/compare/v1.3.1...v1.4.0
|
138
154
|
[1.4.1]: https://github.com/oauth-xx/oauth2/compare/v1.4.0...v1.4.1
|
139
|
-
[
|
155
|
+
[1.4.2]: https://github.com/oauth-xx/oauth2/compare/v1.4.1...v1.4.2
|
156
|
+
[1.4.3]: https://github.com/oauth-xx/oauth2/compare/v1.4.2...v1.4.3
|
157
|
+
[unreleased]: https://github.com/oauth-xx/oauth2/compare/v1.4.1...HEAD
|
data/Gemfile
CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
4
4
|
|
5
|
-
gem 'faraday', '
|
5
|
+
gem 'faraday', ['>= 0.8', '< 2.0'], :platforms => [:jruby_18, :ruby_18]
|
6
6
|
gem 'jwt', '< 1.5.2', :platforms => [:jruby_18, :ruby_18]
|
7
7
|
gem 'rake', '< 11.0'
|
8
8
|
gem 'rdoc', '~> 4.2.2'
|
@@ -17,7 +17,6 @@ group :test do
|
|
17
17
|
gem 'rubocop-rspec', '~> 1.27.0' # last version that can use rubocop < 0.58
|
18
18
|
end
|
19
19
|
gem 'pry', '~> 0.11' if ruby_version >= Gem::Version.new('2.0')
|
20
|
-
gem 'rspec-pending_for'
|
21
20
|
|
22
21
|
gem 'addressable', '~> 2.3.8'
|
23
22
|
gem 'backports'
|
data/README.md
CHANGED
@@ -1,10 +1,26 @@
|
|
1
1
|
# OAuth2
|
2
2
|
|
3
|
+
If you need the readme for a released version of the gem please find it below:
|
4
|
+
|
5
|
+
| Version | Release Date | Readme |
|
6
|
+
|----------|--------------|----------------------------------------------------------|
|
7
|
+
| 1.4.4 | Feb 12, 2020 | https://github.com/oauth-xx/oauth2/blob/v1.4.4/README.md |
|
8
|
+
| 1.4.3 | Jan 29, 2020 | https://github.com/oauth-xx/oauth2/blob/v1.4.3/README.md |
|
9
|
+
| 1.4.2 | Oct 1, 2019 | https://github.com/oauth-xx/oauth2/blob/v1.4.2/README.md |
|
10
|
+
| 1.4.1 | Oct 13, 2018 | https://github.com/oauth-xx/oauth2/blob/v1.4.1/README.md |
|
11
|
+
| 1.4.0 | Jun 9, 2017 | https://github.com/oauth-xx/oauth2/blob/v1.4.0/README.md |
|
12
|
+
| 1.3.1 | Mar 3, 2017 | https://github.com/oauth-xx/oauth2/blob/v1.3.1/README.md |
|
13
|
+
| 1.3.0 | Dec 27, 2016 | https://github.com/oauth-xx/oauth2/blob/v1.3.0/README.md |
|
14
|
+
| 1.2.0 | Jun 30, 2016 | https://github.com/oauth-xx/oauth2/blob/v1.2.0/README.md |
|
15
|
+
| 1.1.0 | Jan 30, 2016 | https://github.com/oauth-xx/oauth2/blob/v1.1.0/README.md |
|
16
|
+
| 1.0.0 | May 23, 2014 | https://github.com/oauth-xx/oauth2/blob/v1.0.0/README.md |
|
17
|
+
| < 1.0.0 | Find here | https://github.com/oauth-xx/oauth2/tags |
|
18
|
+
|
3
19
|
[![Gem Version](http://img.shields.io/gem/v/oauth2.svg)][gem]
|
4
20
|
[![Total Downloads](https://img.shields.io/gem/dt/oauth2.svg)][gem]
|
5
21
|
[![Downloads Today](https://img.shields.io/gem/rt/oauth2.svg)][gem]
|
6
|
-
[![Build Status](
|
7
|
-
[![Coverage
|
22
|
+
[![Build Status](https://travis-ci.org/oauth-xx/oauth2.svg?branch=1-4-stable)][travis]
|
23
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/688c612528ff90a46955/test_coverage)][codeclimate-coverage]
|
8
24
|
[![Maintainability](https://api.codeclimate.com/v1/badges/688c612528ff90a46955/maintainability)][codeclimate-maintainability]
|
9
25
|
[![Depfu](https://badges.depfu.com/badges/6d34dc1ba682bbdf9ae2a97848241743/count.svg)][depfu]
|
10
26
|
[![Open Source Helpers](https://www.codetriage.com/oauth-xx/oauth2/badges/users.svg)][code-triage]
|
@@ -16,10 +32,12 @@
|
|
16
32
|
[travis]: http://travis-ci.org/oauth-xx/oauth2
|
17
33
|
[coveralls]: https://coveralls.io/r/oauth-xx/oauth2
|
18
34
|
[codeclimate-maintainability]: https://codeclimate.com/github/oauth-xx/oauth2/maintainability
|
35
|
+
[codeclimate-coverage]: https://codeclimate.com/github/oauth-xx/oauth2/test_coverage
|
19
36
|
[depfu]: https://depfu.com/github/oauth-xx/oauth2
|
20
37
|
[source-license]: https://opensource.org/licenses/MIT
|
21
38
|
[inch-ci]: http://inch-ci.org/github/oauth-xx/oauth2
|
22
39
|
[code-triage]: https://www.codetriage.com/oauth-xx/oauth2
|
40
|
+
[fossa1]: https://app.fossa.io/projects/git%2Bgithub.com%2Foauth-xx%2Foauth2?ref=badge_shield
|
23
41
|
|
24
42
|
A Ruby wrapper for the [OAuth 2.0 specification][oauth2-spec].
|
25
43
|
|
@@ -49,7 +67,7 @@ Or install it yourself as:
|
|
49
67
|
|
50
68
|
[code]: https://github.com/oauth-xx/oauth2
|
51
69
|
[issues]: https://github.com/oauth-xx/oauth2/issues
|
52
|
-
[wiki]: https://github.com/oauth-xx/oauth2
|
70
|
+
[wiki]: https://wiki.github.com/oauth-xx/oauth2
|
53
71
|
|
54
72
|
## Usage Examples
|
55
73
|
|
@@ -66,6 +84,7 @@ response.class.name
|
|
66
84
|
# => OAuth2::Response
|
67
85
|
```
|
68
86
|
## OAuth2::Response
|
87
|
+
|
69
88
|
The AccessToken methods #get, #post, #put and #delete and the generic #request
|
70
89
|
will return an instance of the #OAuth2::Response class.
|
71
90
|
|
@@ -78,12 +97,14 @@ The original response body, headers, and status can be accessed via their
|
|
78
97
|
respective methods.
|
79
98
|
|
80
99
|
## OAuth2::AccessToken
|
100
|
+
|
81
101
|
If you have an existing Access Token for a user, you can initialize an instance
|
82
102
|
using various class methods including the standard new, from_hash (if you have
|
83
103
|
a hash of the values), or from_kvform (if you have an
|
84
104
|
application/x-www-form-urlencoded encoded string of the values).
|
85
105
|
|
86
106
|
## OAuth2::Error
|
107
|
+
|
87
108
|
On 400+ status code responses, an OAuth2::Error will be raised. If it is a
|
88
109
|
standard OAuth2 error response, the body will be parsed and #code and #description will contain the values provided from the error and
|
89
110
|
error_description parameters. The #response property of OAuth2::Error will
|
@@ -95,6 +116,7 @@ instance will be returned as usual and on 400+ status code responses, the
|
|
95
116
|
Response instance will contain the OAuth2::Error instance.
|
96
117
|
|
97
118
|
## Authorization Grants
|
119
|
+
|
98
120
|
Currently the Authorization Code, Implicit, Resource Owner Password Credentials, Client Credentials, and Assertion
|
99
121
|
authentication grant types have helper strategy classes that simplify client
|
100
122
|
use. They are available via the #auth_code, #implicit, #password, #client_credentials, and #assertion methods respectively.
|
@@ -129,29 +151,34 @@ requests for tokens for any Authentication grant type.
|
|
129
151
|
This library aims to support and is [tested against][travis] the following Ruby
|
130
152
|
implementations:
|
131
153
|
|
132
|
-
### Rubies with support ending at Oauth2
|
154
|
+
### Rubies with support ending at Oauth2 1.x
|
133
155
|
|
134
156
|
* Ruby 1.9.3
|
157
|
+
- [JRuby 1.7][jruby-1.7] (targets MRI v1.9)
|
158
|
+
|
135
159
|
* Ruby 2.0.0
|
160
|
+
- [JRuby 9.0][jruby-9.0] (targets MRI v2.0)
|
136
161
|
* Ruby 2.1
|
137
|
-
* Ruby 2.2
|
138
|
-
* [JRuby 1.7][jruby-1.7] (targets MRI v1.9)
|
139
|
-
* [JRuby 9.0][jruby-9.0] (targets MRI v2.0)
|
140
162
|
|
141
163
|
---
|
142
164
|
|
143
165
|
### Rubies with continued support past Oauth2 2.x
|
144
166
|
|
145
|
-
* Ruby 2.
|
146
|
-
* Ruby 2.
|
147
|
-
|
148
|
-
*
|
149
|
-
*
|
167
|
+
* Ruby 2.2 - Support ends with version 2.x series
|
168
|
+
* Ruby 2.3 - Support ends with version 3.x series
|
169
|
+
- [JRuby 9.1][jruby-9.1] (targets MRI v2.3)
|
170
|
+
* Ruby 2.4 - Support ends with version 4.x series
|
171
|
+
* Ruby 2.5 - Support ends with version 5.x series
|
172
|
+
- [JRuby 9.2][jruby-9.2] (targets MRI v2.5)
|
173
|
+
- [truffleruby][truffleruby] (targets MRI 2.5)
|
174
|
+
* Ruby 2.6 - Support ends with version 6.x series
|
175
|
+
* Ruby 2.7 - Support ends with version 7.x series
|
150
176
|
|
151
177
|
[jruby-1.7]: https://www.jruby.org/2017/05/11/jruby-1-7-27.html
|
152
178
|
[jruby-9.0]: https://www.jruby.org/2016/01/26/jruby-9-0-5-0.html
|
153
179
|
[jruby-9.1]: https://www.jruby.org/2017/05/16/jruby-9-1-9-0.html
|
154
180
|
[jruby-9.2]: https://www.jruby.org/2018/05/24/jruby-9-2-0-0.html
|
181
|
+
[truffleruby]: https://github.com/oracle/truffleruby
|
155
182
|
|
156
183
|
If something doesn't work on one of these interpreters, it's a bug.
|
157
184
|
|
data/gemfiles/jruby_1.7.gemfile
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'faraday', '0.
|
3
|
+
gem 'faraday', '~> 0.15.4'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
gem 'json', '< 2.0'
|
6
|
+
gem 'rack', '~> 1.2'
|
7
|
+
gem 'rake', [">= 10.0", "< 12"]
|
8
|
+
gem 'term-ansicolor', '< 1.4.0'
|
9
|
+
gem 'tins', '< 1.7'
|
10
10
|
|
11
11
|
gemspec :path => '../'
|
data/gemfiles/jruby_9.0.gemfile
CHANGED
@@ -1,13 +1,7 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'faraday', '0.
|
3
|
+
gem 'faraday', '~> 0.15.4'
|
4
4
|
|
5
|
-
|
6
|
-
gem 'rake'
|
7
|
-
gem 'rspec'
|
8
|
-
gem 'rspec-pending_for'
|
9
|
-
gem 'rubocop', '~> 0.53.0'
|
10
|
-
gem 'rubocop-rspec', '~> 1.24.0'
|
11
|
-
end
|
5
|
+
gem 'rake', [">= 10.0", "< 12"]
|
12
6
|
|
13
7
|
gemspec :path => '../'
|
data/gemfiles/jruby_9.1.gemfile
CHANGED
@@ -1,17 +1,3 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'faraday', '0.9.2'
|
4
|
-
|
5
|
-
group :development do
|
6
|
-
gem 'pry'
|
7
|
-
end
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rspec-pending_for'
|
13
|
-
gem 'rubocop', '~> 0.53.0'
|
14
|
-
gem 'rubocop-rspec', '~> 1.24.0'
|
15
|
-
end
|
16
|
-
|
17
3
|
gemspec :path => '../'
|
data/gemfiles/jruby_9.2.gemfile
CHANGED
@@ -1,17 +1,3 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'faraday', '0.9.2'
|
4
|
-
|
5
|
-
group :development do
|
6
|
-
gem 'pry'
|
7
|
-
end
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rspec-pending_for'
|
13
|
-
gem 'rubocop', '~> 0.53.0'
|
14
|
-
gem 'rubocop-rspec', '~> 1.24.0'
|
15
|
-
end
|
16
|
-
|
17
3
|
gemspec :path => '../'
|
data/gemfiles/jruby_head.gemfile
CHANGED
@@ -1,17 +1,3 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'faraday', '0.9.2'
|
4
|
-
|
5
|
-
group :development do
|
6
|
-
gem 'pry'
|
7
|
-
end
|
8
|
-
|
9
|
-
group :test do
|
10
|
-
gem 'rake'
|
11
|
-
gem 'rspec'
|
12
|
-
gem 'rspec-pending_for'
|
13
|
-
gem 'rubocop', '~> 0.53.0'
|
14
|
-
gem 'rubocop-rspec', '~> 1.24.0'
|
15
|
-
end
|
16
|
-
|
17
3
|
gemspec :path => '../'
|
data/gemfiles/ruby_1.9.gemfile
CHANGED
@@ -1,16 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'faraday', '0.
|
3
|
+
gem 'faraday', '~> 0.15.4'
|
4
4
|
|
5
5
|
gem 'json', '< 2.0'
|
6
6
|
gem 'rack', '~> 1.2'
|
7
|
+
gem 'rake', [">= 10.0", "< 12"]
|
7
8
|
gem 'term-ansicolor', '< 1.4.0'
|
8
9
|
gem 'tins', '< 1.7'
|
9
10
|
|
10
|
-
group :test do
|
11
|
-
gem 'rake'
|
12
|
-
gem 'rspec'
|
13
|
-
gem 'rspec-pending_for'
|
14
|
-
end
|
15
|
-
|
16
11
|
gemspec :path => '../'
|
data/gemfiles/ruby_2.0.gemfile
CHANGED
@@ -1,17 +1,6 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'faraday', '0.
|
4
|
-
|
3
|
+
gem 'faraday', '~> 0.15.4'
|
5
4
|
gem 'rack', '~> 1.2'
|
6
5
|
|
7
|
-
group :development do
|
8
|
-
gem 'pry'
|
9
|
-
end
|
10
|
-
|
11
|
-
group :test do
|
12
|
-
gem 'rake'
|
13
|
-
gem 'rspec'
|
14
|
-
gem 'rspec-pending_for'
|
15
|
-
end
|
16
|
-
|
17
6
|
gemspec :path => '../'
|