jubilee 1.1.0.rc2 → 1.1.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/chatapp/Gemfile +1 -1
- data/examples/chatapp/Gemfile.lock +2 -3
- data/lib/jubilee/cli.rb +10 -0
- data/lib/jubilee/jubilee.jar +0 -0
- data/lib/jubilee/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e9b77c1f5776bb0e4251bac15ce5b1f6b060243
|
4
|
+
data.tar.gz: e350f837ea9dee79c3101935acf149b2ef5dc392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a986fa3f445e47f1c60aee63e735068e874fd822217e7f20a0fce8384ed64caac236fe683ae6ed1be4dae4cb9f2512ebd241d0a858f60459179369daec34ad71
|
7
|
+
data.tar.gz: ac3b291314c9a0d74a0bbb51690661a01a627a6751fe72fd7d5aeb33cb24a08313e02345b71aac40c98241a02d142fb0a68de5ad8842d36f3d67d49d64e1a0aa
|
data/examples/chatapp/Gemfile
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
ffi (1.9.3)
|
5
4
|
ffi (1.9.3-java)
|
6
5
|
haml (4.0.4)
|
7
6
|
tilt
|
8
|
-
jubilee (1.0.
|
7
|
+
jubilee (1.1.0.rc2)
|
9
8
|
rack (>= 1.4.1)
|
10
9
|
spoon (~> 0.0.4)
|
11
10
|
rack (1.5.2)
|
@@ -24,5 +23,5 @@ PLATFORMS
|
|
24
23
|
|
25
24
|
DEPENDENCIES
|
26
25
|
haml
|
27
|
-
jubilee (
|
26
|
+
jubilee (= 1.1.0.rc2)
|
28
27
|
sinatra
|
data/lib/jubilee/cli.rb
CHANGED
@@ -2,6 +2,8 @@ require 'optparse'
|
|
2
2
|
require 'jubilee'
|
3
3
|
require 'java'
|
4
4
|
|
5
|
+
java_import java.lang.System
|
6
|
+
|
5
7
|
module Jubilee
|
6
8
|
class CLI
|
7
9
|
# Parsed options
|
@@ -11,6 +13,13 @@ module Jubilee
|
|
11
13
|
setup_options
|
12
14
|
end
|
13
15
|
|
16
|
+
def test_java_version!(version)
|
17
|
+
if version[0..2] < "1.7"
|
18
|
+
puts("Error: Jubilee requires JDK 1.7.0 or later. You can use the official Oracle distribution or the OpenJDK version.")
|
19
|
+
exit 1
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
14
23
|
def parse_options
|
15
24
|
argv = @argv.dup
|
16
25
|
@parser.parse! argv
|
@@ -20,6 +29,7 @@ module Jubilee
|
|
20
29
|
end
|
21
30
|
|
22
31
|
def run
|
32
|
+
test_java_version!(System.getProperties["java.runtime.version"])
|
23
33
|
parse_options
|
24
34
|
|
25
35
|
ENV["RACK_ENV"] = @options[:environment]
|
data/lib/jubilee/jubilee.jar
CHANGED
Binary file
|
data/lib/jubilee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jubilee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Isaiah Peng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|