eurydice 1.2.4-java → 1.2.5-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/eurydice/pelops.rb +4 -2
- data/lib/eurydice/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/lib/eurydice/pelops.rb
CHANGED
@@ -51,11 +51,13 @@ module Eurydice
|
|
51
51
|
def empty_pelops_bytes
|
52
52
|
::Pelops::Bytes::EMPTY
|
53
53
|
end
|
54
|
-
|
54
|
+
|
55
|
+
BYTES_FROM_LONG_METHOD = ::Pelops::Bytes.java_method(:fromLong, [Java::long])
|
56
|
+
|
55
57
|
def to_pelops_bytes(obj, type=nil)
|
56
58
|
case type
|
57
59
|
when :long
|
58
|
-
|
60
|
+
BYTES_FROM_LONG_METHOD.call(obj)
|
59
61
|
else
|
60
62
|
::Pelops::Bytes.new(obj.to_s.to_java_bytes)
|
61
63
|
end
|
data/lib/eurydice/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eurydice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
prerelease:
|
6
6
|
platform: java
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pelops-jars
|