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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c91742d7784cd1d8b7e085cefa2ad5e0f5931112741ca2e6fd50a925d404854e
4
- data.tar.gz: befcd535b9af7309adf7f320b29280ee020b9d66517cd08824b143b9b41dbd79
3
+ metadata.gz: b97977a64f018ee795bce70e2b670bac5d50c731c8f206f1ff9d074c29be1192
4
+ data.tar.gz: 3d11d9da6bd69267f571e01077e776f07deae6d0411e71493061faa22bbfd694
5
5
  SHA512:
6
- metadata.gz: 8175756609903d2bd60b635301c6f3a67fe55a3c8ebb6bda5e1e6f8c66cc0d861685f4ed78882ec2602ba6e8ce113b50e3aa94cb4f907515ada5fe93e4bcb579
7
- data.tar.gz: 711dbe14418c8599fe5ae05cffa4dd60d0a0891a1438999ef00bcea495f87ecf0a6c1d928795f61e06396a11983b9670d4a933b5db93f10b4eb350406ea348e0
6
+ metadata.gz: 2931c2d95bb544b4af8ad3415c4be029733042cb1e959c11427344e062bcd59fab97293371241843cca9b7ba92b1ef7ef148f687f91ba36df5d4c94cf6dd9c5d
7
+ data.tar.gz: 9db9d4e0bb93eff4c83e567abcf1c6c3b59023d1d8eaccb3f7e2762809e2ac6278288c56a3aafc3f812ceb946c6a84840d65172428e89dda9b608ee248676c55
data/.gitignore CHANGED
@@ -9,4 +9,11 @@ measurement/*
9
9
  pkg/*
10
10
  rdoc/*
11
11
 
12
+ # rspec failure tracking
12
13
  .rspec_status
14
+
15
+ # gemfiles for CI
16
+ /gemfiles/*.gemfile.lock
17
+
18
+ # CI bundle
19
+ /gemfiles/vendor/
@@ -0,0 +1 @@
1
+ 2.7.0
@@ -1,49 +1,87 @@
1
1
  before_install:
2
- - gem update --system
3
- - gem install bundler
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: rbx-3
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.27 # targets MRI v1.9
19
- gemfile: gemfiles/jruby_1.7.gemfile
20
- - rvm: 1.9.3-p551
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.0-p648
55
+ - rvm: 2.0
23
56
  gemfile: gemfiles/ruby_2.0.gemfile
24
- - rvm: 2.1.10
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.9.0 # targets MRI v2.3
64
+ - rvm: jruby-9.1 # targets MRI v2.3
32
65
  gemfile: gemfiles/jruby_9.1.gemfile
33
- - rvm: 2.2.10
66
+ - rvm: 2.2
34
67
  gemfile: gemfiles/ruby_2.2.gemfile
35
- - rvm: 2.3.7
68
+ - rvm: 2.3
36
69
  gemfile: gemfiles/ruby_2.3.gemfile
37
- - rvm: 2.4.4
70
+ - rvm: 2.4
38
71
  gemfile: gemfiles/ruby_2.4.gemfile
39
- - rvm: jruby-9.2.0.0 # targets MRI v2.5
72
+ - rvm: jruby-9.2 # targets MRI v2.5
40
73
  gemfile: gemfiles/jruby_9.2.gemfile
41
- - rvm: 2.5.1
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: rbx-3
84
+ - rvm: truffleruby
85
+ gemfile: gemfiles/truffleruby.gemfile
48
86
 
49
87
  sudo: false
@@ -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#417) - update jwt dependency (@thewoolleyman)
11
- - [#418](oauth-xx/oauth2#418) - remove rubocop dependency (temporary, added back in [#423](oauth-xx/oauth2#423)) (@pboling)
12
- - [#419](oauth-xx/oauth2#419) - update faraday dependency (@pboling)
13
- - [#420](oauth-xx/oauth2#420) - update [oauth2.gemspec](oauth2.gemspec) (@pboling)
14
- - [#421](oauth-xx/oauth2#421) - fix [CHANGELOG.md](CHANGELOG.md) for previous releases (@pboling)
15
- - [#422](oauth-xx/oauth2#422) - update [LICENSE](LICENSE) and [README.md](README.md) (@pboling)
16
- - [#423](oauth-xx/oauth2#423) - update [builds](https://travis-ci.org/oauth-xx/oauth2/builds), [Rakefile](Rakefile) (@pboling)
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
- [unreleased]: https://github.com/oauth-xx/oauth2/compare/v1.4.0...1-4-stable
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', '~> 0.9.2', :platforms => [:jruby_18, :ruby_18]
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](http://img.shields.io/travis/oauth-xx/oauth2.svg)][travis]
7
- [![Coverage Status](http://img.shields.io/coveralls/intridea/oauth2.svg)][coveralls]
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/wiki
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 2.x
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.3 - Support through version 3.x series
146
- * Ruby 2.4
147
- * Ruby 2.5
148
- * [JRuby 9.1][jruby-9.1] (targets MRI v2.3)
149
- * [JRuby 9.2][jruby-9.2] (targets MRI v2.5)
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
 
@@ -1,11 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'faraday', '0.9.2'
3
+ gem 'faraday', '~> 0.15.4'
4
4
 
5
- group :test do
6
- gem 'rake'
7
- gem 'rspec'
8
- gem 'rspec-pending_for'
9
- end
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 => '../'
@@ -1,13 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'faraday', '0.9.2'
3
+ gem 'faraday', '~> 0.15.4'
4
4
 
5
- group :test do
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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -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 => '../'
@@ -1,16 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'faraday', '0.9.2'
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 => '../'
@@ -1,17 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'faraday', '0.9.2'
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 => '../'