let_it_fall 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -4
- data/lib/let_it_fall/cli.rb +1 -1
- data/lib/let_it_fall/code.rb +2 -1
- 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: dae8e6225963938ab9048a2ab1f5be6cbfd435d8
|
4
|
+
data.tar.gz: 68addd2e604c735d14fdf608d8845d1a05d811c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07e11407764b1b2809a79459ce81160a8210766e8e6422e0c4f370cb17bd95fecb0fe8311b0457819c93333daa727e51dfacb536b1921ce27cbb5cd1eb4bec45
|
7
|
+
data.tar.gz: 2f93cfc60afe58dca31e6bd53e2d603b33ed765a904d1cc8a48603674c04d1334e6b384c1fa964e84e4c8f1f98277441c8cd32c429b6cd902f68bbf4766dd771
|
data/README.md
CHANGED
@@ -18,15 +18,25 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Open the Mac terminal, then try following command.
|
22
22
|
|
23
23
|
$ let_it_fall beer
|
24
24
|
|
25
|
-
|
25
|
+
You also enjoy over 40 commands other than `beer` like `money`, `face` or `kanji`.
|
26
26
|
|
27
|
-
|
27
|
+
`code` command is a special. It takes one or more unicodes which specify characters to fall.
|
28
28
|
|
29
|
-
|
29
|
+
$ let_it_fall code 0x2660 0x2666 -r # code command with --range option
|
30
|
+
|
31
|
+
Or try `matrix` command.
|
32
|
+
|
33
|
+
$ let_it_fall matrix
|
34
|
+
|
35
|
+
If you prefer another character rather than latin one, pass it to the command.
|
36
|
+
|
37
|
+
$ let_it_fall matrix kanji
|
38
|
+
|
39
|
+
These command takes `--speed` option(ex. -s=2), and some also takes `--color` option(ex. -c=31). `let_it_fall help` for more info.
|
30
40
|
|
31
41
|
## Contributing
|
32
42
|
|
data/lib/let_it_fall/cli.rb
CHANGED
@@ -27,7 +27,7 @@ module LetItFall
|
|
27
27
|
run(mark, options[:speed], options[:color], true)
|
28
28
|
end
|
29
29
|
|
30
|
-
desc "code
|
30
|
+
desc "code CODE", "Let specific character fall with unicode(s)"
|
31
31
|
option :speed, aliases:'-s', default:1, type: :numeric
|
32
32
|
option :color, aliases:'-c', default:nil, type: :numeric
|
33
33
|
option :range, aliases:'-r', default:false, type: :boolean
|
data/lib/let_it_fall/code.rb
CHANGED
data/lib/let_it_fall/version.rb
CHANGED