fusuma 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 210ffddb66e6e96beba56784fdcba46872b84bd7
4
- data.tar.gz: 99a6e185643a0616816176ce49076fcf1afa57db
3
+ metadata.gz: 3d5dbf8dc3ee23f090735cbf874b106a2605d4a7
4
+ data.tar.gz: b4ac0e19910380ba62a7ea6783d7d10439dcd42f
5
5
  SHA512:
6
- metadata.gz: 3f799865b93d7b33a7721a63b18103f006f51760cd71aa7a1e3d404bd74d3f764954b3e8bbaa9b39c460280d6c0616f601ad0823bc8bfbeafc619c2e66fd54c2
7
- data.tar.gz: 40afda3397ac78ac92914cadf7163356d9828c49d93563209008a2a1afdc2100c9f3da631a51a4bc3698686f4e8680f1b2fffc86315143948f1a04a1270888bb
6
+ metadata.gz: ea09346331be93f62365965af1db7b23dc8c231d9c56085e3d2a591db659f2eb46eee87dba9a14532a95b4f13edc96e6912485ede3a8e4070b11ae99b3dd0a9e
7
+ data.tar.gz: 9da91d39bef22505cd3f7aad904df585452f7f649f303ebe16858d8e6ffe4b8974e59272d4d5ae0113fcc6a82e9c1fba5dc834bedff9165780debdc8efc24747
data/README.md CHANGED
@@ -14,18 +14,15 @@ to read the touchpad device:
14
14
 
15
15
  $ sudo gpasswd -a $USER input # Log out and back in to assign this group
16
16
 
17
- You need libinput release 1.0 or later. Install prerequisites:
17
+ You need libinput release 1.0 or later. Install libinput-tools:
18
18
 
19
- If you are using pacman (for archlinux).
19
+ $ sudo apt-get install libinput-tools
20
20
 
21
- $ sudo pacman -S xdotool
22
-
23
- If you are using apt (for ubuntu/debian based distributions).
21
+ For sending shortcuts:
24
22
 
25
23
  $ sudo apt-get install xdotool
26
24
 
27
-
28
- Install Fusuma
25
+ Install Fusuma:
29
26
 
30
27
  $ gem install fusuma
31
28
 
@@ -67,12 +64,6 @@ pinch:
67
64
  shortcut: 'ctrl+minus'
68
65
  ```
69
66
 
70
- ## Development
71
-
72
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
73
-
74
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
75
-
76
67
  ## Contributing
77
68
 
78
69
  Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma. 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.
data/fusuma.gemspec CHANGED
@@ -4,24 +4,25 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'fusuma/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "fusuma"
7
+ spec.name = 'fusuma'
8
8
  spec.version = Fusuma::VERSION
9
- spec.authors = ["iberianpig"]
10
- spec.email = ["yhkyky@gmail.com"]
9
+ spec.authors = ['iberianpig']
10
+ spec.email = ['yhkyky@gmail.com']
11
11
 
12
- spec.summary = %q{ Multitouch gestures with libinput dirver on X11, Linux }
13
- spec.homepage = "https://github.com/iberianpig/fusuma"
14
- spec.license = "MIT"
12
+ spec.summary = 'Multitouch gestures with libinput dirver on X11, Linux'
13
+ spec.description = 'Fusuma is multitouch gesture recognizer. This gem makes your linux PC able to recognize swipes or pinchs and assign shortcuts to them. Read installation on Github(https://github.com/iberianpig/fusuma#installation).'
14
+ spec.homepage = 'https://github.com/iberianpig/fusuma'
15
+ spec.license = 'MIT'
15
16
 
16
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
18
  f.match(%r{^(test|spec|features)/})
18
19
  end
19
- spec.bindir = "exe"
20
+ spec.bindir = 'exe'
20
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
- spec.require_paths = ["lib"]
22
+ spec.require_paths = ['lib']
22
23
 
23
- spec.add_development_dependency "bundler", "~> 1.13"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "rspec", "~> 3.0"
26
- spec.add_development_dependency "pry-byebug"
24
+ spec.add_development_dependency 'bundler', '~> 1.13'
25
+ spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'rspec', '~> 3.0'
27
+ spec.add_development_dependency 'pry-byebug'
27
28
  end
@@ -1,3 +1,3 @@
1
1
  module Fusuma
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/fusuma.rb CHANGED
@@ -80,7 +80,7 @@ module Fusuma
80
80
  def config_file
81
81
  filename = 'fusuma/config.yml'
82
82
  original_path = File.expand_path "~/.config/#{filename}"
83
- default_path = File.expand_path "../#{filename}"
83
+ default_path = File.expand_path "../#{filename}", __FILE__
84
84
  File.exist?(original_path) ? original_path : default_path
85
85
  end
86
86
  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: 0.1.0
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-30 00:00:00.000000000 Z
11
+ date: 2016-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,7 +66,9 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description:
69
+ description: Fusuma is multitouch gesture recognizer. This gem makes your linux PC
70
+ able to recognize swipes or pinchs and assign shortcuts to them. Read installation
71
+ on Github(https://github.com/iberianpig/fusuma#installation).
70
72
  email:
71
73
  - yhkyky@gmail.com
72
74
  executables: