ucb_deployer 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake'
3
3
  require 'echoe'
4
4
  require 'spec/rake/spectask'
5
5
 
6
- Echoe.new('ucb_deployer', '0.0.5') do |p|
6
+ Echoe.new('ucb_deployer', '0.0.6') do |p|
7
7
  p.description = "Tool for deploying (Java/JRuby) war files to tomcat"
8
8
  p.url = "http://ucbrb.rubyforge.org"
9
9
  p.author = "Steven Hansen"
data/bin/deployer CHANGED
@@ -25,8 +25,10 @@ end
25
25
  task :init => [:check_usage] do
26
26
  begin
27
27
  @deployer = UcbDeployer.factory(ENV["APP"].to_sym)
28
- rescue
28
+ @deployer.debug_mode = true if ENV["DEBUG"]
29
+ rescue UcbDeployer::ConfigError => e
29
30
  $stderr.puts(USAGE)
31
+ $stderr.puts(e.message)
30
32
  exit(1)
31
33
  end
32
34
  end
@@ -56,8 +56,11 @@ module UcbDeployer
56
56
  # +data_dir+
57
57
  #
58
58
  def load_config(config_file)
59
+ debug("Using config file: #{config_file}")
60
+ debug("Setting options:")
59
61
  hash = YAML.load_file(config_file)
60
62
  hash.each do |key, val|
63
+ debug("#{key}: #{val}")
61
64
  if CONFIG_OPTIONS.include?(key.to_sym)
62
65
  self.send("#{key}=", val)
63
66
  else
data/ucb_deployer.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ucb_deployer}
5
- s.version = "0.0.5"
5
+ s.version = "0.0.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Steven Hansen"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucb_deployer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steven Hansen