automateit 0.71030 → 0.71031

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.tar.gz.sig CHANGED
Binary file
data/CHANGES.txt CHANGED
@@ -1,3 +1,8 @@
1
+ 0.71031:
2
+ Date: Wed, 31 Oct 2007 02:58:58 -0700
3
+ Desc:
4
+ - Improved Project libraries so they're loaded before Tags and Fields. This makes it possible to, for example, write a library helper that's called from within the fields.yml file via ERB.
5
+
1
6
  0.71030:
2
7
  Date: Tue, 30 Oct 2007 01:43:02 -0700
3
8
  Desc:
@@ -183,6 +183,12 @@ module AutomateIt
183
183
  @project = File.expand_path(project_path)
184
184
  log.debug(PNOTE+"Loading project from path: #{@project}")
185
185
 
186
+ lib_files = Dir[File.join(@project, "lib", "*.rb")] + Dir[File.join(@project, "lib", "**", "init.rb")]
187
+ lib_files.each do |lib|
188
+ log.debug(PNOTE+"Loading project library: #{lib}")
189
+ invoke(lib)
190
+ end
191
+
186
192
  tag_file = File.join(@project, "config", "tags.yml")
187
193
  if File.exists?(tag_file)
188
194
  log.debug(PNOTE+"Loading project tags: #{tag_file}")
@@ -195,12 +201,6 @@ module AutomateIt
195
201
  field_manager[:yaml].setup(:file => field_file)
196
202
  end
197
203
 
198
- lib_files = Dir[File.join(@project, "lib", "*.rb")] + Dir[File.join(@project, "lib", "**", "init.rb")]
199
- lib_files.each do |lib|
200
- log.debug(PNOTE+"Loading project library: #{lib}")
201
- invoke(lib)
202
- end
203
-
204
204
  # Instantiate project's plugins so they're available to the environment
205
205
  _instantiate_plugins
206
206
 
@@ -1,7 +1,7 @@
1
1
  # See AutomateIt::Interpreter for usage information.
2
2
  module AutomateIt # :nodoc:
3
3
  # AutomateIt version
4
- VERSION=Gem::Version.new("0.71030")
4
+ VERSION=Gem::Version.new("0.71031")
5
5
 
6
6
  # Instantiates a new Interpreter. See documentation for
7
7
  # Interpreter#setup.
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: automateit
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.71030"
6
+ version: "0.71031"
7
7
  date: 2007-10-31 00:00:00 -07:00
8
8
  summary: AutomateIt is an open source tool for automating the setup and maintenance of servers, applications and their dependencies.
9
9
  require_paths:
metadata.gz.sig CHANGED
Binary file