weasel-the-memory-watcher 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/bin/weasel +4 -4
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/bin/weasel CHANGED
@@ -1,12 +1,12 @@
1
- #!/bin/sh
2
- #exec ruby -x "$0" "$@"
3
- #!ruby -w
4
- require 'weasel'
5
1
  if __FILE__ == $0
6
2
  require 'optparse'
7
3
  options = {}
8
4
  OptionParser.new do |opts|
9
5
  opts.banner = "Usage: #{__FILE__} [options]"
6
+ opts.on( '-h', '--help', 'Display this screen' ) do
7
+ puts opts
8
+ exit
9
+ end
10
10
 
11
11
  opts.on("--callback rubycode",String, "ruby code to exectute - has \#{pid} avalible") do |v|
12
12
  options[:callback] = lambda {|pid| # may be evil
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weasel-the-memory-watcher
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Curtis Schofield