server-blender-manifest 0.0.19 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.19
1
+ 0.1.0
@@ -40,10 +40,10 @@ module Blender::Manifest::Nodes
40
40
 
41
41
  # resolves host name using 'host' executable
42
42
  # @return host's IP by its name or nil if not found
43
+ require 'resolv'
43
44
  def host_ip(name)
44
45
  return nil unless name && !name.empty?
45
- res = `host #{name}`.split("\n").grep(/has address/).first
46
- res && res.split.last
46
+ Resolv.getaddress(name) rescue nil
47
47
  end
48
48
 
49
49
  # define node and conditionally execute code block only on the specific node
@@ -1,43 +1,41 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{server-blender-manifest}
8
- s.version = "0.0.19"
8
+ s.version = "0.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Vitaly Kushner"]
12
- s.date = %q{2010-11-28}
12
+ s.date = %q{2010-12-06}
13
13
  s.description = %q{This gem is part of the server-blender family (http://astrails.com/opensource/server-blender)
14
14
  It contains server-side root manifest implementation for blender recipes. See server-blender for more information.
15
15
  }
16
16
  s.email = %q{vitaly@astrails.com}
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE",
19
- "README.markdown"
19
+ "README.markdown"
20
20
  ]
21
21
  s.files = [
22
- ".gitignore",
23
- "LICENSE",
24
- "README.markdown",
25
- "Rakefile",
26
- "VERSION",
27
- "lib/blender/manifest.rb",
28
- "lib/blender/manifest/matchers.rb",
29
- "lib/blender/manifest/mixer.rb",
30
- "lib/blender/manifest/nodes.rb",
31
- "lib/blender/manifest/roles.rb",
32
- "lib/blender/manifest/root.rb",
33
- "lib/puppet/darwinport_fix.rb",
34
- "lib/puppet/dmgapp.rb",
35
- "server-blender-manifest.gemspec",
36
- "spec/spec.opts",
37
- "spec/spec_helper.rb"
22
+ "LICENSE",
23
+ "README.markdown",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "lib/blender/manifest.rb",
27
+ "lib/blender/manifest/matchers.rb",
28
+ "lib/blender/manifest/mixer.rb",
29
+ "lib/blender/manifest/nodes.rb",
30
+ "lib/blender/manifest/roles.rb",
31
+ "lib/blender/manifest/root.rb",
32
+ "lib/puppet/darwinport_fix.rb",
33
+ "lib/puppet/dmgapp.rb",
34
+ "server-blender-manifest.gemspec",
35
+ "spec/spec.opts",
36
+ "spec/spec_helper.rb"
38
37
  ]
39
38
  s.homepage = %q{http://astrails.com/opensource/server-blender}
40
- s.rdoc_options = ["--charset=UTF-8"]
41
39
  s.require_paths = ["lib"]
42
40
  s.rubygems_version = %q{1.3.7}
43
41
  s.summary = %q{server-side root manifest implementation for server-blender}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server-blender-manifest
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 19
10
- version: 0.0.19
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Vitaly Kushner
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-28 00:00:00 +02:00
18
+ date: 2010-12-06 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -63,7 +63,6 @@ extra_rdoc_files:
63
63
  - LICENSE
64
64
  - README.markdown
65
65
  files:
66
- - .gitignore
67
66
  - LICENSE
68
67
  - README.markdown
69
68
  - Rakefile
@@ -84,8 +83,8 @@ homepage: http://astrails.com/opensource/server-blender
84
83
  licenses: []
85
84
 
86
85
  post_install_message:
87
- rdoc_options:
88
- - --charset=UTF-8
86
+ rdoc_options: []
87
+
89
88
  require_paths:
90
89
  - lib
91
90
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,26 +0,0 @@
1
- ## MISC
2
- pkg
3
- tags
4
- .yardoc
5
-
6
- ## MAC OS
7
- .DS_Store
8
-
9
- ## TEXTMATE
10
- *.tmproj
11
- tmtags
12
-
13
- ## EMACS
14
- *~
15
- \#*
16
- .\#*
17
-
18
- ## VIM
19
- *.swp
20
-
21
- ## PROJECT::GENERAL
22
- coverage
23
- rdoc
24
- pkg
25
-
26
- ## PROJECT::SPECIFIC