let_it_fall 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/let_it_fall/cli.rb +6 -0
- data/lib/let_it_fall/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a2fa63d7094f76eae551428d868b037d245fce1
|
4
|
+
data.tar.gz: 8d13ab7bdc842ba91b748f265c6360b39b9ee921
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d4bf2e38339486aaa5dfdceed2ecc3074b95d0753711774f0b095146b7fb9143cb2c3f1d2acac0600cf4458ca3b5092ebef95d13a93a1faa5e864f5772953d3
|
7
|
+
data.tar.gz: b9cb9e8f23f2713b729cb9f6a5979f628d58ac53a09c4d2022a19e6dad552ca7ed7415bf5b06e733be0ea159c72affe124c522a931f8ce26ff8765ebd530a6e0
|
data/lib/let_it_fall/cli.rb
CHANGED
@@ -35,6 +35,12 @@ module LetItFall
|
|
35
35
|
run(code, options[:speed], options[:color])
|
36
36
|
end
|
37
37
|
|
38
|
+
desc "version", "Show LetItFall version"
|
39
|
+
def version
|
40
|
+
puts "LetItFall #{LetItFall::VERSION} (c) 2014 kyoendo"
|
41
|
+
end
|
42
|
+
map "-v" => :version
|
43
|
+
|
38
44
|
no_tasks do
|
39
45
|
def run(name, speed, color)
|
40
46
|
speed = 0.1 if speed < 0.1
|
data/lib/let_it_fall/version.rb
CHANGED