clavem 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,6 +85,9 @@ module Clavem
85
85
  @template = template.ensure_string
86
86
  @timeout = timeout.to_integer
87
87
  @response_handler = response_handler
88
+
89
+ sanitize_arguments
90
+
88
91
  @token = nil
89
92
  @status = :waiting
90
93
  @compiled_template ||= ::ERB.new(@template)
@@ -92,7 +95,6 @@ module Clavem
92
95
  @timeout_expired = false
93
96
  @timeout_thread = nil
94
97
 
95
- sanitize_arguments
96
98
  self
97
99
  end
98
100
 
@@ -16,7 +16,7 @@ module Clavem
16
16
  MINOR = 0
17
17
 
18
18
  # The patch version.
19
- PATCH = 0
19
+ PATCH = 1
20
20
 
21
21
  # The current version of clavem.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
metadata CHANGED
@@ -1,200 +1,209 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: clavem
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 21
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 1
10
+ version: 1.0.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Shogun
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-01-27 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: r18n-desktop
16
- requirement: !ruby/object:Gem::Requirement
17
+
18
+ date: 2013-01-28 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
22
  none: false
18
- requirements:
23
+ requirements:
19
24
  - - ~>
20
- - !ruby/object:Gem::Version
25
+ - !ruby/object:Gem::Version
26
+ hash: 21
27
+ segments:
28
+ - 1
29
+ - 1
30
+ - 3
21
31
  version: 1.1.3
22
- type: :runtime
23
32
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 1.1.3
30
- - !ruby/object:Gem::Dependency
31
- name: lazier
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 1.0.7
38
33
  type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
34
+ name: r18n-desktop
35
+ requirement: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
38
  none: false
42
- requirements:
39
+ requirements:
43
40
  - - ~>
44
- - !ruby/object:Gem::Version
41
+ - !ruby/object:Gem::Version
42
+ hash: 25
43
+ segments:
44
+ - 1
45
+ - 0
46
+ - 7
45
47
  version: 1.0.7
46
- - !ruby/object:Gem::Dependency
47
- name: mamertes
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 1.2.0
54
- type: :runtime
55
48
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
49
+ type: :runtime
50
+ name: lazier
51
+ requirement: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
57
54
  none: false
58
- requirements:
55
+ requirements:
59
56
  - - ~>
60
- - !ruby/object:Gem::Version
57
+ - !ruby/object:Gem::Version
58
+ hash: 31
59
+ segments:
60
+ - 1
61
+ - 2
62
+ - 0
61
63
  version: 1.2.0
62
- - !ruby/object:Gem::Dependency
63
- name: webrick
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 1.3.1
70
- type: :runtime
71
64
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
65
+ type: :runtime
66
+ name: mamertes
67
+ requirement: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
73
70
  none: false
74
- requirements:
71
+ requirements:
75
72
  - - ~>
76
- - !ruby/object:Gem::Version
73
+ - !ruby/object:Gem::Version
74
+ hash: 25
75
+ segments:
76
+ - 1
77
+ - 3
78
+ - 1
77
79
  version: 1.3.1
78
- - !ruby/object:Gem::Dependency
79
- name: rspec
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 2.12.0
86
- type: :development
87
80
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
81
+ type: :runtime
82
+ name: webrick
83
+ requirement: *id004
84
+ - !ruby/object:Gem::Dependency
85
+ version_requirements: &id005 !ruby/object:Gem::Requirement
89
86
  none: false
90
- requirements:
87
+ requirements:
91
88
  - - ~>
92
- - !ruby/object:Gem::Version
89
+ - !ruby/object:Gem::Version
90
+ hash: 63
91
+ segments:
92
+ - 2
93
+ - 12
94
+ - 0
93
95
  version: 2.12.0
94
- - !ruby/object:Gem::Dependency
95
- name: rake
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
101
- version: 10.0.3
102
- type: :development
103
96
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
97
+ type: :development
98
+ name: rspec
99
+ requirement: *id005
100
+ - !ruby/object:Gem::Dependency
101
+ version_requirements: &id006 !ruby/object:Gem::Requirement
105
102
  none: false
106
- requirements:
103
+ requirements:
107
104
  - - ~>
108
- - !ruby/object:Gem::Version
105
+ - !ruby/object:Gem::Version
106
+ hash: 73
107
+ segments:
108
+ - 10
109
+ - 0
110
+ - 3
109
111
  version: 10.0.3
110
- - !ruby/object:Gem::Dependency
111
- name: simplecov
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: 0.7.1
118
- type: :development
119
112
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
113
+ type: :development
114
+ name: rake
115
+ requirement: *id006
116
+ - !ruby/object:Gem::Dependency
117
+ version_requirements: &id007 !ruby/object:Gem::Requirement
121
118
  none: false
122
- requirements:
119
+ requirements:
123
120
  - - ~>
124
- - !ruby/object:Gem::Version
121
+ - !ruby/object:Gem::Version
122
+ hash: 1
123
+ segments:
124
+ - 0
125
+ - 7
126
+ - 1
125
127
  version: 0.7.1
