jrjackson 0.4.20-java → 0.4.21-java

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
  SHA256:
3
- metadata.gz: 1c38f7a3b1645996c35547823be1a641ef9f305ee0b4d5d5e793b4187c741b6d
4
- data.tar.gz: 3fb7585848693dec99595c9935ca476cf8b06051368cd19e352d3c8b16446663
3
+ metadata.gz: c1156698a31777d10e7317776f99355f588899ab21211279f45c48bbbff6e05d
4
+ data.tar.gz: f1c6bb62b9a2aa3d733efd37f6097a5e659db4c686f6b16f0f301d4447d460f9
5
5
  SHA512:
6
- metadata.gz: d4237860ed521748e0e78cbb3b85fc083f023d59f0c6164473244a4e54a578c2e0359fde2e87a460ff9d9f1acbf5a6194907e099bc8c741219a46f44e4b2ac2d
7
- data.tar.gz: 129e317920fb98b107e6e4b1e7cc3acf79fc16bc341ddaf3cb78192683c2cac9579a68f0d9b7de6b16aee1568361ebd509d66cf5e64433ae0efa06cc14fa15a5
6
+ metadata.gz: 3e61c2c1ef8b259c23b65578030da3e962bc58ddee557fb66f31e868826c35724ea158e9ba04ef646edbc62c76b2b5983c5941415f5a2739aa04ab9b4fd5c426
7
+ data.tar.gz: 58ff7071f93a72849832148c472470df434b950fd97519574b0bab529cc644a71e4107a1995f4e45d4044df5357e406aa02de6c3d3e94507bcce9fbb4cd5b1b3
data/README.md CHANGED
@@ -106,8 +106,7 @@ Credit to Chuck Remes for the benchmark and initial
106
106
  investigation when the jruby, json gem and the jackson
107
107
  libraries were young.
108
108
 
109
- I compared Json (java) 1.8.3, Gson 0.6.1 and jackson 2.6.1 on jruby 1.7.22 and Oracle Java HotSpot(TM) 64-Bit Server VM 1.8.0_60-b27 +jit [linux-amd64]
110
- 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.
109
+ Benchmarks are 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.
111
110
 
112
111
  ```
113
112
  generation/serialize
@@ -116,7 +115,6 @@ generation/serialize
116
115
 
117
116
 
118
117
  json java generate: 250 6.780 0.620 7.400 ( 6.599)
119
- gson generate: 250 4.480 0.530 5.010 ( 4.688)
120
118
  jackson generate: 250 2.200 0.010 2.210 ( 2.128)
121
119
 
122
120
  json mri parse: 250 9.620 0.000 9.620 ( 9.631)
@@ -147,7 +145,6 @@ I have done IPS style benchmarks too.
147
145
  Generation
148
146
  ```
149
147
  jrjackson: 74539.4 i/s
150
- gson: 58288.3 i/s - 1.28x slower
151
148
  JSON: 54597.2 i/s - 1.37x slower
