moran 0.0.2 → 0.5
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/motion/moran/moran.rb +2 -5
- data/motion/moran/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3454fe7b252f3096bc9815fbabaaf2be572a068f
|
|
4
|
+
data.tar.gz: 45d56ceaf867411772302298515c26966f8fb0cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6e5e82b1cbeec09290228a01fbd36c387584922d2f7d189354d810115e19c609286dc1243aae4def5448cc0dc7701e11fd7f76c53793a8bed70ffe52a8e1105
|
|
7
|
+
data.tar.gz: 6f08376262d0d96f5425a8b30a2790d505f97c57515cb98a6009aaf52f250662b54a05d9da0914bf208c62322b4ccb317c7e0efcbadfdc21226225fcbeb26909
|
data/motion/moran/moran.rb
CHANGED
|
@@ -4,12 +4,9 @@ class Moran
|
|
|
4
4
|
|
|
5
5
|
def parse(json)
|
|
6
6
|
mapper = Com::Fasterxml::Jackson::Databind::ObjectMapper.new
|
|
7
|
-
mapper.configure(Com::Fasterxml::Jackson::Core::JsonParser::Feature::ALLOW_UNQUOTED_FIELD_NAMES,
|
|
7
|
+
mapper.configure(Com::Fasterxml::Jackson::Core::JsonParser::Feature::ALLOW_UNQUOTED_FIELD_NAMES,
|
|
8
8
|
true)
|
|
9
|
-
|
|
10
|
-
# we still don't have a completely smooth conversion of types between JavaLand and RubyLand,
|
|
11
|
-
# so this next step seems to be necessary
|
|
12
|
-
JavaToRuby.convert_hashmap(java_hash)
|
|
9
|
+
mapper.readValue(json, Hash)
|
|
13
10
|
end
|
|
14
11
|
|
|
15
12
|
def generate(hash)
|
data/motion/moran/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moran
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: '0.5'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Darin Wilson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: motion-gradle
|