ucb_deployer 0.0.9 → 0.0.10

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/Manifest CHANGED
@@ -2,7 +2,7 @@ Manifest
2
2
  README.txt
3
3
  Rakefile
4
4
  TODO.txt
5
- bin/deployer
5
+ bin/ucb_deploy
6
6
  lib/ucb_deployer.rb
7
7
  lib/ucb_deployer/confluence_deployer.rb
8
8
  lib/ucb_deployer/deployer.rb
data/README.txt CHANGED
@@ -57,11 +57,12 @@ Our __deploy.yml__ file would look like so:
57
57
  data_dir: /var/lib/jira/data
58
58
  svn_username: app_relmgt
59
59
  svn_project_url: svn.berkeley.edu/svn/ist-svn/berkeley/projects/ist/as/webapps/jira_archives/tags
60
+ maintenance_file_dir: /path/to/maintenance/dir
60
61
 
61
62
 
62
63
  == Usage
63
- deployer jira VERSION=x.x.x
64
+ ucb_deploy APP=jira VERSION=x.x.x
64
65
 
65
66
  or
66
67
 
67
- deployer confluence VERSION=x.x.x
68
+ deploy APP=confluence VERSION=x.x.x
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.9') do |p|
6
+ Echoe.new('ucb_deployer', '0.0.10') 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"
@@ -7,7 +7,7 @@ require 'rake'
7
7
  require 'ucb_deployer'
8
8
 
9
9
 
10
- Rake.application.init("ucb_deployer")
10
+ Rake.application.init("ucb_deploy")
11
11
 
12
12
  USAGE = "Usage: deployer <task> APP=<confluence|jira> VERSION=x.x.x"
13
13
 
@@ -75,7 +75,7 @@ module UcbDeployer
75
75
  def display_maintenance_file()
76
76
  maint_start = Time.now.strftime("%m-%d-%Y %H:%M:%S")
77
77
  template = ERB.new(maintenance_template)
78
- File.open(maintenance_file_dir(), "w") do |f|
78
+ File.open("#{maintenance_file_dir}/maintenance.html", "w") do |f|
79
79
  f.puts template.result(binding)
80
80
  end
81
81
  end
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ucb_deployer}
5
- s.version = "0.0.9"
5
+ s.version = "0.0.10"
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"]
9
9
  s.date = %q{2010-10-22}
10
- s.default_executable = %q{deployer}
10
+ s.default_executable = %q{ucb_deploy}
11
11
  s.description = %q{Tool for deploying (Java/JRuby) war files to tomcat}
12
12
  s.email = %q{runner@berkeley.edu}
13
- s.executables = ["deployer"]
13
+ s.executables = ["ucb_deploy"]
14
14
  s.extra_rdoc_files = ["README.txt", "lib/ucb_deployer.rb", "lib/ucb_deployer/confluence_deployer.rb", "lib/ucb_deployer/deployer.rb", "lib/ucb_deployer/jira_deployer.rb"]
15
- s.files = ["Manifest", "README.txt", "Rakefile", "TODO.txt", "bin/deployer", "lib/ucb_deployer.rb", "lib/ucb_deployer/confluence_deployer.rb", "lib/ucb_deployer/deployer.rb", "lib/ucb_deployer/jira_deployer.rb", "resources/confluence_cas_web.xml", "resources/jdom.jar", "resources/jira_cas_web.xml", "resources/soulwing-casclient-0.5.3.jar", "spec/fixtures/confluence/bad_deploy.yml", "spec/fixtures/confluence/confluence-init.properties", "spec/fixtures/confluence/deploy.yml", "spec/fixtures/confluence/seraph-config.xml", "spec/fixtures/confluence/web.xml", "spec/fixtures/jira/web.xml", "spec/spec_helper.rb", "spec/ucb_deployer/confluence_deployer_spec.rb", "spec/ucb_deployer/jira_deployer_spec.rb", "spec/ucb_deployer/ucb_deployer_spec.rb", "ucb_deployer.gemspec"]
15
+ s.files = ["Manifest", "README.txt", "Rakefile", "TODO.txt", "bin/ucb_deploy", "lib/ucb_deployer.rb", "lib/ucb_deployer/confluence_deployer.rb", "lib/ucb_deployer/deployer.rb", "lib/ucb_deployer/jira_deployer.rb", "resources/confluence_cas_web.xml", "resources/jdom.jar", "resources/jira_cas_web.xml", "resources/soulwing-casclient-0.5.3.jar", "spec/fixtures/confluence/bad_deploy.yml", "spec/fixtures/confluence/confluence-init.properties", "spec/fixtures/confluence/deploy.yml", "spec/fixtures/confluence/seraph-config.xml", "spec/fixtures/confluence/web.xml", "spec/fixtures/jira/web.xml", "spec/spec_helper.rb", "spec/ucb_deployer/confluence_deployer_spec.rb", "spec/ucb_deployer/jira_deployer_spec.rb", "spec/ucb_deployer/ucb_deployer_spec.rb", "ucb_deployer.gemspec"]
16
16
  s.homepage = %q{http://ucbrb.rubyforge.org}
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ucb_deployer", "--main", "README.txt"]
18
18
  s.require_paths = ["lib"]
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: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steven Hansen
@@ -22,7 +22,7 @@ dependencies: []
22
22
  description: Tool for deploying (Java/JRuby) war files to tomcat
23
23
  email: runner@berkeley.edu
24
24
  executables:
25
- - deployer
25
+ - ucb_deploy
26
26
  extensions: []
27
27
 
28
28
  extra_rdoc_files:
@@ -36,7 +36,7 @@ files:
36
36
  - README.txt
37
37
  - Rakefile
38
38
  - TODO.txt
39
- - bin/deployer
39
+ - bin/ucb_deploy
40
40
  - lib/ucb_deployer.rb
41
41
  - lib/ucb_deployer/confluence_deployer.rb
42
42
  - lib/ucb_deployer/deployer.rb