rkilly 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rkilly.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ae71ed523f25593859f09d5bafe98891ed81392
4
- data.tar.gz: ab436125ec617e57aa0f208b02e34660a1007130
3
+ metadata.gz: a75c07dcf6f648ecd2b1c382275d46525a2b3541
4
+ data.tar.gz: 2876667ea9b366fffeeeaf4dd6406fa87fff253b
5
5
  SHA512:
6
- metadata.gz: e41c3fe903859f7ffbd916b274f1e437ee091aee0ebf973ccc4a1a47459db79e236f1e4cf248181b1ded6745e17a2a71b01b93f532de3243ac444ea67682daca
7
- data.tar.gz: 01d6f93ae9c63d01b35c9975120e61911f2ffb8e18b28d8e5555c82b2655eddc109d935e4015dabd3edc9d1ff3ba187062d2941b259be59f1652695ba21c6c50
6
+ metadata.gz: 79444d77f610983edd6bdd529fa41adf7166b585033a992d4df867b5bf623714fca44ff0d4f1e2dc4a9fbc8298f7be6921d2dc43cbaf18b70ec0a044da919165
7
+ data.tar.gz: 6680dd85740c57c1a16fe8891f00d8b2e298aaf6bf7f77e77847829bdcc319ff1c0125da6c5224c20b4ba6bf9990f33bdb10570610124ded167423f0a9463f78
@@ -2,7 +2,7 @@ module Rkilly
2
2
  require 'rubygems'
3
3
  require 'commander/import'
4
4
 
5
- program :version, '0.0.1'
5
+ program :version, '0.0.2'
6
6
  program :description, 'Easily kill processes'
7
7
 
8
8
  command :kill do |c|
@@ -11,7 +11,7 @@ module Rkilly
11
11
  c.description = 'Finds all processes that match [process name] and allows you to kill any specific match or all matches.'
12
12
  c.action do |args, options|
13
13
  pname = args[0]
14
- data_array = %x(ps aux | grep #{pname} | grep -v grep | awk '{print $2, $11, $12, $13}').split("\n").drop(1)
14
+ data_array = %x(ps aux | grep -i #{pname} | grep -v grep | awk '{print $2, $11, $12, $13}').split("\n").drop(1)
15
15
 
16
16
  container_array = []
17
17
  data_array.each do |cols|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rkilly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Berube
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-21 00:00:00.000000000 Z
11
+ date: 2014-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander