signet 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/CHANGELOG.md +7 -0
- data/Gemfile +2 -19
- data/lib/signet/oauth_2/client.rb +82 -50
- data/lib/signet/oauth_2.rb +9 -2
- data/lib/signet/version.rb +2 -2
- data/signet.gemspec +38 -0
- data/spec/signet/oauth_1/client_spec.rb +231 -243
- data/spec/signet/oauth_1/credential_spec.rb +30 -30
- data/spec/signet/oauth_1/server_spec.rb +128 -129
- data/spec/signet/oauth_1/services/google_spec.rb +24 -25
- data/spec/signet/oauth_1/signature_methods/hmac_sha1_spec.rb +4 -4
- data/spec/signet/oauth_1/signature_methods/plaintext_spec.rb +4 -4
- data/spec/signet/oauth_1/signature_methods/rsa_sha1_spec.rb +6 -6
- data/spec/signet/oauth_1_spec.rb +190 -192
- data/spec/signet/oauth_2/client_spec.rb +296 -181
- data/spec/signet/oauth_2_spec.rb +58 -48
- data/spec/signet_spec.rb +23 -23
- data/spec/spec_helper.rb +3 -1
- data/tasks/gem.rake +3 -55
- data/tasks/spec.rake +0 -25
- metadata +99 -38
metadata
CHANGED
@@ -1,116 +1,174 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: signet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Aman
|
8
|
+
- Steven Bazyl
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: addressable
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- -
|
18
|
+
- - ~>
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
20
|
+
version: '2.3'
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- -
|
25
|
+
- - ~>
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
27
|
+
version: '2.3'
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: faraday
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- -
|
32
|
+
- - ~>
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9
|
34
|
+
version: '0.9'
|
34
35
|
type: :runtime
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- -
|
39
|
+
- - ~>
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.9
|
41
|
+
version: '0.9'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: multi_json
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- -
|
46
|
+
- - ~>
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
48
|
+
version: '1.10'
|
48
49
|
type: :runtime
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- -
|
53
|
+
- - ~>
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
55
|
+
version: '1.10'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: jwt
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- -
|
60
|
+
- - ~>
|
60
61
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
+
version: '1.0'
|
62
63
|
type: :runtime
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
|
-
- -
|
67
|
+
- - ~>
|
67
68
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
69
|
+
version: '1.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: extlib
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0.9'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.9'
|
69
84
|
- !ruby/object:Gem::Dependency
|
70
85
|
name: rake
|
71
86
|
requirement: !ruby/object:Gem::Requirement
|
72
87
|
requirements:
|
73
|
-
- -
|
88
|
+
- - ~>
|
74
89
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
90
|
+
version: '10.0'
|
76
91
|
type: :development
|
77
92
|
prerelease: false
|
78
93
|
version_requirements: !ruby/object:Gem::Requirement
|
79
94
|
requirements:
|
80
|
-
- -
|
95
|
+
- - ~>
|
81
96
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
97
|
+
version: '10.0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: yard
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ~>
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0.8'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0.8'
|
83
112
|
- !ruby/object:Gem::Dependency
|
84
113
|
name: rspec
|
85
114
|
requirement: !ruby/object:Gem::Requirement
|
86
115
|
requirements:
|
87
|
-
- -
|
116
|
+
- - ~>
|
88
117
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
118
|
+
version: '3.1'
|
90
119
|
type: :development
|
91
120
|
prerelease: false
|
92
121
|
version_requirements: !ruby/object:Gem::Requirement
|
93
122
|
requirements:
|
94
|
-
- -
|
123
|
+
- - ~>
|
95
124
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
125
|
+
version: '3.1'
|
97
126
|
- !ruby/object:Gem::Dependency
|
98
127
|
name: launchy
|
99
128
|
requirement: !ruby/object:Gem::Requirement
|
100
129
|
requirements:
|
101
|
-
- -
|
130
|
+
- - ~>
|
102
131
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
132
|
+
version: '2.4'
|
104
133
|
type: :development
|
105
134
|
prerelease: false
|
106
135
|
version_requirements: !ruby/object:Gem::Requirement
|
107
136
|
requirements:
|
108
|
-
- -
|
137
|
+
- - ~>
|
109
138
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.
|
111
|
-
|
112
|
-
|
113
|
-
|
139
|
+
version: '2.4'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: kramdown
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ~>
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '1.5'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ~>
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '1.5'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: simplecov
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ~>
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0.9'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ~>
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0.9'
|
168
|
+
description: ! 'Signet is an OAuth 1.0 / OAuth 2.0 implementation.
|
169
|
+
|
170
|
+
'
|
171
|
+
email: sbazyl@google.com
|
114
172
|
executables: []
|
115
173
|
extensions: []
|
116
174
|
extra_rdoc_files:
|
@@ -138,6 +196,7 @@ files:
|
|
138
196
|
- lib/signet/oauth_2/client.rb
|
139
197
|
- lib/signet/ssl_config.rb
|
140
198
|
- lib/signet/version.rb
|
199
|
+
- signet.gemspec
|
141
200
|
- spec/force_compat/digest/hmac.rb
|
142
201
|
- spec/force_compat/securerandom.rb
|
143
202
|
- spec/signet/oauth_1/client_spec.rb
|
@@ -161,8 +220,9 @@ files:
|
|
161
220
|
- tasks/wiki.rake
|
162
221
|
- tasks/yard.rake
|
163
222
|
- website/index.html
|
164
|
-
homepage:
|
165
|
-
licenses:
|
223
|
+
homepage: https://github.com/google/signet/
|
224
|
+
licenses:
|
225
|
+
- Apache-2.0
|
166
226
|
metadata: {}
|
167
227
|
post_install_message:
|
168
228
|
rdoc_options:
|
@@ -172,14 +232,14 @@ require_paths:
|
|
172
232
|
- lib
|
173
233
|
required_ruby_version: !ruby/object:Gem::Requirement
|
174
234
|
requirements:
|
175
|
-
- - '>='
|
235
|
+
- - ! '>='
|
176
236
|
- !ruby/object:Gem::Version
|
177
237
|
version: '0'
|
178
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
239
|
requirements:
|
180
|
-
- - '>='
|
240
|
+
- - ! '>='
|
181
241
|
- !ruby/object:Gem::Version
|
182
|
-
version:
|
242
|
+
version: 1.3.5
|
183
243
|
requirements: []
|
184
244
|
rubyforge_project:
|
185
245
|
rubygems_version: 2.2.2
|
@@ -187,3 +247,4 @@ signing_key:
|
|
187
247
|
specification_version: 4
|
188
248
|
summary: Signet is an OAuth 1.0 / OAuth 2.0 implementation.
|
189
249
|
test_files: []
|
250
|
+
has_rdoc:
|