signet 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.2.4
2
+
3
+ * Updated to incorporate changes to the Google OAuth endpoints
4
+
1
5
  == 0.2.3
2
6
 
3
7
  * Added support for JWT-formatted ID tokens.
@@ -224,6 +224,13 @@ module Signet
224
224
  unless options[:response_type]
225
225
  options[:response_type] = :code
226
226
  end
227
+ unless options[:access_type]
228
+ options[:access_type] = :offline
229
+ end
230
+ unless options[:approval_prompt]
231
+ # This default will likely change in the future.
232
+ options[:approval_prompt] = :force
233
+ end
227
234
  options[:client_id] ||= self.client_id
228
235
  options[:redirect_uri] ||= self.redirect_uri
229
236
  unless options[:client_id]
@@ -18,7 +18,7 @@ unless defined? Signet::VERSION
18
18
  module VERSION
19
19
  MAJOR = 0
20
20
  MINOR = 2
21
- TINY = 3
21
+ TINY = 4
22
22
 
23
23
  STRING = [MAJOR, MINOR, TINY].join('.')
24
24
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
4
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 3
10
- version: 0.2.3
5
+ version: 0.2.4
11
6
  platform: ruby
12
7
  authors:
13
8
  - Bob Aman
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-11-15 00:00:00 Z
13
+ date: 2011-12-10 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
16
  name: httpadapter
@@ -25,11 +20,6 @@ dependencies:
25
20
  requirements:
26
21
  - - ~>
27
22
  - !ruby/object:Gem::Version
28
- hash: 23
29
- segments:
30
- - 1
31
- - 0
32
- - 0
33
23
  version: 1.0.0
34
24
  type: :runtime
35
25
  version_requirements: *id001
@@ -41,11 +31,6 @@ dependencies:
41
31
  requirements:
42
32
  - - ~>
43
33
  - !ruby/object:Gem::Version
44
- hash: 5
45
- segments:
46
- - 2
47
- - 2
48
- - 1
49
34
  version: 2.2.1
50
35
  type: :runtime
51
36
  version_requirements: *id002
@@ -57,11 +42,6 @@ dependencies:
57
42
  requirements:
58
43
  - - ">="
59
44
  - !ruby/object:Gem::Version
60
- hash: 11
61
- segments:
62
- - 1
63
- - 4
64
- - 6
65
45
  version: 1.4.6
66
46
  type: :runtime
67
47
  version_requirements: *id003
@@ -73,11 +53,6 @@ dependencies:
73
53
  requirements:
74
54
  - - ">="
75
55
  - !ruby/object:Gem::Version
76
- hash: 19
77
- segments:
78
- - 0
79
- - 1
80
- - 4
81
56
  version: 0.1.4
82
57
  type: :runtime
83
58
  version_requirements: *id004
@@ -89,11 +64,6 @@ dependencies:
89
64
  requirements:
90
65
  - - ~>
91
66
  - !ruby/object:Gem::Version
92
- hash: 57
93
- segments:
94
- - 0
95
- - 8
96
- - 3
97
67
  version: 0.8.3
98
68
  type: :development
99
69
  version_requirements: *id005
@@ -105,11 +75,6 @@ dependencies:
105
75
  requirements:
106
76
  - - ~>
107
77
  - !ruby/object:Gem::Version
108
- hash: 5
109
- segments:
110
- - 1
111
- - 1
112
- - 11
113
78
  version: 1.1.11
114
79
  type: :development
115
80
  version_requirements: *id006
@@ -121,11 +86,6 @@ dependencies:
121
86
  requirements:
122
87
  - - ~>
123
88
  - !ruby/object:Gem::Version
124
- hash: 23
125
- segments:
126
- - 0
127
- - 3
128
- - 2
129
89
  version: 0.3.2
130
90
  type: :development
131
91
  version_requirements: *id007
@@ -137,11 +97,6 @@ dependencies:
137
97
  requirements:
138
98
  - - ~>
139
99
  - !ruby/object:Gem::Version
140
- hash: 23
141
- segments:
142
- - 1
143
- - 1
144
- - 2
145
100
  version: 1.1.2
146
101
  type: :development
147
102
  version_requirements: *id008
@@ -153,11 +108,6 @@ dependencies:
153
108
  requirements:
154
109
  - - ~>
155
110
  - !ruby/object:Gem::Version
156
- hash: 37
157
- segments:
158
- - 0
159
- - 1
160
- - 31
161
111
  version: 0.1.31
162
112
  type: :development
163
113
  version_requirements: *id009
@@ -222,23 +172,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
172
  requirements:
223
173
  - - ">="
224
174
  - !ruby/object:Gem::Version
225
- hash: 3
226
- segments:
227
- - 0
228
175
  version: "0"
229
176
  required_rubygems_version: !ruby/object:Gem::Requirement
230
177
  none: false
231
178
  requirements:
232
179
  - - ">="
233
180
  - !ruby/object:Gem::Version
234
- hash: 3
235
- segments:
236
- - 0
237
181
  version: "0"
238
182
  requirements: []
239
183
 
240
184
  rubyforge_project: signet
241
- rubygems_version: 1.8.6
185
+ rubygems_version: 1.8.11
242
186
  signing_key:
243
187
  specification_version: 3
244
188
  summary: Package Summary