126
- - !ruby/object:Gem::Dependency
127
- name: pry
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: 0.9.11.4
134
- type: :development
135
128
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
129
+ type: :development
130
+ name: simplecov
131
+ requirement: *id007
132
+ - !ruby/object:Gem::Dependency
133
+ version_requirements: &id008 !ruby/object:Gem::Requirement
137
134
  none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 35
139
+ segments:
140
+ - 0
141
+ - 9
142
+ - 11
143
+ - 4
141
144
  version: 0.9.11.4
142
- - !ruby/object:Gem::Dependency
143
- name: yard
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ~>
148
- - !ruby/object:Gem::Version
149
- version: 0.8.3
150
- type: :development
151
145
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
146
+ type: :development
147
+ name: pry
148
+ requirement: *id008
149
+ - !ruby/object:Gem::Dependency
150
+ version_requirements: &id009 !ruby/object:Gem::Requirement
153
151
  none: false
154
- requirements:
152
+ requirements:
155
153
  - - ~>
156
- - !ruby/object:Gem::Version
154
+ - !ruby/object:Gem::Version
155
+ hash: 57
156
+ segments:
157
+ - 0
158
+ - 8
159
+ - 3
157
160
  version: 0.8.3
158
- - !ruby/object:Gem::Dependency
159
- name: redcarpet
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ~>
164
- - !ruby/object:Gem::Version
165
- version: 2.2.2
166
- type: :development
167
161
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
162
+ type: :development
163
+ name: yard
164
+ requirement: *id009
165
+ - !ruby/object:Gem::Dependency
166
+ version_requirements: &id010 !ruby/object:Gem::Requirement
169
167
  none: false
170
- requirements:
168
+ requirements:
171
169
  - - ~>
172
- - !ruby/object:Gem::Version
170
+ - !ruby/object:Gem::Version
171
+ hash: 3
172
+ segments:
173
+ - 2
174
+ - 2
175
+ - 2
173
176
  version: 2.2.2
174
- - !ruby/object:Gem::Dependency
175
- name: github-markup
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ~>
180
- - !ruby/object:Gem::Version
181
- version: 0.7.5
182
- type: :development
183
177
  prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
178
+ type: :development
179
+ name: redcarpet
180
+ requirement: *id010
181
+ - !ruby/object:Gem::Dependency
182
+ version_requirements: &id011 !ruby/object:Gem::Requirement
185
183
  none: false
186
- requirements:
184
+ requirements:
187
185
  - - ~>
188
- - !ruby/object:Gem::Version
186
+ - !ruby/object:Gem::Version
187
+ hash: 9
188
+ segments:
189
+ - 0
190
+ - 7
191
+ - 5
189
192
  version: 0.7.5
193
+ prerelease: false
194
+ type: :development
195
+ name: github-markup
196
+ requirement: *id011
190
197
  description: A local callback server for oAuth web-flow.
191
- email:
198
+ email:
192
199
  - shogun_panda@me.com
193
- executables:
200
+ executables:
194
201
  - clavem
195
202
  extensions: []
203
+
196
204
  extra_rdoc_files: []
197
- files:
205
+
206
+ files:
198
207
  - .gitignore
199
208
  - .travis.yml
200
209
  - .yardopts
@@ -237,29 +246,40 @@ files:
237
246
  - test_server.rb
238
247
  homepage: http://github.com/ShogunPanda/clavem
239
248
  licenses: []
249
+
240
250
  post_install_message:
241
251
  rdoc_options: []
242
- require_paths:
252
+
253
+ require_paths:
243
254
  - lib
244
- required_ruby_version: !ruby/object:Gem::Requirement
255
+ required_ruby_version: !ruby/object:Gem::Requirement
245
256
  none: false
246
- requirements:
247
- - - ! '>='
248
- - !ruby/object:Gem::Version
257
+ requirements:
258
+ - - ">="
259
+ - !ruby/object:Gem::Version
260
+ hash: 55
261
+ segments:
262
+ - 1
263
+ - 9
264
+ - 2
249
265
  version: 1.9.2
250
- required_rubygems_version: !ruby/object:Gem::Requirement
266
+ required_rubygems_version: !ruby/object:Gem::Requirement
251
267
  none: false
252
- requirements:
253
- - - ! '>='
254
- - !ruby/object:Gem::Version
255
- version: '0'
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ hash: 3
272
+ segments:
273
+ - 0
274
+ version: "0"
256
275
  requirements: []
276
+
257
277
  rubyforge_project: clavem
258
278
  rubygems_version: 1.8.24
259
279
  signing_key:
260
280
  specification_version: 3
261
281
  summary: A local callback server for oAuth web-flow.
262
- test_files:
282
+ test_files:
263
283
  - spec/clavem/authorizer_spec.rb
264
284
  - spec/coverage_helper.rb
265
285
  - spec/spec_helper.rb