omniauth-signnow 0.5.1 → 0.5.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
  SHA1:
3
- metadata.gz: cfd9d3db9153ba00398c8a80601f13c659da3bd5
4
- data.tar.gz: fd3b9c1cc04098707a6652c7e53eb7a2a0c15cb7
3
+ metadata.gz: adb4f758067fc40d9d27cb66b59ae1cfb89651a2
4
+ data.tar.gz: f262fbae88cdee49f2b7a188d914310c09cb937e
5
5
  SHA512:
6
- metadata.gz: a9c78f06a020078278def775f235b5d5fdf9605891765be0c013634135116a86e64ee5fec32f9091ef2f6a54a47cc7fe6b39b542f0373cb401f41b2dc3fb2d73
7
- data.tar.gz: 8ebd4dd14d5b9ea3aa0fac9818954ad7d280aa8f1b5f8889c4480a4d6b2d20943c614e955260fc39df4748860be4f97f33cf9d983c4378f3b3032e7519228d3d
6
+ metadata.gz: e3511368a80edb13f4b21f04866d50098053eec185070b848d93c65fb649fddfcdfc64c2e5e8092521325c584f8419873c4ad1f8f9dda04ac85ec1055dcc9d4b
7
+ data.tar.gz: 7bcf880a1a860ec511dc582aa9fd5d9d8f95ac0e45e938e9dbdd70b36c1bbff45b86f7b7a421cf3acf8b85dec548c26299e458f4ee7c7b4793ab006531b77d8d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-signnow (0.5.0)
4
+ omniauth-signnow (0.5.1)
5
5
  omniauth (~> 1.0)
6
6
  omniauth-oauth2 (~> 1.1.1)
7
7
 
@@ -11,9 +11,9 @@ module OmniAuth
11
11
  # This is where you pass the options you would pass when
12
12
  # initializing your consumer from the OAuth gem.
13
13
  option :client_options, {
14
- site: 'https://api.signnow.com/api',
15
- authorize_url: 'https://www.signnow.com/proxy/index.php/authorize',
16
- token_url: 'https://api.signnow.com/api/oauth2/token'
14
+ site: 'https://api.signnow.com',
15
+ authorize_url: 'https://signnow.com/proxy/index.php/authorize',
16
+ token_url: 'https://api.signnow.com/oauth2/token'
17
17
  }
18
18
 
19
19
  option :authorize_params, {
@@ -41,7 +41,7 @@ module OmniAuth
41
41
  end
42
42
 
43
43
  def raw_info
44
- @raw_info ||= access_token.get('https://api.signnow.com/api/user').parsed
44
+ @raw_info ||= access_token.get('https://api.signnow.com/user').parsed
45
45
  end
46
46
 
47
47
  def build_access_token
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Signnow
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.2'
4
4
  end
5
5
  end
@@ -30,11 +30,11 @@ describe OmniAuth::Strategies::Signnow do
30
30
  describe '#client_options' do
31
31
 
32
32
  it 'should be initialized with correct authorize url' do
33
- expect(subject.client.options[:authorize_url]).to eql 'https://www.signnow.com/proxy/index.php/authorize'
33
+ expect(subject.client.options[:authorize_url]).to eql 'https://signnow.com/proxy/index.php/authorize'
34
34
  end
35
35
 
36
36
  it 'should be initialized with correct token url' do
37
- expect(subject.client.options[:token_url]).to eql 'https://api.signnow.com/api/oauth2/token'
37
+ expect(subject.client.options[:token_url]).to eql 'https://api.signnow.com/oauth2/token'
38
38
  end
39
39
 
40
40
  describe "overrides" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-signnow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andres Bravo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-16 00:00:00.000000000 Z
11
+ date: 2014-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth