fusuma 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/fusuma/device.rb +6 -6
- 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: 1b012552c1ff9c6bedfd50b1e7bb69c86c5c7707c7fb33a18c01680d20ebd727
|
4
|
+
data.tar.gz: 9e67721caad84d06736b68e7c1eedf43dc71d1ad72be48675b6508effc5b0e40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2adcbd119334a2050cfd01e9b75ee74e7ba5061f8ca5bb96c9c3472096c43d431a151851129db0099ac24b39bb8c04db8811ccc740034d409fb9d814fa218c06
|
7
|
+
data.tar.gz: 691e7617d19b4670a8e4e3b1c3ed01fd4a01745632d9be6b6a6e33a45834ba046baa6ae5f19bac0d7c1721e7dc981bbeeb9c2b189499e17bd26240f368df9619
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v1.3.2](https://github.com/iberianpig/fusuma/tree/v1.3.2) (2020-01-07)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/iberianpig/fusuma/compare/v1.3.1...v1.3.2)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- Two-finger zoom direction not reversing [\#143](https://github.com/iberianpig/fusuma/issues/143)
|
10
|
+
|
11
|
+
**Merged pull requests:**
|
12
|
+
|
13
|
+
- Feature/143/gesture direction not reversing [\#150](https://github.com/iberianpig/fusuma/pull/150) ([iberianpig](https://github.com/iberianpig))
|
14
|
+
|
3
15
|
## [v1.3.1](https://github.com/iberianpig/fusuma/tree/v1.3.1) (2020-01-03)
|
4
16
|
|
5
17
|
[Full Changelog](https://github.com/iberianpig/fusuma/compare/v1.3.0...v1.3.1)
|
@@ -95,6 +107,7 @@
|
|
95
107
|
|
96
108
|
- Interval and threshold specific for a trigger [\#92](https://github.com/iberianpig/fusuma/pull/92) ([irq](https://github.com/irq))
|
97
109
|
- Fix spelling: Elementary to elementary [\#90](https://github.com/iberianpig/fusuma/pull/90) ([ryonakano](https://github.com/ryonakano))
|
110
|
+
- Update rake requirement to ~\> 12.3 [\#72](https://github.com/iberianpig/fusuma/pull/72) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
98
111
|
|
99
112
|
## [v0.9.2](https://github.com/iberianpig/fusuma/tree/v0.9.2) (2018-07-19)
|
100
113
|
|
@@ -184,7 +197,6 @@
|
|
184
197
|
**Merged pull requests:**
|
185
198
|
|
186
199
|
- Assigning commands [\#73](https://github.com/iberianpig/fusuma/pull/73) ([iberianpig](https://github.com/iberianpig))
|
187
|
-
- Update rake requirement to ~\> 12.3 [\#72](https://github.com/iberianpig/fusuma/pull/72) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
|
188
200
|
|
189
201
|
## [v0.3.5](https://github.com/iberianpig/fusuma/tree/v0.3.5) (2018-01-01)
|
190
202
|
|
data/lib/fusuma/device.rb
CHANGED
@@ -77,17 +77,17 @@ module Fusuma
|
|
77
77
|
|
78
78
|
# @return [Array]
|
79
79
|
def generate_devices
|
80
|
-
device = Device.new
|
81
80
|
lines.each_with_object([]) do |line, devices|
|
82
81
|
attributes = extract_attribute(line: line)
|
83
82
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
83
|
+
next if attributes == {}
|
84
|
+
|
85
|
+
if attributes[:name]
|
86
|
+
# when detected new line including device name
|
87
|
+
devices << Device.new # next device
|
88
88
|
end
|
89
89
|
|
90
|
-
devices.last.assign_attributes(attributes)
|
90
|
+
devices.last.assign_attributes(attributes) unless devices.empty?
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iberianpig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|