ucb_deployer 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.
@@ -0,0 +1,30 @@
1
+ require 'fileutils'
2
+ require 'rubygems'
3
+ require 'spec'
4
+ require 'pp'
5
+
6
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
7
+ require 'confluence_deployer'
8
+
9
+ TEST_BUILD_DIR = File.expand_path(File.dirname(__FILE__) + "/build") unless defined?(TEST_BUILD_DIR)
10
+
11
+ Spec::Runner.configure do |config|
12
+ config.before(:all) do
13
+ dir = TEST_BUILD_DIR
14
+ pwd = File.expand_path(File.dirname(__FILE__))
15
+ FileUtils.mkdir_p("#{dir}/confluence/lib")
16
+ FileUtils.touch("#{dir}/confluence/lib/soulwing-casclient-x.x.x.jar")
17
+
18
+ FileUtils.mkdir_p("#{dir}/confluence/src/confluence/WEB-INF/lib")
19
+ FileUtils.touch("#{dir}/confluence/src/confluence/WEB-INF/lib/postgresql-x.x.x.jar")
20
+
21
+ FileUtils.mkdir_p("#{dir}/confluence/src/confluence/WEB-INF/classes")
22
+ FileUtils.cp("#{pwd}/fixtures/web.xml", "#{dir}/confluence/src/confluence/WEB-INF")
23
+ FileUtils.cp("#{pwd}/fixtures/seraph-config.xml", "#{dir}/confluence/src/confluence/WEB-INF/classes")
24
+ FileUtils.cp("#{pwd}/fixtures/confluence-init.properties", "#{dir}/confluence/src/confluence/WEB-INF/classes")
25
+ end
26
+
27
+ config.after(:all) do
28
+ # FileUtils.rm_rf(TEST_BUILD_DIR)
29
+ end
30
+ end
@@ -0,0 +1,32 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{ucb_deployer}
5
+ s.version = "0.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Steven Hansen"]
9
+ s.date = %q{2010-10-11}
10
+ s.default_executable = %q{deployer}
11
+ s.description = %q{Tool for deploying java applications}
12
+ s.email = %q{runner@berkeley.edu}
13
+ s.executables = ["deployer"]
14
+ s.extra_rdoc_files = ["README.txt", "lib/confluence_deployer.rb"]
15
+ s.files = ["README.txt", "Rakefile", "bin/deployer", "cas_web.xml", "lib/confluence_deployer.rb", "spec/build/confluence/lib/soulwing-casclient-x.x.x.jar", "spec/build/confluence/src/confluence/WEB-INF/classes/confluence-init.properties", "spec/build/confluence/src/confluence/WEB-INF/classes/seraph-config.xml", "spec/build/confluence/src/confluence/WEB-INF/lib/postgresql-x.x.x.jar", "spec/build/confluence/src/confluence/WEB-INF/lib/soulwing-casclient-x.x.x.jar", "spec/build/confluence/src/confluence/WEB-INF/web.xml", "spec/confluence_deployer/confluence_deployer_spec.rb", "spec/fixtures/bad_dot_cdeprc", "spec/fixtures/confluence-init.properties", "spec/fixtures/dot_cdeprc", "spec/fixtures/seraph-config.xml", "spec/fixtures/web.xml", "spec/spec_helper.rb", "Manifest", "ucb_deployer.gemspec"]
16
+ s.homepage = %q{http://ucbrb.rubyforge.org}
17
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ucb_deployer", "--main", "README.txt"]
18
+ s.require_paths = ["lib"]
19
+ s.rubyforge_project = %q{ucbrb}
20
+ s.rubygems_version = %q{1.3.7}
21
+ s.summary = %q{Tool for deploying java applications}
22
+
23
+ if s.respond_to? :specification_version then
24
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
+ s.specification_version = 3
26
+
27
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
+ else
29
+ end
30
+ else
31
+ end
32
+ end
metadata ADDED
@@ -0,0 +1,93 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ucb_deployer
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Steven Hansen
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-11 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Tool for deploying java applications
23
+ email: runner@berkeley.edu
24
+ executables:
25
+ - deployer
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.txt
30
+ - lib/confluence_deployer.rb
31
+ files:
32
+ - README.txt
33
+ - Rakefile
34
+ - bin/deployer
35
+ - cas_web.xml
36
+ - lib/confluence_deployer.rb
37
+ - spec/build/confluence/lib/soulwing-casclient-x.x.x.jar
38
+ - spec/build/confluence/src/confluence/WEB-INF/classes/confluence-init.properties
39
+ - spec/build/confluence/src/confluence/WEB-INF/classes/seraph-config.xml
40
+ - spec/build/confluence/src/confluence/WEB-INF/lib/postgresql-x.x.x.jar
41
+ - spec/build/confluence/src/confluence/WEB-INF/lib/soulwing-casclient-x.x.x.jar
42
+ - spec/build/confluence/src/confluence/WEB-INF/web.xml
43
+ - spec/confluence_deployer/confluence_deployer_spec.rb
44
+ - spec/fixtures/bad_dot_cdeprc
45
+ - spec/fixtures/confluence-init.properties
46
+ - spec/fixtures/dot_cdeprc
47
+ - spec/fixtures/seraph-config.xml
48
+ - spec/fixtures/web.xml
49
+ - spec/spec_helper.rb
50
+ - Manifest
51
+ - ucb_deployer.gemspec
52
+ has_rdoc: true
53
+ homepage: http://ucbrb.rubyforge.org
54
+ licenses: []
55
+
56
+ post_install_message:
57
+ rdoc_options:
58
+ - --line-numbers
59
+ - --inline-source
60
+ - --title
61
+ - Ucb_deployer
62
+ - --main
63
+ - README.txt
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
74
+ version: "0"
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ hash: 11
81
+ segments:
82
+ - 1
83
+ - 2
84
+ version: "1.2"
85
+ requirements: []
86
+
87
+ rubyforge_project: ucbrb
88
+ rubygems_version: 1.3.7
89
+ signing_key:
90
+ specification_version: 3
91
+ summary: Tool for deploying java applications
92
+ test_files: []
93
+