fusuma-plugin-sendkey 0.6.0.pre → 0.6.0.pre2

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: 5f604b8593c06c599afd8bd3c14344fcb503e2ffacc48025550c78daa8b970ae
4
- data.tar.gz: 80f5ed997dac202b7f86f2f518538cf6181e54ec84bb52d47e92412b77c1645f
3
+ metadata.gz: ee1499d1a51df5555b66046538d17cc2090b9201c94cac61a135a5141a836dc7
4
+ data.tar.gz: 768931781108c14aff7c2824dcd54ef2df7b96766ee09ce1dbef19a8518a01d0
5
5
  SHA512:
6
- metadata.gz: ff64de3322846b3df4e476767a6ea78d406a773295d3c3c3b2997a13797468c3fc2cef4d46c82c6db325ba7513710bf797088c7199fcd4e26479cc35714071d7
7
- data.tar.gz: 11cbe3e6612ae1e4f2d9f466c0a26283d2a144a1f369c19d9eb0414095e9508ad329278788ef6f58efeba8f8d47ad106ce113d1d2feba68edee49ef032d36287
6
+ metadata.gz: 82d5f225f2c7e4da87f6f77ed7aa8e80d8efc4d5761ee8413b2a9f1ed8d2fcee246623e53d28add1de8e1ef2b4c526c2c3f6c96d387d5def4125c21786b9f43a
7
+ data.tar.gz: e702113d297c2969ac28063afa460efb3d6ea9b2b4407ad5a093cefa674d14a5c60ca235b38791141d8f65d7ecdb1b361b48da70f0a5a614e8a37046f51fe0c8
data/.rubocop.yml CHANGED
@@ -1,10 +1,6 @@
1
1
  AllCops:
2
2
  TargetRubyVersion: 2.4
3
3
  NewCops: enable
4
- Layout/BeginEndAlignment:
5
- Enabled: true
6
- Layout/EmptyLinesAroundAttributeAccessor:
7
- Enabled: true
8
4
 
9
5
  Metrics/ModuleLength:
10
6
  Exclude:
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/iberianpig/fusuma-plugin-keypress/tree/HEAD)
3
+ ## [v0.2.1](https://github.com/iberianpig/fusuma-plugin-keypress/tree/v0.2.1) (2020-04-15)
4
4
 
5
- [Full Changelog](https://github.com/iberianpig/fusuma-plugin-keypress/compare/v0.1.1...HEAD)
5
+ [Full Changelog](https://github.com/iberianpig/fusuma-plugin-keypress/compare/v0.2.0...v0.2.1)
6
+
7
+ **Closed issues:**
8
+
9
+ - Only 'LEFTMETA' keycode works on KDE Plasma [\#2](https://github.com/iberianpig/fusuma-plugin-keypress/issues/2)
10
+
11
+ ## [v0.2.0](https://github.com/iberianpig/fusuma-plugin-keypress/tree/v0.2.0) (2020-03-18)
12
+
13
+ [Full Changelog](https://github.com/iberianpig/fusuma-plugin-keypress/compare/v0.1.1...v0.2.0)
6
14
 
7
15
  **Closed issues:**
8
16
 
data/Gemfile CHANGED
@@ -5,6 +5,7 @@ gemspec
5
5
 
6
6
  gem 'bundler'
7
7
  gem 'github_changelog_generator', '~> 1.14'
8
+ gem 'lefthook'
8
9
  gem 'pry-byebug', '~> 3.4'
9
10
  gem 'pry-doc'
10
11
  gem 'pry-inline'
@@ -13,4 +14,3 @@ gem 'reek'
13
14
  gem 'rspec', '~> 3.0'
14
15
  gem 'rubocop'
15
16
  gem 'yard'
16
- gem 'lefthook'
data/README.md CHANGED
@@ -9,20 +9,35 @@
9
9
 
10
10
  Run the following code in your terminal.
11
11
 
12
- ### Install dependencies
12
+ ### 1. Install dependencies
13
+
14
+ #### For Debian Based Distros (Ubuntu, Debian, Mint, Pop!_OS)
13
15
 
14
16
  **NOTE: If you have installed ruby by apt, you must install ruby-dev.**
15
17
  ```sh
16
18
  $ sudo apt-get install libevdev-dev ruby-dev build-essential
17
19
  ```
18
20
 
19
- ### Install fusuma-plugin-sendkey
21
+ #### For Arch Based Distros (Manjaro, Arch)
22
+
23
+ ```zsh
24
+ $ sudo pacman -S libevdev base-devel
25
+ ```
26
+
27
+ ### 2. Install fusuma-plugin-sendkey
28
+
29
+
30
+ **Note For Arch Based Distros:** By default in Arch Linux, when running ```gem```, gems are installed per-user (into ```~/.gem/ruby/```), instead of system-wide (into ```/usr/lib/ruby/gems/```). This is considered the best way to manage gems on Arch, because otherwise they might interfere with gems installed by Pacman. (From Arch Wiki)
31
+
32
+ To install gems system-wide, see any of the methods listed on [Arch Wiki](https://wiki.archlinux.org/index.php/ruby#Installing_gems_system-wide)
33
+
20
34
 
21
35
  ```sh
36
+ $ sudo gem install revdev
37
+ $ sudo gem install bundler
22
38
  $ sudo gem install fusuma-plugin-sendkey
23
39
  ```
24
40
 
25
-
26
41
  ## List available keys
27
42
 
28
43
  ```sh
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.add_dependency 'fusuma', '~> 2.0.0.pre'
27
+ spec.add_dependency 'fusuma', '~> 2.0.0.pre2'
28
28
  spec.add_dependency 'revdev'
29
29
  end
@@ -7,9 +7,13 @@ module Fusuma
7
7
  module Executors
8
8
  # Control Window or Workspaces by executing wctrl
9
9
  class SendkeyExecutor < Executor
10
+ def execute_keys
11
+ [:sendkey]
12
+ end
13
+
10
14
  def config_param_types
11
15
  {
12
- 'device_name': String
16
+ device_name: String
13
17
  }
14
18
  end
15
19
 
@@ -3,7 +3,7 @@
3
3
  module Fusuma
4
4
  module Plugin
5
5
  module Sendkey
6
- VERSION = '0.6.0.pre'
6
+ VERSION = '0.6.0.pre2'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusuma-plugin-sendkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.pre
4
+ version: 0.6.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fusuma
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.0.pre
19
+ version: 2.0.0.pre2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.0.pre
26
+ version: 2.0.0.pre2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: revdev
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -70,7 +70,7 @@ homepage: https://github.com/iberianpig/fusuma-plugin-sendkey
70
70
  licenses:
71
71
  - MIT
72
72
  metadata: {}
73
- post_install_message:
73
+ post_install_message:
74
74
  rdoc_options: []
75
75
  require_paths:
76
76
  - lib
@@ -85,8 +85,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: 1.3.1
87
87
  requirements: []
88
- rubygems_version: 3.1.4
89
- signing_key:
88
+ rubygems_version: 3.2.15
89
+ signing_key:
90
90
  specification_version: 4
91
91
  summary: Fusuma plugin to send keyboard events
92
92
  test_files: []