jruby-warck 1.2.1 → 1.2.2
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/jruby-warck.gemspec +3 -3
- data/lib/jruby-warck/constants.rb +2 -1
- data/lib/jruby-warck/version.rb +1 -1
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28f640870ea3351c416c8ec50352ba23452fa6ef
|
4
|
+
data.tar.gz: 5ca5a2c5ce0f71551d7db5e9ca6f95eaa9379357
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca3100cef212e10015ead686bf5c6f79a95e892c55d706f1079df6d60d48317058e32084791d4581d05eed0bb3b39bc7a247e5b775becfad0f3770969928a8a5
|
7
|
+
data.tar.gz: 6da16ee37dcb05e4dcf36a5e6087beb2632c15855ca692a286af6b52683461bb9a742eba48780b8b76b7a5508d52bb264bd0eb412b2e81c65905efb3ab2ea093
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ Yes, it's like Warbler, but far simpler.
|
|
16
16
|
|
17
17
|
1. change directory to the root of your application
|
18
18
|
2. run "rake assets:precompile" if you've a Rails application.
|
19
|
-
3. run "warck package
|
19
|
+
3. run "warck package[war_name]" (If you need to compile the source code, use "warck package_compiled [war_name]" instead)
|
20
20
|
4. You can now deploy the resulting jar in a servlet container or run in standalone mode, i.e, java -jar [war_name].
|
21
21
|
|
22
22
|
### Customizing what gets in the .war
|
data/jruby-warck.gemspec
CHANGED
@@ -9,9 +9,9 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = "http://github.com/ptinovacao/rubygem-jruby-warck"
|
10
10
|
s.summary = "Kinda like warbler, except our way"
|
11
11
|
s.description = "Kinda like warbler, except WAR-only and contained in a single Rakefile."
|
12
|
-
|
13
|
-
|
14
|
-
s.add_runtime_dependency 'rubyzip', '>=
|
12
|
+
s.add_runtime_dependency 'rack', '~>0'
|
13
|
+
s.add_runtime_dependency 'jruby-rack', '~>0'
|
14
|
+
s.add_runtime_dependency 'rubyzip', '~> 1.1', '>= 1.1.7'
|
15
15
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
17
17
|
s.executables << 'warck'
|
@@ -7,6 +7,7 @@ module JrubyWarck
|
|
7
7
|
HOME = File.expand_path(File.dirname(__FILE__) + '/../..') unless defined?(HOME)
|
8
8
|
|
9
9
|
ADDITIONAL_CLASSPATH = FileList[IO.readlines(Dir.pwd + "/cp.entries").map(&:chomp).reject { |line| line.each_char.first == "#" }] rescue FileList[]
|
10
|
+
CLASSPATH = "Class-Path: /opt/jruby/lib/jruby-complete/jruby-complete.jar#{ADDITIONAL_CLASSPATH}".scan(/.{70}/).join("\n ")
|
10
11
|
|
11
12
|
WEB_XML = <<-XML
|
12
13
|
<!DOCTYPE web-app PUBLIC
|
@@ -37,7 +38,7 @@ module JrubyWarck
|
|
37
38
|
Manifest-Version: 1.0
|
38
39
|
Created-By: jruby-warck
|
39
40
|
Main-Class: org.jruby.JarBootstrapMain
|
40
|
-
|
41
|
+
#{CLASSPATH}
|
41
42
|
MANIFEST
|
42
43
|
|
43
44
|
INIT = <<-_INIT
|
data/lib/jruby-warck/version.rb
CHANGED
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby-warck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nuno Correia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-16 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'
|
19
19
|
name: rack
|
@@ -21,13 +21,13 @@ 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'
|
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: '0'
|
33
33
|
name: jruby-rack
|
@@ -35,23 +35,29 @@ dependencies:
|
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
44
47
|
- - '>='
|
45
48
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
49
|
+
version: 1.1.7
|
47
50
|
name: rubyzip
|
48
51
|
prerelease: false
|
49
52
|
type: :runtime
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '1.1'
|
52
58
|
- - '>='
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
60
|
+
version: 1.1.7
|
55
61
|
description: Kinda like warbler, except WAR-only and contained in a single Rakefile.
|
56
62
|
email:
|
57
63
|
- nuno-g-correia@ext.ptinovacao.pt
|