shell_gongeek 0.1.0 → 0.1.1

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: 57af02866865fc0f2b1bb125441a6c1e514770b8
4
- data.tar.gz: 5dbf9f5ed7b0a078de6cd862a02a4d0fbf929f77
3
+ metadata.gz: c178f7c12b59c9ff18bf1cfec2f11fd691846cfa
4
+ data.tar.gz: 9d8611feabb5aea401c9a436b3b27f1fc71af797
5
5
  SHA512:
6
- metadata.gz: e40abd7f625dde54027f740adb2a66ec52c82ae165880c74b642eea2b1c345e675d176312b2c4ba605ed6f00120ff7ce65b13695a06737d3d0524d4b824bd4ff
7
- data.tar.gz: 7b083326b3c68ce4899f9705d24835bb7b1cff92a4748f5d5a610bd6206f98f0374395bbeb2d52e386b7f907abf5513f0bff36a5551f692fbb5dc294f4eeb8c0
6
+ metadata.gz: 71f8b10b71be0c38537add2c5647c3771b0b263f5779bed98d19c09bb3f45cfc4a91f62e955521f9edf6347a121f26d6e281feacae9b95399a68f13d816c56ce
7
+ data.tar.gz: 638074245cf2371a4e18e269fb62fd4d2566df80eb03e43120ecd7fecb76dd0eb581ff4476f8e7b9f338ea60183493d74e6968814efc8bc065ffb01247ca4590
@@ -1,3 +1,3 @@
1
1
  module ShellGongeek
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/shell_gongeek.rb CHANGED
@@ -19,7 +19,7 @@ module ShellGongeek
19
19
  lines.each { |line| pids.push line.split(/[\W]+/)[1] }
20
20
  puts pids.join(' ')
21
21
  if pids.length>0
22
- if system "kill #{pids.join(' ')}"
22
+ if system "kill -9 #{pids.join(' ')}"
23
23
  puts "成功杀死占用#{params[0]}的程序"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shell_gongeek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 宫卫
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler