omniauth-rightsignature 0.0.5 → 0.0.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: be51d780d2d1dbd57923e11be16c0c3ead2a753f
4
- data.tar.gz: da07361b7e6f421a45a372693e7f573f82d47cbb
3
+ metadata.gz: e944280117b8708747944e6fe91ea04df5b5f4cf
4
+ data.tar.gz: 74281aa8b416f0ed72bd99284741e8978d9ee870
5
5
  SHA512:
6
- metadata.gz: c4c0c32c3138f1adc19b5e5687607de50507907fc3aa8a29396dc5614e2b472274bb72c31642d49c62f21b34d0e1a33b45a3f475934ec0800c90556a0d84e942
7
- data.tar.gz: 65c001e316d7fd109f4f5cc77f1492d6e952342d03aef7eaa9004e3a60366bc15be38e654947dae4f1e013fd26473370e28f92583800ee984e3df6b7d168b916
6
+ metadata.gz: e25e54efaa9291baa1d118d72cafa5c497ed512c10ea658a150a8f0275c685f4df4877fb2bc80af4dcb7e817f00d6c7c45201b07faaf309a4e2d9131d3cc4ae1
7
+ data.tar.gz: 54d569bdcf413a266c0aa4a1d1fe1a160f16f5ffcf602622d313d61da860dbe562fba3ed22c1ee7842f90bf62944ae1df6043ee812007c4cce2ef1862a875174
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Rightsignature
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -0,0 +1,23 @@
1
+ require 'spec-helper'
2
+ require 'omniauth-rightsignature'
3
+
4
+ describe Omniauth::Strategies::Rightsignature do
5
+
6
+ context "client_options" do
7
+ subject do
8
+ OmniAuth::Strategies::Rightsignature.new({})
9
+ end
10
+
11
+ it 'should have the correct site' do
12
+ expect(subject.options.client_options.site).to eq("https://rightsignature.com")
13
+ end
14
+
15
+ it 'should have the correct authorizate url' do
16
+ expect(subject.options.client_options.authorize_url).to eq("https://rightsignature.com/oauth/authorize")
17
+ end
18
+
19
+ it 'should have the correct access token url' do
20
+ expect(subject.options.client_options.access_token_path).to eq("https://rightsignature.com/oauth/access_token")
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,14 @@
1
+ $:.unshift File.expand_path('..', __FILE__)
2
+ $:.unshift File.expand_path('../../lib', __FILE__)
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+ require 'rspec'
6
+ require 'rack/test'
7
+ require 'webmock/rspec'
8
+ require 'omniauth'
9
+ require 'omniauth-rightsignature'
10
+ RSpec.configure do |config|
11
+ config.include WebMock::API
12
+ config.include Rack::Test::Methods
13
+ config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
14
+ end
@@ -20,6 +20,6 @@ gem.add_development_dependency 'yard', '~> 0.7'
20
20
  gem.add_development_dependency 'webmock', '~> 1.7'
21
21
  gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}
22
22
  gem.files = `git ls-files`.split("\n")
23
- #gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
24
24
  gem.require_paths = ['lib']
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-rightsignature
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deepikaa Subramaniam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth
@@ -128,6 +128,8 @@ files:
128
128
  - lib/omniauth-rightsignature.rb
129
129
  - lib/omniauth/rightsignature/version.rb
130
130
  - lib/omniauth/strategies/rightsignature.rb
131
+ - lib/spec/omniauth/strategies/rightsignature_spec.rb
132
+ - lib/spec/spec_helper.rb
131
133
  - omniauth-rightsignature.gemspec
132
134
  homepage: https://github.com/DeepikaaSubramaniam21/omniauth-rightsignature/
133
135
  licenses: []