fusuma 0.4.1 → 0.5.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 +3 -2
- data/exe/fusuma +13 -5
- data/lib/fusuma.rb +2 -2
- data/lib/fusuma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 52d2ebaf25b3a0b1e82f3bc50c819990f0fbfec6
|
|
4
|
+
data.tar.gz: 6ef757d69a0ab96ed925e9ea0578b0d6fa8ce977
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec46e97d16cedc1241a44a47104979bd4d31e8cf08cd97df22567dce29c8c2f67318871b16ddacfb148a5e4e6d88063c02cfbeefed3c88dc875e0416be6d2ff3
|
|
7
|
+
data.tar.gz: bc35850b9dd4d699459fb598dbe52ecf802017cba88e02ed960a2c2fd58aca57a315961431b111582e1c31a82c72b3b7dbaf40c4ae03a29ebc3947e9ae2cb16d
|
data/README.md
CHANGED
|
@@ -48,7 +48,7 @@ You can customize the settings for gestures to put and edit `~/.config/fusuma/co
|
|
|
48
48
|
*NOTE*: You will need to create the `~/.config/fusuma` directory if it doesn't exist yet.
|
|
49
49
|
|
|
50
50
|
### `Command: ` property
|
|
51
|
-
On fusuma version
|
|
51
|
+
On fusuma version 0.4 `Command: ` property is available!
|
|
52
52
|
You can assign any command each gestures.
|
|
53
53
|
|
|
54
54
|
**`shortcut: ` property is deprecated**, **it will be removed on fusuma version 1.0**.
|
|
@@ -124,8 +124,9 @@ If the swipe's interval is `0.5`, shorten swipe-interval by half to recognize a
|
|
|
124
124
|
|
|
125
125
|
## Options
|
|
126
126
|
|
|
127
|
-
* `-v`, `--verbose` : Shows details about the results of running fusuma
|
|
128
127
|
* `-c`, `--config=path/to/file` : Use an alternative config file
|
|
128
|
+
* `-d`, `--daemon` : Daemonize process
|
|
129
|
+
* `-v`, `--verbose` : Show details about the results of running fusuma
|
|
129
130
|
|
|
130
131
|
## Contributing
|
|
131
132
|
|
data/exe/fusuma
CHANGED
|
@@ -5,16 +5,24 @@ require_relative '../lib/fusuma'
|
|
|
5
5
|
|
|
6
6
|
option = {}
|
|
7
7
|
OptionParser.new do |opt|
|
|
8
|
-
opt.on('-v',
|
|
9
|
-
'--verbose',
|
|
10
|
-
'Shows details about the results of running fusuma') do |v|
|
|
11
|
-
option[:verbose] = v
|
|
12
|
-
end
|
|
13
8
|
opt.on('-c',
|
|
14
9
|
'--config=path/to/file',
|
|
15
10
|
'Use an alternative config file') do |c|
|
|
16
11
|
option[:config] = c
|
|
17
12
|
end
|
|
13
|
+
|
|
14
|
+
opt.on('-d',
|
|
15
|
+
'--daemon',
|
|
16
|
+
'Daemonize process') do |d|
|
|
17
|
+
option[:daemon] = d
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
opt.on('-v',
|
|
21
|
+
'--verbose',
|
|
22
|
+
'Shows details about the results of running fusuma') do |v|
|
|
23
|
+
option[:verbose] = v
|
|
24
|
+
end
|
|
25
|
+
|
|
18
26
|
opt.parse!(ARGV)
|
|
19
27
|
end
|
|
20
28
|
|
data/lib/fusuma.rb
CHANGED
|
@@ -28,8 +28,8 @@ module Fusuma
|
|
|
28
28
|
Config.instance.custom_path = config_path
|
|
29
29
|
Config.reload
|
|
30
30
|
end
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
MultiLogger.instance.debug_mode = true if option.fetch(:verbose, nil)
|
|
32
|
+
Process.daemon if option.fetch(:daemon, nil)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
data/lib/fusuma/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fusuma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- iberianpig
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|