fusuma 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/fusuma/version.rb +1 -1
- data/spec/lib/custom_process_spec.rb +5 -4
- data/spec/spec_helper.rb +5 -2
- metadata +25 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 134ea9e98557e1475809d32c0fff6a636721118b6923eec3a74d69ac94659126
|
4
|
+
data.tar.gz: 40c33331caa554239fd5c56187c5273bd5abe0c9b83f1498a4cb8e4ff821d2d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb7e3ee14cce7f5efa087fa48ded433068e2b5ab3c4e083e282ac0cc5d837bef84c43c755d8c2b3d70d931883076856579797d104e414c89360478eb71ec9134
|
7
|
+
data.tar.gz: 61dc019f239f4bcd0e9398c0791cf2e16def41f82a458b20cb76a34aa36e414f3fea6e287eca731c7537d30fc4352f8c172dc95e1b23763f352085d2446a0d09
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Fusuma [![Gem Version](https://badge.fury.io/rb/fusuma.svg)](https://badge.fury.io/rb/fusuma) [![Build Status](https://github.com/iberianpig/fusuma/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/iberianpig/fusuma/actions/workflows/ubuntu.yml)
|
1
|
+
# Fusuma [![Gem Version](https://badge.fury.io/rb/fusuma.svg)](https://badge.fury.io/rb/fusuma) [![Build Status](https://github.com/iberianpig/fusuma/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/iberianpig/fusuma/actions/workflows/ubuntu.yml)
|
2
2
|
|
3
3
|
Fusuma is multitouch gesture recognizer.
|
4
4
|
This gem makes your linux able to recognize swipes or pinchs and assign commands to them.
|
@@ -297,7 +297,7 @@ swipe:
|
|
297
297
|
|
298
298
|
- `xte`
|
299
299
|
- [xte(1) - Linux man page](https://linux.die.net/man/1/xte)
|
300
|
-
- install with `sudo apt xautomation`
|
300
|
+
- install with `sudo apt install xautomation`
|
301
301
|
|
302
302
|
- [ydotool](https://github.com/ReimuNotMoe/ydotool)
|
303
303
|
- Wayland compatible
|
data/lib/fusuma/version.rb
CHANGED
@@ -15,13 +15,14 @@ module Fusuma
|
|
15
15
|
|
16
16
|
describe '.fork' do
|
17
17
|
before do
|
18
|
-
|
18
|
+
@test_instance = ForkTest.new
|
19
19
|
end
|
20
20
|
it 'call Process.fork and Process.setproctitle' do
|
21
|
-
expect(Process).to receive(:fork).and_yield do
|
22
|
-
|
21
|
+
expect(Process).to receive(:fork).and_yield do |block_context|
|
22
|
+
allow(block_context).to receive(:proctitle).and_return(@test_instance.proctitle)
|
23
|
+
expect(Process).to receive(:setproctitle).with(@test_instance.proctitle)
|
23
24
|
end
|
24
|
-
|
25
|
+
@test_instance.call
|
25
26
|
end
|
26
27
|
end
|
27
28
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'bundler/setup'
|
4
4
|
require 'helpers/config_helper'
|
5
|
-
|
6
|
-
|
5
|
+
|
6
|
+
require 'simplecov'
|
7
7
|
|
8
8
|
RSpec.configure do |config|
|
9
9
|
# Enable flags like --only-failures and --next-failure
|
@@ -18,3 +18,6 @@ RSpec.configure do |config|
|
|
18
18
|
|
19
19
|
config.include(Fusuma::ConfigHelper)
|
20
20
|
end
|
21
|
+
|
22
|
+
SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
|
23
|
+
SimpleCov.start
|
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: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iberianpig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Fusuma is multitouch gesture recognizer. This gem makes your touchpad
|
14
14
|
on Linux able to recognize swipes or pinchs and assign command to them. Read installation
|
@@ -130,40 +130,40 @@ specification_version: 4
|
|
130
130
|
summary: Multitouch gestures with libinput driver, Linux
|
131
131
|
test_files:
|
132
132
|
- spec/spec_helper.rb
|
133
|
-
- spec/lib/libinput-list-devices_thejinx0r.txt
|
134
|
-
- spec/lib/dummy_config.yml
|
135
|
-
- spec/lib/device_spec.rb
|
136
133
|
- spec/lib/libinput_command_spec.rb
|
134
|
+
- spec/lib/dummy_config.yml
|
135
|
+
- spec/lib/libinput-list-devices_razer_razer_blade.txt
|
136
|
+
- spec/lib/fusuma_spec.rb
|
137
|
+
- spec/lib/libinput-list-devices_thejinx0r.txt
|
138
|
+
- spec/lib/config/searcher_spec.rb
|
137
139
|
- spec/lib/libinput-list-devices_unavailable.txt
|
138
|
-
- spec/lib/
|
140
|
+
- spec/lib/config_spec.rb
|
141
|
+
- spec/lib/libinput-list-devices_iberianpig-XPS-9360.txt
|
139
142
|
- spec/lib/plugin/executors/command_executor_spec.rb
|
140
|
-
- spec/lib/plugin/
|
141
|
-
- spec/lib/plugin/
|
142
|
-
- spec/lib/plugin/buffers/gesture_buffer_spec.rb
|
143
|
-
- spec/lib/plugin/buffers/buffer_spec.rb
|
144
|
-
- spec/lib/plugin/buffers/dummy_buffer.rb
|
145
|
-
- spec/lib/plugin/manager_spec.rb
|
146
|
-
- spec/lib/plugin/parsers/libinput_gesture_parser_spec.rb
|
147
|
-
- spec/lib/plugin/parsers/parser_spec.rb
|
148
|
-
- spec/lib/plugin/inputs/libinput_command_input_spec.rb
|
149
|
-
- spec/lib/plugin/inputs/input_spec.rb
|
150
|
-
- spec/lib/plugin/inputs/timer_input_spec.rb
|
143
|
+
- spec/lib/plugin/executors/executor_spec.rb
|
144
|
+
- spec/lib/plugin/detectors/detector_spec.rb
|
151
145
|
- spec/lib/plugin/detectors/rotate_detector_spec.rb
|
152
146
|
- spec/lib/plugin/detectors/dummy_detector.rb
|
153
147
|
- spec/lib/plugin/detectors/pinch_detector_spec.rb
|
154
148
|
- spec/lib/plugin/detectors/swipe_detector_spec.rb
|
155
|
-
- spec/lib/plugin/detectors/detector_spec.rb
|
156
149
|
- spec/lib/plugin/detectors/hold_detector_spec.rb
|
150
|
+
- spec/lib/plugin/inputs/input_spec.rb
|
151
|
+
- spec/lib/plugin/inputs/timer_input_spec.rb
|
152
|
+
- spec/lib/plugin/inputs/libinput_command_input_spec.rb
|
153
|
+
- spec/lib/plugin/filters/filter_spec.rb
|
154
|
+
- spec/lib/plugin/filters/libinput_filter_spec.rb
|
155
|
+
- spec/lib/plugin/base_spec.rb
|
156
|
+
- spec/lib/plugin/events/event_spec.rb
|
157
157
|
- spec/lib/plugin/events/records/text_record_spec.rb
|
158
158
|
- spec/lib/plugin/events/records/record_spec.rb
|
159
159
|
- spec/lib/plugin/events/records/gesture_record_spec.rb
|
160
|
-
- spec/lib/plugin/
|
161
|
-
- spec/lib/plugin/
|
160
|
+
- spec/lib/plugin/buffers/gesture_buffer_spec.rb
|
161
|
+
- spec/lib/plugin/buffers/dummy_buffer.rb
|
162
|
+
- spec/lib/plugin/buffers/buffer_spec.rb
|
163
|
+
- spec/lib/plugin/manager_spec.rb
|
164
|
+
- spec/lib/plugin/parsers/parser_spec.rb
|
165
|
+
- spec/lib/plugin/parsers/libinput_gesture_parser_spec.rb
|
162
166
|
- spec/lib/libinput-list-devices_magic_trackpad.txt
|
163
|
-
- spec/lib/config_spec.rb
|
164
|
-
- spec/lib/config/searcher_spec.rb
|
165
|
-
- spec/lib/libinput-list-devices_razer_razer_blade.txt
|
166
167
|
- spec/lib/custom_process_spec.rb
|
167
|
-
- spec/lib/
|
168
|
-
- spec/lib/libinput-list-devices_iberianpig-XPS-9360.txt
|
168
|
+
- spec/lib/device_spec.rb
|
169
169
|
- spec/helpers/config_helper.rb
|