ssync 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/ssync/command.rb +3 -1
- data/lib/ssync/version.rb +1 -1
- metadata +2 -6
data/Gemfile.lock
CHANGED
data/lib/ssync/command.rb
CHANGED
@@ -52,8 +52,10 @@ module Ssync
|
|
52
52
|
Ssync::Setup.run!
|
53
53
|
when :sync
|
54
54
|
aquire_lock! { Ssync::Sync.run! }
|
55
|
-
when :help
|
55
|
+
when :help, :"--help", :"-h"
|
56
56
|
display_help!
|
57
|
+
when :version, :"--version", :"-v"
|
58
|
+
puts Ssync::VERSION
|
57
59
|
else
|
58
60
|
e! "Cannot perform action '#{@action}', try 'ssync help' for usage."
|
59
61
|
end
|
data/lib/ssync/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ssync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 23
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
8
|
+
- 3
|
9
|
+
version: 0.3.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Fred Wu
|
@@ -27,7 +26,6 @@ dependencies:
|
|
27
26
|
requirements:
|
28
27
|
- - ~>
|
29
28
|
- !ruby/object:Gem::Version
|
30
|
-
hash: 3
|
31
29
|
segments:
|
32
30
|
- 0
|
33
31
|
- 6
|
@@ -74,7 +72,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
72
|
requirements:
|
75
73
|
- - ">="
|
76
74
|
- !ruby/object:Gem::Version
|
77
|
-
hash: 3
|
78
75
|
segments:
|
79
76
|
- 0
|
80
77
|
version: "0"
|
@@ -83,7 +80,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
80
|
requirements:
|
84
81
|
- - ">="
|
85
82
|
- !ruby/object:Gem::Version
|
86
|
-
hash: 3
|
87
83
|
segments:
|
88
84
|
- 0
|
89
85
|
version: "0"
|