ucb_deployer 0.0.7 → 0.0.8

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.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/bin/deployer +3 -0
  3. data/ucb_deployer.gemspec +1 -1
  4. metadata +3 -3
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.7') do |p|
6
+ Echoe.new('ucb_deployer', '0.0.8') 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"
@@ -11,6 +11,8 @@ Rake.application.init("ucb_deployer")
11
11
 
12
12
  USAGE = "Usage: deployer <task> APP=<confluence|jira> VERSION=x.x.x"
13
13
 
14
+ task :default => :deploy
15
+
14
16
  task :deploy => [:build] do
15
17
  @deployer.deploy()
16
18
  end
@@ -31,6 +33,7 @@ task :init => [:check_usage] do
31
33
  begin
32
34
  UcbDeployer.debug_mode = true if ENV["DEBUG"]
33
35
  @deployer = UcbDeployer.factory(ENV["APP"].to_sym)
36
+ @deployer.version = ENV["VERSION"]
34
37
  rescue UcbDeployer::ConfigError => e
35
38
  $stderr.puts(USAGE)
36
39
  $stderr.puts(e.message)
@@ -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.7"
5
+ s.version = "0.0.8"
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: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steven Hansen