fusuma-plugin-keypress 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5ac6defa566a26b20d4df701ed11054d7c18f7a160cd4920ed5507b310c6eadd
4
+ data.tar.gz: 3b5f4bca453556923f27688886ecbe41b32c0b144474f7ffe4501373b3c9799e
5
+ SHA512:
6
+ metadata.gz: dd261eb913cad03aa7245b6ef21772b668818e1d654f630f5d118f43591e4edaec698d67f36b595aa0553e36b988e227cf3b97aa8b4299c72d85b0a7f17706d6
7
+ data.tar.gz: 484c87be4cf79c6af3871691c6f3286034fe8b8d41a8a868673ad2e7cd1f0922cb3f553e4263a291aea1e8672d1d69ccffa2768022e176d90bd53c89b4d33c63
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ Metrics/ModuleLength:
2
+ Exclude:
3
+ - "**/*_spec.rb"
4
+
5
+ Metrics/BlockLength:
6
+ Exclude:
7
+ - "**/*_spec.rb"
8
+ - "fusuma-plugin-*.gemspec"
9
+
10
+ Metrics/LineLength:
11
+ Max: 100
12
+ Exclude:
13
+ - "fusuma-plugin-*.gemspec"
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Change Log
2
+
3
+
4
+
5
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at yhkyky@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in fusuma-plugin-keypress.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 iberianpig
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,89 @@
1
+ # Fusuma::Plugin::Keypress [![Gem Version](https://badge.fury.io/rb/fusuma-plugin-keypress.svg)](https://badge.fury.io/rb/fusuma-plugin-keypress) [![Build Status](https://travis-ci.com/iberianpig/fusuma-plugin-keypress.svg?branch=master)](https://travis-ci.com/iberianpig/fusuma-plugin-keypress)
2
+
3
+
4
+ Keypress combination plugin for [Fusuma](https://github.com/iberianpig/fusuma)
5
+
6
+ ## Installation
7
+
8
+ Run the following code in your terminal.
9
+
10
+ ### Install libinput-tools
11
+
12
+ ```sh
13
+ $ sudo apt-get install libinput-tools
14
+ ```
15
+
16
+ ### Install fusuma-plugin-keypress
17
+
18
+ This plugin requires [Fusuma](https://github.com/iberianpig/fusuma#update) version 1.3 or later.
19
+
20
+ ```sh
21
+ $ gem install fusuma-plugin-keypress
22
+ ```
23
+
24
+ ### Add show-keycode option
25
+
26
+ Modify ~/.config/fusuma following
27
+
28
+ ```yaml
29
+ plugin:
30
+ inputs:
31
+ libinput_command_input:
32
+ show-keycode: true
33
+ ```
34
+
35
+ **NOTE: fusuma can read your keyboard inputs if show-keycode option is true**
36
+
37
+ ## Properties
38
+
39
+ Add `keypress:` property in `~/.config/fusuma/config.yml`.
40
+
41
+ Keys following are available for `keypress`.
42
+ * `CAPSLOCK`
43
+ * `LEFTALT`
44
+ * `LEFTCTRL`
45
+ * `LEFTMETA`
46
+ * `LEFTSHIFT`
47
+ * `RIGHTALT`
48
+ * `RIGHTCTRL`
49
+ * `RIGHTSHIFT`
50
+
51
+ ## Example
52
+
53
+ Set `keypress:` property and values under gesture in `~/.config/fusuma/config.yml`.
54
+
55
+ ```yaml
56
+ swipe:
57
+ 4:
58
+ up:
59
+ command: 'xdotool key super+s'
60
+ keypress:
61
+ LEFTMETA:
62
+ command: 'xdotool key --clearmodifiers XF86MonBrightnessUp'
63
+ LEFTMETA+LEFTALT:
64
+ command: 'xdotool key --clearmodifiers XF86AudioRaiseVolume'
65
+
66
+ down:
67
+ command: 'xdotool key super+a'
68
+ keypress:
69
+ LEFTMETA:
70
+ command: 'xdotool key --clearmodifiers XF86MonBrightnessDown'
71
+ LEFTMETA+LEFTALT:
72
+ command: 'xdotool key --clearmodifiers XF86AudioLowerVolume'
73
+ ```
74
+
75
+ * Swipe up/down with four fingers while keypress LEFTMETA key to change display brightnes .
76
+ * Swipe up/down with four fingers while keypress LEFTMETA and LEFTALT keys to change audio volume.
77
+ - If you want to combine a gesture with two keys, combine modifier keys with `+`
78
+
79
+ ## Contributing
80
+
81
+ Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma-plugin-keypress. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
82
+
83
+ ## License
84
+
85
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
86
+
87
+ ## Code of Conduct
88
+
89
+ Everyone interacting in the Fusuma::Plugin::Keypress project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/iberianpig/fusuma-plugin-keypress/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
9
+
10
+ require 'github_changelog_generator/task'
11
+
12
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
13
+ config.user = 'iberianpig'
14
+ config.project = 'fusuma-plugin-keypress'
15
+ end
data/bin/console ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'fusuma'
6
+ require 'fusuma/plugin/keypress'
7
+
8
+ # You can add fixtures and/or initialization code here to make experimenting
9
+ # with your gem easier. You can also use a different console, if you like.
10
+
11
+ # (If you use this, don't forget to add pry to your Gemfile!)
12
+ require 'pry'
13
+ Pry.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'fusuma/plugin/keypress/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'fusuma-plugin-keypress'
9
+ spec.version = Fusuma::Plugin::Keypress::VERSION
10
+ spec.authors = ['iberianpig']
11
+ spec.email = ['yhkyky@gmail.com']
12
+
13
+ spec.summary = 'Keypress plugin for Fusuma '
14
+ spec.description = 'fusuma-plugin-keypress is Fusuma plugin for keypress combination.'
15
+ spec.homepage = 'https://github.com/iberianpig/fusuma-plugin-keypress'
16
+ spec.license = 'MIT'
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ end
23
+ spec.bindir = 'exe'
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ['lib']
26
+
27
+ spec.required_ruby_version = '>= 2.3' # https://packages.ubuntu.com/search?keywords=ruby&searchon=names&exact=1&suite=all&section=main
28
+ spec.add_dependency 'fusuma', '~> 1.3'
29
+
30
+ spec.add_development_dependency 'bundler'
31
+ spec.add_development_dependency 'github_changelog_generator', '~> 1.14'
32
+ spec.add_development_dependency 'pry-byebug', '~> 3.4'
33
+ spec.add_development_dependency 'pry-doc'
34
+ spec.add_development_dependency 'pry-inline'
35
+ spec.add_development_dependency 'rake', '~> 13.0'
36
+ spec.add_development_dependency 'reek'
37
+ spec.add_development_dependency 'rspec', '~> 3.0'
38
+ spec.add_development_dependency 'rubocop'
39
+ spec.add_development_dependency 'yard'
40
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fusuma
4
+ module Plugin
5
+ module Buffers
6
+ # Buffer events having KeypressRecord
7
+ class KeypressBuffer < Buffer
8
+ DEFAULT_SOURCE = 'keypress_parser'
9
+
10
+ # @param event [Event]
11
+ def buffer(event)
12
+ return if event&.tag != source
13
+
14
+ @events.push(event)
15
+ @events.clear if released?
16
+ end
17
+
18
+ def empty?
19
+ @events.empty?
20
+ end
21
+
22
+ private
23
+
24
+ def released?
25
+ true if @events.last.record.status =~ /released/
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fusuma
4
+ module Plugin
5
+ module Detectors
6
+ # Detect KeypressEvent from KeypressBuffer
7
+ class KeypressDetector < Detector
8
+ BUFFER_TYPE = 'keypress'
9
+
10
+ # @param buffers [Array<Buffer>]
11
+ # @return [Event] if event is detected
12
+ # @return [NilClass] if event is NOT detected
13
+ def detect(buffers)
14
+ buffer = buffers.find { |b| b.type == BUFFER_TYPE }
15
+
16
+ return if buffer.empty?
17
+
18
+ records = buffer.events.map(&:record)
19
+
20
+ index = create_index(records: records)
21
+
22
+ index_record = Events::Records::IndexRecord.new(
23
+ index: index,
24
+ position: :surfix
25
+ )
26
+ create_event(record: index_record)
27
+ end
28
+
29
+ # @param records [Array<Events::Records::KeypressRecord>]
30
+ # @return [Config::Index]
31
+ def create_index(records:)
32
+ code = records.map(&:code).join('+')
33
+ Config::Index.new(
34
+ [
35
+ Config::Index::Key.new('keypress', skippable: true),
36
+ Config::Index::Key.new(code, skippable: true)
37
+ ]
38
+ )
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fusuma
4
+ module Plugin
5
+ module Events
6
+ module Records
7
+ # Record for Keypress event
8
+ class KeypressRecord < Record
9
+ attr_reader :status, :code
10
+
11
+ # @param status [String]
12
+ def initialize(status:, code:)
13
+ @status = status
14
+ @code = code
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fusuma
4
+ module Plugin
5
+ module Filters
6
+ # Filter keyboard events from libinput_command_input
7
+ class KeypressFilter < Filter
8
+ DEFAULT_SOURCE = 'libinput_command_input'
9
+
10
+ # @return [TrueClass] when keeping it
11
+ # @return [FalseClass] when discarding it
12
+ def keep?(record)
13
+ record.to_s =~ /\sKEYBOARD_KEY\s/
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ # fusuma will `require fusuma-plugin-xxxx/plugin/xxxx.rb`
4
+
5
+ require_relative './keypress/version'
6
+ require_relative './events/records/keypress_record.rb'
7
+ require_relative './filters/keypress_filter.rb'
8
+ require_relative './parsers/keypress_parser.rb'
9
+ require_relative './buffers/keypress_buffer.rb'
10
+ require_relative './detectors/keypress_detector.rb'
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fusuma
4
+ module Plugin
5
+ module Keypress
6
+ VERSION = '0.1.0'
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fusuma
4
+ module Plugin
5
+ module Parsers
6
+ # Generate KeypressRecord from libinput_command_input
7
+ class KeypressParser < Parser
8
+ DEFAULT_SOURCE = 'libinput_command_input'
9
+
10
+ # @param record [String]
11
+ # @return [Records::Gesture, nil]
12
+ def parse_record(record)
13
+ line = record.to_s
14
+
15
+ # NOTE: example of line
16
+ # event4 KEYBOARD_KEY +4.81s KEY_LEFTSHIFT (42) pressed
17
+ # event4 KEYBOARD_KEY +4.90s KEY_LEFTSHIFT (42) released
18
+ # event4 KEYBOARD_KEY +7.39s KEY_CAPSLOCK (58) pressed
19
+ # event4 KEYBOARD_KEY +7.52s KEY_CAPSLOCK (58) released
20
+ # event4 KEYBOARD_KEY +8.98s KEY_LEFTCTRL (29) pressed
21
+ # event4 KEYBOARD_KEY +9.14s KEY_LEFTCTRL (29) released
22
+
23
+ case line
24
+ when /KEYBOARD_KEY.+(\d+\.\d+)s.*KEY_([A-Z]+).*(pressed|released)/
25
+ matched = Regexp.last_match
26
+ # time = matched[1] # 4.81
27
+ code = matched[2] # LEFTSHIFT
28
+ status = matched[3] # pressed
29
+
30
+ Events::Records::KeypressRecord.new(status: status, code: code)
31
+ end
32
+ end
33
+
34
+ def tag
35
+ 'keypress_parser'
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
metadata ADDED
@@ -0,0 +1,215 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fusuma-plugin-keypress
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - iberianpig
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-11-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: fusuma
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: github_changelog_generator
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.14'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.14'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.4'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-doc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-inline
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '13.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '13.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: reek
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: yard
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: fusuma-plugin-keypress is Fusuma plugin for keypress combination.
168
+ email:
169
+ - yhkyky@gmail.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - ".rubocop.yml"
176
+ - CHANGELOG.md
177
+ - CODE_OF_CONDUCT.md
178
+ - Gemfile
179
+ - LICENSE.txt
180
+ - README.md
181
+ - Rakefile
182
+ - bin/console
183
+ - bin/setup
184
+ - fusuma-plugin-keypress.gemspec
185
+ - lib/fusuma/plugin/buffers/keypress_buffer.rb
186
+ - lib/fusuma/plugin/detectors/keypress_detector.rb
187
+ - lib/fusuma/plugin/events/records/keypress_record.rb
188
+ - lib/fusuma/plugin/filters/keypress_filter.rb
189
+ - lib/fusuma/plugin/keypress.rb
190
+ - lib/fusuma/plugin/keypress/version.rb
191
+ - lib/fusuma/plugin/parsers/keypress_parser.rb
192
+ homepage: https://github.com/iberianpig/fusuma-plugin-keypress
193
+ licenses:
194
+ - MIT
195
+ metadata: {}
196
+ post_install_message:
197
+ rdoc_options: []
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: '2.3'
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ requirements: []
211
+ rubygems_version: 3.0.3
212
+ signing_key:
213
+ specification_version: 4
214
+ summary: Keypress plugin for Fusuma
215
+ test_files: []