wakame 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.4.1 2009-06-29
2
+
3
+ * Fixed the packaging bugs.
4
+
1
5
  == 0.4.0 2009-06-26
2
6
 
3
7
  * Actor and Monitor plugin support for Agent.
data/Rakefile CHANGED
@@ -24,6 +24,7 @@ __END__
24
24
  ['log4r', '>= 1.0.5'],
25
25
  ['daemons', '>= 1.0.10'],
26
26
  ['rubigen', '>= 1.5.2'],
27
+ ['open4', '>= 0.9.6'],
27
28
  ['jeweler', '>= 1.0.0']
28
29
  ].each { |i|
29
30
  gem.add_dependency(i[0], i[1])
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -68,13 +68,13 @@ module Wakame
68
68
 
69
69
  def load_rubygems
70
70
  require 'rubygems'
71
- unless rubygems_version >= '1.3.0'
72
- $stderr.puts "Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again."
71
+ unless Gem::RubyGemsVersion >= '1.3.1'
72
+ $stderr.puts "[ERROR]: Requires RubyGems >= 1.3.1"
73
73
  exit 1
74
74
  end
75
75
 
76
76
  rescue LoadError
77
- $stderr.puts "Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org"
77
+ $stderr.puts "[ERROR]: RubyGems seems not to be installed. Please install RubyGems >= 1.3.1"
78
78
  exit 1
79
79
  end
80
80
 
@@ -58,13 +58,14 @@ class WakameGenerator < RubiGen::Base
58
58
 
59
59
  m.file_copy_each %w(Rakefile README)
60
60
  m.file_copy_each %w(config/boot.rb config/cluster.rb config/environments/common.rb config/environments/stand_alone.rb config/environments/ec2.rb)
61
- m.file_copy_each %w(config/init.d/wakame-master config/init.d/wakame-agent)
62
-
63
61
  m.dependency "install_rubigen_scripts", [destination_root, :wakame]
64
62
 
65
63
  %w(wakame-master wakame-agent wakameadm).each do |script|
66
64
  m.template "bin/#{script}", "bin/#{script}", script_options
67
65
  end
66
+ %w(wakame-master wakame-agent).each do |script|
67
+ m.template "config/init.d/#{script}", "config/init.d/#{script}", script_options
68
+ end
68
69
 
69
70
  end
70
71
  end
@@ -21,6 +21,8 @@ class ResourceGenerator < RubiGen::Base
21
21
  @resource_name ||= @resource_template
22
22
 
23
23
  record do |m|
24
+ # Create the resource name folder
25
+ m.directory File.join('cluster', 'resources', @resource_name)
24
26
  Dir.glob(source_path(@resource_template) + "/**/*").each { |path|
25
27
  relpath = path.sub(%r{\A#{source_root}\/}, '')
26
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wakame
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - axsh co.,Ltd.
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-06-26 00:00:00 +09:00
13
+ date: 2009-06-29 00:00:00 +09:00
14
14
  default_executable: wakame
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -93,6 +93,16 @@ dependencies:
93
93
  - !ruby/object:Gem::Version
94
94
  version: 1.5.2
95
95
  version:
96
+ - !ruby/object:Gem::Dependency
97
+ name: open4
98
+ type: :runtime
99
+ version_requirement:
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 0.9.6
105
+ version:
96
106
  - !ruby/object:Gem::Dependency
97
107
  name: jeweler
98
108
  type: :runtime