jrjackson 0.4.13-java → 0.4.16-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 799f68c6ec2b93e3885852b5199fc80dd0853381077f2ffec91bca46b7a6e1c9
4
- data.tar.gz: 395b7a89c872e08482f776efd73d742de211c9e21a3057b164d8ee346dab7a31
3
+ metadata.gz: ba3a6575a97381358dd1545cab46cd67180bdd1a7ce482bdf4fb449f5ff05b05
4
+ data.tar.gz: 4457a9ddeb2bf3dadceccc2e487c845b3b9d5f03461979236568b638e62eafd2
5
5
  SHA512:
6
- metadata.gz: aa9023edcaea82e6235f5133bd3e8dc99d0329eb4ed258d63d17b0f213c5c7f13aa138140cf175c9681d08d5fab4102841230a7e843ef9c4d3177c22a50dc8a9
7
- data.tar.gz: 05d0049ee65f6ae86f1e0e45209b8d4a9bcbd987f7684b50922944fb1759c9235f48998a6be764facd9270537aa7199bfc8a365c25377421c45987f1ec4642a9
6
+ metadata.gz: 4bb9543ea871c12404f0c43198028b7e82d102b79be9046e7f2078796e47620519a1762c37facf15b8ce292983847fb7c9e9cb187c58a7b115ef00863bd385d8
7
+ data.tar.gz: 8c2d0aa72ba4074137ee4d715b755f6a0406dd4b2ea47b4e9ddc96c1e8be8d420db47df1be0dfc21e99fe19c927cfa5b87d0d229dfb14cdb6994e6051bc7d1a1
data/Gemfile CHANGED
@@ -5,10 +5,6 @@ group :development do
5
5
  gem 'gson', '>= 0.6'
6
6
  gem 'json', '~> 1.8'
7
7
  gem 'benchmark-ips'
8
- gem 'jar-dependencies'
9
- gem 'ruby-maven'
10
- gem 'rake'
11
- gem 'test-unit'
12
8
  end
13
9
 
14
10
  gemspec
data/Mavenfile CHANGED
@@ -14,7 +14,7 @@ properties 'project.build.sourceEncoding' => 'UTF-8',
14
14
 
15
15
  jar 'junit:junit', '4.11', :scope => :test
16
16
 
17
- jar 'org.jruby:jruby', '9.2.4.0', :scope => :provided
17
+ jar 'org.jruby:jruby', '9.2.13.0', :scope => :provided
18
18
 
19
19
  plugin :compiler, '3.1', :source => '1.8', :target => '1.8',
20
20
  :showDeprecation => false,
@@ -23,9 +23,3 @@ plugin :compiler, '3.1', :source => '1.8', :target => '1.8',
23
23
  :fork => true
24
24
 
25
25
  plugin :surefire, '2.17', :skipTests => true
26
-
27
- # since bundle install does not vendor our jars we need to it manually
28
- plugin 'org.torquebox.mojo:jruby9-exec-maven-plugin', '0.3.1' do
29
- execute_goal :exec, :id => 'vendor-jars', :phase => 'prepare-package',
30
- :script => "require 'jars/installer';Jars::Installer.vendor_jars!"
31
- end
data/README.md CHANGED
@@ -29,7 +29,7 @@ represents your custom object.
29
29
 
30
30
  11th May 2014 - Added to_time method call for Ruby object serialization
31
31
 
32
- 26th October 2013 - Added support to serialize arbitary (non JSON datatypes)
32
+ 26th October 2013 - Added support to serialize arbitrary (non JSON datatypes)
33
33
  ruby objects. Normally the toJava internal method is called, but additionally
34
34
  to_h, to_hash, to_a and finally to_json are tried. Be aware that the to_json
35
35
  method might invoke a new selialization session (i.e. it may use the JSON gem)
data/Rakefile CHANGED
@@ -16,6 +16,13 @@ end
16
16
  desc "Pack jar after compiling classes, use this to rebuild the pom.xml"
17
17
  task :compile do
18
18
  RubyMaven.exec('prepare-package')
19
+ # after packaging the jrjackson-x.y.z.jar vendor jar dependencies
20
+ Rake::Task['vendor_jars'].invoke
21
+ end
22
+
23
+ task :vendor_jars do
24
+ require 'jars/installer'
25
+ Jars::Installer.vendor_jars!
19
26
  end
20
27
 
21
28
  desc "Clean build"
@@ -30,4 +37,3 @@ Gem::PackageTask.new( eval File.read( 'jrjackson.gemspec' ) ) do
30
37
  desc 'Pack gem'
