capistrano-tomcat 0.0.1

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/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in capistrano-tomcat.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "capistrano/tomcat/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "capistrano-tomcat"
7
+ s.version = Capistrano::Tomcat::VERSION
8
+ s.authors = ["Rob Hunter"]
9
+ s.email = ["rhunter@thoughtworks.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{Deployment recipes for deploying to Tomcat at OVE}
12
+ s.description = %q{Apache Tomcat, a Java servlet container, runs WARs
13
+
14
+ These deployment recipes help to run a Tomcat instance with your
15
+ own WAR files from Capistrano.
16
+ }
17
+
18
+ s.rubyforge_project = "capistrano-tomcat"
19
+
20
+ s.files = `git ls-files`.split("\n")
21
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
+ s.require_paths = ["lib"]
24
+
25
+ # specify any dependencies here; for example:
26
+ # s.add_development_dependency "rspec"
27
+ # s.add_runtime_dependency "rest-client"
28
+ s.add_runtime_dependency "capistrano"
29
+ end
@@ -0,0 +1,5 @@
1
+ module Capistrano
2
+ module Tomcat
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1,16 @@
1
+ configuration = Capistrano::Configuration.respond_to?(:instance) ?
2
+ Capistrano::Configuration.instance(:must_exist) :
3
+ Capistrano.configuration(:must_exist)
4
+
5
+ set(:war_filename) { "#{app_name}.war" }
6
+
7
+ configuration.load do
8
+ namespace :deploy do
9
+ task :update_code, :roles => :app do
10
+ source_war_path = "artifacts/#{war_filename}"
11
+ target_war_path = File.join(current_path, war_filename)
12
+ top.upload source_war_path, target_war_path
13
+ end
14
+ end
15
+ end
16
+
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano-tomcat
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Rob Hunter
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: capistrano
16
+ requirement: &70323202503220 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70323202503220
25
+ description: ! "Apache Tomcat, a Java servlet container, runs WARs\n\n These deployment
26
+ recipes help to run a Tomcat instance with your\n own WAR files from Capistrano.\n
27
+ \ "
28
+ email:
29
+ - rhunter@thoughtworks.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - .gitignore
35
+ - Gemfile
36
+ - Rakefile
37
+ - capistrano-tomcat.gemspec
38
+ - lib/capistrano/tomcat.rb
39
+ - lib/capistrano/tomcat/version.rb
40
+ homepage: ''
41
+ licenses: []
42
+ post_install_message:
43
+ rdoc_options: []
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ! '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project: capistrano-tomcat
60
+ rubygems_version: 1.8.10
61
+ signing_key:
62
+ specification_version: 3
63
+ summary: Deployment recipes for deploying to Tomcat at OVE
64
+ test_files: []