kanrisuru 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61ecfd6fb284ffd9a3f3866846d89c8e92ac114ce49838a0613e4df29c69e5cc
4
- data.tar.gz: 1a782563313983a22f55481d2c6bdb156c312d7ac09e98fbd2d79cc1c8776832
3
+ metadata.gz: 11e237cfa6bdcf5f231733fab93be901be7a6d53ed673eb2feeb54ae4baf2b14
4
+ data.tar.gz: 79e61aafc54f47534a79600ac60a93ec0b9dd82033a2875f84d6ee339ae8fec1
5
5
  SHA512:
6
- metadata.gz: '0253078dba72eb5b276fa42e45afe5e3f397d54192c64dd53fd18c2e9104aa08d6c258f123f613c5987db8efddefc4a068e5dd73c5b9596550b6f5c52f1b1780'
7
- data.tar.gz: 743ab69e8e58486655d0eeb0549e4490b40ebda8192a0df04ee6bca3f1bdbdf4e9c885e09f61339dffbfe4685125b3e2ed327850d9a356033178547ebbd49ca2
6
+ metadata.gz: f762e2d07da08086f33ff878652d3f459a5cfcc7e76fdaeebfbfc0c37d827953ba20536bb6e714b751809505961ebd657716bde47af6d2c0975852d5772d6f03
7
+ data.tar.gz: b4a05943b967a4ddddcc0b29c2036a50997463279dee649831efb64f775aabdf0fa384f03732fa06d0cbcb07e061f59c9046b4e812b1e8faed218a12677b36ad
@@ -136,7 +136,7 @@ module Kanrisuru
136
136
  def self.[](signal)
137
137
  return unless valid?(signal)
138
138
 
139
- if key.instance_of?(Integer)
139
+ if signal.instance_of?(Integer)
140
140
  @linux_inverted[signal]
141
141
  else
142
142
  @linux[translate(signal)]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kanrisuru
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanrisuru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Mammina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-22 00:00:00.000000000 Z
11
+ date: 2021-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec