jrjackson 0.2.1 → 0.2.2

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: d07a0aa692d484019d06b2b0ad1364b22eaf9ed6
4
- data.tar.gz: 1a61f5b6e44e8de66fb219e0cffc2a3d8da3cbd4
3
+ metadata.gz: 1d1c4ad52124b5b10d5b17ba157f5d7f51cd4f19
4
+ data.tar.gz: 21381583fde4460338bf62312ddc5ae3d2bb484b
5
5
  SHA512:
6
- metadata.gz: b0a885e734133c14eeb70a94f057a07be3deedfa90fc99061cb694f6db8e7f0a9a30303de7c6db0a3840eb34cbae2f0fe3fa1d4930427efff2b8fc0b92999bcc
7
- data.tar.gz: 76c4f4254f1aa5ff68eb4da743a6a8434c5a86b73b5d0307fc93bbc4e7f458f0634ef879e9f68797fbe9de49fb02780d39728b7a7cabf3af5f3130ef4164dc4e
6
+ metadata.gz: 05c0daa5a1719b270c8f26269558fafb82002844be119a603970532f88246a104278c268975efcba9ac9afbddf61a235bb0e956ce6feb77695f8bdcee25781f1
7
+ data.tar.gz: e2ffaa73398f0a08b4ca39ca50ee5e0dc9ffad2cd9ab9a1d052aa3b48e8cd2f1692e7225591968b7cf7699fc7a722953000f2ba670fa996598a0d4fcdc2e0494
data/README.md CHANGED
@@ -6,15 +6,15 @@ Apache License 2.0 see http://www.apache.org/licenses/LICENSE-2.0
6
6
 
7
7
  a jruby library wrapping the JAVA Jackson jars`
8
8
 
9
- Version: 0.2.1
10
-
11
9
  __NOTE:__ Smile support has been temporarily dropped
12
10
 
13
11
  The code has been refactored to use almost all Java.
14
12
 
15
13
  There is now a MultiJson adapter added for JrJackson
16
14
 
17
- JrJackson provides:
15
+ ***
16
+
17
+ #### API
18
18
 
19
19
  ```
20
20
  JrJackson::Json.load(string, options) -> hash like object
@@ -49,6 +49,8 @@ serialization. See the wiki for more on this.
49
49
 
50
50
  ***
51
51
 
52
+ #### Internals
53
+
52
54
  There are two Ruby sub modules of the JrJackson module
53
55
 
54
56
  ```JrJackson::Json```, this is the general external facade used by MultiJson, and is pure Ruby.
@@ -56,12 +58,14 @@ There are two Ruby sub modules of the JrJackson module
56
58
  ```JrJackson::Raw```, this is used by the Json module, it is defined in Java with annotations
57
59
  exposing it as a Ruby module with module methods.
58
60
 
61
+ ***
62
+
63
+ #### Benchmarks
64
+
59
65
  Credit to Chuck Remes for the benchmark and initial
60
66
  investigation when the jruby, json gem and the jackson
61
67
  libraries were young.
62
68
 
63
- ***
64
-
65
69
  I compared Json (java) 1.8, Gson 0.6.1 and jackson 2.2.3 on jruby 1.7.4 and OpenJDK 64-Bit Server VM 1.7.0_21-b02
66
70
  All the benchmarks were run separately. A 727.9KB string of random json data is read from a file and handled 250 times, thereby attempting to balance invocation and parsing benchmarking.
67
71
 
@@ -12,8 +12,12 @@
12
12
  <artifactId>maven-compiler-plugin</artifactId>
13
13
  <version>3.1</version>
14
14
  <configuration>
15
- <source>1.7</source>
16
- <target>1.7</target>
15
+ <source>1.6</source>
16
+ <target>1.6</target>
17
+ <showDeprecation>false</showDeprecation>
18
+ <showWarnings>false</showWarnings>
19
+ <executable>${JAVA_HOME_6}/bin/javac</executable>
20
+ <fork>true</fork>
17
21
  </configuration>
18
22
  </plugin>
19
23
  <plugin>
Binary file
@@ -1,3 +1,3 @@
1
1
  module JrJackson
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
data/pom.xml CHANGED
@@ -53,8 +53,12 @@
53
53
  <artifactId>maven-compiler-plugin</artifactId>
54
54
  <version>3.1</version>
55
55
  <configuration>
56
- <source>1.7</source>
57
- <target>1.7</target>
56
+ <source>1.6</source>
57
+ <target>1.6</target>
58
+ <showDeprecation>false</showDeprecation>
59
+ <showWarnings>false</showWarnings>
60
+ <executable>${JAVA_HOME_6}/bin/javac</executable>
61
+ <fork>true</fork>
58
62
  </configuration>
59
63
  </plugin>
60
64
  <plugin>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jrjackson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Boertje