warbler 1.4.9 → 1.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +16 -15
- data/Gemfile +9 -2
- data/ext/WarMain.java +2 -0
- data/lib/warbler/config.rb +2 -11
- data/lib/warbler/jar.rb +1 -1
- data/lib/warbler/rake_helper.rb +7 -0
- data/lib/warbler/traits/bundler.rb +5 -6
- data/lib/warbler/traits/gemspec.rb +21 -28
- data/lib/warbler/traits/rails.rb +5 -5
- data/lib/warbler/traits/war.rb +4 -1
- data/lib/warbler/version.rb +1 -1
- data/lib/warbler/web_server.rb +8 -6
- data/lib/warbler_jar.jar +0 -0
- data/pom.xml +3 -10
- data/spec/sample_jar/sample_jar.gemspec +2 -1
- data/spec/sample_jar/sbin/sample_jar +5 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/warbler/jar_spec.rb +4 -4
- data/warbler.gemspec +7 -8
- metadata +35 -214
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 193f10998499ba07232b514ad698a49b648552ee
|
4
|
+
data.tar.gz: c7ac8f3a09baaa3f93d7aef10a1cdf7eec9253d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c41353fe596a7547303aec2da758d395ecdaa3326515a92c01d7abd69a1669420ec6392270d31c8737d4e090244a0d595ecbadb5b49b08fd6f286d3af11b589b
|
7
|
+
data.tar.gz: c9bc63f6a746dd771959d4e2ac33dd5de5fbcdd46f1c1896d54417334e786d8244a3fa5192cbf937222dcf9d099f4ce1899984663276a5687e01c18c101f3a4b
|
data/.travis.yml
CHANGED
@@ -2,38 +2,39 @@ sudo: false
|
|
2
2
|
language: ruby
|
3
3
|
script: bundle exec rake spec
|
4
4
|
rvm:
|
5
|
-
- jruby-1.7.
|
5
|
+
- jruby-1.7.24
|
6
6
|
branches:
|
7
7
|
only:
|
8
8
|
- master
|
9
|
-
-
|
10
|
-
- /^test-.*/
|
9
|
+
- /-dev|-feature|-fix/
|
11
10
|
before_install:
|
12
11
|
- ([ "$BUNDLER_VERSION" ] && gem uninstall bundler --all --force && gem install bundler -v "$BUNDLER_VERSION") || true
|
13
12
|
- bundle --version
|
14
13
|
before_script:
|
15
14
|
- export JRUBY_OPTS="$JRUBY_OPTS --server -Xcext.enabled=false -Xcompile.invokedynamic=false"
|
16
15
|
env:
|
17
|
-
-
|
18
|
-
- JRUBY_OPTS="--1.9" BUNDLER_VERSION="~> 1.8.9"
|
16
|
+
- BUNDLER_VERSION="~> 1.10"
|
19
17
|
matrix:
|
20
18
|
include:
|
21
|
-
- rvm: jruby-
|
22
|
-
env: JRUBY_OPTS="" BUNDLER_VERSION="~> 1.
|
23
|
-
- rvm: jruby-1.7.
|
24
|
-
env: JRUBY_OPTS="" BUNDLER_VERSION="~> 1.10.2"
|
19
|
+
- rvm: jruby-1.7.24
|
20
|
+
env: JRUBY_OPTS="--1.8" BUNDLER_VERSION="~> 1.7.9" RAKE_VERSION="~> 10.2.2"
|
21
|
+
- rvm: jruby-1.7.24
|
22
|
+
env: JRUBY_OPTS="--1.9" BUNDLER_VERSION="~> 1.11.2" RAKE_VERSION="~> 10.3.2"
|
23
|
+
- rvm: jruby-1.7.8
|
24
|
+
env: JRUBY_OPTS="--1.8" BUNDLER_VERSION="~> 1.8.9" RAKE_VERSION="~> 10.1.1"
|
25
|
+
- rvm: jruby-1.7.16
|
26
|
+
env: JRUBY_OPTS="" BUNDLER_VERSION="~> 1.10.2" RAKE_VERSION="~> 10.4.2"
|
25
27
|
- rvm: 1.8.7
|
26
|
-
env: BUNDLER_VERSION="~> 1.6.9"
|
28
|
+
env: BUNDLER_VERSION="~> 1.6.9" RAKE_VERSION="~> 10.4.2"
|
27
29
|
- rvm: 1.9.2
|
28
|
-
env: BUNDLER_VERSION="~> 1.7.9"
|
30
|
+
env: BUNDLER_VERSION="~> 1.7.9" RAKE_VERSION="~> 10.5.0"
|
29
31
|
- rvm: 1.9.3
|
30
|
-
env: BUNDLER_VERSION="~> 1.8.9"
|
31
|
-
- rvm: jruby
|
32
|
+
env: BUNDLER_VERSION="~> 1.8.9" RAKE_VERSION="~> 10.2.2"
|
33
|
+
- rvm: jruby-1.7.24
|
32
34
|
env: MAVEN_OPTS="-XX:MaxPermSize=128m"
|
33
35
|
script: mvn clean verify
|
34
36
|
allow_failures:
|
35
|
-
-
|
36
|
-
- rvm: jruby-head
|
37
|
+
- script: mvn clean verify
|
37
38
|
notifications:
|
38
39
|
irc:
|
39
40
|
channels:
|
data/Gemfile
CHANGED
@@ -9,6 +9,13 @@ group :development do
|
|
9
9
|
gem "maven-tools", "~> 0.34.5"
|
10
10
|
end
|
11
11
|
|
12
|
-
|
13
|
-
gem '
|
12
|
+
group :development, :test do
|
13
|
+
gem 'rdoc', '~> 3.10', :require => nil
|
14
|
+
gem 'rake', ENV['RAKE_VERSION'], :require => nil if ENV['RAKE_VERSION']
|
14
15
|
end
|
16
|
+
|
17
|
+
if ENV['RUBYZIP_VERSION']
|
18
|
+
gem 'rubyzip', ENV['RUBYZIP_VERSION']
|
19
|
+
elsif RUBY_VERSION < "1.9"
|
20
|
+
gem 'rubyzip', '~> 0.9'
|
21
|
+
end
|
data/ext/WarMain.java
CHANGED
@@ -142,6 +142,7 @@ public class WarMain extends JarMain {
|
|
142
142
|
|
143
143
|
String port = getSystemProperty("warbler.port", getENV("PORT"));
|
144
144
|
port = port == null ? "8080" : port;
|
145
|
+
String host = getSystemProperty("warbler.host", "0.0.0.0");
|
145
146
|
String webserverConfig = getSystemProperty("warbler.webserver_config", getENV("WARBLER_WEBSERVER_CONFIG"));
|
146
147
|
String embeddedWebserverConfig = new URI("jar", entryPath(WEBSERVER_CONFIG), null).toURL().toString();
|
147
148
|
webserverConfig = webserverConfig == null ? embeddedWebserverConfig : webserverConfig;
|
@@ -149,6 +150,7 @@ public class WarMain extends JarMain {
|
|
149
150
|
String val = (String) entry.getValue();
|
150
151
|
val = val.replace("{{warfile}}", archive).
|
151
152
|
replace("{{port}}", port).
|
153
|
+
replace("{{host}}", host).
|
152
154
|
replace("{{config}}", webserverConfig).
|
153
155
|
replace("{{webroot}}", webroot.getAbsolutePath());
|
154
156
|
entry.setValue(val);
|
data/lib/warbler/config.rb
CHANGED
@@ -242,17 +242,8 @@ module Warbler
|
|
242
242
|
end
|
243
243
|
end
|
244
244
|
|
245
|
-
|
246
|
-
|
247
|
-
$stderr.puts "config.war_name deprecated; replace with config.jar_name" #:nocov:
|
248
|
-
jar_name #:nocov:
|
249
|
-
end
|
250
|
-
|
251
|
-
# Deprecated
|
252
|
-
def war_name=(w)
|
253
|
-
$stderr.puts "config.war_name deprecated; replace with config.jar_name" #:nocov:
|
254
|
-
self.jar_name = w #:nocov:
|
255
|
-
end
|
245
|
+
alias_method :war_name, :jar_name
|
246
|
+
alias_method :war_name=, :jar_name=
|
256
247
|
|
257
248
|
private
|
258
249
|
def warbler_vendor_excludes(warbler_home)
|
data/lib/warbler/jar.rb
CHANGED
data/lib/warbler/rake_helper.rb
CHANGED
@@ -23,19 +23,18 @@ module Warbler
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def before_configure
|
26
|
-
config.bundler
|
27
|
-
config.bundle_without = [
|
26
|
+
config.bundler ||= true
|
27
|
+
config.bundle_without = ['development', 'test', 'assets']
|
28
28
|
end
|
29
29
|
|
30
30
|
def after_configure
|
31
31
|
add_bundler_gems if config.bundler
|
32
32
|
end
|
33
33
|
|
34
|
-
def add_bundler_gems
|
35
|
-
|
36
|
-
config.gems.clear
|
34
|
+
def add_bundler_gems; require 'bundler'
|
35
|
+
# config.gems.clear allow to add `config.gems` on top of those bundled
|
37
36
|
config.gem_dependencies = false # Bundler takes care of these
|
38
|
-
config.bundler = {}
|
37
|
+
config.bundler = {} if config.bundler == true
|
39
38
|
|
40
39
|
bundler_specs.each do |spec|
|
41
40
|
spec = to_spec(spec)
|
@@ -18,18 +18,17 @@ module Warbler
|
|
18
18
|
!Dir['*.gemspec'].empty?
|
19
19
|
end
|
20
20
|
|
21
|
-
def before_configure
|
21
|
+
def before_configure; require 'yaml'
|
22
22
|
@spec_file = Dir['*.gemspec'].first
|
23
|
-
|
24
|
-
@spec
|
25
|
-
@spec.runtime_dependencies.each {|g| config.gems << g }
|
23
|
+
@spec = File.open(@spec_file) { |f| Gem::Specification.from_yaml(f) } rescue Gem::Specification.load(@spec_file)
|
24
|
+
@spec.runtime_dependencies.each { |g| config.gems << g }
|
26
25
|
config.dirs = []
|
27
|
-
config.compiled_ruby_files = @spec.files.select {|f| f =~ /\.rb$/}
|
26
|
+
config.compiled_ruby_files = @spec.files.select { |f| f =~ /\.rb$/ }
|
28
27
|
end
|
29
28
|
|
30
29
|
def after_configure
|
31
30
|
@spec.require_paths.each do |p|
|
32
|
-
add_init_load_path(config.pathmaps.application.inject(p) {|pm,x| pm.pathmap(x)})
|
31
|
+
add_init_load_path( config.pathmaps.application.inject(p) { |pm,x| pm.pathmap(x) } )
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
@@ -54,33 +53,27 @@ module Warbler
|
|
54
53
|
end
|
55
54
|
|
56
55
|
def default_executable
|
57
|
-
if
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
"bin/#{
|
56
|
+
if ! @spec.executables.empty?
|
57
|
+
exe_script = @spec.executables.first
|
58
|
+
exe_path = File.join(@spec.bindir, exe_script) # bin/script
|
59
|
+
if File.exists?(exe_path)
|
60
|
+
exe_path
|
61
|
+
elsif File.exists?("bin/#{exe_script}") # compatibility
|
62
|
+
"bin/#{exe_script}" # ... should probably remove this
|
64
63
|
else
|
65
|
-
exe_script
|
66
|
-
if File.exists?("exe/#{exe_script}")
|
67
|
-
"exe/#{exe_script}"
|
68
|
-
elsif File.exists?("bin/#{exe_script}")
|
69
|
-
"bin/#{exe_script}"
|
70
|
-
else
|
71
|
-
raise "No `#{exe_script}` executable script found"
|
72
|
-
end
|
64
|
+
raise "no `#{exe_script}` executable script found"
|
73
65
|
end
|
74
|
-
elsif
|
75
|
-
warn "
|
76
|
-
|
77
|
-
elsif
|
78
|
-
warn "
|
79
|
-
|
66
|
+
elsif exe_path = Dir['bin/*'].sort.first
|
67
|
+
warn "no executables found in #{@spec_file}, using #{exe_path}"
|
68
|
+
exe_path
|
69
|
+
elsif exe_path = Dir['exe/*'].sort.first
|
70
|
+
warn "no executables found in #{@spec_file}, using #{exe_path}"
|
71
|
+
exe_path
|
80
72
|
else
|
81
|
-
raise "
|
73
|
+
raise "no executable script found"
|
82
74
|
end
|
83
75
|
end
|
76
|
+
|
84
77
|
end
|
85
78
|
end
|
86
79
|
end
|
data/lib/warbler/traits/rails.rb
CHANGED
@@ -12,7 +12,7 @@ module Warbler
|
|
12
12
|
include Trait
|
13
13
|
|
14
14
|
def self.detect?
|
15
|
-
File.exist?(
|
15
|
+
File.exist?('config/environment.rb')
|
16
16
|
end
|
17
17
|
|
18
18
|
def self.requirements
|
@@ -24,15 +24,15 @@ module Warbler
|
|
24
24
|
config.webxml.rails.env = ENV['RAILS_ENV'] || 'production'
|
25
25
|
|
26
26
|
return unless Warbler.framework_detection
|
27
|
-
return false unless task = Warbler.project_application.lookup(
|
27
|
+
return false unless task = Warbler.project_application.lookup('environment')
|
28
28
|
|
29
29
|
task.invoke rescue nil
|
30
30
|
return false unless defined?(::Rails)
|
31
31
|
|
32
|
-
config.dirs <<
|
32
|
+
config.dirs << 'tmp' if File.directory?('tmp')
|
33
33
|
config.webxml.booter = :rails
|
34
|
-
unless (defined?(::Rails.vendor_rails?) && ::Rails.vendor_rails?) || File.directory?(
|
35
|
-
config.gems[
|
34
|
+
unless (defined?(::Rails.vendor_rails?) && ::Rails.vendor_rails?) || File.directory?('vendor/rails')
|
35
|
+
config.gems['rails'] = ::Rails::VERSION::STRING unless Bundler.detect?
|
36
36
|
end
|
37
37
|
if defined?(::Rails.configuration.gems)
|
38
38
|
::Rails.configuration.gems.each do |g|
|
data/lib/warbler/traits/war.rb
CHANGED
@@ -134,7 +134,8 @@ module Warbler
|
|
134
134
|
def move_jars_to_webinf_lib(jar, selector = nil)
|
135
135
|
return unless selector # default is false
|
136
136
|
selector = /.*/ if selector == true # move all if not a RegExp given
|
137
|
-
|
137
|
+
default_jar_paths = default_jar_files
|
138
|
+
default_jars = default_jar_paths.map { |file| File.basename(file) }
|
138
139
|
jar.files.keys.select { |k| k =~ /^WEB-INF\/.*\.jar$/ }.each do |k|
|
139
140
|
if k.start_with?('WEB-INF/lib/') # .jar already in WEB-INF/lib
|
140
141
|
if default_jars.include? k.sub('WEB-INF/lib/', '')
|
@@ -144,6 +145,8 @@ module Warbler
|
|
144
145
|
next
|
145
146
|
end
|
146
147
|
next unless selector =~ File.basename(k)
|
148
|
+
# default jars might end up mapped twice as they're part of gems
|
149
|
+
next if default_jar_paths.include?(jar.files[k])
|
147
150
|
name = k.sub('WEB-INF', '')[1..-1].gsub(/[\/\\]/, '-')
|
148
151
|
jar.files["WEB-INF/lib/#{name}"] = jar.files[k]
|
149
152
|
jar.files[k] = empty_jar
|
data/lib/warbler/version.rb
CHANGED
data/lib/warbler/web_server.rb
CHANGED
@@ -132,13 +132,15 @@ CONFIG
|
|
132
132
|
|
133
133
|
jar.files["WEB-INF/webserver.properties"] = StringIO.new(<<-PROPS)
|
134
134
|
mainclass = org.eclipse.jetty.runner.Runner
|
135
|
-
args = args0,args1,args2,args3,args4
|
135
|
+
args = args0,args1,args2,args3,args4,args5,args6
|
136
136
|
props = jetty.home
|
137
|
-
args0 = --
|
138
|
-
args1 = {{
|
139
|
-
args2 = --
|
140
|
-
args3 = {{
|
141
|
-
args4 =
|
137
|
+
args0 = --host
|
138
|
+
args1 = {{host}}
|
139
|
+
args2 = --port
|
140
|
+
args3 = {{port}}
|
141
|
+
args4 = --config
|
142
|
+
args5 = {{config}}
|
143
|
+
args6 = {{warfile}}
|
142
144
|
jetty.home = {{webroot}}
|
143
145
|
PROPS
|
144
146
|
end
|
data/lib/warbler_jar.jar
CHANGED
Binary file
|
data/pom.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<modelVersion>4.0.0</modelVersion>
|
5
5
|
<groupId>rubygems</groupId>
|
6
6
|
<artifactId>warbler</artifactId>
|
7
|
-
<version>1.4.
|
7
|
+
<version>1.4.10</version>
|
8
8
|
<packaging>gem</packaging>
|
9
9
|
<name>Warbler chirpily constructs .war files of your Rails applications.</name>
|
10
10
|
<description>Warbler is a gem to make a Java jar or war file out of any Ruby,
|
@@ -39,7 +39,7 @@ bundle up all of your application files for deployment to a Java environment.</d
|
|
39
39
|
<dependency>
|
40
40
|
<groupId>rubygems</groupId>
|
41
41
|
<artifactId>rubyzip</artifactId>
|
42
|
-
<version>[0.9,1.
|
42
|
+
<version>[0.9,1.3)</version>
|
43
43
|
<type>gem</type>
|
44
44
|
</dependency>
|
45
45
|
<dependency>
|
@@ -52,7 +52,7 @@ bundle up all of your application files for deployment to a Java environment.</d
|
|
52
52
|
<dependency>
|
53
53
|
<groupId>rubygems</groupId>
|
54
54
|
<artifactId>ruby-maven</artifactId>
|
55
|
-
<version>[3.1.1
|
55
|
+
<version>[3.1.1,3.1.99999]</version>
|
56
56
|
<type>gem</type>
|
57
57
|
<scope>test</scope>
|
58
58
|
</dependency>
|
@@ -63,13 +63,6 @@ bundle up all of your application files for deployment to a Java environment.</d
|
|
63
63
|
<type>gem</type>
|
64
64
|
<scope>test</scope>
|
65
65
|
</dependency>
|
66
|
-
<dependency>
|
67
|
-
<groupId>rubygems</groupId>
|
68
|
-
<artifactId>rdoc</artifactId>
|
69
|
-
<version>[2.4.2,)</version>
|
70
|
-
<type>gem</type>
|
71
|
-
<scope>test</scope>
|
72
|
-
</dependency>
|
73
66
|
<dependency>
|
74
67
|
<groupId>org.jruby</groupId>
|
75
68
|
<artifactId>jruby</artifactId>
|
@@ -10,7 +10,8 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.description = ""
|
11
11
|
s.email = ["nick@nicksieger.com"]
|
12
12
|
s.executables = ["sample_jar"]
|
13
|
-
s.
|
13
|
+
s.bindir = 'sbin'
|
14
|
+
s.files = ["History.txt", "Rakefile", "README.txt", "sample_jar.gemspec", "bin/sample_jar", "sbin/sample_jar", "lib/sample_jar.rb", "test/test_sample_jar.rb"]
|
14
15
|
s.homepage = ""
|
15
16
|
s.require_paths = ["lib"]
|
16
17
|
s.rubygems_version = "1.8.15"
|
data/spec/spec_helper.rb
CHANGED
@@ -109,7 +109,7 @@ module ExampleGroupHelpers
|
|
109
109
|
gem.summary = "Gem for testing"
|
110
110
|
gem.platform = Gem::Platform::RUBY
|
111
111
|
gem.files = `git ls-files`.split("\n")
|
112
|
-
gem.add_runtime_dependency 'rake', [
|
112
|
+
gem.add_runtime_dependency 'rake', ['>= 0.8.7']
|
113
113
|
end
|
114
114
|
RUBY
|
115
115
|
end
|
data/spec/warbler/jar_spec.rb
CHANGED
@@ -149,7 +149,7 @@ describe Warbler::Jar do
|
|
149
149
|
it "loads the default executable in main.rb" do
|
150
150
|
jar.apply(config)
|
151
151
|
contents = jar.contents('META-INF/main.rb')
|
152
|
-
contents.should
|
152
|
+
contents.should == "load 'sample_jar/sbin/sample_jar'"
|
153
153
|
end
|
154
154
|
|
155
155
|
it "includes compiled .rb and .class files" do
|
@@ -184,7 +184,7 @@ describe Warbler::Jar do
|
|
184
184
|
jar.apply(config)
|
185
185
|
file_list(%r{sample_jar.*\.rb$}).size.should == 2
|
186
186
|
if RUBY_VERSION >= '1.9'
|
187
|
-
file_list(%r{gems.*\.class$}).size.should
|
187
|
+
file_list(%r{gems.*\.class$}).size.should >= 80 # depending on RubyZip version
|
188
188
|
else
|
189
189
|
# 1.8.7 uses an older version of rubyzip and so the number of files compiled changes
|
190
190
|
file_list(%r{gems.*\.class$}).size.should == 32
|
@@ -910,10 +910,10 @@ describe Warbler::Jar do
|
|
910
910
|
|
911
911
|
it "skips Merb development dependencies" do
|
912
912
|
task :merb_env do
|
913
|
-
@merb.dependencies = [Gem::Dependency.new("rake", "= #{
|
913
|
+
@merb.dependencies = [Gem::Dependency.new("rake", "= #{Rake::VERSION}", :development)]
|
914
914
|
end
|
915
915
|
jar.apply(config)
|
916
|
-
file_list(/rake-#{
|
916
|
+
file_list(/rake-#{Rake::VERSION}/).should be_empty
|
917
917
|
end
|
918
918
|
|
919
919
|
it "warns about using Merb < 1.0" do
|
data/warbler.gemspec
CHANGED
@@ -22,13 +22,12 @@ bundle up all of your application files for deployment to a Java environment.}
|
|
22
22
|
|
23
23
|
gem.rdoc_options = ["--main", "README.rdoc", "-H", "-f", "darkfish"]
|
24
24
|
|
25
|
-
gem.add_runtime_dependency 'rake', [
|
25
|
+
gem.add_runtime_dependency 'rake', ['>= 0.9.6']
|
26
26
|
# restrict it for maven not to find jruby-9000.dev
|
27
|
-
gem.add_runtime_dependency 'jruby-jars', [
|
28
|
-
gem.add_runtime_dependency 'jruby-rack', [
|
29
|
-
gem.add_runtime_dependency 'rubyzip', [
|
30
|
-
gem.add_development_dependency 'jbundler',
|
31
|
-
gem.add_development_dependency 'ruby-maven', '~> 3.1.1
|
32
|
-
gem.add_development_dependency 'rspec',
|
33
|
-
gem.add_development_dependency 'rdoc', ">= 2.4.2"
|
27
|
+
gem.add_runtime_dependency 'jruby-jars', ['>= 1.5.6', '< 2.0']
|
28
|
+
gem.add_runtime_dependency 'jruby-rack', ['>= 1.1.1', '< 1.3']
|
29
|
+
gem.add_runtime_dependency 'rubyzip', ['>= 0.9', "< 1.3"]
|
30
|
+
gem.add_development_dependency 'jbundler', '~> 0.5.5'
|
31
|
+
gem.add_development_dependency 'ruby-maven', '~> 3.1.1'
|
32
|
+
gem.add_development_dependency 'rspec', '~> 2.10'
|
34
33
|
end
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sieger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- -
|
16
|
+
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: 0.9.6
|
19
19
|
name: rake
|
@@ -21,16 +21,16 @@ dependencies:
|
|
21
21
|
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.9.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.5.6
|
33
|
-
- - <
|
33
|
+
- - "<"
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '2.0'
|
36
36
|
name: jruby-jars
|
@@ -38,19 +38,19 @@ dependencies:
|
|
38
38
|
type: :runtime
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.5.6
|
44
|
-
- - <
|
44
|
+
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '2.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.1.1
|
53
|
-
- - <
|
53
|
+
- - "<"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '1.3'
|
56
56
|
name: jruby-rack
|
@@ -58,36 +58,36 @@ dependencies:
|
|
58
58
|
type: :runtime
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 1.1.1
|
64
|
-
- - <
|
64
|
+
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '1.3'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
requirement: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0.9'
|
73
|
-
- - <
|
73
|
+
- - "<"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
75
|
+
version: '1.3'
|
76
76
|
name: rubyzip
|
77
77
|
prerelease: false
|
78
78
|
type: :runtime
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0.9'
|
84
|
-
- - <
|
84
|
+
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '1.
|
86
|
+
version: '1.3'
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
requirement: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- - ~>
|
90
|
+
- - "~>"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: 0.5.5
|
93
93
|
name: jbundler
|
@@ -95,27 +95,27 @@ dependencies:
|
|
95
95
|
type: :development
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- - ~>
|
98
|
+
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: 0.5.5
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- - ~>
|
104
|
+
- - "~>"
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: 3.1.1
|
106
|
+
version: 3.1.1
|
107
107
|
name: ruby-maven
|
108
108
|
prerelease: false
|
109
109
|
type: :development
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- - ~>
|
112
|
+
- - "~>"
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: 3.1.1
|
114
|
+
version: 3.1.1
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
requirement: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
|
-
- - ~>
|
118
|
+
- - "~>"
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '2.10'
|
121
121
|
name: rspec
|
@@ -123,23 +123,9 @@ dependencies:
|
|
123
123
|
type: :development
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- - ~>
|
126
|
+
- - "~>"
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '2.10'
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
requirement: !ruby/object:Gem::Requirement
|
131
|
-
requirements:
|
132
|
-
- - '>='
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 2.4.2
|
135
|
-
name: rdoc
|
136
|
-
prerelease: false
|
137
|
-
type: :development
|
138
|
-
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
requirements:
|
140
|
-
- - '>='
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 2.4.2
|
143
129
|
description: |-
|
144
130
|
Warbler is a gem to make a Java jar or war file out of any Ruby,
|
145
131
|
Rails, or Rack application. Warbler provides a minimal, flexible, Ruby-like way to
|
@@ -150,8 +136,8 @@ executables:
|
|
150
136
|
extensions: []
|
151
137
|
extra_rdoc_files: []
|
152
138
|
files:
|
153
|
-
- .gitignore
|
154
|
-
- .travis.yml
|
139
|
+
- ".gitignore"
|
140
|
+
- ".travis.yml"
|
155
141
|
- Gemfile
|
156
142
|
- History.txt
|
157
143
|
- LICENSE.txt
|
@@ -314,6 +300,7 @@ files:
|
|
314
300
|
- spec/sample_jar/bin/sample_jar
|
315
301
|
- spec/sample_jar/lib/sample_jar.rb
|
316
302
|
- spec/sample_jar/sample_jar.gemspec
|
303
|
+
- spec/sample_jar/sbin/sample_jar
|
317
304
|
- spec/sample_jar/test/test_sample_jar.rb
|
318
305
|
- spec/sample_jbundler/.jbundler/classpath.rb
|
319
306
|
- spec/sample_jbundler/Gemfile
|
@@ -373,21 +360,21 @@ licenses:
|
|
373
360
|
metadata: {}
|
374
361
|
post_install_message:
|
375
362
|
rdoc_options:
|
376
|
-
- --main
|
363
|
+
- "--main"
|
377
364
|
- README.rdoc
|
378
|
-
- -H
|
379
|
-
- -f
|
365
|
+
- "-H"
|
366
|
+
- "-f"
|
380
367
|
- darkfish
|
381
368
|
require_paths:
|
382
369
|
- lib
|
383
370
|
required_ruby_version: !ruby/object:Gem::Requirement
|
384
371
|
requirements:
|
385
|
-
- -
|
372
|
+
- - ">="
|
386
373
|
- !ruby/object:Gem::Version
|
387
374
|
version: '0'
|
388
375
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
389
376
|
requirements:
|
390
|
-
- -
|
377
|
+
- - ">="
|
391
378
|
- !ruby/object:Gem::Version
|
392
379
|
version: '0'
|
393
380
|
requirements: []
|
@@ -396,170 +383,4 @@ rubygems_version: 2.4.8
|
|
396
383
|
signing_key:
|
397
384
|
specification_version: 4
|
398
385
|
summary: Warbler chirpily constructs .war files of your Rails applications.
|
399
|
-
test_files:
|
400
|
-
- integration/Rakefile
|
401
|
-
- integration/pom.xml
|
402
|
-
- integration/rails4_test/pom.xml
|
403
|
-
- integration/rails4_test/src/main/ruby/Gemfile
|
404
|
-
- integration/rails4_test/src/main/ruby/README.rdoc
|
405
|
-
- integration/rails4_test/src/main/ruby/Rakefile
|
406
|
-
- integration/rails4_test/src/main/ruby/app/assets/javascripts/application.js
|
407
|
-
- integration/rails4_test/src/main/ruby/app/assets/javascripts/posts.js.coffee
|
408
|
-
- integration/rails4_test/src/main/ruby/app/assets/stylesheets/application.css
|
409
|
-
- integration/rails4_test/src/main/ruby/app/assets/stylesheets/posts.css.scss
|
410
|
-
- integration/rails4_test/src/main/ruby/app/assets/stylesheets/scaffolds.css.scss
|
411
|
-
- integration/rails4_test/src/main/ruby/app/controllers/application_controller.rb
|
412
|
-
- integration/rails4_test/src/main/ruby/app/controllers/concerns/.keep
|
413
|
-
- integration/rails4_test/src/main/ruby/app/controllers/posts_controller.rb
|
414
|
-
- integration/rails4_test/src/main/ruby/app/helpers/application_helper.rb
|
415
|
-
- integration/rails4_test/src/main/ruby/app/helpers/posts_helper.rb
|
416
|
-
- integration/rails4_test/src/main/ruby/app/mailers/.keep
|
417
|
-
- integration/rails4_test/src/main/ruby/app/models/.keep
|
418
|
-
- integration/rails4_test/src/main/ruby/app/models/concerns/.keep
|
419
|
-
- integration/rails4_test/src/main/ruby/app/models/post.rb
|
420
|
-
- integration/rails4_test/src/main/ruby/app/views/layouts/application.html.erb
|
421
|
-
- integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
|
422
|
-
- integration/rails4_test/src/main/ruby/app/views/posts/edit.html.erb
|
423
|
-
- integration/rails4_test/src/main/ruby/app/views/posts/index.html.erb
|
424
|
-
- integration/rails4_test/src/main/ruby/app/views/posts/index.json.jbuilder
|
425
|
-
- integration/rails4_test/src/main/ruby/app/views/posts/new.html.erb
|
426
|
-
- integration/rails4_test/src/main/ruby/app/views/posts/show.html.erb
|
427
|
-
- integration/rails4_test/src/main/ruby/app/views/posts/show.json.jbuilder
|
428
|
-
- integration/rails4_test/src/main/ruby/config.ru
|
429
|
-
- integration/rails4_test/src/main/ruby/config/application.rb
|
430
|
-
- integration/rails4_test/src/main/ruby/config/boot.rb
|
431
|
-
- integration/rails4_test/src/main/ruby/config/database.yml
|
432
|
-
- integration/rails4_test/src/main/ruby/config/environment.rb
|
433
|
-
- integration/rails4_test/src/main/ruby/config/environments/development.rb
|
434
|
-
- integration/rails4_test/src/main/ruby/config/environments/production.rb
|
435
|
-
- integration/rails4_test/src/main/ruby/config/environments/test.rb
|
436
|
-
- integration/rails4_test/src/main/ruby/config/initializers/backtrace_silencers.rb
|
437
|
-
- integration/rails4_test/src/main/ruby/config/initializers/filter_parameter_logging.rb
|
438
|
-
- integration/rails4_test/src/main/ruby/config/initializers/inflections.rb
|
439
|
-
- integration/rails4_test/src/main/ruby/config/initializers/mime_types.rb
|
440
|
-
- integration/rails4_test/src/main/ruby/config/initializers/secret_token.rb
|
441
|
-
- integration/rails4_test/src/main/ruby/config/initializers/session_store.rb
|
442
|
-
- integration/rails4_test/src/main/ruby/config/initializers/wrap_parameters.rb
|
443
|
-
- integration/rails4_test/src/main/ruby/config/locales/en.yml
|
444
|
-
- integration/rails4_test/src/main/ruby/config/routes.rb
|
445
|
-
- integration/rails4_test/src/main/ruby/config/warble.rb
|
446
|
-
- integration/rails4_test/src/main/ruby/db/development.sqlite3
|
447
|
-
- integration/rails4_test/src/main/ruby/db/migrate/20130502003552_create_posts.rb
|
448
|
-
- integration/rails4_test/src/main/ruby/db/production.sqlite3
|
449
|
-
- integration/rails4_test/src/main/ruby/db/schema.rb
|
450
|
-
- integration/rails4_test/src/main/ruby/db/seeds.rb
|
451
|
-
- integration/rails4_test/src/main/ruby/lib/assets/.keep
|
452
|
-
- integration/rails4_test/src/main/ruby/lib/tasks/.keep
|
453
|
-
- integration/rails4_test/src/main/ruby/public/404.html
|
454
|
-
- integration/rails4_test/src/main/ruby/public/422.html
|
455
|
-
- integration/rails4_test/src/main/ruby/public/500.html
|
456
|
-
- integration/rails4_test/src/main/ruby/public/favicon.ico
|
457
|
-
- integration/rails4_test/src/main/ruby/public/robots.txt
|
458
|
-
- integration/rails4_test/src/main/ruby/test/controllers/.keep
|
459
|
-
- integration/rails4_test/src/main/ruby/test/controllers/posts_controller_test.rb
|
460
|
-
- integration/rails4_test/src/main/ruby/test/fixtures/.keep
|
461
|
-
- integration/rails4_test/src/main/ruby/test/fixtures/posts.yml
|
462
|
-
- integration/rails4_test/src/main/ruby/test/helpers/.keep
|
463
|
-
- integration/rails4_test/src/main/ruby/test/helpers/posts_helper_test.rb
|
464
|
-
- integration/rails4_test/src/main/ruby/test/integration/.keep
|
465
|
-
- integration/rails4_test/src/main/ruby/test/mailers/.keep
|
466
|
-
- integration/rails4_test/src/main/ruby/test/models/.keep
|
467
|
-
- integration/rails4_test/src/main/ruby/test/models/post_test.rb
|
468
|
-
- integration/rails4_test/src/main/ruby/test/test_helper.rb
|
469
|
-
- integration/rails4_test/src/main/ruby/vendor/assets/javascripts/.keep
|
470
|
-
- integration/rails4_test/src/main/ruby/vendor/assets/stylesheets/.keep
|
471
|
-
- integration/rails4_test/src/test/java/org/jruby/warbler/Rails4AppTestIT.java
|
472
|
-
- integration/runnable_test/pom.xml
|
473
|
-
- integration/runnable_test/src/main/ruby/Rakefile
|
474
|
-
- integration/runnable_test/src/main/ruby/config.ru
|
475
|
-
- integration/runnable_test/src/main/ruby/config/warble.rb
|
476
|
-
- integration/runnable_test/src/test/java/org/jruby/warbler/RunnableWarTestIT.java
|
477
|
-
- integration/simple_rack_test/pom.xml
|
478
|
-
- integration/simple_rack_test/src/main/ruby/bin/install-gems.rb
|
479
|
-
- integration/simple_rack_test/src/main/ruby/config.ru
|
480
|
-
- integration/simple_rack_test/src/main/ruby/config/warble.rb
|
481
|
-
- integration/simple_rack_test/src/test/java/org/jruby/warbler/AppTestIT.java
|
482
|
-
- spec/drb_default_id_conv.rb
|
483
|
-
- spec/drb_helper.rb
|
484
|
-
- spec/m2_home/conf/settings.xml
|
485
|
-
- spec/sample_bundler/.bundle/config
|
486
|
-
- spec/sample_bundler/Gemfile
|
487
|
-
- spec/sample_bundler/Gemfile.lock
|
488
|
-
- spec/sample_bundler/config.ru
|
489
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.8/bin/rake
|
490
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.8/cache/rake-0.8.7.gem
|
491
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.8/gems/rake-0.8.7/bin/rake
|
492
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.8/gems/rake-0.8.7/lib/rake.rb
|
493
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.8/specifications/rake-0.8.7.gemspec
|
494
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.9/bin/rake
|
495
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.9/cache/rake-0.8.7.gem
|
496
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.9/gems/rake-0.8.7/bin/rake
|
497
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.9/gems/rake-0.8.7/lib/rake.rb
|
498
|
-
- spec/sample_bundler/vendor/bundle/jruby/1.9/specifications/rake-0.8.7.gemspec
|
499
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.8/bin/rake
|
500
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.8/cache/rake-0.8.7.gem
|
501
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.8/gems/rake-0.8.7/bin/rake
|
502
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.8/gems/rake-0.8.7/lib/rake.rb
|
503
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.8/specifications/rake-0.8.7.gemspec
|
504
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.9.1/bin/rake
|
505
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.9.1/cache/rake-0.8.7.gem
|
506
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.9.1/gems/rake-0.8.7/bin/rake
|
507
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.9.1/gems/rake-0.8.7/lib/rake.rb
|
508
|
-
- spec/sample_bundler/vendor/bundle/ruby/1.9.1/specifications/rake-0.8.7.gemspec
|
509
|
-
- spec/sample_jar/History.txt
|
510
|
-
- spec/sample_jar/README.txt
|
511
|
-
- spec/sample_jar/Rakefile
|
512
|
-
- spec/sample_jar/bin/another_jar
|
513
|
-
- spec/sample_jar/bin/sample_jar
|
514
|
-
- spec/sample_jar/lib/sample_jar.rb
|
515
|
-
- spec/sample_jar/sample_jar.gemspec
|
516
|
-
- spec/sample_jar/test/test_sample_jar.rb
|
517
|
-
- spec/sample_jbundler/.jbundler/classpath.rb
|
518
|
-
- spec/sample_jbundler/Gemfile
|
519
|
-
- spec/sample_jbundler/Jarfile
|
520
|
-
- spec/sample_jbundler/Jarfile.lock
|
521
|
-
- spec/sample_jbundler/config.ru
|
522
|
-
- spec/sample_jbundler/local_repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
|
523
|
-
- spec/sample_jbundler/local_repository/org/slf4j/slf4j-simple/1.7.5/slf4j-simple-1.7.5.jar
|
524
|
-
- spec/sample_jbundler/vendor/bundle/gems/.keep
|
525
|
-
- spec/sample_jbundler/vendor/bundle/specifications/.keep
|
526
|
-
- spec/sample_rack_war/config.ru
|
527
|
-
- spec/sample_rack_war/lib/app.rb
|
528
|
-
- spec/sample_war/.jbundler/classpath.rb
|
529
|
-
- spec/sample_war/Jarfile.lock
|
530
|
-
- spec/sample_war/README
|
531
|
-
- spec/sample_war/Rakefile
|
532
|
-
- spec/sample_war/Special-Jarfile
|
533
|
-
- spec/sample_war/Special-Jarfile.lock
|
534
|
-
- spec/sample_war/app/controllers/application.rb
|
535
|
-
- spec/sample_war/app/helpers/application_helper.rb
|
536
|
-
- spec/sample_war/config/boot.rb
|
537
|
-
- spec/sample_war/config/database.yml
|
538
|
-
- spec/sample_war/config/environment.rb
|
539
|
-
- spec/sample_war/config/environments/development.rb
|
540
|
-
- spec/sample_war/config/environments/production.rb
|
541
|
-
- spec/sample_war/config/environments/test.rb
|
542
|
-
- spec/sample_war/config/initializers/inflections.rb
|
543
|
-
- spec/sample_war/config/initializers/mime_types.rb
|
544
|
-
- spec/sample_war/config/initializers/new_rails_defaults.rb
|
545
|
-
- spec/sample_war/config/routes.rb
|
546
|
-
- spec/sample_war/lib/ruby_one_nine.rb
|
547
|
-
- spec/sample_war/lib/tasks/utils.rake
|
548
|
-
- spec/sample_war/public/404.html
|
549
|
-
- spec/sample_war/public/422.html
|
550
|
-
- spec/sample_war/public/500.html
|
551
|
-
- spec/sample_war/public/favicon.ico
|
552
|
-
- spec/sample_war/public/index.html
|
553
|
-
- spec/sample_war/public/robots.txt
|
554
|
-
- spec/sample_war/some.jar
|
555
|
-
- spec/spec_helper.rb
|
556
|
-
- spec/warbler/application_spec.rb
|
557
|
-
- spec/warbler/bundler_spec.rb
|
558
|
-
- spec/warbler/config_spec.rb
|
559
|
-
- spec/warbler/gems_spec.rb
|
560
|
-
- spec/warbler/jar_spec.rb
|
561
|
-
- spec/warbler/jbundler_spec.rb
|
562
|
-
- spec/warbler/task_spec.rb
|
563
|
-
- spec/warbler/traits_spec.rb
|
564
|
-
- spec/warbler/war_spec.rb
|
565
|
-
- spec/warbler/web_server_spec.rb
|
386
|
+
test_files: []
|