oauth2 1.4.1 → 1.4.2

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: 6de8ef7ab0a480b7a6ce04291414f466818e21f3ca59927cec920f5587ad99a8
4
+ data.tar.gz: 7d92dd6b75f2ce746dc73c406045e564ee0aa5aa6af6da7fd86e880b08a8fb2a
5
5
  SHA512:
6
- metadata.gz: 8175756609903d2bd60b635301c6f3a67fe55a3c8ebb6bda5e1e6f8c66cc0d861685f4ed78882ec2602ba6e8ce113b50e3aa94cb4f907515ada5fe93e4bcb579
7
- data.tar.gz: 711dbe14418c8599fe5ae05cffa4dd60d0a0891a1438999ef00bcea495f87ecf0a6c1d928795f61e06396a11983b9670d4a933b5db93f10b4eb350406ea348e0
6
+ metadata.gz: b456941102259c8318c986dd2715c52ecd49aa9413e7dee3c73c4580b2129b3302ed94741f1caf6707d54626702d4adbe033f952be16d2501cc2e9e2e57726a2
7
+ data.tar.gz: f5a9b3c8802389bf18eb04ffeb368edd2a70ee11d2615d187296a99ed14ae1cf36bd88cc2f5bdd0512a0133a5ae174f29820492d678222eb6be71cc464bb501d
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.6.3
@@ -1,6 +1,23 @@
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
4
21
 
5
22
  bundler_args: --no-deployment --jobs 3 --retry 3
6
23
 
@@ -12,38 +29,42 @@ matrix:
12
29
  allow_failures:
13
30
  - rvm: jruby-head
14
31
  - rvm: ruby-head
15
- - rvm: rbx-3
32
+ - rvm: truffleruby
33
+ - rvm: jruby-9.0
16
34
  fast_finish: true
17
35
  include:
18
- - rvm: jruby-1.7.27 # targets MRI v1.9
19
- gemfile: gemfiles/jruby_1.7.gemfile
20
- - rvm: 1.9.3-p551
36
+ # - rvm: jruby-1.7 # targets MRI v1.9
37
+ # gemfile: gemfiles/jruby_1.7.gemfile
38
+ - rvm: 1.9
21
39
  gemfile: gemfiles/ruby_1.9.gemfile
22
- - rvm: 2.0.0-p648
40
+ - rvm: 2.0
23
41
  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
42
+ - rvm: jruby-9.0 # targets MRI v2.0
27
43
  gemfile: gemfiles/jruby_9.0.gemfile
44
+ - rvm: 2.1
45
+ gemfile: gemfiles/ruby_2.1.gemfile
28
46
  # DEPRECATION WARNING
29
47
  # oauth2 1.x series releases are the last to support Ruby versions above
30
48
  # oauth2 2.x series releases will support Ruby versions below, and not above
31
- - rvm: jruby-9.1.9.0 # targets MRI v2.3
49
+ - rvm: jruby-9.1 # targets MRI v2.3
32
50
  gemfile: gemfiles/jruby_9.1.gemfile
33
- - rvm: 2.2.10
51
+ - rvm: 2.2
34
52
  gemfile: gemfiles/ruby_2.2.gemfile
35
- - rvm: 2.3.7
53
+ - rvm: 2.3
36
54
  gemfile: gemfiles/ruby_2.3.gemfile
37
- - rvm: 2.4.4
55
+ - rvm: 2.4
38
56
  gemfile: gemfiles/ruby_2.4.gemfile
39
- - rvm: jruby-9.2.0.0 # targets MRI v2.5
57
+ - rvm: jruby-9.2 # targets MRI v2.5
40
58
  gemfile: gemfiles/jruby_9.2.gemfile
41
- - rvm: 2.5.1
59
+ - rvm: 2.5
42
60
  gemfile: gemfiles/ruby_2.5.gemfile
61
+ - rvm: 2.6
62
+ gemfile: gemfiles/ruby_2.6.gemfile
43
63
  - rvm: jruby-head
44
64
  gemfile: gemfiles/jruby_head.gemfile
45
65
  - rvm: ruby-head
46
66
  gemfile: gemfiles/ruby_head.gemfile
47
- - rvm: rbx-3
67
+ - rvm: truffleruby
68
+ gemfile: gemfiles/truffleruby.gemfile
48
69
 
49
70
  sudo: false
@@ -5,15 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
 
6
6
  - no changes yet
7
7
 
