douban.fm 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/douban.fm +6 -1
- data/lib/douban.fm/version.rb +1 -1
- metadata +5 -5
data/bin/douban.fm
CHANGED
@@ -53,10 +53,15 @@ class DoubanFMCLI
|
|
53
53
|
options.interaction = true
|
54
54
|
end
|
55
55
|
|
56
|
-
opts.on('-
|
56
|
+
opts.on('-V', '--verbose', 'verbose mode') do
|
57
57
|
options.verbose = true
|
58
58
|
end
|
59
59
|
|
60
|
+
opts.on('-v', '--version', 'show current version') do
|
61
|
+
puts DoubanFM::VERSION
|
62
|
+
exit
|
63
|
+
end
|
64
|
+
|
60
65
|
opts.on_tail('-h', '--help', 'show this message') do
|
61
66
|
puts opts
|
62
67
|
exit
|
data/lib/douban.fm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: douban.fm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2013-01-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-mpd
|
16
|
-
requirement: &
|
16
|
+
requirement: &70309504468940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.1.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70309504468940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: highline
|
27
|
-
requirement: &
|
27
|
+
requirement: &70309504467600 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 1.6.15
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70309504467600
|
36
36
|
description: douban.fm
|
37
37
|
email:
|
38
38
|
- hxliang1982@gmail.com
|