omniauth-chef-oauth2 1.0.2 → 1.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d9d34a97bd1ded48a8423a337e540fe945e06ca
4
- data.tar.gz: 29627cae68420d2b8982fe3e6176832b51f9bef9
3
+ metadata.gz: 6caba0f7530aad2802830fef706e5e8d40b2ce74
4
+ data.tar.gz: e885eea13a777d6ef823a50ea63718ff354a72fb
5
5
  SHA512:
6
- metadata.gz: 1aab76491f1ee02378404b8d7ca05a3267f6fc7872f46407ddda11dc4e46960403f535f6a511922ac39ca217589a74e7f8d647fc32dd313373996e0dc6367f36
7
- data.tar.gz: d6b7beba65fca0f23eae434078dad4309a8df3a549c174f2c2d1e9f268130740156ff5c45eae372244c799229dfc3cb5b141135157994e51a41f7d90b76cc587
6
+ metadata.gz: 4d5bdd031cd53180296f8e6dedba3fd82e0f38c7e405c957f4dfd93b180fb33644deaa310412f83d353caa0dbac6cf62033bf3106d3a925a4856f87c2a674b64
7
+ data.tar.gz: afb1d9fd29da197da52e1085556950fa140c3cbe5d5a1e4c2b9589f415a1f672801442b5b44e00ee25739e858b340ab353c66a213beb8662adccd735dd699de3
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .ruby-version
@@ -0,0 +1,14 @@
1
+ # omniauth-chef-oauth2 Changelog
2
+
3
+ ## 1.0.3 (2014-12-04)
4
+
5
+ * Add a changelog
6
+ * Change the default site to id.chef.io
7
+
8
+ ## 1.0.2 (2014-09-09)
9
+
10
+ * Change the default site to id.opscode.com
11
+
12
+ ## 1.0.0 (2014-03-27)
13
+
14
+ * Initial release
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module ChefOAuth2
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ module OmniAuth
7
7
  option :name, 'chef_oauth2'
8
8
 
9
9
  option :client_options, {
10
- site: 'https://id.opscode.com',
10
+ site: 'https://id.chef.io',
11
11
  authorize_url: '/id/oauth/authorize',
12
12
  token_url: '/id/oauth/token'
13
13
  }
@@ -5,7 +5,7 @@ describe OmniAuth::Strategies::ChefOAuth2 do
5
5
 
6
6
  subject do
7
7
  OmniAuth::Strategies::ChefOAuth2.new(nil, @options || {}).tap do |strategy|
8
- strategy.stub(:request) { @request }
8
+ allow(strategy).to receive(:request) { @request }
9
9
  end
10
10
  end
11
11
 
@@ -14,7 +14,7 @@ describe OmniAuth::Strategies::ChefOAuth2 do
14
14
  end
15
15
 
16
16
  it 'should have the correct default site' do
17
- expect(subject.options.client_options.site).to eq("https://id.opscode.com")
17
+ expect(subject.options.client_options.site).to eq("https://id.chef.io")
18
18
  end
19
19
 
20
20
  it 'should have the correct default authorize url' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-chef-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nunciato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-09 00:00:00.000000000 Z
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -116,6 +116,7 @@ extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
118
  - ".gitignore"
119
+ - CHANGELOG.md
119
120
  - CONTRIBUTING.md
120
121
  - Gemfile
121
122
  - LICENSE