bjeanes-ghost 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/ghost +2 -2
- metadata +9 -11
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,21 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bjeanes-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
|
8
|
-
- Courtois Simon
|
9
8
|
autorequire: ghost
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
11
|
|
13
|
-
date: 2009-
|
12
|
+
date: 2009-09-02 00:00:00 -07:00
|
14
13
|
default_executable: ghost
|
15
14
|
dependencies: []
|
16
15
|
|
17
|
-
description: Allows you to create, list, and modify
|
18
|
-
email:
|
16
|
+
description: Allows you to create, list, and modify local hostnames
|
17
|
+
email: me@bjeanes.com
|
19
18
|
executables:
|
20
19
|
- ghost
|
21
20
|
extensions: []
|
@@ -37,9 +36,8 @@ files:
|
|
37
36
|
- spec/ghost_spec.rb
|
38
37
|
- spec/spec.opts
|
39
38
|
- spec/spec_helper.rb
|
40
|
-
has_rdoc:
|
41
|
-
homepage: http://github.com/
|
42
|
-
licenses:
|
39
|
+
has_rdoc: false
|
40
|
+
homepage: http://github.com/bjeanes/ghost
|
43
41
|
post_install_message:
|
44
42
|
rdoc_options:
|
45
43
|
- --line-numbers
|
@@ -60,9 +58,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
58
|
requirements: []
|
61
59
|
|
62
60
|
rubyforge_project: ghost
|
63
|
-
rubygems_version: 1.
|
61
|
+
rubygems_version: 1.2.0
|
64
62
|
signing_key:
|
65
|
-
specification_version:
|
66
|
-
summary: Allows you to create, list, and modify
|
63
|
+
specification_version: 3
|
64
|
+
summary: Allows you to create, list, and modify local hostnames
|
67
65
|
test_files: []
|
68
66
|
|