31
38
  task :package => [:compile]
32
39
  end
33
-
data/changelog.md CHANGED
@@ -1,3 +1,12 @@
1
+ v0.4.16
2
+ Publish v0.4.15 again without world writable files
3
+
4
+ v0.4.15
5
+ Bump jackson and jackson-databind to v2.13.3
6
+
7
+ v0.4.14
8
+ Bump jackson-databind to v2.9.10.8
9
+
1
10
  v0.4.13
2
11
  Bump jackson-databind to v2.9.10.6
3
12
 
@@ -8,7 +17,7 @@ v0.4.11
8
17
  Bump Jackson to v2.9.10, and jackson-databind to v2.9.10.1
9
18
 
10
19
  v0.4.10
11
- fix concurrency issue when serializing dates.
20
+ fix concurrency issue when serializing dates.
12
21
  Cache UTC TimeZone class to avoid unnecessary calls to synchronized method
13
22
  Use a ThreadLocal to hold per-thread instances of SimpleDateFormat to avoid
14
23
  unnecessary expensive clonings of that object
@@ -19,7 +28,7 @@ v0.4.9
19
28
  bump Jackson to v2.9.9, and jackson-databind to v2.9.9.3
20
29
 
21
30
  v0.4.8
22
- fix serialisation of big numbers as Ruby 2.4 unifies Fixnum and Bignum into Integer
31
+ fix serialisation of big numbers as Ruby 2.4 unifies Fixnum and Bignum into Integer
23
32
 
24
33
  v0.4.4
25
34
  fix for issue 64
@@ -28,7 +37,7 @@ v0.4.4
28
37
  v0.4.3
29
38
  bump Jackson to v2.9.1
30
39
  make static_mapper public
31
-
40
+
32
41
  v0.4.1
33
42
  fix for issue 55
34
43
  Refactor AnySerializer acceptable class detection that does not use an exception
data/jrjackson.gemspec CHANGED
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.license = 'Apache License 2.0'
19
19
  s.require_paths = ["lib"]
20
20
 
21
+ s.add_development_dependency 'bundler'
21
22
  s.add_development_dependency 'jar-dependencies', '< 2.0', '>= 0.3.2'
22
23
 
23
24
  jackson_version = JrJackson::BuildInfo.jackson_version
@@ -1,11 +1,11 @@
1
1
  module JrJackson
2
2
  module BuildInfo
3
3
  def self.version
4
- '0.4.13'
4
+ '0.4.16'
5
5
  end
6
6
 
7
7
  def self.release_date
8
- '2020-10-26'
8
+ '2022-07-08'
9
9
  end
10
10
 
11
11
  def self.files
@@ -13,15 +13,15 @@ module JrJackson
13
13
  end
14
14
 
15
15
  def self.jackson_version
16
- '2.9.10'
16
+ '2.13.3'
17
17
  end
18
18
 
19
19
  def self.jackson_databind_version
20
- '2.9.10.6'
20
+ '2.13.3'
21
21
  end
22
22
 
23
23
  def self.jar_version
24
- '1.2.31'
24
+ '1.2.33'
25
25
  end
26
26
 
27
27
  private
@@ -2,15 +2,15 @@
2
2
  begin
3
3
  require 'jar_dependencies'
4
4
  rescue LoadError
5
- require 'com/fasterxml/jackson/core/jackson-annotations/2.9.10/jackson-annotations-2.9.10.jar'
6
- require 'com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar'
7
- require 'com/fasterxml/jackson/core/jackson-databind/2.9.10.6/jackson-databind-2.9.10.6.jar'
8
- require 'com/fasterxml/jackson/module/jackson-module-afterburner/2.9.10/jackson-module-afterburner-2.9.10.jar'
5
+ require 'com/fasterxml/jackson/core/jackson-annotations/2.13.3/jackson-annotations-2.13.3.jar'
6
+ require 'com/fasterxml/jackson/core/jackson-databind/2.13.3/jackson-databind-2.13.3.jar'
7
+ require 'com/fasterxml/jackson/module/jackson-module-afterburner/2.13.3/jackson-module-afterburner-2.13.3.jar'
8
+ require 'com/fasterxml/jackson/core/jackson-core/2.13.3/jackson-core-2.13.3.jar'
9
9
  end
10
10
 
11
11
  if defined? Jars
