eymigrate 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/eymigrate.gemspec +2 -2
  3. data/lib/host_list.rb +2 -0
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/eymigrate.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{eymigrate}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["wjessop"]
12
- s.date = %q{2010-06-30}
12
+ s.date = %q{2010-07-22}
13
13
  s.default_executable = %q{eymigrate}
14
14
  s.description = %q{simple gem for helping migrate EY customers}
15
15
  s.email = %q{wjessop@engineyard.com}
data/lib/host_list.rb CHANGED
@@ -35,6 +35,8 @@ class HostList
35
35
  end
36
36
 
37
37
  def update(host, ip)
38
+ Host.delete(host)
39
+ Host.add(host,ip)
38
40
  set_entry(host,ip)
39
41
  end
40
42
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - wjessop
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-30 00:00:00 +01:00
17
+ date: 2010-07-22 00:00:00 +01:00
18
18
  default_executable: eymigrate
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency