fusuma 1.3.1 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd48295945e87c817d2150b46c0f4da2a5618c8a34fc97ddb4bdecbc1bf936ce
4
- data.tar.gz: 8b2ae1602ee585828a6023ddcfa8d9d7b6ab0d48787bb18dfb2c13d85a807aca
3
+ metadata.gz: ea41f9f3d3fc1b1993aec6edff83e148a25b104f38195fd7a70699fcc986a0ed
4
+ data.tar.gz: 6ea7aa37474ff0e3e69d3706f367a5f825d1426fbfa57bcf9741aec7776985d4
5
5
  SHA512:
6
- metadata.gz: cc0db0e63a40e1258b0ef925cae96238f90f2b46673075eab59d39c90c2112a943922dc3c5187a438b221ca3666898022f510a7b70a17746ef13a7ec8ea8dae2
7
- data.tar.gz: 3a72d2b8d6f2a2e0ef906d4f3dd633b08fe1ab3f229b2f057ed2d39b5d27b99cf7c66e2e7d16a8ea9862553588c2ccdec33dedce434238501a902d3d66de9350
6
+ metadata.gz: d6736d979e4baa1318f52ab817a47c09f6d43085b69366da2e8aec874db3b9cba7a24721fa0bc47837f3edcfbde7b4aaf92fc44630b4f94a58d0863aa1c566ce
7
+ data.tar.gz: fda49834ba4df35312b9171406d63997693b0c0dab4acafa93e7ba53bce3215b13c953052d932f3d8b68cddd40912ffc4a2223dbcfa9acab9beef6834ddb50c2
@@ -1,16 +1,21 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-08-12 15:52:49 +0900 using RuboCop version 0.74.0.
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: 3
9
+ # Offense count: 5
10
10
  Metrics/AbcSize:
11
11
  Max: 25
12
12
 
13
- # Offense count: 6
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
@@ -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)
@@ -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
@@ -61,8 +61,6 @@ module Fusuma
61
61
  end
62
62
 
63
63
  def enough_diameter?(index:, quantity:)
64
- MultiLogger.info(type: type, quantity: quantity,
65
- quantity_threshold: threshold(index: index))
66
64
  quantity >= threshold(index: index)
67
65
  end
68
66
 
@@ -58,9 +58,6 @@ module Fusuma
58
58
  end
59
59
 
60
60
  def enough_angle?(index:, quantity:)
61
- MultiLogger.info(type: type, quantity: quantity,
62
- quantity_threshold: threshold(index: index))
63
-
64
61
  quantity > threshold(index: index)
65
62
  end
66
63
 
@@ -59,8 +59,6 @@ module Fusuma
59
59
  end
60
60
 
61
61
  def enough_distance?(index:, quantity:)
62
- MultiLogger.info(type: type, quantity: quantity,
63
- quantity_threshold: threshold(index: index))
64
62
  quantity > threshold(index: index)
65
63
  end
66
64
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fusuma
4
- VERSION = '1.3.1'
4
+ VERSION = '1.3.2'
5
5
  end
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.1
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-03 00:00:00.000000000 Z
11
+ date: 2020-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler