jubilee 2.1.0.rc1-java → 3.0.0.beta2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -14
- data/Guardfile +24 -0
- data/README.md +34 -66
- data/Rakefile +1 -1
- data/examples/chatapp/Gemfile +2 -1
- data/examples/chatapp/Gemfile.lock +2 -2
- data/examples/chatapp/README.md +2 -14
- data/examples/chatapp/app.rb +19 -11
- data/examples/chatapp/public/assets/javascripts/application.js +1 -1
- data/examples/chatapp/public/assets/javascripts/vertxbus.js +60 -48
- data/examples/client/vertxbus.js +60 -48
- data/examples/shims_example/log/development.log +0 -0
- data/jars/hazelcast-3.5.2.jar +0 -0
- data/jars/jackson-annotations-2.6.0.jar +0 -0
- data/jars/jackson-core-2.6.1.jar +0 -0
- data/jars/jackson-databind-2.6.1.jar +0 -0
- data/jars/netty-buffer-4.0.33.Final.jar +0 -0
- data/jars/netty-codec-4.0.33.Final.jar +0 -0
- data/jars/netty-codec-http-4.0.33.Final.jar +0 -0
- data/jars/netty-common-4.0.33.Final.jar +0 -0
- data/jars/netty-handler-4.0.33.Final.jar +0 -0
- data/jars/netty-transport-4.0.33.Final.jar +0 -0
- data/jars/vertx-auth-common-3.2.1.jar +0 -0
- data/jars/vertx-core-3.2.1.jar +0 -0
- data/jars/vertx-hazelcast-3.2.1.jar +0 -0
- data/jars/vertx-lang-ruby-3.2.1.jar +0 -0
- data/jars/vertx-web-3.2.1.jar +0 -0
- data/jubilee.gemspec +40 -42
- data/lib/jubilee.rb +7 -2
- data/lib/jubilee/cli.rb +4 -4
- data/lib/jubilee/jubilee.jar +0 -0
- data/lib/jubilee/response.rb +1 -1
- data/lib/jubilee/version.rb +3 -3
- data/pom.xml +10 -94
- data/spec/apps/rails4/basic/Gemfile +2 -2
- data/spec/apps/rails4/basic/Gemfile.lock +5 -6
- data/src/main/java/org/jruby/jubilee/Const.java +1 -4
- data/src/main/java/org/jruby/jubilee/JubileeVerticle.java +41 -46
- data/src/main/java/org/jruby/jubilee/RackApplication.java +37 -57
- data/src/main/java/org/jruby/jubilee/RackEnvironment.java +38 -35
- data/src/main/java/org/jruby/jubilee/RackEnvironmentHash.java +1 -7
- data/src/main/java/org/jruby/jubilee/RubyHttpServerResponse.java +12 -6
- data/src/main/java/org/jruby/jubilee/RubyNetSocket.java +9 -12
- data/src/main/java/org/jruby/jubilee/RubyPlatformManager.java +39 -43
- data/src/main/java/org/jruby/jubilee/impl/RubyIORackInput.java +2 -1
- data/src/main/java/org/jruby/jubilee/vertx/JubileeVertx.java +1 -1
- metadata +30 -54
- data/examples/chatapp/config.json +0 -4
- data/jars/annotations-1.3.2.jar +0 -0
- data/jars/hazelcast-3.2.3.jar +0 -0
- data/jars/jackson-annotations-2.2.2.jar +0 -0
- data/jars/jackson-core-2.2.2.jar +0 -0
- data/jars/jackson-databind-2.2.2.jar +0 -0
- data/jars/lang-jruby-2.1.0-final.jar +0 -0
- data/jars/log4j-1.2.16.jar +0 -0
- data/jars/netty-all-4.0.20.Final.jar +0 -0
- data/jars/slf4j-api-1.6.2.jar +0 -0
- data/jars/vertx-core-2.1.2.jar +0 -0
- data/jars/vertx-hazelcast-2.1.2.jar +0 -0
- data/jars/vertx-platform-2.1.2.jar +0 -0
- data/lib/container.rb +0 -117
- data/lib/core/buffer.rb +0 -251
- data/lib/core/datagram.rb +0 -280
- data/lib/core/dns.rb +0 -143
- data/lib/core/event_bus.rb +0 -277
- data/lib/core/file_system.rb +0 -479
- data/lib/core/http.rb +0 -1307
- data/lib/core/net.rb +0 -251
- data/lib/core/network_support.rb +0 -77
- data/lib/core/parsetools.rb +0 -105
- data/lib/core/shared_data.rb +0 -214
- data/lib/core/sock_js.rb +0 -116
- data/lib/core/ssl_support.rb +0 -163
- data/lib/core/streams.rb +0 -183
- data/lib/core/tcp_support.rb +0 -136
- data/lib/core/timers.rb +0 -73
- data/lib/core/vertx_require.rb +0 -25
- data/lib/core/wrapped_handler.rb +0 -28
- data/lib/jubilee/jubilee_require.rb +0 -24
- data/lib/test_utils.rb +0 -66
- data/lib/vertx.rb +0 -30
- data/lib/vertx_tests.rb +0 -8
- data/src/main/assembly/mod.xml +0 -21
- data/src/main/java/org/jruby/jubilee/JubileeVerticleFactory.java +0 -258
- data/src/main/java/org/jruby/jubilee/RubyCallable.java +0 -52
- data/src/main/resources/META-INF/services/org.vertx.java.deploy.impl.jruby.JubileeVerticleFactory +0 -1
- data/src/main/resources/mod.json +0 -11
- data/vertx_classpath.txt +0 -12
@@ -1,12 +1,12 @@
|
|
1
1
|
package org.jruby.jubilee;
|
2
2
|
|
3
3
|
import io.netty.handler.codec.http.HttpHeaders;
|
4
|
+
import io.vertx.core.MultiMap;
|
4
5
|
import org.jruby.*;
|
5
6
|
import org.jruby.jubilee.utils.RubyHelper;
|
6
7
|
import org.jruby.runtime.Block;
|
7
8
|
import org.jruby.runtime.ThreadContext;
|
8
9
|
import org.jruby.runtime.builtin.IRubyObject;
|
9
|
-
import org.vertx.java.core.MultiMap;
|
10
10
|
|
11
11
|
import java.util.HashMap;
|
12
12
|
import java.util.List;
|
@@ -338,12 +338,6 @@ public class RackEnvironmentHash extends RubyHash {
|
|
338
338
|
return super.key(context, expected);
|
339
339
|
}
|
340
340
|
|
341
|
-
@Override
|
342
|
-
public RubyArray indices(ThreadContext context, IRubyObject[] indices) {
|
343
|
-
fillEntireHash();
|
344
|
-
return super.indices(context, indices);
|
345
|
-
}
|
346
|
-
|
347
341
|
@Override
|
348
342
|
public RubyArray keys() {
|
349
343
|
fillEntireHash();
|
@@ -6,11 +6,11 @@ import org.jruby.anno.JRubyMethod;
|
|
6
6
|
import org.jruby.runtime.ObjectAllocator;
|
7
7
|
import org.jruby.runtime.ThreadContext;
|
8
8
|
import org.jruby.runtime.builtin.IRubyObject;
|
9
|
-
import
|
10
|
-
import
|
11
|
-
import org.vertx.java.core.http.HttpServerResponse;
|
9
|
+
import io.vertx.core.http.HttpServerRequest;
|
10
|
+
import io.vertx.core.http.HttpServerResponse;
|
12
11
|
|
13
12
|
import java.util.Arrays;
|
13
|
+
import java.util.List;
|
14
14
|
|
15
15
|
/**
|
16
16
|
* Created by isaiah on 21/12/2013.
|
@@ -67,7 +67,7 @@ public class RubyHttpServerResponse extends RubyObject {
|
|
67
67
|
String cookie = val.asJavaString();
|
68
68
|
if (cookie.indexOf(this.lineSeparator) != -1)
|
69
69
|
this.resp.putHeader(key.asJavaString(),
|
70
|
-
Arrays.asList(val.asJavaString().split(this.lineSeparator)));
|
70
|
+
(List<String>) Arrays.asList(val.asJavaString().split(this.lineSeparator)));
|
71
71
|
else this.resp.putHeader(key.asJavaString(), val.asJavaString());
|
72
72
|
return context.runtime.getNil();
|
73
73
|
}
|
@@ -84,6 +84,12 @@ public class RubyHttpServerResponse extends RubyObject {
|
|
84
84
|
return context.runtime.getNil();
|
85
85
|
}
|
86
86
|
|
87
|
+
@JRubyMethod
|
88
|
+
public IRubyObject end(ThreadContext context, IRubyObject string) {
|
89
|
+
this.resp.end(string.asJavaString());
|
90
|
+
return context.runtime.getNil();
|
91
|
+
}
|
92
|
+
|
87
93
|
@JRubyMethod(name = "put_default_headers")
|
88
94
|
public IRubyObject putDefaultHeaders(ThreadContext context) {
|
89
95
|
this.resp.putHeader("Server", Const.JUBILEE_VERSION);
|
@@ -92,8 +98,8 @@ public class RubyHttpServerResponse extends RubyObject {
|
|
92
98
|
|
93
99
|
//TODO(isaiah) At the moment Vertx doesn't support hijack the response socket,
|
94
100
|
// between request.response() and request.netSocket() only one can be invoked.
|
95
|
-
@JRubyMethod
|
96
|
-
public IRubyObject
|
101
|
+
@JRubyMethod(name = "net_socket")
|
102
|
+
public IRubyObject netSocket(ThreadContext context) {
|
97
103
|
RubyClass netSocketClass = (RubyClass) context.runtime.getClassFromPath("Jubilee::NetSocket");
|
98
104
|
return new RubyNetSocket(context.runtime, netSocketClass, this.req.netSocket());
|
99
105
|
}
|
@@ -2,6 +2,11 @@ package org.jruby.jubilee;
|
|
2
2
|
|
3
3
|
import io.netty.buffer.ByteBuf;
|
4
4
|
import io.netty.buffer.Unpooled;
|
5
|
+
import io.vertx.core.Handler;
|
6
|
+
import io.vertx.core.VoidHandler;
|
7
|
+
import io.vertx.core.buffer.Buffer;
|
8
|
+
import io.vertx.core.net.NetSocket;
|
9
|
+
import io.vertx.core.streams.WriteStream;
|
5
10
|
import org.jruby.*;
|
6
11
|
import org.jruby.anno.JRubyClass;
|
7
12
|
import org.jruby.anno.JRubyMethod;
|
@@ -9,11 +14,6 @@ import org.jruby.runtime.ObjectAllocator;
|
|
9
14
|
import org.jruby.runtime.ThreadContext;
|
10
15
|
import org.jruby.runtime.builtin.IRubyObject;
|
11
16
|
import org.jruby.util.ByteList;
|
12
|
-
import org.vertx.java.core.Handler;
|
13
|
-
import org.vertx.java.core.VoidHandler;
|
14
|
-
import org.vertx.java.core.buffer.Buffer;
|
15
|
-
import org.vertx.java.core.net.NetSocket;
|
16
|
-
import org.vertx.java.core.streams.WriteStream;
|
17
17
|
|
18
18
|
import java.util.concurrent.atomic.AtomicBoolean;
|
19
19
|
|
@@ -54,13 +54,10 @@ public class RubyNetSocket extends RubyObject {
|
|
54
54
|
this.sock = socket;
|
55
55
|
this.buf = Unpooled.buffer(BUFSIZE);
|
56
56
|
this.eof = new AtomicBoolean(false);
|
57
|
-
this.sock.
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
buf.writeBytes(buffer.getByteBuf());
|
62
|
-
else sock.pause();
|
63
|
-
}
|
57
|
+
this.sock.handler(buffer -> {
|
58
|
+
if (buf.isWritable(buffer.length()))
|
59
|
+
buf.writeBytes(buffer.getByteBuf());
|
60
|
+
else sock.pause();
|
64
61
|
});
|
65
62
|
|
66
63
|
this.sock.endHandler(new VoidHandler() {
|
@@ -1,5 +1,7 @@
|
|
1
1
|
package org.jruby.jubilee;
|
2
2
|
|
3
|
+
import io.vertx.core.*;
|
4
|
+
import io.vertx.core.json.JsonObject;
|
3
5
|
import org.jruby.*;
|
4
6
|
import org.jruby.anno.JRubyMethod;
|
5
7
|
import org.jruby.jubilee.vertx.JubileeVertx;
|
@@ -7,26 +9,20 @@ import org.jruby.runtime.Block;
|
|
7
9
|
import org.jruby.runtime.ObjectAllocator;
|
8
10
|
import org.jruby.runtime.ThreadContext;
|
9
11
|
import org.jruby.runtime.builtin.IRubyObject;
|
10
|
-
import org.vertx.java.core.AsyncResult;
|
11
|
-
import org.vertx.java.core.AsyncResultHandler;
|
12
|
-
import org.vertx.java.core.json.JsonObject;
|
13
|
-
import org.vertx.java.platform.PlatformLocator;
|
14
|
-
import org.vertx.java.platform.PlatformManager;
|
15
12
|
|
16
13
|
import java.net.Inet6Address;
|
17
14
|
import java.net.InetAddress;
|
18
15
|
import java.net.NetworkInterface;
|
19
16
|
import java.net.SocketException;
|
20
17
|
import java.util.Enumeration;
|
21
|
-
import java.util.HashMap;
|
22
|
-
import java.util.Map;
|
23
18
|
|
24
19
|
/**
|
25
20
|
* Created by isaiah on 23/01/2014.
|
26
21
|
*/
|
27
22
|
public class RubyPlatformManager extends RubyObject {
|
28
|
-
private PlatformManager pm;
|
29
23
|
private RubyHash options;
|
24
|
+
private Vertx vertx;
|
25
|
+
private String deploymentID;
|
30
26
|
|
31
27
|
public static void createPlatformManagerClass(Ruby runtime) {
|
32
28
|
RubyModule mJubilee = runtime.defineModule("Jubilee");
|
@@ -51,6 +47,8 @@ public class RubyPlatformManager extends RubyObject {
|
|
51
47
|
RubySymbol clustered_k = runtime.newSymbol("clustered");
|
52
48
|
RubySymbol cluster_host_k = runtime.newSymbol("cluster_host");
|
53
49
|
RubySymbol cluster_port_k = runtime.newSymbol("cluster_port");
|
50
|
+
|
51
|
+
VertxOptions vertxOptions = new VertxOptions();
|
54
52
|
if (options.containsKey(clustered_k) && options.op_aref(context, clustered_k).isTrue()) {
|
55
53
|
int clusterPort = 0;
|
56
54
|
String clusterHost = null;
|
@@ -59,43 +57,41 @@ public class RubyPlatformManager extends RubyObject {
|
|
59
57
|
if (options.containsKey(cluster_host_k))
|
60
58
|
clusterHost = options.op_aref(context, cluster_host_k).asJavaString();
|
61
59
|
if (clusterHost == null) clusterHost = getDefaultAddress();
|
62
|
-
|
63
|
-
|
64
|
-
this.pm = PlatformLocator.factory.createPlatformManager();
|
60
|
+
vertxOptions.setClustered(true).setClusterHost(clusterHost).setClusterPort(clusterPort);
|
61
|
+
|
65
62
|
}
|
66
|
-
|
63
|
+
|
64
|
+
this.vertx = Vertx.vertx(vertxOptions);
|
65
|
+
JubileeVertx.init(this.vertx);
|
67
66
|
return this;
|
68
67
|
}
|
69
68
|
|
70
69
|
@JRubyMethod(name = "start")
|
71
70
|
public IRubyObject start(final ThreadContext context, final Block block) {
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
result.cause().printStackTrace(context.runtime.getErrorStream());
|
85
|
-
}
|
86
|
-
}
|
87
|
-
});
|
71
|
+
JubileeVerticle verticle = new JubileeVerticle();
|
72
|
+
DeploymentOptions verticleConf = parseOptions(options);
|
73
|
+
this.vertx.deployVerticle(verticle, verticleConf, result -> {
|
74
|
+
if (result.succeeded()) {
|
75
|
+
if (block.isGiven()) {
|
76
|
+
block.yieldSpecific(context);
|
77
|
+
}
|
78
|
+
deploymentID = result.result();
|
79
|
+
} else {
|
80
|
+
result.cause().printStackTrace(context.runtime.getErrorStream());
|
81
|
+
}
|
82
|
+
});
|
88
83
|
return this;
|
89
84
|
|
90
85
|
}
|
91
86
|
|
92
87
|
@JRubyMethod
|
93
88
|
public IRubyObject stop(ThreadContext context) {
|
94
|
-
this.
|
89
|
+
this.vertx.undeploy(deploymentID);
|
90
|
+
this.vertx.close();
|
95
91
|
return context.runtime.getNil();
|
96
92
|
}
|
97
93
|
|
98
|
-
private
|
94
|
+
private DeploymentOptions parseOptions(RubyHash options) {
|
99
95
|
Ruby runtime = options.getRuntime();
|
100
96
|
ThreadContext context = runtime.getCurrentContext();
|
101
97
|
RubySymbol port_k = runtime.newSymbol("Port");
|
@@ -110,31 +106,31 @@ public class RubyPlatformManager extends RubyObject {
|
|
110
106
|
RubySymbol root_k = runtime.newSymbol("root");
|
111
107
|
RubySymbol instances_k = RubySymbol.newSymbol(context.runtime, "instances");
|
112
108
|
JsonObject map = new JsonObject();
|
113
|
-
map.
|
114
|
-
map.
|
109
|
+
map.put("host", options.op_aref(context, host_k).asJavaString());
|
110
|
+
map.put("port", RubyNumeric.num2int(options.op_aref(context, port_k)));
|
115
111
|
|
116
|
-
map.
|
112
|
+
map.put("instances", RubyNumeric.num2int(options.op_aref(context, instances_k)));
|
117
113
|
if (options.has_key_p(root_k).isTrue())
|
118
|
-
map.
|
114
|
+
map.put("root", options.op_aref(context, root_k).asJavaString());
|
119
115
|
|
120
|
-
map.
|
121
|
-
map.
|
116
|
+
map.put("rackup", options.op_aref(context, rack_up_k).asJavaString());
|
117
|
+
map.put("quiet", options.containsKey(quiet_k) && options.op_aref(context, quiet_k).isTrue());
|
122
118
|
|
123
119
|
String environ = options.op_aref(context, environment_k).asJavaString();
|
124
|
-
map.
|
120
|
+
map.put("environment", environ);
|
125
121
|
if (environ.equals("production"))
|
126
|
-
map.
|
122
|
+
map.put("hide_error_stack", true);
|
127
123
|
|
128
124
|
boolean ssl = options.op_aref(context, ssl_k).isTrue();
|
129
125
|
if (ssl) {
|
130
|
-
map.
|
126
|
+
map.put("keystore_path", options.op_aref(context, ssl_keystore_k).asJavaString());
|
131
127
|
if (options.has_key_p(ssl_password_k).isTrue())
|
132
|
-
map.
|
128
|
+
map.put("keystore_password", options.op_aref(context, ssl_password_k).asJavaString());
|
133
129
|
}
|
134
|
-
map.
|
130
|
+
map.put("ssl", ssl);
|
135
131
|
if (options.has_key_p(eventbus_prefix_k).isTrue())
|
136
|
-
map.
|
137
|
-
return map;
|
132
|
+
map.put("event_bus", options.op_aref(context, eventbus_prefix_k).asJavaString());
|
133
|
+
return new DeploymentOptions().setConfig(map);
|
138
134
|
}
|
139
135
|
|
140
136
|
/*
|
@@ -13,10 +13,11 @@ import org.jruby.runtime.ThreadContext;
|
|
13
13
|
import org.jruby.runtime.builtin.IRubyObject;
|
14
14
|
import org.jruby.util.ByteList;
|
15
15
|
import org.jruby.util.StringSupport;
|
16
|
-
import org.vertx.java.core.http.HttpServerRequest;
|
17
16
|
|
18
17
|
import java.util.concurrent.atomic.AtomicBoolean;
|
19
18
|
|
19
|
+
import io.vertx.core.http.HttpServerRequest;
|
20
|
+
|
20
21
|
/**
|
21
22
|
* Created with IntelliJ IDEA.
|
22
23
|
* User: isaiah
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jubilee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.beta2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Isaiah Peng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-02 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: 1.4.1
|
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: 1.4.1
|
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.0.4
|
33
33
|
name: spoon
|
@@ -35,13 +35,13 @@ 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.0.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - ~>
|
44
|
+
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 1.8.7
|
47
47
|
name: jeweler
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
type: :development
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.8.7
|
55
55
|
description: Jubilee is a rack server for JRuby built upon the high performance Vertx platform. It provides the best features of Vertx such as EventBus, SharedData, and clustering.
|
@@ -62,11 +62,12 @@ extra_rdoc_files:
|
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
64
|
files:
|
65
|
-
- .ruby-version
|
66
|
-
- .travis.yml
|
65
|
+
- ".ruby-version"
|
66
|
+
- ".travis.yml"
|
67
67
|
- CHANGELOG
|
68
68
|
- Gemfile
|
69
69
|
- Gemfile.lock
|
70
|
+
- Guardfile
|
70
71
|
- KNOWN_ISSUES
|
71
72
|
- LICENSE.txt
|
72
73
|
- README.md
|
@@ -78,7 +79,6 @@ files:
|
|
78
79
|
- examples/chatapp/Gemfile.lock
|
79
80
|
- examples/chatapp/README.md
|
80
81
|
- examples/chatapp/app.rb
|
81
|
-
- examples/chatapp/config.json
|
82
82
|
- examples/chatapp/config.ru
|
83
83
|
- examples/chatapp/public/assets/javascripts/application.js
|
84
84
|
- examples/chatapp/public/assets/javascripts/jquery.js
|
@@ -89,51 +89,33 @@ files:
|
|
89
89
|
- examples/client/vertxbus.js
|
90
90
|
- examples/jubilee.conf.rb
|
91
91
|
- examples/keystore.jks
|
92
|
-
-
|
93
|
-
- jars/hazelcast-3.2.
|
94
|
-
- jars/jackson-annotations-2.
|
95
|
-
- jars/jackson-core-2.
|
96
|
-
- jars/jackson-databind-2.
|
97
|
-
- jars/
|
98
|
-
- jars/
|
99
|
-
- jars/netty-
|
100
|
-
- jars/
|
101
|
-
- jars/
|
102
|
-
- jars/
|
103
|
-
- jars/vertx-
|
92
|
+
- examples/shims_example/log/development.log
|
93
|
+
- jars/hazelcast-3.5.2.jar
|
94
|
+
- jars/jackson-annotations-2.6.0.jar
|
95
|
+
- jars/jackson-core-2.6.1.jar
|
96
|
+
- jars/jackson-databind-2.6.1.jar
|
97
|
+
- jars/netty-buffer-4.0.33.Final.jar
|
98
|
+
- jars/netty-codec-4.0.33.Final.jar
|
99
|
+
- jars/netty-codec-http-4.0.33.Final.jar
|
100
|
+
- jars/netty-common-4.0.33.Final.jar
|
101
|
+
- jars/netty-handler-4.0.33.Final.jar
|
102
|
+
- jars/netty-transport-4.0.33.Final.jar
|
103
|
+
- jars/vertx-auth-common-3.2.1.jar
|
104
|
+
- jars/vertx-core-3.2.1.jar
|
105
|
+
- jars/vertx-hazelcast-3.2.1.jar
|
106
|
+
- jars/vertx-lang-ruby-3.2.1.jar
|
107
|
+
- jars/vertx-web-3.2.1.jar
|
104
108
|
- jubilee.gemspec
|
105
|
-
- lib/container.rb
|
106
|
-
- lib/core/buffer.rb
|
107
|
-
- lib/core/datagram.rb
|
108
|
-
- lib/core/dns.rb
|
109
|
-
- lib/core/event_bus.rb
|
110
|
-
- lib/core/file_system.rb
|
111
|
-
- lib/core/http.rb
|
112
|
-
- lib/core/net.rb
|
113
|
-
- lib/core/network_support.rb
|
114
|
-
- lib/core/parsetools.rb
|
115
|
-
- lib/core/shared_data.rb
|
116
|
-
- lib/core/sock_js.rb
|
117
|
-
- lib/core/ssl_support.rb
|
118
|
-
- lib/core/streams.rb
|
119
|
-
- lib/core/tcp_support.rb
|
120
|
-
- lib/core/timers.rb
|
121
|
-
- lib/core/vertx_require.rb
|
122
|
-
- lib/core/wrapped_handler.rb
|
123
109
|
- lib/jubilee.rb
|
124
110
|
- lib/jubilee/application.rb
|
125
111
|
- lib/jubilee/cli.rb
|
126
112
|
- lib/jubilee/configuration.rb
|
127
113
|
- lib/jubilee/const.rb
|
128
114
|
- lib/jubilee/jubilee.jar
|
129
|
-
- lib/jubilee/jubilee_require.rb
|
130
115
|
- lib/jubilee/response.rb
|
131
116
|
- lib/jubilee/server.rb
|
132
117
|
- lib/jubilee/version.rb
|
133
118
|
- lib/rack/handler/jubilee.rb
|
134
|
-
- lib/test_utils.rb
|
135
|
-
- lib/vertx.rb
|
136
|
-
- lib/vertx_tests.rb
|
137
119
|
- pom.xml
|
138
120
|
- spec/apps/rack/basic/config.ru
|
139
121
|
- spec/apps/rails4/basic/.gitignore
|
@@ -209,17 +191,14 @@ files:
|
|
209
191
|
- spec/integration/basic_rails4_spec.rb
|
210
192
|
- spec/integration/basic_sinatra_spec.rb
|
211
193
|
- spec/spec_helper.rb
|
212
|
-
- src/main/assembly/mod.xml
|
213
194
|
- src/main/java/jubilee/JubileeService.java
|
214
195
|
- src/main/java/org/jruby/jubilee/Const.java
|
215
196
|
- src/main/java/org/jruby/jubilee/JubileeVerticle.java
|
216
|
-
- src/main/java/org/jruby/jubilee/JubileeVerticleFactory.java
|
217
197
|
- src/main/java/org/jruby/jubilee/RackApplication.java
|
218
198
|
- src/main/java/org/jruby/jubilee/RackEnvironment.java
|
219
199
|
- src/main/java/org/jruby/jubilee/RackEnvironmentHash.java
|
220
200
|
- src/main/java/org/jruby/jubilee/RackInput.java
|
221
201
|
- src/main/java/org/jruby/jubilee/RackResponse.java
|
222
|
-
- src/main/java/org/jruby/jubilee/RubyCallable.java
|
223
202
|
- src/main/java/org/jruby/jubilee/RubyHttpServerResponse.java
|
224
203
|
- src/main/java/org/jruby/jubilee/RubyNetSocket.java
|
225
204
|
- src/main/java/org/jruby/jubilee/RubyPlatformManager.java
|
@@ -228,9 +207,7 @@ files:
|
|
228
207
|
- src/main/java/org/jruby/jubilee/utils/RubyHelper.java
|
229
208
|
- src/main/java/org/jruby/jubilee/vertx/JubileeVertx.java
|
230
209
|
- src/main/resources/META-INF/services/org.vertx.java.core.spi.cluster.ClusterManagerFactory
|
231
|
-
- src/main/resources/META-INF/services/org.vertx.java.deploy.impl.jruby.JubileeVerticleFactory
|
232
210
|
- src/main/resources/default-cluster.xml
|
233
|
-
- src/main/resources/mod.json
|
234
211
|
- test/.ruby-version
|
235
212
|
- test/apps/app.rb
|
236
213
|
- test/apps/checker.ru
|
@@ -259,7 +236,6 @@ files:
|
|
259
236
|
- test/jubilee/test_server.rb
|
260
237
|
- test/jubilee/test_upload.rb
|
261
238
|
- test/test_helper.rb
|
262
|
-
- vertx_classpath.txt
|
263
239
|
homepage: http://isaiah.github.io/jubilee
|
264
240
|
licenses:
|
265
241
|
- MIT
|
@@ -270,17 +246,17 @@ require_paths:
|
|
270
246
|
- lib
|
271
247
|
required_ruby_version: !ruby/object:Gem::Requirement
|
272
248
|
requirements:
|
273
|
-
- -
|
249
|
+
- - ">="
|
274
250
|
- !ruby/object:Gem::Version
|
275
251
|
version: '0'
|
276
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
253
|
requirements:
|
278
|
-
- -
|
254
|
+
- - ">"
|
279
255
|
- !ruby/object:Gem::Version
|
280
256
|
version: 1.3.1
|
281
257
|
requirements: []
|
282
258
|
rubyforge_project:
|
283
|
-
rubygems_version: 2.
|
259
|
+
rubygems_version: 2.4.8
|
284
260
|
signing_key:
|
285
261
|
specification_version: 4
|
286
262
|
summary: More than a server for rack applications.
|