warbler 2.0.0.rc1 → 2.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -28
- data/Gemfile +0 -1
- data/Mavenfile +1 -3
- data/Rakefile +10 -4
- data/ext/WarMain.java +1 -1
- data/lib/warbler/version.rb +1 -1
- data/lib/warbler_jar.jar +0 -0
- data/pom.xml +27 -5
- data/warbler.gemspec +1 -2
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93f1dd2729d5f7ed39af116cf2bb27e273461020
|
4
|
+
data.tar.gz: c2dbf07c10202eea5fbf7b04ebf7f2b8c5e0b469
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b71e381800c2ed1f2d69a49584fc6fe768ff628a4bd4dbcb4577742f88966496694c8f5cce455ef5bca9c41568caaae45a3649d60c177476cca0d85864b632c
|
7
|
+
data.tar.gz: 4b1830b358b5cbe8028a470338ae6732ea19c1f53f9fe3d433fd43b81046cb44d2705cd03bd5b0e2e3b1150e9f70bb71f8c6c78780a4da369ce6f369ef6a1ce6
|
data/.travis.yml
CHANGED
@@ -1,42 +1,15 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
script: bundle exec rake spec
|
4
1
|
rvm:
|
5
|
-
- jruby-9.0.
|
6
|
-
jdk:
|
7
|
-
- oraclejdk8
|
2
|
+
- jruby-9.0.4.0
|
8
3
|
branches:
|
9
4
|
only:
|
10
5
|
- master
|
11
6
|
- 2.x-dev
|
12
|
-
- /^test-.*/
|
13
|
-
before_install:
|
14
|
-
- ([ "$BUNDLER_VERSION" ] && gem uninstall bundler --all --force && gem install bundler -v "$BUNDLER_VERSION") || true
|
15
|
-
- bundle --version
|
16
|
-
before_script:
|
17
|
-
- export JRUBY_OPTS="$JRUBY_OPTS --server -Xcext.enabled=false -Xcompile.invokedynamic=false"
|
18
7
|
env:
|
19
8
|
- JRUBY_OPTS="--server -Xcompile.invokedynamic=false"
|
20
9
|
matrix:
|
21
10
|
include:
|
22
11
|
- rvm: jruby-head
|
23
12
|
env: JRUBY_OPTS="--server -Xcompile.invokedynamic=false"
|
24
|
-
matrix:
|
25
|
-
include:
|
26
|
-
- rvm: jruby-head
|
27
|
-
env: JRUBY_OPTS="" BUNDLER_VERSION="~> 1.9.9"
|
28
|
-
- rvm: jruby-1.7.20
|
29
|
-
env: JRUBY_OPTS="" BUNDLER_VERSION="~> 1.10.2"
|
30
|
-
- rvm: 1.8.7
|
31
|
-
env: BUNDLER_VERSION="~> 1.6.9"
|
32
|
-
- rvm: 1.9.2
|
33
|
-
env: BUNDLER_VERSION="~> 1.7.9"
|
34
|
-
- rvm: 1.9.3
|
35
|
-
env: BUNDLER_VERSION="~> 1.8.9"
|
36
|
-
- rvm: jruby
|
37
|
-
env: MAVEN_OPTS="-XX:MaxPermSize=128m"
|
38
|
-
script: mvn clean verify
|
39
|
-
>>>>>>> master
|
40
13
|
allow_failures:
|
41
14
|
- rvm: jruby-head
|
42
15
|
notifications:
|
@@ -47,3 +20,7 @@ notifications:
|
|
47
20
|
on_failure: always
|
48
21
|
template:
|
49
22
|
- "%{repository} (%{branch}:%{commit} by %{author}): %{message} (%{build_url})"
|
23
|
+
before_install:
|
24
|
+
- sudo apt-get update && sudo apt-get install git
|
25
|
+
- git fetch --unshallow
|
26
|
+
- gem install bundler --pre
|
data/Gemfile
CHANGED
data/Mavenfile
CHANGED
@@ -6,9 +6,7 @@ gemspec( :jar => 'warbler_jar.jar',
|
|
6
6
|
:source => 'ext' )
|
7
7
|
|
8
8
|
# just dump the POM as pom.xml as read-only file
|
9
|
-
properties( '
|
10
|
-
'tesla.dump.readOnly' => true,
|
11
|
-
'jruby.plugins.version' => '1.0.10' )
|
9
|
+
properties( 'jruby.plugins.version' => '1.1.3' )
|
12
10
|
|
13
11
|
# dependencies needed for compilation
|
14
12
|
scope :provided do
|
data/Rakefile
CHANGED
@@ -26,20 +26,26 @@ end
|
|
26
26
|
task :default => :spec
|
27
27
|
|
28
28
|
# use Mavenfile to define :jar task
|
29
|
-
require 'maven/ruby/
|
29
|
+
require 'maven/ruby/maven'
|
30
|
+
mvn = Maven::Ruby::Maven.new
|
31
|
+
mvn.inherit_jruby_version
|
32
|
+
|
33
|
+
desc 'compile java sources and build jar'
|
34
|
+
task :jar do
|
35
|
+
mvn.prepare_package
|
36
|
+
end
|
30
37
|
|
31
38
|
desc 'run some integration test'
|
32
39
|
task :integration do
|
33
|
-
|
40
|
+
mvn.verify
|
34
41
|
end
|
35
42
|
|
36
43
|
desc 'generate the pom.xml from the Mavenfile'
|
37
44
|
task :pom do
|
38
|
-
|
45
|
+
mvn.validate('-Dpolyglot.dump.pom=pom.xml')
|
39
46
|
end
|
40
47
|
|
41
48
|
# Make sure jar gets compiled before the gem is built
|
42
|
-
# the jar tasks is part of maven-tasks
|
43
49
|
task :build => :jar
|
44
50
|
|
45
51
|
load_gemspec = lambda do
|
data/ext/WarMain.java
CHANGED
@@ -226,7 +226,7 @@ public class WarMain extends JarMain {
|
|
226
226
|
protected URL extractEntry(final JarEntry entry, final String path) throws Exception {
|
227
227
|
// always extract but only return class-path entry URLs :
|
228
228
|
final URL entryURL = super.extractEntry(entry, path);
|
229
|
-
return path.endsWith(".jar") ? entryURL : null;
|
229
|
+
return path.endsWith(".jar") && path.startsWith("/lib/") ? entryURL : null;
|
230
230
|
}
|
231
231
|
|
232
232
|
@Override
|
data/lib/warbler/version.rb
CHANGED
data/lib/warbler_jar.jar
CHANGED
Binary file
|
data/pom.xml
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
|
5
|
+
DO NOT MODIFIY - GENERATED CODE
|
6
|
+
|
7
|
+
|
8
|
+
-->
|
2
9
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
3
10
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
4
11
|
<modelVersion>4.0.0</modelVersion>
|
@@ -11,11 +18,25 @@
|
|
11
18
|
Rails, or Rack application. Warbler provides a minimal, flexible, Ruby-like way to
|
12
19
|
bundle up all of your application files for deployment to a Java environment.</description>
|
13
20
|
<url>https://github.com/jruby/warbler</url>
|
21
|
+
<licenses>
|
22
|
+
<license>
|
23
|
+
<name>MIT</name>
|
24
|
+
<url>http://opensource.org/licenses/MIT</url>
|
25
|
+
<comments>MIT license</comments>
|
26
|
+
</license>
|
27
|
+
</licenses>
|
28
|
+
<developers>
|
29
|
+
<developer>
|
30
|
+
<name>Nick Sieger</name>
|
31
|
+
<email>nick@nicksieger.com</email>
|
32
|
+
</developer>
|
33
|
+
</developers>
|
34
|
+
<scm>
|
35
|
+
<connection>https://github.com/jruby/warbler.git</connection>
|
36
|
+
<url>https://github.com/jruby/warbler</url>
|
37
|
+
</scm>
|
14
38
|
<properties>
|
15
|
-
<
|
16
|
-
<jruby.plugins.version>1.0.10</jruby.plugins.version>
|
17
|
-
<tesla.dump.pom>pom.xml</tesla.dump.pom>
|
18
|
-
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
39
|
+
<jruby.plugins.version>1.1.3</jruby.plugins.version>
|
19
40
|
</properties>
|
20
41
|
<dependencies>
|
21
42
|
<dependency>
|
@@ -94,7 +115,7 @@ bundle up all of your application files for deployment to a Java environment.</d
|
|
94
115
|
<extensions>
|
95
116
|
<extension>
|
96
117
|
<groupId>de.saumya.mojo</groupId>
|
97
|
-
<artifactId>gem-extension</artifactId>
|
118
|
+
<artifactId>gem-with-jar-extension</artifactId>
|
98
119
|
<version>${jruby.plugins.version}</version>
|
99
120
|
</extension>
|
100
121
|
</extensions>
|
@@ -125,6 +146,7 @@ bundle up all of your application files for deployment to a Java environment.</d
|
|
125
146
|
<directory>lib</directory>
|
126
147
|
<includes>
|
127
148
|
<include>warbler_jar.jar</include>
|
149
|
+
<include>*/**/*.jar</include>
|
128
150
|
</includes>
|
129
151
|
</fileset>
|
130
152
|
</filesets>
|
data/warbler.gemspec
CHANGED
@@ -26,8 +26,7 @@ bundle up all of your application files for deployment to a Java environment.}
|
|
26
26
|
gem.add_runtime_dependency 'jruby-jars', [">= 9.0.0.0"]
|
27
27
|
gem.add_runtime_dependency 'jruby-rack', [">= 1.1.1", '< 1.3']
|
28
28
|
gem.add_runtime_dependency 'rubyzip', [">= 1.0", "< 1.2"]
|
29
|
-
gem.add_development_dependency 'jbundler', "~> 0.
|
30
|
-
gem.add_development_dependency 'ruby-maven', '~> 3.1.1.0'
|
29
|
+
gem.add_development_dependency 'jbundler', "~> 0.9"
|
31
30
|
gem.add_development_dependency 'rspec', "~> 2.10"
|
32
31
|
gem.add_development_dependency 'rdoc', ">= 2.4.2"
|
33
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sieger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ dependencies:
|
|
83
83
|
requirements:
|
84
84
|
- - "~>"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: 0.
|
86
|
+
version: '0.9'
|
87
87
|
name: jbundler
|
88
88
|
prerelease: false
|
89
89
|
type: :development
|
@@ -91,21 +91,7 @@ dependencies:
|
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: 0.
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
requirements:
|
98
|
-
- - "~>"
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 3.1.1.0
|
101
|
-
name: ruby-maven
|
102
|
-
prerelease: false
|
103
|
-
type: :development
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: 3.1.1.0
|
94
|
+
version: '0.9'
|
109
95
|
- !ruby/object:Gem::Dependency
|
110
96
|
requirement: !ruby/object:Gem::Requirement
|
111
97
|
requirements:
|