ucb_deployer 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/deployer +3 -0
- data/ucb_deployer.gemspec +1 -1
- 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.
|
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"
|
data/bin/deployer
CHANGED
@@ -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)
|
data/ucb_deployer.gemspec
CHANGED
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steven Hansen
|