fusuma 0.5.0 → 0.6.0
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 +1 -0
- data/exe/fusuma +15 -6
- data/lib/fusuma.rb +1 -0
- data/lib/fusuma/device.rb +1 -1
- data/lib/fusuma/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: 49c6f9b73bc690856d418150dfd985b1e8437eda
|
|
4
|
+
data.tar.gz: 808e52a847daefb3830808f4952b813149fe0527
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53083db2d7c526f3273117d873a6364b3ffa94564ac5540d4652274008f49cda884737a5c869ca4fe76dcc9b352f0442036c160d7686ee8012ebb7a63ec84558
|
|
7
|
+
data.tar.gz: c2b7d32ff632d7a26f6c1e81bfda9c08da504b5ac4a04ce678316e62b5e324ca0156864dce613fb68e0039647340393bb1973ee977a928bd60691d2b3a1f87d8
|
data/README.md
CHANGED
|
@@ -127,6 +127,7 @@ If the swipe's interval is `0.5`, shorten swipe-interval by half to recognize a
|
|
|
127
127
|
* `-c`, `--config=path/to/file` : Use an alternative config file
|
|
128
128
|
* `-d`, `--daemon` : Daemonize process
|
|
129
129
|
* `-v`, `--verbose` : Show details about the results of running fusuma
|
|
130
|
+
* `--version` : Show fusuma version
|
|
130
131
|
|
|
131
132
|
## Contributing
|
|
132
133
|
|
data/exe/fusuma
CHANGED
|
@@ -7,20 +7,29 @@ option = {}
|
|
|
7
7
|
OptionParser.new do |opt|
|
|
8
8
|
opt.on('-c',
|
|
9
9
|
'--config=path/to/file',
|
|
10
|
-
'Use an alternative config file') do |
|
|
11
|
-
option[:config] =
|
|
10
|
+
'Use an alternative config file') do |config|
|
|
11
|
+
option[:config] = config
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
opt.on('-d',
|
|
15
15
|
'--daemon',
|
|
16
|
-
'Daemonize process') do |
|
|
17
|
-
option[:daemon] =
|
|
16
|
+
'Daemonize process') do |daemon|
|
|
17
|
+
option[:daemon] = daemon
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
opt.on('-v',
|
|
21
21
|
'--verbose',
|
|
22
|
-
'
|
|
23
|
-
option[:verbose] =
|
|
22
|
+
'Show details about the results of running fusuma') do |verbose|
|
|
23
|
+
option[:verbose] = verbose
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
opt.on('--version',
|
|
27
|
+
'Show fusuma version') do |_version|
|
|
28
|
+
puts "Fusuma: #{Fusuma::VERSION}"
|
|
29
|
+
puts "OS: #{`uname -rsv`}"
|
|
30
|
+
puts "Distribution: #{`cat /etc/issue`}"
|
|
31
|
+
puts "Desktop session: #{`echo $DESKTOP_SESSION`}"
|
|
32
|
+
exit 0
|
|
24
33
|
end
|
|
25
34
|
|
|
26
35
|
opt.parse!(ARGV)
|
data/lib/fusuma.rb
CHANGED
data/lib/fusuma/device.rb
CHANGED
data/lib/fusuma/version.rb
CHANGED