igp 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -0
- data/bin/igp +1 -1
- data/igp.gemspec +1 -1
- data/lib/igp.rb +1 -0
- data/lib/igp/shell.rb +1 -1
- data/lib/igp/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
Version 0.0.3 Release: 7th May 2011
|
2
|
+
==================================================
|
3
|
+
* more ruby 1.8.7 compatibility fixes:
|
4
|
+
- suppress net-ping error on ^C
|
5
|
+
- requires rubygems (allows bin/igp to run when not already installed as a gem)
|
6
|
+
- don't lazy-evaluate GetOptions hash values
|
7
|
+
|
1
8
|
Version 0.0.2 Release: 7th May 2011
|
2
9
|
==================================================
|
3
10
|
* properly handle time format in 1.8 and 1.9 ruby
|
data/bin/igp
CHANGED
@@ -7,7 +7,7 @@ require 'getoptions'
|
|
7
7
|
begin
|
8
8
|
options = GetOptions.new(Igp::Shell::OPTIONS)
|
9
9
|
Igp::Shell.new(options,ARGV).run
|
10
|
-
rescue Interrupt
|
10
|
+
rescue Interrupt,NoMethodError
|
11
11
|
$stderr.puts ""
|
12
12
|
rescue Exception => e
|
13
13
|
$stderr.puts "That wasn't meant to happen! #{e.message}"
|
data/igp.gemspec
CHANGED
data/lib/igp.rb
CHANGED
data/lib/igp/shell.rb
CHANGED
@@ -18,7 +18,7 @@ class Igp::Shell
|
|
18
18
|
defaults = {
|
19
19
|
:interval => 1
|
20
20
|
}
|
21
|
-
@options = defaults.merge( (options||{}).each{|k|k} )
|
21
|
+
@options = defaults.merge( (options||{}).each{|k,v| {k => v} } )
|
22
22
|
return unless args.first
|
23
23
|
resolve_addressing args.first
|
24
24
|
normalise_options
|
data/lib/igp/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: igp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Paul Gallagher
|
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements:
|
119
119
|
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
hash: -
|
121
|
+
hash: -3110139737320668493
|
122
122
|
segments:
|
123
123
|
- 0
|
124
124
|
version: "0"
|