clavem 1.0.1 → 1.0.2

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