12
- require_jar 'com.fasterxml.jackson.core', 'jackson-annotations', '2.9.10'
13
- require_jar 'com.fasterxml.jackson.core', 'jackson-core', '2.9.10'
14
- require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.9.10.6'
15
- require_jar 'com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.9.10'
12
+ require_jar 'com.fasterxml.jackson.core', 'jackson-annotations', '2.13.3'
13
+ require_jar 'com.fasterxml.jackson.core', 'jackson-databind', '2.13.3'
14
+ require_jar 'com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.13.3'
15
+ require_jar 'com.fasterxml.jackson.core', 'jackson-core', '2.13.3'
16
16
  end
data/pom.xml CHANGED
@@ -2,7 +2,7 @@
2
2
  <!--
3
3
 
4
4
 
5
- DO NOT MODIFIY - GENERATED CODE
5
+ DO NOT MODIFY - GENERATED CODE
6
6
 
7
7
 
8
8
  -->
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>com.jrjackson.jruby</groupId>
13
13
  <artifactId>jrjackson</artifactId>
14
- <version>1.2.31</version>
14
+ <version>1.2.33</version>
15
15
  <name>A JRuby wrapper for the java jackson json processor jar</name>
16
16
  <description>A mostly native JRuby wrapper for the java jackson json processor jar</description>
17
17
  <url>http://github.com/guyboertje/jrjackson</url>
@@ -31,12 +31,19 @@ DO NOT MODIFIY - GENERATED CODE
31
31
  <url>http://github.com/guyboertje/jrjackson</url>
32
32
  </scm>
33
33
  <properties>
34
+ <jruby.plugins.version>2.0.1</jruby.plugins.version>
35
+ <mavengem.wagon.version>1.0.3</mavengem.wagon.version>
34
36
  <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
35
- <mavengem.wagon.version>0.2.0</mavengem.wagon.version>
36
- <jruby.plugins.version>1.1.5</jruby.plugins.version>
37
37
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38
38
  </properties>
39
39
  <dependencies>
40
+ <dependency>
41
+ <groupId>rubygems</groupId>
42
+ <artifactId>bundler</artifactId>
43
+ <version>[0,)</version>
44
+ <type>gem</type>
45
+ <scope>test</scope>
46
+ </dependency>
40
47
  <dependency>
41
48
  <groupId>rubygems</groupId>
42
49
  <artifactId>jar-dependencies</artifactId>
@@ -47,22 +54,22 @@ DO NOT MODIFIY - GENERATED CODE
47
54
  <dependency>
48
55
  <groupId>com.fasterxml.jackson.core</groupId>
49
56
  <artifactId>jackson-core</artifactId>
50
- <version>2.9.10</version>
57
+ <version>2.13.3</version>
51
58
  </dependency>
52
59
  <dependency>
53
60
  <groupId>com.fasterxml.jackson.core</groupId>
54
61
  <artifactId>jackson-annotations</artifactId>
55
- <version>2.9.10</version>
62
+ <version>2.13.3</version>
56
63
  </dependency>
57
64
  <dependency>
58
65
  <groupId>com.fasterxml.jackson.core</groupId>
59
66
  <artifactId>jackson-databind</artifactId>
60
- <version>2.9.10.6</version>
67
+ <version>2.13.3</version>
61
68
  </dependency>
62
69
  <dependency>
63
70
  <groupId>com.fasterxml.jackson.module</groupId>
64
71
  <artifactId>jackson-module-afterburner</artifactId>
65
- <version>2.9.10</version>
72
+ <version>2.13.3</version>
66
73
  </dependency>
67
74
  <dependency>
68
75
  <groupId>junit</groupId>
@@ -73,7 +80,7 @@ DO NOT MODIFIY - GENERATED CODE
73
80
  <dependency>
74
81
  <groupId>org.jruby</groupId>
75
82
  <artifactId>jruby</artifactId>
76
- <version>9.2.4.0</version>
83
+ <version>9.2.13.0</version>
77
84
  <scope>provided</scope>
78
85
  </dependency>
79
86
  </dependencies>
@@ -111,7 +118,7 @@ DO NOT MODIFIY - GENERATED CODE
111
118
  </executions>
112
119
  <configuration>
113
120
  <outputDirectory>lib/jrjackson/jars</outputDirectory>
114
- <finalName>jrjackson-1.2.31</finalName>
121
+ <finalName>jrjackson-1.2.33</finalName>
115
122
  </configuration>
116
123
  </plugin>
117
124
  <plugin>
@@ -122,7 +129,7 @@ DO NOT MODIFIY - GENERATED CODE
122
129
  <fileset>
123
130
  <directory>lib/jrjackson/jars</directory>
124
131
  <includes>
