jetpack 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +8 -8
- data/bin/{preflight → jetpack} +12 -12
- data/jetpack.gemspec +1 -1
- data/jetty_files/jetty-init.erb +8 -8
- data/lib/{preflight → jetpack}/settings.rb +2 -2
- data/script/ci +1 -1
- data/spec/basics_spec.rb +2 -2
- data/spec/bundler_spec.rb +5 -5
- data/spec/ruby_19_spec.rb +2 -2
- data/spec/sample_projects/has_gems_via_bundler/config/{preflight.yml → jetpack.yml} +0 -0
- data/spec/sample_projects/has_gems_via_bundler_19/config/{preflight.yml → jetpack.yml} +0 -0
- data/spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/config/{preflight.yml → jetpack.yml} +0 -0
- data/spec/sample_projects/no_dependencies/config/{preflight.yml → jetpack.yml} +0 -0
- data/spec/sample_projects/webapp/config/{preflight.yml → jetpack.yml} +0 -0
- data/spec/sample_projects/webapp/config/{preflight_files → jetpack_files}/vendor/jetty/etc/custom-project-specific-jetty.xml +0 -0
- data/spec/sample_projects/webapp/config/{preflight_files → jetpack_files}/vendor/jetty/etc/template-from-project-jetty.xml.erb +0 -0
- data/spec/web_spec.rb +3 -3
- metadata +47 -69
data/README.markdown
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
#
|
1
|
+
# Jetpack
|
2
2
|
|
3
|
-
|
3
|
+
Jetpack prepares your (j)ruby project for jvm deployment.
|
4
4
|
|
5
|
-
|
5
|
+
Jetpack, as much as possible, uses standard ruby-world tools to prepare the app for deployment, and then presents the ruby app to jetty as a Java EE web application.
|
6
6
|
|
7
7
|
## Install
|
8
8
|
|
9
9
|
Deploys need to be performed using MRI. Here is a sample section of a project Gemfile:
|
10
10
|
|
11
11
|
platforms :ruby_19 do
|
12
|
-
gem '
|
12
|
+
gem 'jetpack'
|
13
13
|
end
|
14
14
|
|
15
15
|
|
16
|
-
Create `config/
|
16
|
+
Create `config/jetpack.yml` in your project:
|
17
17
|
|
18
18
|
jruby: "http://jruby.org.s3.amazonaws.com/downloads/1.6.5.1/jruby-complete-1.6.5.1.jar"
|
19
19
|
jetty: "http://dist.codehaus.org/jetty/jetty-hightide-7.4.5/jetty-hightide-7.4.5.v20110725.zip"
|
@@ -21,11 +21,11 @@ Create `config/preflight.yml` in your project:
|
|
21
21
|
app_user: "myapp"
|
22
22
|
app_root: "/usr/local/myapp/myapp"
|
23
23
|
|
24
|
-
Run
|
24
|
+
Run jetpack:
|
25
25
|
|
26
|
-
gem install
|
26
|
+
gem install jetpack
|
27
27
|
|
28
|
-
|
28
|
+
jetpack [your project directory]
|
29
29
|
|
30
30
|
Of note, you'll now have:
|
31
31
|
|
data/bin/{preflight → jetpack}
RENAMED
@@ -14,7 +14,7 @@ $LOAD_PATH << local_lib_dir if File.directory?(local_lib_dir)
|
|
14
14
|
#Cleanse the environment of these vars so that jruby is not affected.
|
15
15
|
ENV.delete_if{|k,v|k =~ /(^RUBY|^BUNDLE)/}
|
16
16
|
|
17
|
-
require "
|
17
|
+
require "jetpack/settings"
|
18
18
|
|
19
19
|
include FileUtils
|
20
20
|
|
@@ -29,17 +29,17 @@ def x!(cmd)
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
halt("usage:
|
32
|
+
halt("usage: jetpack <project_path>") unless ARGV.length==1 && File.directory?(ARGV[0])
|
33
33
|
|
34
34
|
@path_to_project = ARGV.shift
|
35
35
|
@created = []
|
36
36
|
|
37
|
-
@settings =
|
37
|
+
@settings = Jetpack::Settings.load_from_project(@path_to_project)
|
38
38
|
|
39
39
|
puts @settings.inspect
|
40
40
|
|
41
41
|
unless @settings.jruby?
|
42
|
-
halt(%{Your config/
|
42
|
+
halt(%{Your config/jetpack.yml must at least contain a pointer to the desired jruby-complete jar.
|
43
43
|
Ex:
|
44
44
|
|
45
45
|
jruby: http://jruby.org.s3.amazonaws.com/downloads/1.6.4/jruby-complete-1.6.4.jar
|
@@ -50,7 +50,7 @@ end
|
|
50
50
|
script_start_time = Time.now
|
51
51
|
|
52
52
|
@jruby_jar_file = "vendor/jruby.jar"
|
53
|
-
@
|
53
|
+
@jetpack_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
54
54
|
|
55
55
|
@gem_home = "file:" + File.expand_path(File.join(@settings.app_root, @jruby_jar_file)) + "!/META-INF/jruby.home/lib/ruby/gems/1.8"
|
56
56
|
@gem_path = @gem_home + ":vendor/bundler_gem"
|
@@ -72,7 +72,7 @@ end
|
|
72
72
|
|
73
73
|
def install_bundler_gem
|
74
74
|
unless File.exists?("#{@path_to_project}/vendor/bundler_gem")
|
75
|
-
jruby! " -S gem install #{@
|
75
|
+
jruby! " -S gem install #{@jetpack_dir}/gems/bundler-1.1.rc.gem -i vendor/bundler_gem --no-rdoc --no-ri"
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
@@ -144,7 +144,7 @@ end
|
|
144
144
|
|
145
145
|
bin_dir = File.join(@path_to_project, "bin")
|
146
146
|
mkdir_p bin_dir
|
147
|
-
overlay_files File.join(@
|
147
|
+
overlay_files File.join(@jetpack_dir, "bin_files"), bin_dir
|
148
148
|
|
149
149
|
vendor_dir = File.join(@path_to_project, "vendor")
|
150
150
|
mkdir_p vendor_dir
|
@@ -155,16 +155,16 @@ if @settings.jetty?
|
|
155
155
|
jetty_dir = install_jetty(vendor_dir)
|
156
156
|
install_jruby_rack_jar vendor_dir #raise if jar not found
|
157
157
|
|
158
|
-
overlay_files File.join(@
|
158
|
+
overlay_files File.join(@jetpack_dir, "jetty_files"), File.join(@path_to_project, "vendor/jetty")
|
159
159
|
|
160
160
|
web_inf_dir = File.join(@path_to_project, "WEB-INF")
|
161
161
|
mkdir_p web_inf_dir
|
162
|
-
overlay_files File.join(@
|
162
|
+
overlay_files File.join(@jetpack_dir, "web_inf_files"), web_inf_dir
|
163
163
|
end
|
164
164
|
|
165
|
-
|
166
|
-
if File.directory?(
|
167
|
-
overlay_files
|
165
|
+
config_jetpack_dir_in_project = File.join(@path_to_project, "config/jetpack_files")
|
166
|
+
if File.directory?(config_jetpack_dir_in_project)
|
167
|
+
overlay_files config_jetpack_dir_in_project, @path_to_project
|
168
168
|
end
|
169
169
|
|
170
170
|
elapsed_seconds = (Time.now - script_start_time).to_i
|
data/jetpack.gemspec
CHANGED
data/jetty_files/jetty-init.erb
CHANGED
@@ -70,7 +70,7 @@ test `whoami` != <%=@settings.app_user%> && JETTY_USER=<%=@settings.app_user%>
|
|
70
70
|
#
|
71
71
|
# <Arg><SystemProperty name="jetty.home" default="."/>/webapps/jetty.war</Arg>
|
72
72
|
#
|
73
|
-
# !!!
|
73
|
+
# !!! JETPACK NOTE: JETTY_PORT IS IGNORED !!!
|
74
74
|
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ JETTY_PORT
|
75
75
|
# Override the default port for Jetty servers. If not set then the
|
76
76
|
# default value in the xml configuration file will be used. The java
|
@@ -151,7 +151,7 @@ ensure_rails_env_set()
|
|
151
151
|
ACTION=$1
|
152
152
|
shift
|
153
153
|
ARGS="$*"
|
154
|
-
# CONFIGS="" -- Not used in
|
154
|
+
# CONFIGS="" -- Not used in jetpack. Rely on start.ini instead.
|
155
155
|
NO_START=0
|
156
156
|
|
157
157
|
##################################################
|
@@ -266,7 +266,7 @@ then
|
|
266
266
|
exit 1
|
267
267
|
fi
|
268
268
|
|
269
|
-
# !!!!!!! Not used in
|
269
|
+
# !!!!!!! Not used in jetpack. Rely on start.ini instead. !!!!!!!!!!
|
270
270
|
###########################################################
|
271
271
|
# Get the list of config.xml files from the command line.
|
272
272
|
###########################################################
|
@@ -316,7 +316,7 @@ then
|
|
316
316
|
fi
|
317
317
|
fi
|
318
318
|
|
319
|
-
# -- Not used in
|
319
|
+
# -- Not used in jetpack. Rely on start.ini instead.
|
320
320
|
##################################################
|
321
321
|
# Read the configuration file if one exists
|
322
322
|
##################################################
|
@@ -464,9 +464,9 @@ JAVA_VERSION=`expr "$($JAVA -version 2>&1 | head -1)" : '.*1\.\([0-9]\)'`
|
|
464
464
|
# See if JETTY_PORT is defined
|
465
465
|
#####################################################
|
466
466
|
#
|
467
|
-
#
|
467
|
+
# JETPACK NOTE:
|
468
468
|
# We do not allow the init script to set jetty.port
|
469
|
-
# when using
|
469
|
+
# when using jetpack, as jetpack sets this via
|
470
470
|
# jetty.xml, and setting port in both places causes
|
471
471
|
# jetty to attempt to bind to the same port.
|
472
472
|
#
|
@@ -672,9 +672,9 @@ case "$ACTION" in
|
|
672
672
|
echo "JETTY_ARGS = $JETTY_ARGS"
|
673
673
|
echo "JETTY_RUN = $JETTY_RUN"
|
674
674
|
echo "JETTY_PID = $JETTY_PID"
|
675
|
-
#echo "JETTY_PORT = $JETTY_PORT" JETTY_PORT is not used with
|
675
|
+
#echo "JETTY_PORT = $JETTY_PORT" JETTY_PORT is not used with jetpack, see note elsewhere in this file.
|
676
676
|
echo "JETTY_LOGS = $JETTY_LOGS"
|
677
|
-
#echo "CONFIGS = $CONFIGS" -- Not used with
|
677
|
+
#echo "CONFIGS = $CONFIGS" -- Not used with jetpack. Rely on start.ini instead.
|
678
678
|
echo "RAILS_ENV = $RAILS_ENV"
|
679
679
|
echo "JAVA_OPTIONS = $JAVA_OPTIONS"
|
680
680
|
echo "JAVA = $JAVA"
|
@@ -2,10 +2,10 @@ require "ostruct"
|
|
2
2
|
require "yaml"
|
3
3
|
require "erb"
|
4
4
|
|
5
|
-
module
|
5
|
+
module Jetpack
|
6
6
|
class Settings < OpenStruct
|
7
7
|
def self.load_from_project(project_dir)
|
8
|
-
config_file = File.join(project_dir, "config/
|
8
|
+
config_file = File.join(project_dir, "config/jetpack.yml")
|
9
9
|
raise("#{config_file} not found") unless File.exists?(config_file)
|
10
10
|
yaml = YAML.load(ERB.new(File.read(config_file)).result)
|
11
11
|
Settings.new(project_dir, yaml)
|
data/script/ci
CHANGED
data/spec/basics_spec.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
require "tmpdir"
|
3
3
|
|
4
|
-
describe "
|
4
|
+
describe "jetpack - basics" do
|
5
5
|
let(:project) { "spec/sample_projects/no_dependencies" }
|
6
6
|
|
7
7
|
before(:all) do
|
8
8
|
reset
|
9
|
-
@result = x!("bin/
|
9
|
+
@result = x!("bin/jetpack #{project}")
|
10
10
|
end
|
11
11
|
after(:all) do
|
12
12
|
reset
|
data/spec/bundler_spec.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
|
-
describe "
|
3
|
+
describe "jetpack - bundler and gems" do
|
4
4
|
|
5
5
|
before(:all) do
|
6
6
|
reset
|
7
7
|
rm_rf("spec/sample_projects/has_gems_via_bundler/vendor/bundle")
|
8
8
|
rm_rf("spec/sample_projects/has_gems_via_bundler/vendor/bundler_gem")
|
9
|
-
x!("bin/
|
9
|
+
x!("bin/jetpack spec/sample_projects/has_gems_via_bundler")
|
10
10
|
end
|
11
11
|
|
12
12
|
after(:all) do
|
@@ -98,14 +98,14 @@ DEPENDENCIES
|
|
98
98
|
|
99
99
|
it "regenerates the Gemfile.lock and prints out a warning message" do
|
100
100
|
File.read("spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/Gemfile.lock").should_not include("java")
|
101
|
-
|
102
|
-
|
101
|
+
jetpack_result = x("bin/jetpack spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock")
|
102
|
+
jetpack_result[:stderr].gsub("\n", "").squeeze(" ").should include(%{
|
103
103
|
WARNING: Your Gemfile.lock does not contain PLATFORM java.
|
104
104
|
Automtically regenerating and overwriting Gemfile.lock using jruby
|
105
105
|
- because otherwise, jruby-specific gems would not be installed by bundler.
|
106
106
|
To make this message go away, you must re-generate your Gemfile.lock using jruby.
|
107
107
|
}.gsub("\n", "").squeeze(" "))
|
108
|
-
|
108
|
+
jetpack_result[:exitstatus].should == 0
|
109
109
|
|
110
110
|
File.read("spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/Gemfile.lock").should include("java")
|
111
111
|
|
data/spec/ruby_19_spec.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
|
-
describe "
|
3
|
+
describe "jetpack - bundler and gems in 1.9 mode" do
|
4
4
|
let(:project) { 'has_gems_via_bundler_19' }
|
5
5
|
|
6
6
|
before(:all) do
|
7
7
|
reset
|
8
8
|
rm_rf("spec/sample_projects/#{project}/vendor/bundle")
|
9
9
|
rm_rf("spec/sample_projects/#{project}/vendor/bundler_gem")
|
10
|
-
x!("bin/
|
10
|
+
x!("bin/jetpack spec/sample_projects/#{project}")
|
11
11
|
end
|
12
12
|
|
13
13
|
after(:all) do
|
File without changes
|
File without changes
|
data/spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/config/{preflight.yml → jetpack.yml}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/web_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
require "yaml"
|
3
3
|
|
4
|
-
describe "
|
4
|
+
describe "jetpack - web start" do
|
5
5
|
before(:all) do
|
6
6
|
reset
|
7
|
-
@result = x!("bin/
|
7
|
+
@result = x!("bin/jetpack spec/sample_projects/webapp")
|
8
8
|
end
|
9
9
|
|
10
10
|
after(:all) do
|
@@ -32,7 +32,7 @@ describe "preflight - web start" do
|
|
32
32
|
|
33
33
|
it "respects the maximun number of concurrent connections" do
|
34
34
|
jetty_xml = "spec/sample_projects/webapp/vendor/jetty/etc/jetty.xml"
|
35
|
-
settings = YAML.load_file("spec/sample_projects/webapp/config/
|
35
|
+
settings = YAML.load_file("spec/sample_projects/webapp/config/jetpack.yml")
|
36
36
|
max_threads_setting = /<Set name="maxThreads">#{settings["max_concurrent_connections"]}<\/Set>/
|
37
37
|
|
38
38
|
File.exists?(jetty_xml).should == true
|
metadata
CHANGED
@@ -1,54 +1,42 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: jetpack
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 3
|
10
|
-
version: 0.0.3
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Steve Conover
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: bundler
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2166391640 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
33
22
|
type: :development
|
34
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2166391640
|
35
25
|
description:
|
36
|
-
email:
|
26
|
+
email:
|
37
27
|
- steve@squareup.com
|
38
|
-
executables:
|
39
|
-
-
|
28
|
+
executables:
|
29
|
+
- jetpack
|
40
30
|
extensions: []
|
41
|
-
|
42
31
|
extra_rdoc_files: []
|
43
|
-
|
44
|
-
files:
|
32
|
+
files:
|
45
33
|
- .gitignore
|
46
34
|
- .wrong
|
47
35
|
- Gemfile
|
48
36
|
- Gemfile.lock
|
49
37
|
- README.markdown
|
50
38
|
- Rakefile
|
51
|
-
- bin/
|
39
|
+
- bin/jetpack
|
52
40
|
- bin_files/.rake_runner.erb
|
53
41
|
- bin_files/rake.erb
|
54
42
|
- bin_files/ruby.erb
|
@@ -63,7 +51,7 @@ files:
|
|
63
51
|
- jetty_files/run/.gitkeep
|
64
52
|
- jetty_files/start.ini
|
65
53
|
- jetty_files/webapps/.gitkeep
|
66
|
-
- lib/
|
54
|
+
- lib/jetpack/settings.rb
|
67
55
|
- script/ci
|
68
56
|
- spec/basics_spec.rb
|
69
57
|
- spec/bundler_spec.rb
|
@@ -71,17 +59,17 @@ files:
|
|
71
59
|
- spec/sample_projects/has_gems_via_bundler/Gemfile
|
72
60
|
- spec/sample_projects/has_gems_via_bundler/Gemfile.lock
|
73
61
|
- spec/sample_projects/has_gems_via_bundler/Rakefile
|
74
|
-
- spec/sample_projects/has_gems_via_bundler/config/
|
62
|
+
- spec/sample_projects/has_gems_via_bundler/config/jetpack.yml
|
75
63
|
- spec/sample_projects/has_gems_via_bundler/true}
|
76
64
|
- spec/sample_projects/has_gems_via_bundler_19/Gemfile
|
77
65
|
- spec/sample_projects/has_gems_via_bundler_19/Gemfile.lock
|
78
66
|
- spec/sample_projects/has_gems_via_bundler_19/Rakefile
|
79
|
-
- spec/sample_projects/has_gems_via_bundler_19/config/
|
67
|
+
- spec/sample_projects/has_gems_via_bundler_19/config/jetpack.yml
|
80
68
|
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/Gemfile
|
81
69
|
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/Rakefile
|
82
|
-
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/config/
|
70
|
+
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/config/jetpack.yml
|
83
71
|
- spec/sample_projects/no_dependencies/Rakefile
|
84
|
-
- spec/sample_projects/no_dependencies/config/
|
72
|
+
- spec/sample_projects/no_dependencies/config/jetpack.yml
|
85
73
|
- spec/sample_projects/webapp/Gemfile
|
86
74
|
- spec/sample_projects/webapp/Gemfile.lock
|
87
75
|
- spec/sample_projects/webapp/app/controllers/application_controller.rb
|
@@ -92,9 +80,9 @@ files:
|
|
92
80
|
- spec/sample_projects/webapp/config/environments/development.rb
|
93
81
|
- spec/sample_projects/webapp/config/environments/test.rb
|
94
82
|
- spec/sample_projects/webapp/config/initializers/secret_token.rb
|
95
|
-
- spec/sample_projects/webapp/config/
|
96
|
-
- spec/sample_projects/webapp/config/
|
97
|
-
- spec/sample_projects/webapp/config/
|
83
|
+
- spec/sample_projects/webapp/config/jetpack.yml
|
84
|
+
- spec/sample_projects/webapp/config/jetpack_files/vendor/jetty/etc/custom-project-specific-jetty.xml
|
85
|
+
- spec/sample_projects/webapp/config/jetpack_files/vendor/jetty/etc/template-from-project-jetty.xml.erb
|
98
86
|
- spec/sample_projects/webapp/config/routes.rb
|
99
87
|
- spec/sample_projects/webapp/public/index.html
|
100
88
|
- spec/sample_projects/webapp/script/rails
|
@@ -102,58 +90,48 @@ files:
|
|
102
90
|
- spec/suite.rb
|
103
91
|
- spec/web_spec.rb
|
104
92
|
- web_inf_files/web.xml.erb
|
105
|
-
has_rdoc: true
|
106
93
|
homepage: https://github.com/square/jetpack
|
107
94
|
licenses: []
|
108
|
-
|
109
95
|
post_install_message:
|
110
96
|
rdoc_options: []
|
111
|
-
|
112
|
-
require_paths:
|
97
|
+
require_paths:
|
113
98
|
- lib
|
114
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
100
|
none: false
|
116
|
-
requirements:
|
117
|
-
- -
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
|
120
|
-
|
121
|
-
- 0
|
122
|
-
version: "0"
|
123
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
106
|
none: false
|
125
|
-
requirements:
|
126
|
-
- -
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
|
129
|
-
segments:
|
130
|
-
- 0
|
131
|
-
version: "0"
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
132
111
|
requirements: []
|
133
|
-
|
134
112
|
rubyforge_project:
|
135
|
-
rubygems_version: 1.
|
113
|
+
rubygems_version: 1.8.10
|
136
114
|
signing_key:
|
137
115
|
specification_version: 3
|
138
116
|
summary: Jetpack prepares your jRuby project for jvm deployment.
|
139
|
-
test_files:
|
117
|
+
test_files:
|
140
118
|
- spec/basics_spec.rb
|
141
119
|
- spec/bundler_spec.rb
|
142
120
|
- spec/ruby_19_spec.rb
|
143
121
|
- spec/sample_projects/has_gems_via_bundler/Gemfile
|
144
122
|
- spec/sample_projects/has_gems_via_bundler/Gemfile.lock
|
145
123
|
- spec/sample_projects/has_gems_via_bundler/Rakefile
|
146
|
-
- spec/sample_projects/has_gems_via_bundler/config/
|
124
|
+
- spec/sample_projects/has_gems_via_bundler/config/jetpack.yml
|
147
125
|
- spec/sample_projects/has_gems_via_bundler/true}
|
148
126
|
- spec/sample_projects/has_gems_via_bundler_19/Gemfile
|
149
127
|
- spec/sample_projects/has_gems_via_bundler_19/Gemfile.lock
|
150
128
|
- spec/sample_projects/has_gems_via_bundler_19/Rakefile
|
151
|
-
- spec/sample_projects/has_gems_via_bundler_19/config/
|
129
|
+
- spec/sample_projects/has_gems_via_bundler_19/config/jetpack.yml
|
152
130
|
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/Gemfile
|
153
131
|
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/Rakefile
|
154
|
-
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/config/
|
132
|
+
- spec/sample_projects/has_gems_via_bundler_bad_gemfile_lock/config/jetpack.yml
|
155
133
|
- spec/sample_projects/no_dependencies/Rakefile
|
156
|
-
- spec/sample_projects/no_dependencies/config/
|
134
|
+
- spec/sample_projects/no_dependencies/config/jetpack.yml
|
157
135
|
- spec/sample_projects/webapp/Gemfile
|
158
136
|
- spec/sample_projects/webapp/Gemfile.lock
|
159
137
|
- spec/sample_projects/webapp/app/controllers/application_controller.rb
|
@@ -164,9 +142,9 @@ test_files:
|
|
164
142
|
- spec/sample_projects/webapp/config/environments/development.rb
|
165
143
|
- spec/sample_projects/webapp/config/environments/test.rb
|
166
144
|
- spec/sample_projects/webapp/config/initializers/secret_token.rb
|
167
|
-
- spec/sample_projects/webapp/config/
|
168
|
-
- spec/sample_projects/webapp/config/
|
169
|
-
- spec/sample_projects/webapp/config/
|
145
|
+
- spec/sample_projects/webapp/config/jetpack.yml
|
146
|
+
- spec/sample_projects/webapp/config/jetpack_files/vendor/jetty/etc/custom-project-specific-jetty.xml
|
147
|
+
- spec/sample_projects/webapp/config/jetpack_files/vendor/jetty/etc/template-from-project-jetty.xml.erb
|
170
148
|
- spec/sample_projects/webapp/config/routes.rb
|
171
149
|
- spec/sample_projects/webapp/public/index.html
|
172
150
|
- spec/sample_projects/webapp/script/rails
|