stokesdrift 0.2.0 → 0.2.1
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/bin/stokesdrift +24 -0
- metadata +4 -48
- data/lib/c3p0-0.9.1.1.jar +0 -0
- data/lib/cdi-api-1.2.jar +0 -0
- data/lib/groovy-all-2.1.8.jar +0 -0
- data/lib/guava-13.0.1.jar +0 -0
- data/lib/javax.el-api-3.0.0.jar +0 -0
- data/lib/javax.inject-1.jar +0 -0
- data/lib/javax.interceptor-api-1.2.jar +0 -0
- data/lib/jboss-annotations-api_1.2_spec-1.0.0.Final.jar +0 -0
- data/lib/jboss-classfilewriter-1.0.4.Final.jar +0 -0
- data/lib/jboss-classfilewriter-1.0.5.Final.jar +0 -0
- data/lib/jboss-el-api_3.0_spec-1.0.0.Alpha1.jar +0 -0
- data/lib/jboss-interceptors-api_1.2_spec-1.0.0.Alpha3.jar +0 -0
- data/lib/jboss-logging-3.1.4.GA.jar +0 -0
- data/lib/jboss-servlet-api_3.1_spec-1.0.0.Final.jar +0 -0
- data/lib/jruby-complete-1.7.13.jar +0 -0
- data/lib/jruby-complete-1.7.19.jar +0 -0
- data/lib/jruby-rack-1.1.17.jar +0 -0
- data/lib/jruby-rack-1.1.18.jar +0 -0
- data/lib/quartz-2.2.1.jar +0 -0
- data/lib/slf4j-api-1.6.6.jar +0 -0
- data/lib/snakeyaml-1.14.jar +0 -0
- data/lib/snakeyaml-1.15.jar +0 -0
- data/lib/stokesdrift-0.1.9-SNAPSHOT-javadoc.jar +0 -0
- data/lib/stokesdrift-0.1.9-SNAPSHOT-javadoc.jar.asc +0 -11
- data/lib/stokesdrift-0.1.9-SNAPSHOT-sources.jar +0 -0
- data/lib/stokesdrift-0.1.9-SNAPSHOT-sources.jar.asc +0 -11
- data/lib/stokesdrift-0.1.9-SNAPSHOT.jar +0 -0
- data/lib/stokesdrift-0.1.9-SNAPSHOT.jar.asc +0 -11
- data/lib/stokesdrift.rb +0 -9
- data/lib/stokesdrift/registry.rb +0 -35
- data/lib/stokesdrift/server.rb +0 -19
- data/lib/undertow-core-1.0.1.Final.jar +0 -0
- data/lib/undertow-core-1.2.0.Beta10.jar +0 -0
- data/lib/undertow-servlet-1.0.1.Final.jar +0 -0
- data/lib/undertow-servlet-1.2.0.Beta10.jar +0 -0
- data/lib/weld-api-2.2.SP3.jar +0 -0
- data/lib/weld-core-impl-2.2.4.Final.jar +0 -0
- data/lib/weld-core-impl-2.2.9.Final.jar +0 -0
- data/lib/weld-environment-common-2.2.9.Final.jar +0 -0
- data/lib/weld-se-core-2.2.4.Final.jar +0 -0
- data/lib/weld-se-core-2.2.9.Final.jar +0 -0
- data/lib/weld-spi-2.2.SP3.jar +0 -0
- data/lib/xnio-api-3.2.0.Final.jar +0 -0
- data/lib/xnio-api-3.3.0.Final.jar +0 -0
- data/lib/xnio-nio-3.2.0.Final.jar +0 -0
- data/lib/xnio-nio-3.3.0.Final.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ae9a2f9badd4d4adbd42c45e23da80762b892b1
|
4
|
+
data.tar.gz: de920ea0d04f76b2b5ce9f1d2fff13df7e11853b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8c4d17216ca130612c703586b757d5655f6d8d9d8a20d77a792e3238141fb644241292c2579c9feb4941a8e15a6c0ac232690ad68c15f46b020ac55dbd553d7
|
7
|
+
data.tar.gz: 1a656ada513221cfb149fc38ea843d1e01424f98b2fc69ac4fc8b7756140000c5c04ed06aff5386bacf4cb251a1af277849cd801bbde96a9bf6a42c5a6683d4e
|
data/bin/stokesdrift
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env jruby
|
2
|
+
|
3
|
+
require 'java'
|
4
|
+
|
5
|
+
STOKESDRIFT_DIR = ENV['STOKESDRIFT_DIR'] || File.join(File.expand_path(File.dirname(__FILE__)), '..')
|
6
|
+
STOKESDRIFT_LIB_DIR = ENV['STOKESDRIFT_LIB_DIR'] || File.join(STOKESDRIFT_DIR, 'lib')
|
7
|
+
|
8
|
+
module JRubyProcess
|
9
|
+
require 'ffi'
|
10
|
+
extend FFI::Library
|
11
|
+
ffi_lib FFI::Library::LIBC
|
12
|
+
attach_function :fork, [], :int
|
13
|
+
end
|
14
|
+
|
15
|
+
ENV['STOKESDRIFT_LIB_DIR'] = STOKESDRIFT_LIB_DIR
|
16
|
+
ENV['STOKESDRIFT_DIR'] = STOKESDRIFT_DIR
|
17
|
+
|
18
|
+
def run_server
|
19
|
+
exec "#{STOKESDRIFT_DIR}/scripts/server_startup.sh"
|
20
|
+
end
|
21
|
+
|
22
|
+
# pid = JRubyProcess.fork do
|
23
|
+
run_server
|
24
|
+
# end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stokesdrift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Marchant
|
@@ -69,56 +69,12 @@ dependencies:
|
|
69
69
|
description: Provides a micro service container for the modern world
|
70
70
|
email:
|
71
71
|
- dan@driedtoast.com
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- stokesdrift
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
75
76
|
files:
|
76
|
-
-
|
77
|
-
- lib/cdi-api-1.2.jar
|
78
|
-
- lib/groovy-all-2.1.8.jar
|
79
|
-
- lib/guava-13.0.1.jar
|
80
|
-
- lib/javax.el-api-3.0.0.jar
|
81
|
-
- lib/javax.inject-1.jar
|
82
|
-
- lib/javax.interceptor-api-1.2.jar
|
83
|
-
- lib/jboss-annotations-api_1.2_spec-1.0.0.Final.jar
|
84
|
-
- lib/jboss-classfilewriter-1.0.4.Final.jar
|
85
|
-
- lib/jboss-classfilewriter-1.0.5.Final.jar
|
86
|
-
- lib/jboss-el-api_3.0_spec-1.0.0.Alpha1.jar
|
87
|
-
- lib/jboss-interceptors-api_1.2_spec-1.0.0.Alpha3.jar
|
88
|
-
- lib/jboss-logging-3.1.4.GA.jar
|
89
|
-
- lib/jboss-servlet-api_3.1_spec-1.0.0.Final.jar
|
90
|
-
- lib/jruby-complete-1.7.13.jar
|
91
|
-
- lib/jruby-complete-1.7.19.jar
|
92
|
-
- lib/jruby-rack-1.1.17.jar
|
93
|
-
- lib/jruby-rack-1.1.18.jar
|
94
|
-
- lib/quartz-2.2.1.jar
|
95
|
-
- lib/slf4j-api-1.6.6.jar
|
96
|
-
- lib/snakeyaml-1.14.jar
|
97
|
-
- lib/snakeyaml-1.15.jar
|
98
|
-
- lib/stokesdrift-0.1.9-SNAPSHOT-javadoc.jar
|
99
|
-
- lib/stokesdrift-0.1.9-SNAPSHOT-javadoc.jar.asc
|
100
|
-
- lib/stokesdrift-0.1.9-SNAPSHOT-sources.jar
|
101
|
-
- lib/stokesdrift-0.1.9-SNAPSHOT-sources.jar.asc
|
102
|
-
- lib/stokesdrift-0.1.9-SNAPSHOT.jar
|
103
|
-
- lib/stokesdrift-0.1.9-SNAPSHOT.jar.asc
|
104
|
-
- lib/stokesdrift.rb
|
105
|
-
- lib/stokesdrift/registry.rb
|
106
|
-
- lib/stokesdrift/server.rb
|
107
|
-
- lib/undertow-core-1.0.1.Final.jar
|
108
|
-
- lib/undertow-core-1.2.0.Beta10.jar
|
109
|
-
- lib/undertow-servlet-1.0.1.Final.jar
|
110
|
-
- lib/undertow-servlet-1.2.0.Beta10.jar
|
111
|
-
- lib/weld-api-2.2.SP3.jar
|
112
|
-
- lib/weld-core-impl-2.2.4.Final.jar
|
113
|
-
- lib/weld-core-impl-2.2.9.Final.jar
|
114
|
-
- lib/weld-environment-common-2.2.9.Final.jar
|
115
|
-
- lib/weld-se-core-2.2.4.Final.jar
|
116
|
-
- lib/weld-se-core-2.2.9.Final.jar
|
117
|
-
- lib/weld-spi-2.2.SP3.jar
|
118
|
-
- lib/xnio-api-3.2.0.Final.jar
|
119
|
-
- lib/xnio-api-3.3.0.Final.jar
|
120
|
-
- lib/xnio-nio-3.2.0.Final.jar
|
121
|
-
- lib/xnio-nio-3.3.0.Final.jar
|
77
|
+
- bin/stokesdrift
|
122
78
|
- scripts/server_startup.sh
|
123
79
|
homepage: https://github.com/stokesdrift/stokesdrift
|
124
80
|
licenses:
|
data/lib/c3p0-0.9.1.1.jar
DELETED
Binary file
|
data/lib/cdi-api-1.2.jar
DELETED
Binary file
|
data/lib/groovy-all-2.1.8.jar
DELETED
Binary file
|
data/lib/guava-13.0.1.jar
DELETED
Binary file
|
data/lib/javax.el-api-3.0.0.jar
DELETED
Binary file
|
data/lib/javax.inject-1.jar
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/jruby-rack-1.1.17.jar
DELETED
Binary file
|
data/lib/jruby-rack-1.1.18.jar
DELETED
Binary file
|
data/lib/quartz-2.2.1.jar
DELETED
Binary file
|
data/lib/slf4j-api-1.6.6.jar
DELETED
Binary file
|
data/lib/snakeyaml-1.14.jar
DELETED
Binary file
|
data/lib/snakeyaml-1.15.jar
DELETED
Binary file
|
Binary file
|
@@ -1,11 +0,0 @@
|
|
1
|
-
-----BEGIN PGP SIGNATURE-----
|
2
|
-
Version: BCPG v1.46
|
3
|
-
|
4
|
-
iQEcBAABAgAGBQJVCGT7AAoJEM424HY7XiHpIc8IAIl1vd54hIhgZiKAWCEsDt9v
|
5
|
-
NEFVvtKUtYtZ6J0FuNmKmeE+OFPp4IGNmtsQhCDHELgn6gf9/DwFSEodqBKK4NTM
|
6
|
-
92omRLTOnuhudJJteXZcVYw8O7vE4FY8Hn6G3u5SRmcYtq/Y7gke65bkvPidTvKF
|
7
|
-
QEQgiHb3R3T0/Qz1ueAc41oGB/C04QKhFLeFA6T2ujzzsoEcXjI8W6SqQVaXMBgE
|
8
|
-
D2B6FMNWPGlHIlcerEYNmJnuLfl2fEiN+EIoFfNZOfHVvMdhmi+bIHKRdBye8SXg
|
9
|
-
07MWiba54sdsAUYRKczvybJS1+xkZ+uyBV+nLHW5kxT0FdQzBFet7PcbK/c9HW4=
|
10
|
-
=YSkD
|
11
|
-
-----END PGP SIGNATURE-----
|
Binary file
|
@@ -1,11 +0,0 @@
|
|
1
|
-
-----BEGIN PGP SIGNATURE-----
|
2
|
-
Version: BCPG v1.46
|
3
|
-
|
4
|
-
iQEcBAABAgAGBQJVCGT7AAoJEM424HY7XiHpnKYIALeXtPQbPA0HLelqUHJuC0F8
|
5
|
-
9P3lPleBHgSiQfXd24yoLrVsajnKASpnnSb3+NGCO9uo0IvbgDdgStyjI9PAunZd
|
6
|
-
dQqd3h8nr5j1E2Q45VAzZEuEx+rnHAW8fDP7PSGsTotTR/7A8Q02t7r4/sZ3333t
|
7
|
-
9ydDjl/r3x+xhmfP5EH/r7bh5fnpVZywd2Wc9V9f/2sWcnWvHB28uR17l3vWYK2J
|
8
|
-
I/Q7Wfzi41igfcN+Ky3H/43sxI6lZG47d5rmIXzznqt3V0v87F+brQudYjtKT+jD
|
9
|
-
Ivb3TS3/JXkbEbUR9G9a9FfkY5Va/Cb6sdQ2IU7tfBX1OZdMXAzMNg5L26FsdnI=
|
10
|
-
=6uVq
|
11
|
-
-----END PGP SIGNATURE-----
|
Binary file
|
@@ -1,11 +0,0 @@
|
|
1
|
-
-----BEGIN PGP SIGNATURE-----
|
2
|
-
Version: BCPG v1.46
|
3
|
-
|
4
|
-
iQEcBAABAgAGBQJVCGT7AAoJEM424HY7XiHpTC4H/iWa3VIOHyXBa1bTPgSYI9sv
|
5
|
-
7g6dlqW6vEtzULwcV61NJyyTSLpbuMj8tysNul8gkI6P8+DTpYEvTYwdj6hRLNxa
|
6
|
-
XTe+HvyVblbLnayWRRPY7wnDW9kFcLIAg0pzMa+Z828nHlfbuI9MBra8L8NweKmc
|
7
|
-
0Gq2m6Xvn3PlMrCPOGO7RXpnvXWotnhJ3JDmgEvX8mahOgLX+RzORJmcSVEcM80Q
|
8
|
-
HJ/feH8OiBghmy2a1Z8k3C4BqaGDomq3z4iKl0fumqWhWEaZ5fwgj4p52JMGZgkD
|
9
|
-
YbcZ3dITGZ5iz7UfLhhYOMwctWsrxRBIxEAUB3RN7TgpwXWkEOgecHq3bram5/A=
|
10
|
-
=nd+1
|
11
|
-
-----END PGP SIGNATURE-----
|
data/lib/stokesdrift.rb
DELETED
data/lib/stokesdrift/registry.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
require 'java'
|
2
|
-
|
3
|
-
module Stokesdrift
|
4
|
-
class Registry
|
5
|
-
|
6
|
-
def initialize
|
7
|
-
@registry = org::stokesdrift::registry::Registry.new
|
8
|
-
end
|
9
|
-
|
10
|
-
def put(name, value)
|
11
|
-
if value
|
12
|
-
config_type = org::stokesdrift::config::RuntimeType::RUBY
|
13
|
-
value = org::stokesdrift::registry::RegistryObject.new(config_type, value)
|
14
|
-
end
|
15
|
-
@registry.put(name, value)
|
16
|
-
end
|
17
|
-
|
18
|
-
def get(name)
|
19
|
-
if (registry_object = @registry.get(name))
|
20
|
-
registry_object.object
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
def remove(name)
|
25
|
-
@registry.remove(name)
|
26
|
-
end
|
27
|
-
|
28
|
-
def self.find
|
29
|
-
@@_registry ||= Registry.new
|
30
|
-
end
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
|
35
|
-
end
|
data/lib/stokesdrift/server.rb
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/weld-api-2.2.SP3.jar
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/weld-spi-2.2.SP3.jar
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|