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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2801a442163c3d1ada84111848c7d9871e9939e
4
- data.tar.gz: ae5fbcb30cb8086e3d730bddeed52bad02ea8c56
3
+ metadata.gz: 93f1dd2729d5f7ed39af116cf2bb27e273461020
4
+ data.tar.gz: c2dbf07c10202eea5fbf7b04ebf7f2b8c5e0b469
5
5
  SHA512:
6
- metadata.gz: 676d710d120a35a2464cc2a506a6dfa5c53c2fd90e9439064ea0f19753497ae0161a4b12a986376404e10c9c63511d71d67f535846219ffdc3d92ba52327f8a7
7
- data.tar.gz: c47699f10bcb5de09b4f09625f20697449f6677704852c249fbc715a2b2d11d9c7deae708e49521f1ed74432e9846bb238b4896309564254417bd716e99dce5c
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.0.0.pre2
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
@@ -6,5 +6,4 @@ group :development do
6
6
  gem "jruby-openssl", :platform => :jruby
7
7
  gem "rcov", ">= 0.9.8", :platform => :mri_18
8
8
  gem "childprocess", :platform => :mri
9
- gem "maven-tools", "~> 0.34.5"
10
9
  end
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( 'tesla.dump.pom' => 'pom.xml',
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/tasks'
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
- maven.verify
40
+ mvn.verify
34
41
  end
35
42
 
36
43
  desc 'generate the pom.xml from the Mavenfile'
37
44
  task :pom do
38
- maven.validate
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
@@ -6,5 +6,5 @@
6
6
  #++
7
7
 
8
8
  module Warbler
9
- VERSION = "2.0.0.rc1"
9
+ VERSION = "2.0.0.rc2"
10
10
  end
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
- <tesla.dump.readOnly>true</tesla.dump.readOnly>
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.5.5"
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.rc1
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-09-09 00:00:00.000000000 Z
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.5.5
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.5.5
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: