wadl 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/wadl/cli.rb +14 -4
- data/lib/wadl/version.rb +1 -1
- metadata +4 -4
data/README
CHANGED
data/lib/wadl/cli.rb
CHANGED
@@ -247,9 +247,14 @@ module WADL
|
|
247
247
|
opts.separator ''
|
248
248
|
opts.separator 'Basic auth options:'
|
249
249
|
|
250
|
-
opts.on('-B', '--basic
|
250
|
+
opts.on('-B', '--basic', "Perform Basic auth") {
|
251
251
|
options[:basic] = true
|
252
|
-
|
252
|
+
}
|
253
|
+
|
254
|
+
opts.separator ''
|
255
|
+
|
256
|
+
opts.on('--user USER', "User name") { |user|
|
257
|
+
options[:user] = user
|
253
258
|
}
|
254
259
|
|
255
260
|
opts.on('--password PASSWORD', "Password for user") { |password|
|
@@ -259,9 +264,14 @@ module WADL
|
|
259
264
|
opts.separator ''
|
260
265
|
opts.separator 'OAuth options:'
|
261
266
|
|
262
|
-
opts.on('-O', '--oauth
|
267
|
+
opts.on('-O', '--oauth', "Perform OAuth") {
|
263
268
|
options[:oauth] = true
|
264
|
-
|
269
|
+
}
|
270
|
+
|
271
|
+
opts.separator ''
|
272
|
+
|
273
|
+
opts.on('--consumer-key KEY', "Consumer key to use") { |consumer_key|
|
274
|
+
options[:consumer_key] = consumer_key
|
265
275
|
}
|
266
276
|
|
267
277
|
opts.on('--consumer-secret SECRET', "Consumer secret to use") { |consumer_secret|
|
data/lib/wadl/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wadl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Leonard Richardson
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-06-10 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|