8
+ ## [1.4.2] - 2019-10-01
9
+
10
+ - [#478](https://github.com/oauth-xx/oauth2/pull/478) - support latest version of faraday & fix build (@pboling)
11
+ - officially support Ruby 2.6 and truffleruby
12
+
8
13
  ## [1.4.1] - 2018-10-13
9
14
 
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)
15
+ - [#417](https://github.com/oauth-xx/oauth2/pull/417) - update jwt dependency (@thewoolleyman)
16
+ - [#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)
17
+ - [#418](https://github.com/oauth-xx/oauth2/pull/418) - update faraday dependency (@pboling)
18
+ - [#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)
19
+ - [#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)
20
+ - [#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)
21
+ - [#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
22
  - officially document supported Rubies
18
23
  * Ruby 1.9.3
19
24
  * Ruby 2.0.0
@@ -136,4 +141,4 @@ All notable changes to this project will be documented in this file.
136
141
  [1.3.1]: https://github.com/oauth-xx/oauth2/compare/v1.3.0...v1.3.1
137
142
  [1.4.0]: https://github.com/oauth-xx/oauth2/compare/v1.3.1...v1.4.0
138
143
  [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
144
+ [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
@@ -3,7 +3,7 @@
3
3
  [![Gem Version](http://img.shields.io/gem/v/oauth2.svg)][gem]
4
4
  [![Total Downloads](https://img.shields.io/gem/dt/oauth2.svg)][gem]
5
5
  [![Downloads Today](https://img.shields.io/gem/rt/oauth2.svg)][gem]
6
- [![Build Status](http://img.shields.io/travis/oauth-xx/oauth2.svg)][travis]
6
+ [![Build Status](https://travis-ci.org/oauth-xx/oauth2.svg?branch=1-4-stable)][travis]
7
7
  [![Coverage Status](http://img.shields.io/coveralls/intridea/oauth2.svg)][coveralls]
8
8
  [![Maintainability](https://api.codeclimate.com/v1/badges/688c612528ff90a46955/maintainability)][codeclimate-maintainability]
9
9
  [![Depfu](https://badges.depfu.com/badges/6d34dc1ba682bbdf9ae2a97848241743/count.svg)][depfu]
@@ -129,29 +129,33 @@ requests for tokens for any Authentication grant type.
129
129
  This library aims to support and is [tested against][travis] the following Ruby
130
130
  implementations:
131
131
 
132
- ### Rubies with support ending at Oauth2 2.x
132
+ ### Rubies with support ending at Oauth2 1.x
133
133
 
134
134
  * Ruby 1.9.3
135
+ - [JRuby 1.7][jruby-1.7] (targets MRI v1.9)
136
+
135
137
  * Ruby 2.0.0
138
+ - [JRuby 9.0][jruby-9.0] (targets MRI v2.0)
136
139
  * 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
140
 
141
141
  ---
142
142
 
143
143
  ### Rubies with continued support past Oauth2 2.x
144
144
 
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)
145
+ * Ruby 2.2 - Support ends with version 2.x series
146
+ * Ruby 2.3 - Support ends with version 3.x series
147
+ - [JRuby 9.1][jruby-9.1] (targets MRI v2.3)
148
+ * Ruby 2.4 - Support ends with version 4.x series
149
+ * Ruby 2.5 - Support ends with version 5.x series
150
+ - [JRuby 9.2][jruby-9.2] (targets MRI v2.5)
151
+ - [truffleruby][truffleruby] (targets MRI 2.5)
152
+ * Ruby 2.6 - Support ends with version 6.x series
150
153
 
151
154
  [jruby-1.7]: https://www.jruby.org/2017/05/11/jruby-1-7-27.html
152
155
  [jruby-9.0]: https://www.jruby.org/2016/01/26/jruby-9-0-5-0.html
153
156
  [jruby-9.1]: https://www.jruby.org/2017/05/16/jruby-9-1-9-0.html
154
157
  [jruby-9.2]: https://www.jruby.org/2018/05/24/jruby-9-2-0-0.html
158
+ [truffleruby]: https://github.com/oracle/truffleruby
155
159
 
156
160
  If something doesn't work on one of these interpreters, it's a bug.
157
161
 
@@ -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 => '../'
@@ -1,19 +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
- gem 'rubocop', '~> 0.53.0'
16
- gem 'rubocop-rspec', '~> 1.24.0'
17
- end
18
-
19
6
  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,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 => '../'
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ group :development do
4
+ gem 'pry'
5
+ gem 'byebug'
6
+ gem 'pry-byebug'
7
+ end
8
+
9
+ gemspec :path => '../'