fusuma 2.0.0.pre → 2.0.3
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 +50 -11
- data/fusuma.gemspec +5 -6
- data/lib/fusuma.rb +87 -33
- data/lib/fusuma/config.rb +33 -40
- data/lib/fusuma/config/index.rb +34 -8
- data/lib/fusuma/config/searcher.rb +80 -4
- data/lib/fusuma/custom_process.rb +13 -0
- data/lib/fusuma/device.rb +19 -6
- data/lib/fusuma/environment.rb +4 -3
- data/lib/fusuma/hash_support.rb +40 -0
- data/lib/fusuma/libinput_command.rb +10 -15
- data/lib/fusuma/multi_logger.rb +2 -6
- data/lib/fusuma/plugin/base.rb +18 -15
- data/lib/fusuma/plugin/buffers/buffer.rb +3 -2
- data/lib/fusuma/plugin/buffers/gesture_buffer.rb +34 -25
- data/lib/fusuma/plugin/buffers/timer_buffer.rb +3 -3
- data/lib/fusuma/plugin/detectors/detector.rb +26 -5
- data/lib/fusuma/plugin/detectors/pinch_detector.rb +109 -58
- data/lib/fusuma/plugin/detectors/rotate_detector.rb +91 -50
- data/lib/fusuma/plugin/detectors/swipe_detector.rb +93 -56
- data/lib/fusuma/plugin/events/event.rb +5 -4
- data/lib/fusuma/plugin/events/records/context_record.rb +27 -0
- data/lib/fusuma/plugin/events/records/gesture_record.rb +9 -6
- data/lib/fusuma/plugin/events/records/index_record.rb +46 -14
- data/lib/fusuma/plugin/events/records/record.rb +1 -1
- data/lib/fusuma/plugin/events/records/text_record.rb +2 -1
- data/lib/fusuma/plugin/executors/command_executor.rb +21 -4
- data/lib/fusuma/plugin/executors/executor.rb +45 -3
- data/lib/fusuma/plugin/filters/filter.rb +1 -1
- data/lib/fusuma/plugin/filters/libinput_device_filter.rb +6 -7
- data/lib/fusuma/plugin/filters/libinput_timeout_filter.rb +2 -2
- data/lib/fusuma/plugin/inputs/input.rb +20 -7
- data/lib/fusuma/plugin/inputs/libinput_command_input.rb +17 -5
- data/lib/fusuma/plugin/inputs/timer_input.rb +7 -7
- data/lib/fusuma/plugin/manager.rb +22 -29
- data/lib/fusuma/plugin/parsers/libinput_gesture_parser.rb +10 -8
- data/lib/fusuma/plugin/parsers/parser.rb +8 -9
- data/lib/fusuma/string_support.rb +16 -0
- data/lib/fusuma/version.rb +1 -1
- data/spec/helpers/config_helper.rb +20 -0
- data/spec/lib/config/searcher_spec.rb +97 -0
- data/spec/lib/config_spec.rb +112 -0
- data/spec/lib/custom_process_spec.rb +28 -0
- data/spec/lib/device_spec.rb +96 -0
- data/spec/lib/dummy_config.yml +31 -0
- data/spec/lib/fusuma_spec.rb +103 -0
- data/spec/lib/libinput-list-devices_iberianpig-XPS-9360.txt +181 -0
- data/spec/lib/libinput-list-devices_magic_trackpad.txt +51 -0
- data/spec/lib/libinput-list-devices_razer_razer_blade.txt +252 -0
- data/spec/lib/libinput-list-devices_thejinx0r.txt +361 -0
- data/spec/lib/libinput-list-devices_unavailable.txt +36 -0
- data/spec/lib/libinput_command_spec.rb +160 -0
- data/spec/lib/plugin/base_spec.rb +74 -0
- data/spec/lib/plugin/buffers/buffer_spec.rb +80 -0
- data/spec/lib/plugin/buffers/dummy_buffer.rb +20 -0
- data/spec/lib/plugin/buffers/gesture_buffer_spec.rb +172 -0
- data/spec/lib/plugin/detectors/detector_spec.rb +43 -0
- data/spec/lib/plugin/detectors/dummy_detector.rb +24 -0
- data/spec/lib/plugin/detectors/pinch_detector_spec.rb +119 -0
- data/spec/lib/plugin/detectors/rotate_detector_spec.rb +125 -0
- data/spec/lib/plugin/detectors/swipe_detector_spec.rb +118 -0
- data/spec/lib/plugin/events/event_spec.rb +30 -0
- data/spec/lib/plugin/events/records/gesture_record_spec.rb +22 -0
- data/spec/lib/plugin/events/records/record_spec.rb +31 -0
- data/spec/lib/plugin/events/records/text_record_spec.rb +26 -0
- data/spec/lib/plugin/executors/command_executor_spec.rb +57 -0
- data/spec/lib/plugin/executors/executor_spec.rb +160 -0
- data/spec/lib/plugin/filters/filter_spec.rb +92 -0
- data/spec/lib/plugin/filters/libinput_filter_spec.rb +120 -0
- data/spec/lib/plugin/inputs/input_spec.rb +70 -0
- data/spec/lib/plugin/inputs/libinput_command_input_spec.rb +121 -0
- data/spec/lib/plugin/inputs/timer_input_spec.rb +40 -0
- data/spec/lib/plugin/manager_spec.rb +27 -0
- data/spec/lib/plugin/parsers/parser_spec.rb +45 -0
- data/spec/spec_helper.rb +20 -0
- metadata +84 -38
- data/.github/FUNDING.yml +0 -8
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
- data/.github/pull_request_template.md +0 -9
- data/.github/stale.yml +0 -18
- data/.gitignore +0 -17
- data/.reek.yml +0 -96
- data/.rspec +0 -2
- data/.rubocop.yml +0 -40
- data/.rubocop_todo.yml +0 -40
- data/.travis.yml +0 -11
- data/CHANGELOG.md +0 -456
- data/CODE_OF_CONDUCT.md +0 -74
- data/CONTRIBUTING.md +0 -72
- data/Gemfile +0 -18
- data/Rakefile +0 -15
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require './lib/fusuma/plugin/base'
|
5
|
+
require './lib/fusuma/plugin/manager'
|
6
|
+
|
7
|
+
module Fusuma
|
8
|
+
module Plugin
|
9
|
+
RSpec.describe Manager do
|
10
|
+
describe '#require_siblings_from_plugin_dir' do
|
11
|
+
Manager.new(Base).require_siblings_from_plugin_dir
|
12
|
+
subject { Manager.new(Base).require_siblings_from_plugin_dir }
|
13
|
+
it { expect { subject }.not_to raise_error(LoadError) }
|
14
|
+
end
|
15
|
+
|
16
|
+
describe '#require_siblings_from_gem' do
|
17
|
+
subject { Manager.new(Inputs::Input).require_siblings_from_gem }
|
18
|
+
it { expect { subject }.not_to raise_error(LoadError) }
|
19
|
+
end
|
20
|
+
|
21
|
+
describe '.plugins' do
|
22
|
+
subject { Manger.plugins }
|
23
|
+
pending
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require './lib/fusuma/plugin/parsers/parser'
|
5
|
+
require './lib/fusuma/plugin/events/event'
|
6
|
+
|
7
|
+
module Fusuma
|
8
|
+
module Plugin
|
9
|
+
module Parsers
|
10
|
+
class DummyParser < Parser
|
11
|
+
DEFAULT_SOURCE = 'dummy_input'
|
12
|
+
end
|
13
|
+
|
14
|
+
RSpec.describe Parser do
|
15
|
+
let(:parser) { DummyParser.new }
|
16
|
+
|
17
|
+
around do |example|
|
18
|
+
ConfigHelper.load_config_yml = <<~CONFIG
|
19
|
+
plugin:
|
20
|
+
parsers:
|
21
|
+
dummy_parser:
|
22
|
+
dummy: dummy
|
23
|
+
CONFIG
|
24
|
+
|
25
|
+
example.run
|
26
|
+
|
27
|
+
Config.custom_path = nil
|
28
|
+
end
|
29
|
+
|
30
|
+
describe '#source' do
|
31
|
+
subject { parser.source }
|
32
|
+
|
33
|
+
it { is_expected.to be DummyParser::DEFAULT_SOURCE }
|
34
|
+
end
|
35
|
+
|
36
|
+
describe '#parse' do
|
37
|
+
subject { parser.parse(event) }
|
38
|
+
let(:event) { Events::Event.new(tag: 'dummy_input', record: 'dummy') }
|
39
|
+
|
40
|
+
it { is_expected.to be event }
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'helpers/config_helper'
|
5
|
+
require 'coveralls'
|
6
|
+
Coveralls.wear!
|
7
|
+
|
8
|
+
RSpec.configure do |config|
|
9
|
+
# Enable flags like --only-failures and --next-failure
|
10
|
+
config.example_status_persistence_file_path = '.rspec_status'
|
11
|
+
|
12
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
13
|
+
config.disable_monkey_patching!
|
14
|
+
|
15
|
+
config.expect_with :rspec do |c|
|
16
|
+
c.syntax = :expect
|
17
|
+
end
|
18
|
+
|
19
|
+
config.include(Fusuma::ConfigHelper)
|
20
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fusuma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iberianpig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: posix-spawn
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
11
|
+
date: 2021-04-20 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
27
13
|
description: Fusuma is multitouch gesture recognizer. This gem makes your touchpad
|
28
14
|
on Linux able to recognize swipes or pinchs and assign command to them. Read installation
|
29
15
|
on Github(https://github.com/iberianpig/fusuma#installation).
|
@@ -34,24 +20,8 @@ executables:
|
|
34
20
|
extensions: []
|
35
21
|
extra_rdoc_files: []
|
36
22
|
files:
|
37
|
-
- ".github/FUNDING.yml"
|
38
|
-
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
39
|
-
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
40
|
-
- ".github/pull_request_template.md"
|
41
|
-
- ".github/stale.yml"
|
42
|
-
- ".gitignore"
|
43
|
-
- ".reek.yml"
|
44
|
-
- ".rspec"
|
45
|
-
- ".rubocop.yml"
|
46
|
-
- ".rubocop_todo.yml"
|
47
|
-
- ".travis.yml"
|
48
|
-
- CHANGELOG.md
|
49
|
-
- CODE_OF_CONDUCT.md
|
50
|
-
- CONTRIBUTING.md
|
51
|
-
- Gemfile
|
52
23
|
- LICENSE
|
53
24
|
- README.md
|
54
|
-
- Rakefile
|
55
25
|
- bin/console
|
56
26
|
- bin/setup
|
57
27
|
- exe/fusuma
|
@@ -62,8 +32,10 @@ files:
|
|
62
32
|
- lib/fusuma/config/index.rb
|
63
33
|
- lib/fusuma/config/searcher.rb
|
64
34
|
- lib/fusuma/config/yaml_duplication_checker.rb
|
35
|
+
- lib/fusuma/custom_process.rb
|
65
36
|
- lib/fusuma/device.rb
|
66
37
|
- lib/fusuma/environment.rb
|
38
|
+
- lib/fusuma/hash_support.rb
|
67
39
|
- lib/fusuma/libinput_command.rb
|
68
40
|
- lib/fusuma/multi_logger.rb
|
69
41
|
- lib/fusuma/plugin/base.rb
|
@@ -75,6 +47,7 @@ files:
|
|
75
47
|
- lib/fusuma/plugin/detectors/rotate_detector.rb
|
76
48
|
- lib/fusuma/plugin/detectors/swipe_detector.rb
|
77
49
|
- lib/fusuma/plugin/events/event.rb
|
50
|
+
- lib/fusuma/plugin/events/records/context_record.rb
|
78
51
|
- lib/fusuma/plugin/events/records/gesture_record.rb
|
79
52
|
- lib/fusuma/plugin/events/records/index_record.rb
|
80
53
|
- lib/fusuma/plugin/events/records/record.rb
|
@@ -90,7 +63,44 @@ files:
|
|
90
63
|
- lib/fusuma/plugin/manager.rb
|
91
64
|
- lib/fusuma/plugin/parsers/libinput_gesture_parser.rb
|
92
65
|
- lib/fusuma/plugin/parsers/parser.rb
|
66
|
+
- lib/fusuma/string_support.rb
|
93
67
|
- lib/fusuma/version.rb
|
68
|
+
- spec/helpers/config_helper.rb
|
69
|
+
- spec/lib/config/searcher_spec.rb
|
70
|
+
- spec/lib/config_spec.rb
|
71
|
+
- spec/lib/custom_process_spec.rb
|
72
|
+
- spec/lib/device_spec.rb
|
73
|
+
- spec/lib/dummy_config.yml
|
74
|
+
- spec/lib/fusuma_spec.rb
|
75
|
+
- spec/lib/libinput-list-devices_iberianpig-XPS-9360.txt
|
76
|
+
- spec/lib/libinput-list-devices_magic_trackpad.txt
|
77
|
+
- spec/lib/libinput-list-devices_razer_razer_blade.txt
|
78
|
+
- spec/lib/libinput-list-devices_thejinx0r.txt
|
79
|
+
- spec/lib/libinput-list-devices_unavailable.txt
|
80
|
+
- spec/lib/libinput_command_spec.rb
|
81
|
+
- spec/lib/plugin/base_spec.rb
|
82
|
+
- spec/lib/plugin/buffers/buffer_spec.rb
|
83
|
+
- spec/lib/plugin/buffers/dummy_buffer.rb
|
84
|
+
- spec/lib/plugin/buffers/gesture_buffer_spec.rb
|
85
|
+
- spec/lib/plugin/detectors/detector_spec.rb
|
86
|
+
- spec/lib/plugin/detectors/dummy_detector.rb
|
87
|
+
- spec/lib/plugin/detectors/pinch_detector_spec.rb
|
88
|
+
- spec/lib/plugin/detectors/rotate_detector_spec.rb
|
89
|
+
- spec/lib/plugin/detectors/swipe_detector_spec.rb
|
90
|
+
- spec/lib/plugin/events/event_spec.rb
|
91
|
+
- spec/lib/plugin/events/records/gesture_record_spec.rb
|
92
|
+
- spec/lib/plugin/events/records/record_spec.rb
|
93
|
+
- spec/lib/plugin/events/records/text_record_spec.rb
|
94
|
+
- spec/lib/plugin/executors/command_executor_spec.rb
|
95
|
+
- spec/lib/plugin/executors/executor_spec.rb
|
96
|
+
- spec/lib/plugin/filters/filter_spec.rb
|
97
|
+
- spec/lib/plugin/filters/libinput_filter_spec.rb
|
98
|
+
- spec/lib/plugin/inputs/input_spec.rb
|
99
|
+
- spec/lib/plugin/inputs/libinput_command_input_spec.rb
|
100
|
+
- spec/lib/plugin/inputs/timer_input_spec.rb
|
101
|
+
- spec/lib/plugin/manager_spec.rb
|
102
|
+
- spec/lib/plugin/parsers/parser_spec.rb
|
103
|
+
- spec/spec_helper.rb
|
94
104
|
homepage: https://github.com/iberianpig/fusuma
|
95
105
|
licenses:
|
96
106
|
- MIT
|
@@ -104,15 +114,51 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
114
|
requirements:
|
105
115
|
- - ">="
|
106
116
|
- !ruby/object:Gem::Version
|
107
|
-
version:
|
117
|
+
version: 2.5.1
|
108
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
119
|
requirements:
|
110
|
-
- - "
|
120
|
+
- - ">="
|
111
121
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
122
|
+
version: '0'
|
113
123
|
requirements: []
|
114
124
|
rubygems_version: 3.1.4
|
115
125
|
signing_key:
|
116
126
|
specification_version: 4
|
117
|
-
summary: Multitouch gestures with libinput
|
118
|
-
test_files:
|
127
|
+
summary: Multitouch gestures with libinput driver, Linux
|
128
|
+
test_files:
|
129
|
+
- spec/lib/device_spec.rb
|
130
|
+
- spec/lib/config/searcher_spec.rb
|
131
|
+
- spec/lib/libinput-list-devices_iberianpig-XPS-9360.txt
|
132
|
+
- spec/lib/dummy_config.yml
|
133
|
+
- spec/lib/libinput-list-devices_magic_trackpad.txt
|
134
|
+
- spec/lib/custom_process_spec.rb
|
135
|
+
- spec/lib/plugin/base_spec.rb
|
136
|
+
- spec/lib/plugin/inputs/libinput_command_input_spec.rb
|
137
|
+
- spec/lib/plugin/inputs/input_spec.rb
|
138
|
+
- spec/lib/plugin/inputs/timer_input_spec.rb
|
139
|
+
- spec/lib/plugin/events/records/record_spec.rb
|
140
|
+
- spec/lib/plugin/events/records/gesture_record_spec.rb
|
141
|
+
- spec/lib/plugin/events/records/text_record_spec.rb
|
142
|
+
- spec/lib/plugin/events/event_spec.rb
|
143
|
+
- spec/lib/plugin/filters/libinput_filter_spec.rb
|
144
|
+
- spec/lib/plugin/filters/filter_spec.rb
|
145
|
+
- spec/lib/plugin/detectors/detector_spec.rb
|
146
|
+
- spec/lib/plugin/detectors/swipe_detector_spec.rb
|
147
|
+
- spec/lib/plugin/detectors/rotate_detector_spec.rb
|
148
|
+
- spec/lib/plugin/detectors/pinch_detector_spec.rb
|
149
|
+
- spec/lib/plugin/detectors/dummy_detector.rb
|
150
|
+
- spec/lib/plugin/manager_spec.rb
|
151
|
+
- spec/lib/plugin/buffers/dummy_buffer.rb
|
152
|
+
- spec/lib/plugin/buffers/buffer_spec.rb
|
153
|
+
- spec/lib/plugin/buffers/gesture_buffer_spec.rb
|
154
|
+
- spec/lib/plugin/parsers/parser_spec.rb
|
155
|
+
- spec/lib/plugin/executors/executor_spec.rb
|
156
|
+
- spec/lib/plugin/executors/command_executor_spec.rb
|
157
|
+
- spec/lib/libinput-list-devices_unavailable.txt
|
158
|
+
- spec/lib/libinput_command_spec.rb
|
159
|
+
- spec/lib/fusuma_spec.rb
|
160
|
+
- spec/lib/libinput-list-devices_razer_razer_blade.txt
|
161
|
+
- spec/lib/libinput-list-devices_thejinx0r.txt
|
162
|
+
- spec/lib/config_spec.rb
|
163
|
+
- spec/helpers/config_helper.rb
|
164
|
+
- spec/spec_helper.rb
|
data/.github/FUNDING.yml
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
# These are supported funding model platforms
|
2
|
-
|
3
|
-
github: [iberianpig] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
4
|
-
patreon: iberianpig # Replace with a single Patreon username
|
5
|
-
open_collective: # Replace with a single Open Collective username
|
6
|
-
ko_fi: # Replace with a single Ko-fi username
|
7
|
-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
8
|
-
custom: # Replace with a single custom sponsorship URL
|
@@ -1,32 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Bug report
|
3
|
-
about: Create a report to help us improve
|
4
|
-
|
5
|
-
---
|
6
|
-
|
7
|
-
<!--
|
8
|
-
Before create a report, please check below,
|
9
|
-
* Read Documents. https://github.com/iberianpig/fusuma#installation
|
10
|
-
* Checked that `libinput-debug-events` or `libinput debug-events` worked correctly.
|
11
|
-
* Reproduced the problem in latest version. Update fusuma with `gem update fusuma`
|
12
|
-
* Checked that your issue isn't already filed: https://github.com/iberianpig/fusuma/issues
|
13
|
-
-->
|
14
|
-
|
15
|
-
**Describe the bug**
|
16
|
-
A clear and concise description of what the bug is.
|
17
|
-
|
18
|
-
**To Reproduce**
|
19
|
-
Steps to reproduce the behavior:
|
20
|
-
1. [First Step]
|
21
|
-
2. [Second Step]
|
22
|
-
3. [and so on...]
|
23
|
-
|
24
|
-
**Expected behavior**
|
25
|
-
A clear and concise description of what you expected to happen.
|
26
|
-
|
27
|
-
**Versions**
|
28
|
-
You can get this information from copy and paste the output of `fusuma --version` from the command line. Also, please include the OS and what version of the OS you're running.
|
29
|
-
|
30
|
-
|
31
|
-
**Additional context**
|
32
|
-
Any additional context, your `~/.config/fusuma/config.yml` or data that might be necessary to reproduce the issue.
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Feature request
|
3
|
-
about: Suggest an idea for this project
|
4
|
-
|
5
|
-
---
|
6
|
-
|
7
|
-
**Is your feature request related to a problem? Please describe.**
|
8
|
-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
9
|
-
|
10
|
-
**Describe the solution you'd like**
|
11
|
-
A clear and concise description of what you want to happen.
|
12
|
-
|
13
|
-
**Describe alternatives you've considered**
|
14
|
-
A clear and concise description of any alternative solutions or features you've considered.
|
15
|
-
|
16
|
-
**Additional context**
|
17
|
-
Add any other context about the feature request here.
|
@@ -1,9 +0,0 @@
|
|
1
|
-
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
|
2
|
-
|
3
|
-
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/iberianpig/fusuma/issues) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea.
|
4
|
-
|
5
|
-
- [ ] Follow the instructions in [CONTRIBUTING](https://github.com/iberianpig/fusuma/blob/master/CONTRIBUTING.md). Most importantly, ensure the tests and linter pass by running `bundle exec rspec` and `bundle exec rubocop`.
|
6
|
-
|
7
|
-
- [ ] Update code documentation if necessary.
|
8
|
-
|
9
|
-
closes: #<issue_number_goes_here>
|
data/.github/stale.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# Number of days of inactivity before an issue becomes stale
|
2
|
-
daysUntilStale: 60
|
3
|
-
# Number of days of inactivity before a stale issue is closed
|
4
|
-
daysUntilClose: 7
|
5
|
-
# Issues with these labels will never be considered stale
|
6
|
-
exemptLabels:
|
7
|
-
- pinned
|
8
|
-
- security
|
9
|
-
# Label to use when marking an issue as stale
|
10
|
-
staleLabel: wontfix
|
11
|
-
# Comment to post when marking an issue as stale. Set to `false` to disable
|
12
|
-
markComment: >
|
13
|
-
This issue has been automatically marked as stale because it has not had
|
14
|
-
recent activity. It will be closed if no further activity occurs. Thank you
|
15
|
-
for your contributions.
|
16
|
-
# Comment to post when closing a stale issue. Set to `false` to disable
|
17
|
-
closeComment: false
|
18
|
-
|
data/.gitignore
DELETED
data/.reek.yml
DELETED
@@ -1,96 +0,0 @@
|
|
1
|
-
|
2
|
-
---
|
3
|
-
### enabled rules
|
4
|
-
detectors:
|
5
|
-
TooManyInstanceVariables:
|
6
|
-
enabled: true
|
7
|
-
exclude: []
|
8
|
-
max_instance_variables: 50
|
9
|
-
TooManyMethods:
|
10
|
-
enabled: true
|
11
|
-
exclude: []
|
12
|
-
max_methods: 30
|
13
|
-
TooManyStatements:
|
14
|
-
enabled: true
|
15
|
-
exclude: []
|
16
|
-
max_statements: 80
|
17
|
-
TooManyConstants:
|
18
|
-
enabled: true
|
19
|
-
exclude: []
|
20
|
-
max_constants: 50
|
21
|
-
LongParameterList:
|
22
|
-
enabled: true
|
23
|
-
exclude: []
|
24
|
-
max_params: 8
|
25
|
-
LongYieldList:
|
26
|
-
enabled: true
|
27
|
-
exclude: []
|
28
|
-
max_params: 8
|
29
|
-
NestedIterators:
|
30
|
-
enabled: true
|
31
|
-
exclude: []
|
32
|
-
max_allowed_nesting: 5
|
33
|
-
ignore_iterators:
|
34
|
-
- tap
|
35
|
-
ModuleInitialize:
|
36
|
-
enabled: true
|
37
|
-
exclude: []
|
38
|
-
SubclassedFromCoreClass:
|
39
|
-
enabled: true
|
40
|
-
exclude: []
|
41
|
-
|
42
|
-
### unanabled rules
|
43
|
-
Attribute:
|
44
|
-
enabled: false
|
45
|
-
exclude: []
|
46
|
-
BooleanParameter:
|
47
|
-
enabled: false
|
48
|
-
exclude: []
|
49
|
-
ClassVariable:
|
50
|
-
enabled: false
|
51
|
-
exclude: []
|
52
|
-
ControlParameter:
|
53
|
-
enabled: false
|
54
|
-
exclude: []
|
55
|
-
DataClump:
|
56
|
-
enabled: false
|
57
|
-
exclude: []
|
58
|
-
DuplicateMethodCall:
|
59
|
-
enabled: false
|
60
|
-
exclude: []
|
61
|
-
FeatureEnvy:
|
62
|
-
enabled: false
|
63
|
-
exclude: []
|
64
|
-
InstanceVariableAssumption:
|
65
|
-
enabled: false
|
66
|
-
exclude: []
|
67
|
-
IrresponsibleModule:
|
68
|
-
enabled: false
|
69
|
-
exclude: []
|
70
|
-
ManualDispatch:
|
71
|
-
enabled: false
|
72
|
-
exclude: []
|
73
|
-
NilCheck:
|
74
|
-
enabled: false
|
75
|
-
exclude: []
|
76
|
-
RepeatedConditional:
|
77
|
-
enabled: false
|
78
|
-
exclude: []
|
79
|
-
UncommunicativeMethodName:
|
80
|
-
enabled: false
|
81
|
-
exclude: []
|
82
|
-
UncommunicativeModuleName:
|
83
|
-
enabled: false
|
84
|
-
exclude: []
|
85
|
-
UncommunicativeParameterName:
|
86
|
-
enabled: false
|
87
|
-
exclude: []
|
88
|
-
UncommunicativeVariableName:
|
89
|
-
enabled: false
|
90
|
-
exclude: []
|
91
|
-
UnusedParameters:
|
92
|
-
enabled: false
|
93
|
-
exclude: []
|
94
|
-
UtilityFunction:
|
95
|
-
enabled: false
|
96
|
-
exclude: []
|