125
- <include>jrjackson-1.2.31.jar</include>
132
+ <include>jrjackson-1.2.33.jar</include>
126
133
  <include>*/**/*.jar</include>
127
134
  </includes>
128
135
  </fileset>
@@ -156,23 +163,6 @@ DO NOT MODIFIY - GENERATED CODE
156
163
  <skipTests>true</skipTests>
157
164
  </configuration>
158
165
  </plugin>
159
- <plugin>
160
- <groupId>org.torquebox.mojo</groupId>
161
- <artifactId>jruby9-exec-maven-plugin</artifactId>
162
- <version>0.3.1</version>
163
- <executions>
164
- <execution>
165
- <id>vendor-jars</id>
166
- <phase>prepare-package</phase>
167
- <goals>
168
- <goal>exec</goal>
169
- </goals>
170
- <configuration>
171
- <script>require 'jars/installer';Jars::Installer.vendor_jars!</script>
172
- </configuration>
173
- </execution>
174
- </executions>
175
- </plugin>
176
166
  </plugins>
177
167
  </build>
178
168
  </project>
metadata CHANGED
@@ -1,35 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jrjackson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.13
4
+ version: 0.4.16
5
5
  platform: java
6
6
  authors:
7
7
  - Guy Boertje
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-26 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.3.2
18
+ version: '0'
19
+ name: bundler
20
+ prerelease: false
21
+ type: :development
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
19
30
  - - "<"
20
31
  - !ruby/object:Gem::Version
21
32
  version: '2.0'
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 0.3.2
22
36
  name: jar-dependencies
23
- type: :development
24
37
  prerelease: false
38
+ type: :development
25
39
  version_requirements: !ruby/object:Gem::Requirement
26
40
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 0.3.2
30
41
  - - "<"
31
42
  - !ruby/object:Gem::Version
32
43
  version: '2.0'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.3.2
33
47
  description: A mostly native JRuby wrapper for the java jackson json processor jar
34
48
  email:
35
49
  - guyboertje@gmail.com
@@ -46,13 +60,13 @@ files:
46
60
  - alt_bench.rb
47
61
  - changelog.md
48
62
  - jrjackson.gemspec
49
- - lib/com/fasterxml/jackson/core/jackson-annotations/2.9.10/jackson-annotations-2.9.10.jar
50
- - lib/com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar
51
- - lib/com/fasterxml/jackson/core/jackson-databind/2.9.10.6/jackson-databind-2.9.10.6.jar
52
- - lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.9.10/jackson-module-afterburner-2.9.10.jar
63
+ - lib/com/fasterxml/jackson/core/jackson-annotations/2.13.3/jackson-annotations-2.13.3.jar
64
+ - lib/com/fasterxml/jackson/core/jackson-core/2.13.3/jackson-core-2.13.3.jar
65
+ - lib/com/fasterxml/jackson/core/jackson-databind/2.13.3/jackson-databind-2.13.3.jar
66
+ - lib/com/fasterxml/jackson/module/jackson-module-afterburner/2.13.3/jackson-module-afterburner-2.13.3.jar
53
67
  - lib/jrjackson.rb
54
68
  - lib/jrjackson/build_info.rb
55
- - lib/jrjackson/jars/jrjackson-1.2.31.jar
69
+ - lib/jrjackson/jars/jrjackson-1.2.33.jar
56
70
  - lib/jrjackson/jrjackson.rb
57
71
  - lib/jrjackson_jars.rb
58
72
  - lib/require_relative_patch.rb
@@ -120,11 +134,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
134
  - !ruby/object:Gem::Version
121
135
  version: '0'
122
136
  requirements:
123
- - jar com.fasterxml.jackson.core:jackson-core, 2.9.10
124
- - jar com.fasterxml.jackson.core:jackson-annotations, 2.9.10
125
- - jar com.fasterxml.jackson.core:jackson-databind, 2.9.10.6
126
- - jar com.fasterxml.jackson.module:jackson-module-afterburner, 2.9.10
127
- rubygems_version: 3.0.6
137
+ - jar com.fasterxml.jackson.core:jackson-core, 2.13.3
138
+ - jar com.fasterxml.jackson.core:jackson-annotations, 2.13.3
139
+ - jar com.fasterxml.jackson.core:jackson-databind, 2.13.3
140
+ - jar com.fasterxml.jackson.module:jackson-module-afterburner, 2.13.3
141
+ rubygems_version: 3.2.3
128
142
  signing_key:
129
143
  specification_version: 4
130
144
  summary: A JRuby wrapper for the java jackson json processor jar