152
149
  ```
153
150
 
data/jrjackson.gemspec CHANGED
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.license = 'Apache-2.0'
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_development_dependency 'jar-dependencies', '< 2.0', '>= 0.3.2'
21
+ s.add_dependency 'bigdecimal'
22
+ s.add_development_dependency 'jar-dependencies', '>= 0.3.2'
22
23
 
23
24
  jackson_version = JrJackson::BuildInfo.jackson_version
24
25
  jackson_databind_version = JrJackson::BuildInfo.jackson_databind_version
@@ -1,11 +1,11 @@
1
1
  module JrJackson
2
2
  module BuildInfo
3
3
  def self.version
4
- '0.4.20'
4
+ '0.4.21'
5
5
  end
6
6
 
7
7
  def self.release_date
8
- '2024-05-09'
8
+ '2026-03-16'
9
9
  end
10
10
 
11
11
  def self.files
@@ -2,15 +2,15 @@
2
2
  begin
3
3
  require 'jar_dependencies'
4
4
  rescue LoadError
5
- require 'com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar'
6
- require 'com/fasterxml/jackson/module/jackson-module-afterburner/2.15.4/jackson-module-afterburner-2.15.4.jar'
7
5
  require 'com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4.jar'
8
6
  require 'com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar'
7
+ require 'com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar'
8
+ require 'com/fasterxml/jackson/module/jackson-module-afterburner/2.15.4/jackson-module-afterburner-2.15.4.jar'
9
9
  end
10
10
 
11
11
  if defined? Jars
12
- require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.15.4'
13
- require_jar 'com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.15.4'
14
12
  require_jar 'com.fasterxml.jackson.core', 'jackson-core', '2.15.4'
15
13
  require_jar 'com.fasterxml.jackson.core', 'jackson-annotations', '2.15.4'
14
+ require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.15.4'
15
+ require_jar 'com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.15.4'
16
16
  end
data/pom.xml CHANGED
@@ -6,7 +6,7 @@ DO NOT MODIFY - GENERATED CODE
6
6
 
7
7
 
8
8
  -->
9
- <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
9
+ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
10
10
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>com.jrjackson.jruby</groupId>
@@ -33,16 +33,22 @@ DO NOT MODIFY - GENERATED CODE
33
33
  <url>http://github.com/guyboertje/jrjackson</url>
34
34
  </scm>
35
35
  <properties>
36
- <jruby.plugins.version>2.0.1</jruby.plugins.version>
37
- <mavengem.wagon.version>1.0.3</mavengem.wagon.version>
36
+ <jruby.plugins.version>3.0.0</jruby.plugins.version>
37
+ <mavengem.wagon.version>2.0.0</mavengem.wagon.version>
38
38
  <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
39
39
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40
40
  </properties>
41
41
  <dependencies>
42
+ <dependency>
43
+ <groupId>rubygems</groupId>
44
+ <artifactId>bigdecimal</artifactId>
45
+ <version>[0,)</version>
46
+ <type>gem</type>
47
+ </dependency>
42
48
  <dependency>
43
49
  <groupId>rubygems</groupId>
44
50
  <artifactId>jar-dependencies</artifactId>
45
- <version>[0.3.2,2.0)</version>
51
+ <version>[0.3.2,)</version>
46
52
  <type>gem</type>
47
53
  <scope>test</scope>
48
54
  </dependency>
@@ -88,12 +94,12 @@ DO NOT MODIFY - GENERATED CODE
88
94
  <build>
89
95
  <extensions>
90
96
  <extension>
91
- <groupId>org.torquebox.mojo</groupId>
97
+ <groupId>org.jruby.maven</groupId>
92
98
  <artifactId>mavengem-wagon</artifactId>
93
99
  <version>${mavengem.wagon.version}</version>
94
100
  </extension>
95
101
  <extension>
96
- <groupId>de.saumya.mojo</groupId>
102
+ <groupId>org.jruby.maven</groupId>
97
103
  <artifactId>gem-with-jar-extension</artifactId>
98
104
  <version>${jruby.plugins.version}</version>
99
105
  </extension>
@@ -132,7 +138,7 @@ DO NOT MODIFY - GENERATED CODE
132
138
  </configuration>
133
139
  </plugin>
134
140
  <plugin>
135
- <groupId>de.saumya.mojo</groupId>
141
+ <groupId>org.jruby.maven</groupId>
136
142
  <artifactId>gem-maven-plugin</artifactId>
137
143
  <version>${jruby.plugins.version}</version>
138
144
  <configuration>
metadata CHANGED
@@ -1,32 +1,39 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jrjackson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.20
4
+ version: 0.4.21
5
5
  platform: java
6
6
  authors:
7
7
  - Guy Boertje
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-09 00:00:00.000000000 Z
10
+ date: 2026-03-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
13
+ name: bigdecimal
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "<"
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '2.0'
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
19
23
  - - ">="
20
24
  - !ruby/object:Gem::Version
21
- version: 0.3.2
25
+ version: '0'
26
+ - !ruby/object:Gem::Dependency
22
27
  name: jar-dependencies
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.3.2
23
33
  type: :development
24
34
  prerelease: false
25
35
  version_requirements: !ruby/object:Gem::Requirement
26
36
  requirements:
27
- - - "<"
28
- - !ruby/object:Gem::Version
29
- version: '2.0'
30
37
  - - ">="
31
38
  - !ruby/object:Gem::Version
32
39
  version: 0.3.2
@@ -54,7 +61,6 @@ homepage: http://github.com/guyboertje/jrjackson
54
61
  licenses:
55
62
  - Apache-2.0
56
63
  metadata: {}
57
- post_install_message:
58
64
  rdoc_options: []
59
65
  require_paths:
60
66
  - lib
@@ -73,8 +79,7 @@ requirements:
73
79
  - jar com.fasterxml.jackson.core:jackson-annotations, 2.15.4
74
80
  - jar com.fasterxml.jackson.core:jackson-databind, 2.15.4
75
81
  - jar com.fasterxml.jackson.module:jackson-module-afterburner, 2.15.4
76
- rubygems_version: 3.3.26
77
- signing_key:
82
+ rubygems_version: 3.7.2
78
83
  specification_version: 4
79
84
  summary: A JRuby wrapper for the java jackson json processor jar
80
85
  test_files: []