omniauth-aleph 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Aleph
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -1,15 +1,11 @@
1
1
  require 'spec_helper'
2
2
  describe "OmniAuth::Strategies::Aleph" do
3
- let(:request) do
4
- double('Request', params: {}, cookies: {}, env: {})
5
- end
6
3
 
7
4
  context "when it's improperly configured" do
8
5
  let(:config) {{ host: "host" }}
9
6
 
10
7
  subject(:strategy) do
11
8
  OmniAuth::Strategies::Aleph.new(nil, config).tap do |strategy|
12
- strategy.stub(:request) { request }
13
9
  strategy.stub(:username) { aleph_username }
14
10
  strategy.stub(:password) { aleph_password }
15
11
  end
@@ -39,7 +35,6 @@ describe "OmniAuth::Strategies::Aleph" do
39
35
  # First argument is the app, which gets called with env,
40
36
  # i.e. app.call(env), so fake it with a stabby lambda
41
37
  OmniAuth::Strategies::Aleph.new(->(env) {}, config).tap do |strategy|
42
- strategy.stub(:request) { request }
43
38
  strategy.stub(:username) { aleph_username }
44
39
  strategy.stub(:password) { aleph_password }
45
40
  strategy.stub(:env) { {} }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-aleph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  segments:
187
187
  - 0
188
- hash: -3650854603192444323
188
+ hash: 2081205909347291238
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  none: false
191
191
  requirements:
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  segments:
196
196
  - 0
197
- hash: -3650854603192444323
197
+ hash: 2081205909347291238
198
198
  requirements: []
199
199
  rubyforge_project:
200
200
  rubygems_version: 1.8.23