server-blender-manifest 0.0.17 → 0.0.18

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.17
1
+ 0.0.18
@@ -15,6 +15,12 @@ require 'blender/manifest/nodes'
15
15
  require 'blender/manifest/roles'
16
16
  require 'blender/manifest/mixer'
17
17
 
18
+ # FIXME: this whole setup/regular execution is ugly. need to think of a better scheme
19
+ # Motivation behind the 'setup' thing:
20
+ # - on some platforms we need to do stuff *before* any of the real recipes are running
21
+ # an example is Darwin where you need to change the default package provider
22
+ # to 'ports' BEFORE you define any package resources
23
+ # - so we create 2 manifests. one that executes the 'setup' recipes, and another one that executes the rest.
18
24
  class Root < ::ShadowPuppet::Manifest
19
25
  include Blender::Manifest::Nodes
20
26
  include Blender::Manifest::Roles
@@ -37,7 +43,10 @@ class Root < ::ShadowPuppet::Manifest
37
43
  if :setup == @stage
38
44
  # run OS specific setup recipe.
39
45
  m = "#{os.downcase}_setup"
40
- return send(m) if respond_to?(m)
46
+ send(m) if respond_to?(m)
47
+ # run gemeric setup
48
+ send(:setup) if respond_to?(:setup)
49
+ return
41
50
  end
42
51
 
43
52
  raise "no RECIPE to execute" unless recipe = ENV['RECIPE']
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{server-blender-manifest}
8
- s.version = "0.0.17"
8
+ s.version = "0.0.18"
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-07-05}
12
+ s.date = %q{2010-11-28}
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
  }
@@ -39,7 +39,7 @@ It contains server-side root manifest implementation for blender recipes. See se
39
39
  s.homepage = %q{http://astrails.com/opensource/server-blender}
40
40
  s.rdoc_options = ["--charset=UTF-8"]
41
41
  s.require_paths = ["lib"]
42
- s.rubygems_version = %q{1.3.6}
42
+ s.rubygems_version = %q{1.3.7}
43
43
  s.summary = %q{server-side root manifest implementation for server-blender}
44
44
  s.test_files = [
45
45
  "spec/spec_helper.rb"
@@ -49,7 +49,7 @@ It contains server-side root manifest implementation for blender recipes. See se
49
49
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
50
  s.specification_version = 3
51
51
 
52
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
53
  s.add_runtime_dependency(%q<activesupport>, ["= 2.3.5"])
54
54
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
55
55
  else
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server-blender-manifest
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 59
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 17
9
- version: 0.0.17
9
+ - 18
10
+ version: 0.0.18
10
11
  platform: ruby
11
12
  authors:
12
13
  - Vitaly Kushner
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-07-05 00:00:00 +03:00
18
+ date: 2010-11-28 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: activesupport
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - "="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 9
27
30
  segments:
28
31
  - 2
29
32
  - 3
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: rspec
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 13
41
46
  segments:
42
47
  - 1
43
48
  - 2
@@ -84,23 +89,27 @@ rdoc_options:
84
89
  require_paths:
85
90
  - lib
86
91
  required_ruby_version: !ruby/object:Gem::Requirement
92
+ none: false
87
93
  requirements:
88
94
  - - ">="
89
95
  - !ruby/object:Gem::Version
96
+ hash: 3
90
97
  segments:
91
98
  - 0
92
99
  version: "0"
93
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
+ none: false
94
102
  requirements:
95
103
  - - ">="
96
104
  - !ruby/object:Gem::Version
105
+ hash: 3
97
106
  segments:
98
107
  - 0
99
108
  version: "0"
100
109
  requirements: []
101
110
 
102
111
  rubyforge_project:
103
- rubygems_version: 1.3.6
112
+ rubygems_version: 1.3.7
104
113
  signing_key:
105
114
  specification_version: 3
106
115
  summary: server-side root manifest implementation for server-blender