stokesdrift 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7c5233c5628707825785d5c6bfc511db9d4cca8
4
- data.tar.gz: 2fe20e1dbbc4dcbd8e2b2b5b30a8591bc0f2f10e
3
+ metadata.gz: e6ae0f4555d2a5d79bc9ee108ff569c62959c253
4
+ data.tar.gz: d6bed654ce75e845f4f55fb65f088ee756afd86b
5
5
  SHA512:
6
- metadata.gz: 58d2920f108d2c434238962f852505f6212d6f869729dbb3168d40726b20cbe3974199495dab6ea2a1bfc30e05c0477596adecb9642a77550c85e79e96274ef9
7
- data.tar.gz: 6e954db3ce304c9b73d047924f4af20ac7a90468cf13fe4ce084024c77e4ef47ed4945bc407ee7cf6d20a3f99fa340e08f7fdb7dba913222f91b5500dd080efc
6
+ metadata.gz: 00e8c99d07bae49f469c8efebd7840ed81eafa284dd3777823cdcb86c6f8e14792862374d835093f57cf2902528aa3a0d11cb6e35c4994051cbda2e954b17c37
7
+ data.tar.gz: 5bcf8dc60ea17ad2a356e6b1a358141a09a986f06b766546ac454755f4e19fa6018f18f5066e5b9eb151e9bf8c947c6e8367006efe3e3408a7dbfd1583427d9b
data/bin/stokesdrift CHANGED
@@ -2,9 +2,8 @@
2
2
 
3
3
  require 'java'
4
4
 
5
- STOKESDRIFT_DIR = File.join(File.expand_path(File.dirname(__FILE__)), '..')
6
- STOKESDRIFT_LIB_DIR = File.join(STOKESDRIFT_DIR, 'lib')
7
-
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')
8
7
 
9
8
  module JRubyProcess
10
9
  require 'ffi'
@@ -13,31 +12,13 @@ module JRubyProcess
13
12
  attach_function :fork, [], :int
14
13
  end
15
14
 
16
- # options = "#{options} -Dfile.encoding=UTF-8" if java.lang.System.getProperty('file.encoding') == 'MacRoman'
17
- # ENV['JAVA_OPTS'] ||= "-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true"
18
- # ENV['JAVA_OPTS'] = "#{ENV['JAVA_OPTS']} #{options}"
19
-
20
-
21
15
  ENV['STOKESDRIFT_LIB_DIR'] = STOKESDRIFT_LIB_DIR
22
16
  ENV['STOKESDRIFT_DIR'] = STOKESDRIFT_DIR
23
17
 
24
- # java::lang::System.setProperty("STOKESDRIFT_LIB_DIR", STOKESDRIFT_LIB_DIR)
25
-
26
- # $:.unshift(STOKESDRIFT_LIB_DIR)
27
-
28
- # jar_lib_dir = Dir[File.join(STOKESDRIFT_LIB_DIR, '*.jar')]
29
-
30
- # jar_lib_dir.each do |f|
31
- # next if f =~ /jruby-complete.+/ || f =~ /.+sources.jar/
32
- # require f
33
- # end
34
-
35
-
36
18
  def run_server
37
19
  exec "#{STOKESDRIFT_DIR}/scripts/server_startup.sh"
38
20
  end
39
21
 
40
22
  # pid = JRubyProcess.fork do
41
23
  run_server
42
-
43
24
  # end
