fusuma-plugin-wmctrl 0.4.2 → 0.4.3

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: c8654418db5d6e428e786f5d8632ba00a302a2a4fc9cc78c89cbcdaca5dd12a2
4
- data.tar.gz: d12bb4124ad144c82e3c30302d60a64261e7f612e783a6cb26e50ded61f90d51
3
+ metadata.gz: 37b4a5e6419c6747eabf01018d034c02b5cca98ffb7b523fe1d33f7cce03859a
4
+ data.tar.gz: bc8c76aef630cbed08ad068af3cac600dc105821cd8b18ae75477ae2dc7ae35a
5
5
  SHA512:
6
- metadata.gz: 902bfc1063f1a23f5a0ad03420998ef7e04b51f0e5e9f31dc1c7674d9f676ec40741311d8442642639a834ec421766d5b47b57ab206ca140470348339692eb51
7
- data.tar.gz: 931711256a8f0a853f35352b018dab803f4fe5cc81637e5796a2d0c5ba30b7274680835d2a026cacef4c2d39db4e174065d7c9f6b526301385b449d1be7ebaac
6
+ metadata.gz: 4e4a0404a5be2a300a6b1cf9ac40a8fbb0d5061173530d5e24a255b18b741bb0687b580b016f54930676bbe2af20842aa09aa07e0065d3cfbf5fb0bc6958e64e
7
+ data.tar.gz: 98afa73285943a1bef00cbe0bba092fd35cab401cd2b1503926981fd404271d6c05b73e4164e65e0f98a3623b6da61b089619455dcb7f44af4d447d0c82bd9d2
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'posix/spawn'
4
3
  require 'singleton'
5
4
 
6
5
  module Fusuma
@@ -32,7 +31,7 @@ module Fusuma
32
31
  return if search_command(event).nil?
33
32
 
34
33
  MultiLogger.info(wmctrl: search_command(event))
35
- pid = POSIX::Spawn.spawn(search_command(event))
34
+ pid = Process.spawn(search_command(event))
36
35
  Process.detach(pid)
37
36
  end
38
37
 
@@ -3,7 +3,7 @@
3
3
  module Fusuma
4
4
  module Plugin
5
5
  module Wmctrl
6
- VERSION = '0.4.2'
6
+ VERSION = '0.4.3'
7
7
  end
8
8
  end
9
9
  end
@@ -40,7 +40,7 @@ module Fusuma
40
40
  describe '#execute' do
41
41
  it 'detach' do
42
42
  pid = rand(20)
43
- allow(POSIX::Spawn)
43
+ allow(Process)
44
44
  .to receive(:spawn).with(@executor.search_command(@event))
45
45
  .and_return pid
46
46
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusuma-plugin-wmctrl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-19 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fusuma