fusuma 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +8 -3
- data/CHANGELOG.md +14 -0
- data/lib/fusuma.rb +3 -0
- data/lib/fusuma/plugin/detectors/pinch_detector.rb +0 -2
- data/lib/fusuma/plugin/detectors/rotate_detector.rb +0 -3
- data/lib/fusuma/plugin/detectors/swipe_detector.rb +0 -2
- data/lib/fusuma/plugin/manager.rb +1 -1
- data/lib/fusuma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea41f9f3d3fc1b1993aec6edff83e148a25b104f38195fd7a70699fcc986a0ed
|
4
|
+
data.tar.gz: 6ea7aa37474ff0e3e69d3706f367a5f825d1426fbfa57bcf9741aec7776985d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6736d979e4baa1318f52ab817a47c09f6d43085b69366da2e8aec874db3b9cba7a24721fa0bc47837f3edcfbde7b4aaf92fc44630b4f94a58d0863aa1c566ce
|
7
|
+
data.tar.gz: fda49834ba4df35312b9171406d63997693b0c0dab4acafa93e7ba53bce3215b13c953052d932f3d8b68cddd40912ffc4a2223dbcfa9acab9beef6834ddb50c2
|
data/.rubocop_todo.yml
CHANGED
@@ -1,16 +1,21 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2020-01-07 13:21:56 +0900 using RuboCop version 0.78.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
9
|
+
# Offense count: 5
|
10
10
|
Metrics/AbcSize:
|
11
11
|
Max: 25
|
12
12
|
|
13
|
-
# Offense count:
|
13
|
+
# Offense count: 1
|
14
|
+
# Configuration parameters: CountComments.
|
15
|
+
Metrics/ClassLength:
|
16
|
+
Max: 101
|
17
|
+
|
18
|
+
# Offense count: 8
|
14
19
|
# Configuration parameters: CountComments, ExcludedMethods.
|
15
20
|
Metrics/MethodLength:
|
16
21
|
Max: 15
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v1.3.1](https://github.com/iberianpig/fusuma/tree/v1.3.1) (2020-01-03)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/iberianpig/fusuma/compare/v1.3.0...v1.3.1)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Assign command with combination of key press and gesture [\#105](https://github.com/iberianpig/fusuma/issues/105)
|
10
|
+
|
11
|
+
**Closed issues:**
|
12
|
+
|
13
|
+
- Some gestures do not work anymore after resume [\#148](https://github.com/iberianpig/fusuma/issues/148)
|
14
|
+
- Quick swipes are not recognised by Fusuma [\#147](https://github.com/iberianpig/fusuma/issues/147)
|
15
|
+
- pinch out gesture laggy [\#139](https://github.com/iberianpig/fusuma/issues/139)
|
16
|
+
|
3
17
|
## [v1.3.0](https://github.com/iberianpig/fusuma/tree/v1.3.0) (2019-11-11)
|
4
18
|
|
5
19
|
[Full Changelog](https://github.com/iberianpig/fusuma/compare/v1.2.1...v1.3.0)
|
data/lib/fusuma.rb
CHANGED
@@ -127,6 +127,9 @@ module Fusuma
|
|
127
127
|
main_events, modifiers = events.partition { |event| event.record.mergable? }
|
128
128
|
return nil unless (main_event = main_events.first)
|
129
129
|
|
130
|
+
# NOTE: clear buffers after detected main_event
|
131
|
+
@buffers.each(&:clear)
|
132
|
+
|
130
133
|
main_event.record.merge(records: modifiers.map(&:record))
|
131
134
|
main_event
|
132
135
|
end
|
@@ -13,7 +13,7 @@ module Fusuma
|
|
13
13
|
|
14
14
|
def require_siblings_from_local
|
15
15
|
search_key = File.join('../../', plugin_dir_name, '*.rb')
|
16
|
-
Dir.glob(File.expand_path("#{__dir__}/#{search_key}")).each do |siblings_plugin|
|
16
|
+
Dir.glob(File.expand_path("#{__dir__}/#{search_key}")).sort.each do |siblings_plugin|
|
17
17
|
require siblings_plugin
|
18
18
|
end
|
19
19
|
end
|
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: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iberianpig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|