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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/bin/stokesdrift +24 -0
  3. metadata +4 -48
  4. data/lib/c3p0-0.9.1.1.jar +0 -0
  5. data/lib/cdi-api-1.2.jar +0 -0
  6. data/lib/groovy-all-2.1.8.jar +0 -0
  7. data/lib/guava-13.0.1.jar +0 -0
  8. data/lib/javax.el-api-3.0.0.jar +0 -0
  9. data/lib/javax.inject-1.jar +0 -0
  10. data/lib/javax.interceptor-api-1.2.jar +0 -0
  11. data/lib/jboss-annotations-api_1.2_spec-1.0.0.Final.jar +0 -0
  12. data/lib/jboss-classfilewriter-1.0.4.Final.jar +0 -0
  13. data/lib/jboss-classfilewriter-1.0.5.Final.jar +0 -0
  14. data/lib/jboss-el-api_3.0_spec-1.0.0.Alpha1.jar +0 -0
  15. data/lib/jboss-interceptors-api_1.2_spec-1.0.0.Alpha3.jar +0 -0
  16. data/lib/jboss-logging-3.1.4.GA.jar +0 -0
  17. data/lib/jboss-servlet-api_3.1_spec-1.0.0.Final.jar +0 -0
  18. data/lib/jruby-complete-1.7.13.jar +0 -0
  19. data/lib/jruby-complete-1.7.19.jar +0 -0
  20. data/lib/jruby-rack-1.1.17.jar +0 -0
  21. data/lib/jruby-rack-1.1.18.jar +0 -0
  22. data/lib/quartz-2.2.1.jar +0 -0
  23. data/lib/slf4j-api-1.6.6.jar +0 -0
  24. data/lib/snakeyaml-1.14.jar +0 -0
  25. data/lib/snakeyaml-1.15.jar +0 -0
  26. data/lib/stokesdrift-0.1.9-SNAPSHOT-javadoc.jar +0 -0
  27. data/lib/stokesdrift-0.1.9-SNAPSHOT-javadoc.jar.asc +0 -11
  28. data/lib/stokesdrift-0.1.9-SNAPSHOT-sources.jar +0 -0
  29. data/lib/stokesdrift-0.1.9-SNAPSHOT-sources.jar.asc +0 -11
  30. data/lib/stokesdrift-0.1.9-SNAPSHOT.jar +0 -0
  31. data/lib/stokesdrift-0.1.9-SNAPSHOT.jar.asc +0 -11
  32. data/lib/stokesdrift.rb +0 -9
  33. data/lib/stokesdrift/registry.rb +0 -35
  34. data/lib/stokesdrift/server.rb +0 -19
  35. data/lib/undertow-core-1.0.1.Final.jar +0 -0
  36. data/lib/undertow-core-1.2.0.Beta10.jar +0 -0
  37. data/lib/undertow-servlet-1.0.1.Final.jar +0 -0
  38. data/lib/undertow-servlet-1.2.0.Beta10.jar +0 -0
  39. data/lib/weld-api-2.2.SP3.jar +0 -0
  40. data/lib/weld-core-impl-2.2.4.Final.jar +0 -0
  41. data/lib/weld-core-impl-2.2.9.Final.jar +0 -0
  42. data/lib/weld-environment-common-2.2.9.Final.jar +0 -0
  43. data/lib/weld-se-core-2.2.4.Final.jar +0 -0
  44. data/lib/weld-se-core-2.2.9.Final.jar +0 -0
  45. data/lib/weld-spi-2.2.SP3.jar +0 -0
  46. data/lib/xnio-api-3.2.0.Final.jar +0 -0
  47. data/lib/xnio-api-3.3.0.Final.jar +0 -0
  48. data/lib/xnio-nio-3.2.0.Final.jar +0 -0
  49. 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: 238993755828edd74b928a0ceab3f5e876fb32a3
4
- data.tar.gz: cf71e1dac87ab2db5d38906eb71ab66d20acac21
3
+ metadata.gz: 7ae9a2f9badd4d4adbd42c45e23da80762b892b1
4
+ data.tar.gz: de920ea0d04f76b2b5ce9f1d2fff13df7e11853b
5
5
  SHA512:
6
- metadata.gz: f5362a625f0cc330a92b907a26e2f14c45af125245fbb0c7af3f04f9f7661b321af240ec42dcf93cf2a8e1d75cd185bcf6ee9416cb01c8ad9a02e72726351161
7
- data.tar.gz: 5ee292e63cf7b3aa4fa8856d705414870790ce18f80326dbec4dc17ba6799bc9814f1c0c9a7047f105588ea39a0afcbab1e0d41e8ad72dcbac7f483fe8142bc6
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.0
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
- - lib/c3p0-0.9.1.1.jar
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
Binary file
data/lib/guava-13.0.1.jar DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/quartz-2.2.1.jar DELETED
Binary file
Binary file
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-----
@@ -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
@@ -1,9 +0,0 @@
1
- Dir[File.join(File.dirname(__FILE__),"*.jar")].each do |jar|
2
- require jar
3
- end
4
-
5
- module Stokesdrift
6
- end
7
-
8
- require_relative 'stokesdrift/registry'
9
- require_relative 'stokesdrift/server'
@@ -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
@@ -1,19 +0,0 @@
1
- require 'java'
2
-
3
- module Stokesdrift
4
- class Server
5
-
6
- def initialize(args)
7
- @server = org::stokesdrift::Server.new(args)
8
- end
9
-
10
- def start
11
- @server.start
12
- end
13
-
14
- def stop
15
- @server.stop
16
- end
17
-
18
- end
19
- end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file