ghost 0.2.2 → 0.2.3
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.
- data/bin/ghost +2 -2
- metadata +4 -4
data/bin/ghost
CHANGED
|
@@ -77,13 +77,13 @@ else
|
|
|
77
77
|
Host.empty!
|
|
78
78
|
puts "Done."
|
|
79
79
|
exit 0
|
|
80
|
-
when 'export'
|
|
80
|
+
when 'export'
|
|
81
81
|
hosts = Host.list
|
|
82
82
|
hosts.each do |host|
|
|
83
83
|
puts "#{host.name} #{host.ip}"
|
|
84
84
|
end
|
|
85
85
|
exit 0
|
|
86
|
-
when 'import'
|
|
86
|
+
when 'import'
|
|
87
87
|
if ARGV.size == 2
|
|
88
88
|
begin
|
|
89
89
|
File.foreach(ARGV[1]) do |line|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ghost
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bodaniel Jeanes
|
|
@@ -9,11 +9,11 @@ autorequire: ghost
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-09-02 00:00:00 +10:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
16
|
-
description: Allows you to create, list, and modify
|
|
16
|
+
description: Allows you to create, list, and modify local hostnames
|
|
17
17
|
email: me@bjeanes.com
|
|
18
18
|
executables:
|
|
19
19
|
- ghost
|
|
@@ -62,6 +62,6 @@ rubyforge_project: ghost
|
|
|
62
62
|
rubygems_version: 1.3.5
|
|
63
63
|
signing_key:
|
|
64
64
|
specification_version: 3
|
|
65
|
-
summary: Allows you to create, list, and modify
|
|
65
|
+
summary: Allows you to create, list, and modify local hostnames
|
|
66
66
|
test_files: []
|
|
67
67
|
|