@@ -0,0 +1,11 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: BCPG v1.46
3
+
4
+ iQEcBAABAgAGBQJVAf0KAAoJEM424HY7XiHpYqoH/itjBGxymj/tR3Ez6ItyBcNV
5
+ bthgl3J0B12LUf9sGcxhqbAMTdRlbORgUzGViqMd7A2hVhAMuxxEhYwUUur+RdHE
6
+ YNoRJCZIPs557BfjkimuJBEasw62oHiXGEk+Geh6jQz4FHLlQAFHKyId3fwQsHAH
7
+ LW4neUzfvaH1X2tLuyS3cZKAAQvwiTQtJzbcvF3iPgoar7vFrOQnW6Ud0nadVBwl
8
+ vyi8OVGcck20klOHglgbopBKunLmtNaHDbxseeSfBbQ5kYybJ43vunF338Yx1t5p
9
+ //hUDRD24K6xTl+LQU98vQgaP/rVLDazJkgY9yEa8Gb3JptJ0DBWAgHjd3fe8I8=
10
+ =KXO+
11
+ -----END PGP SIGNATURE-----
@@ -0,0 +1,11 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: BCPG v1.46
3
+
4
+ iQEcBAABAgAGBQJVAf0KAAoJEM424HY7XiHpy9MIAJ6TH1LRN15KD1bpf9oBQhMH
5
+ ZKMa0RJoIZs2Cgny1/YGOAMqhNVoMWjFvqDItqVNlwm92R7bqCni2wwLVI8tOO6/
6
+ 2OawnQWjgl0u8ExUhVvGTTypYiToeU5ybjTz0kDy5gsFaca4iF6WMOwlkp146zjy
7
+ uxYRJnrM2bNHgimoJsJLabP69Rf8U4gd5PChx2nwcUiqKok0jrLkAmMiEAlDMkwx
8
+ DYQAizkESIObdFWfPGQqSp2bw3yjUydJ49rlWDbCAj5nX6m9o5qwluftqEEYcoq2
9
+ uSDBQY1Uv+yCLKJc4wcn0texIwQ8dMHrJMj83M/Gb4HIQfFX6RKFU9gPdUrEsmo=
10
+ =AMR+
11
+ -----END PGP SIGNATURE-----
Binary file
@@ -0,0 +1,11 @@
1
+ -----BEGIN PGP SIGNATURE-----
2
+ Version: BCPG v1.46
3
+
4
+ iQEcBAABAgAGBQJVAf0KAAoJEM424HY7XiHpaQkIALE8lFKEGpZDyk+xdNpUvcNK
5
+ 7pZqUk6eXYJ51czHDEzuxGHRlhUS4jgQybrei22mvL6s5kPtbX4WK2VtJYtlRdwd
6
+ 6rEdaq/xdLkU7+OxHchjaA9XZP0T7PlfEAsKaJ7jr0N59BDudofumjHezIRLD1NF
7
+ VCwMSKfvDEHIDf0DcGh99ROHKzwug0ibdlJV3v4EF+J6gM3ogJwfH/FhWWU0/XW5
8
+ XHchkeQWLyfmkU88wrsP2QTH/A0pe61VCBYXwtHl4B4m9KExEP83wlJImxU+2+6k
9
+ dex2lpEFLy0S9hiFBXsQofxPPPfnOIHKYipAh5PNIAwi2D0M3krccmyIsaiNAqE=
10
+ =6ZoC
11
+ -----END PGP SIGNATURE-----
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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Marchant
@@ -105,6 +105,12 @@ files:
105
105
  - lib/stokesdrift-0.1.5-SNAPSHOT-sources.jar.asc
106
106
  - lib/stokesdrift-0.1.5-SNAPSHOT.jar
107
107
  - lib/stokesdrift-0.1.5-SNAPSHOT.jar.asc
108
+ - lib/stokesdrift-0.1.6-SNAPSHOT-javadoc.jar
109
+ - lib/stokesdrift-0.1.6-SNAPSHOT-javadoc.jar.asc
110
+ - lib/stokesdrift-0.1.6-SNAPSHOT-sources.jar
111
+ - lib/stokesdrift-0.1.6-SNAPSHOT-sources.jar.asc
112
+ - lib/stokesdrift-0.1.6-SNAPSHOT.jar
113
+ - lib/stokesdrift-0.1.6-SNAPSHOT.jar.asc
108
114
  - lib/stokesdrift.rb
109
115
  - lib/stokesdrift/registry.rb
110
116
  - lib/stokesdrift/server.rb