wadl 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README +1 -1
  2. data/lib/wadl/cli.rb +14 -4
  3. data/lib/wadl/version.rb +1 -1
  4. metadata +4 -4
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to wadl version 0.1.7
5
+ This documentation refers to wadl version 0.1.8
6
6
 
7
7
 
8
8
  == DESCRIPTION
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 [USER]', "Perform Basic auth (with optional user)") { |user|
250
+ opts.on('-B', '--basic', "Perform Basic auth") {
251
251
  options[:basic] = true
252
- options[:user] = user if user
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 [CONSUMER_KEY]', "Perform OAuth (with optional consumer key)") { |consumer_key|
267
+ opts.on('-O', '--oauth', "Perform OAuth") {
263
268
  options[:oauth] = true
264
- options[:consumer_key] = consumer_key if consumer_key
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
@@ -4,7 +4,7 @@ module WADL
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- TINY = 7
7
+ TINY = 8
8
8
 
9
9
  class << self
10
10
 
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: 21
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
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-05-28 00:00:00 +02:00
19
+ date: 2010-06-10 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency