omniauth-signnow 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +2 -0
- data/CHANGELOG.md +22 -0
- data/lib/omniauth-signnow/version.rb +1 -1
- data/lib/omniauth/strategies/signnow.rb +1 -0
- data/omniauth-signnow.gemspec +1 -1
- data/spec/omniauth/strategies/signnow_spec.rb +6 -8
- metadata +22 -22
- data/Gemfile.lock +0 -114
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e61d4e09597f9a6add5d4243dfcbb2c9dfa7836
|
4
|
+
data.tar.gz: 59b7343d2a91bac3556910e3c67bc3bbdb515603
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3cffb332478f574630e341c3f7d5b83a6ab0be10a39b0a3f51fe377eb223ff2a38b894f264a2c758e56d454646e20422950549985725755b1b3ddd8efd2e44f
|
7
|
+
data.tar.gz: cbfbc2d99f199e48eedf9e767da774e3707cf88f052d6afe760f946fa39956d4f7911b3270626916912b78fbd3e846a90e7a41d7c8dc23fe68bccfc4c2a7b260
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## [Unreleased]
|
4
|
+
### Added
|
5
|
+
### Changed
|
6
|
+
### Deprecated
|
7
|
+
### Removed
|
8
|
+
### Fixed
|
9
|
+
### Security
|
10
|
+
|
11
|
+
## [0.6.0] - 2015-11-18
|
12
|
+
### Added
|
13
|
+
- New rubies to the travis.yml.
|
14
|
+
|
15
|
+
### Changed
|
16
|
+
- Relaxed `omniauth-oauth` dependency to so that it fits `1.x`.
|
17
|
+
|
18
|
+
### Removed
|
19
|
+
- Gemfile.lock since it is supossed to be out of version control.
|
20
|
+
|
21
|
+
[Unreleased]: https://github.com/andresbravog/omniauth-signnow/compare/v0.6.0...HEAD
|
22
|
+
[0.6.0]: https://github.com/andresbravog/omniauth-signnow/compare/v0.5.1...v0.6.0
|
data/omniauth-signnow.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.version = OmniAuth::Signnow::VERSION
|
16
16
|
|
17
17
|
gem.add_dependency 'omniauth', '~> 1.0'
|
18
|
-
gem.add_dependency 'omniauth-oauth2', '~> 1.1
|
18
|
+
gem.add_dependency 'omniauth-oauth2', '~> 1.1'
|
19
19
|
gem.add_development_dependency 'rspec', '~> 2.7'
|
20
20
|
gem.add_development_dependency 'rack-test'
|
21
21
|
gem.add_development_dependency 'simplecov'
|
@@ -103,15 +103,13 @@ describe OmniAuth::Strategies::Signnow do
|
|
103
103
|
let(:base64_client_key) {
|
104
104
|
Base64.strict_encode64(subject.client.id + ':' + subject.client.secret)
|
105
105
|
}
|
106
|
-
|
107
|
-
expect(subject.auth_options).to raise_error(NoMethodError)
|
108
|
-
end
|
106
|
+
|
109
107
|
it 'returns a hash with the Autorization header' do
|
110
|
-
expect(subject.
|
111
|
-
expect(subject.
|
112
|
-
expect(subject.
|
113
|
-
expect(subject.
|
114
|
-
expect(subject.
|
108
|
+
expect(subject.auth_options.class).to eql(Hash)
|
109
|
+
expect(subject.auth_options).to include(:headers)
|
110
|
+
expect(subject.auth_options[:headers]).to include :Authorization
|
111
|
+
expect(subject.auth_options[:headers][:Authorization]).to match(/Basic/)
|
112
|
+
expect(subject.auth_options[:headers][:Authorization]).to match(/#{base64_client_key}/)
|
115
113
|
end
|
116
114
|
end
|
117
115
|
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-signnow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andres Bravo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: omniauth-oauth2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.1
|
33
|
+
version: '1.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.1
|
40
|
+
version: '1.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '2.7'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.7'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rack-test
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: webmock
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: Unofficial OmniAuth strategy for Signnow.com.
|
@@ -101,10 +101,10 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
-
- .gitignore
|
105
|
-
- .travis.yml
|
104
|
+
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
106
|
+
- CHANGELOG.md
|
106
107
|
- Gemfile
|
107
|
-
- Gemfile.lock
|
108
108
|
- Guardfile
|
109
109
|
- LICENSE
|
110
110
|
- README.md
|
@@ -124,17 +124,17 @@ require_paths:
|
|
124
124
|
- lib
|
125
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- -
|
127
|
+
- - ">="
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- -
|
132
|
+
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.4.5.1
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Unofficial OmniAuth strategy for Signnow.com.
|
data/Gemfile.lock
DELETED
@@ -1,114 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
omniauth-signnow (0.5.1)
|
5
|
-
omniauth (~> 1.0)
|
6
|
-
omniauth-oauth2 (~> 1.1.1)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: http://rubygems.org/
|
10
|
-
specs:
|
11
|
-
addressable (2.3.4)
|
12
|
-
coderay (1.0.9)
|
13
|
-
coveralls (0.7.0)
|
14
|
-
multi_json (~> 1.3)
|
15
|
-
rest-client
|
16
|
-
simplecov (>= 0.7)
|
17
|
-
term-ansicolor
|
18
|
-
thor
|
19
|
-
crack (0.3.2)
|
20
|
-
diff-lcs (1.2.4)
|
21
|
-
faraday (0.8.9)
|
22
|
-
multipart-post (~> 1.2.0)
|
23
|
-
ffi (1.8.1)
|
24
|
-
formatador (0.2.4)
|
25
|
-
growl (1.0.3)
|
26
|
-
guard (1.8.0)
|
27
|
-
formatador (>= 0.2.4)
|
28
|
-
listen (>= 1.0.0)
|
29
|
-
lumberjack (>= 1.0.2)
|
30
|
-
pry (>= 0.9.10)
|
31
|
-
thor (>= 0.14.6)
|
32
|
-
guard-bundler (1.0.0)
|
33
|
-
bundler (~> 1.0)
|
34
|
-
guard (~> 1.1)
|
35
|
-
guard-rspec (2.6.0)
|
36
|
-
guard (>= 1.8)
|
37
|
-
rspec (~> 2.13)
|
38
|
-
hashie (2.0.5)
|
39
|
-
httpauth (0.2.0)
|
40
|
-
jwt (0.1.8)
|
41
|
-
multi_json (>= 1.5)
|
42
|
-
listen (1.0.3)
|
43
|
-
rb-fsevent (>= 0.9.3)
|
44
|
-
rb-inotify (>= 0.9)
|
45
|
-
rb-kqueue (>= 0.2)
|
46
|
-
lumberjack (1.0.3)
|
47
|
-
method_source (0.8.1)
|
48
|
-
mime-types (2.0)
|
49
|
-
multi_json (1.7.2)
|
50
|
-
multipart-post (1.2.0)
|
51
|
-
oauth2 (0.8.1)
|
52
|
-
faraday (~> 0.8)
|
53
|
-
httpauth (~> 0.1)
|
54
|
-
jwt (~> 0.1.4)
|
55
|
-
multi_json (~> 1.0)
|
56
|
-
rack (~> 1.2)
|
57
|
-
omniauth (1.1.4)
|
58
|
-
hashie (>= 1.2, < 3)
|
59
|
-
rack
|
60
|
-
omniauth-oauth2 (1.1.1)
|
61
|
-
oauth2 (~> 0.8.0)
|
62
|
-
omniauth (~> 1.0)
|
63
|
-
pry (0.9.12.1)
|
64
|
-
coderay (~> 1.0.5)
|
65
|
-
method_source (~> 0.8)
|
66
|
-
slop (~> 3.4)
|
67
|
-
rack (1.5.2)
|
68
|
-
rack-test (0.6.2)
|
69
|
-
rack (>= 1.0)
|
70
|
-
rake (0.9.6)
|
71
|
-
rb-fsevent (0.9.3)
|
72
|
-
rb-inotify (0.9.0)
|
73
|
-
ffi (>= 0.5.0)
|
74
|
-
rb-kqueue (0.2.0)
|
75
|
-
ffi (>= 0.5.0)
|
76
|
-
rest-client (1.6.7)
|
77
|
-
mime-types (>= 1.16)
|
78
|
-
rspec (2.13.0)
|
79
|
-
rspec-core (~> 2.13.0)
|
80
|
-
rspec-expectations (~> 2.13.0)
|
81
|
-
rspec-mocks (~> 2.13.0)
|
82
|
-
rspec-core (2.13.1)
|
83
|
-
rspec-expectations (2.13.0)
|
84
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
85
|
-
rspec-mocks (2.13.1)
|
86
|
-
simplecov (0.7.1)
|
87
|
-
multi_json (~> 1.0)
|
88
|
-
simplecov-html (~> 0.7.1)
|
89
|
-
simplecov-html (0.7.1)
|
90
|
-
slop (3.4.4)
|
91
|
-
term-ansicolor (1.2.2)
|
92
|
-
tins (~> 0.8)
|
93
|
-
thor (0.18.1)
|
94
|
-
tins (0.13.1)
|
95
|
-
webmock (1.11.0)
|
96
|
-
addressable (>= 2.2.7)
|
97
|
-
crack (>= 0.3.2)
|
98
|
-
|
99
|
-
PLATFORMS
|
100
|
-
ruby
|
101
|
-
|
102
|
-
DEPENDENCIES
|
103
|
-
coveralls
|
104
|
-
growl
|
105
|
-
guard
|
106
|
-
guard-bundler
|
107
|
-
guard-rspec
|
108
|
-
omniauth-signnow!
|
109
|
-
rack-test
|
110
|
-
rake
|
111
|
-
rb-fsevent
|
112
|
-
rspec
|
113
|
-
simplecov
|
114
|
-
webmock
|