omniauth-dice 0.1.5 → 0.1.6

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: de1eea3be3faeb1e1d48d6427bb459ee29e5154c
4
- data.tar.gz: 89f2ac6f4e497c8e6be849dd0f0b172f9aeff86a
3
+ metadata.gz: 73fcf4e82f7a3cb5bc51b896ba05690bce329dfc
4
+ data.tar.gz: 9e49e6eb58ccfe61db6021e6decbecf98ba241d9
5
5
  SHA512:
6
- metadata.gz: 32e0341f76f988f83e0df357b40946450a9804a401e5eb36e0dedc6eac8113d081879bc8bbe148a132af6e3640a37d817b3d9afbb68bb8ca70ecffae912f416d
7
- data.tar.gz: 80501d7343afe9689f0dba3e947cc053c6f3852b3f3a9c9f3c00fcc2aeeff1897dfc1c78ba2d722b1351cc98ba135a500edfdf4a87cc3fe8c99798032a84f0d4
6
+ metadata.gz: b33a3be497f0ce1335f3c364c272e6c1594cce756d3306c871b92d35cb4eb34f21016e84c65bd1ca2d9af7a6fe7edbbdde244af992e6eca62869a6b758bb121d
7
+ data.tar.gz: a006cae98bdb3574fef38016903548e3ed701fff069ea6cfe6abf0b514ddfd9398aa063804371c9ab7af6b8ebe463d9c8be06039eba88cf5eca1680add46ff83
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Dice
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
data/lib/string.rb CHANGED
@@ -9,9 +9,4 @@ class String
9
9
  .tr('-', '_')
10
10
  .downcase
11
11
  end
12
-
13
- # Alias to .to_snake
14
- def underscore
15
- self.to_snake
16
- end
17
12
  end
@@ -142,8 +142,6 @@ describe OmniAuth::Strategies::Dice, type: :strategy do
142
142
  header 'Ssl-Client-Cert', user_cert
143
143
  get '/auth/dice'
144
144
  follow_redirect!
145
- expect(last_response.location).to eq('/')
146
- ap last_request.env['rack.session']['omniauth.auth'].inspect
147
145
  raw_info = last_request.env['rack.session']['omniauth.auth']['extra']['raw_info']
148
146
  expect(raw_info).to eq(valid_user_json)
149
147
  end
@@ -152,7 +150,6 @@ describe OmniAuth::Strategies::Dice, type: :strategy do
152
150
  header 'Ssl-Client-Cert', user_cert
153
151
  get '/auth/dice'
154
152
  follow_redirect!
155
- expect(last_response.location).to eq('/')
156
153
  raw_info = last_request.env['rack.session']['omniauth.auth']['extra']['raw_info']
157
154
  expect(last_request.env['rack.session']['omniauth.auth']).to be_kind_of(Hash)
158
155
  expect(last_request.env['rack.session']['omniauth.auth'].sort).to eq(auth_hash.sort)
@@ -178,7 +175,6 @@ describe OmniAuth::Strategies::Dice, type: :strategy do
178
175
  header 'Ssl-Client-Cert', user_cert
179
176
  get '/auth/dice'
180
177
  follow_redirect!
181
- expect(last_response.location).to eq('/')
182
178
  raw_info = last_request.env['rack.session']['omniauth.auth']['extra']['raw_info']
183
179
  expect(raw_info).to eq(valid_user_xml)
184
180
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-dice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Haddox
@@ -30,7 +30,7 @@ cert_chain:
30
30
  42qdwEXvvkODZAD6KAIXPdmbMfBgPbcd+B/4eUA0PyKo+4dgL1NuqX4MPWToevIZ
31
31
  O8EKLF2X7NmC6FY1bOsSj/J8r1SOkx0rxgF+geRvY1P+hfNjDfxTsjU=
32
32
  -----END CERTIFICATE-----
33
- date: 2015-02-07 00:00:00.000000000 Z
33
+ date: 2015-02-10 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: awesome_print
metadata.gz.sig CHANGED
Binary file