rjack-jackson 1.8.11.0-java → 2.2.2.0-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.
data/History.rdoc CHANGED
@@ -1,3 +1,12 @@
1
+ === 2.2.2.0 (2013-6-24)
2
+ * Update to Jackson 2.2.2. This is a major update, including new java
3
+ package names under com.fasterxml.jackson. See
4
+ {Release 2.0}[http://wiki.fasterxml.com/JacksonRelease20] for
5
+ naming changes and other details. This gem is now
6
+ aligned with the Jackson "Core components" (core, databind,
7
+ annotations). The former "jaxrs" and "xc" (jaxb annotations)
8
+ components are no longer included.
9
+
1
10
  === 1.8.11.0 (2012-11-9)
2
11
  * Update to Jackson 1.8.11
3
12
 
data/Manifest.txt CHANGED
@@ -7,10 +7,7 @@ assembly.xml
7
7
  pom.xml
8
8
  lib/rjack-jackson/base.rb
9
9
  lib/rjack-jackson.rb
10
- lib/rjack-jackson/jaxrs.rb
11
- lib/rjack-jackson/xc.rb
12
10
  test/test_jackson.rb
13
- lib/rjack-jackson/jackson-core-asl-1.8.11.jar
14
- lib/rjack-jackson/jackson-jaxrs-1.8.11.jar
15
- lib/rjack-jackson/jackson-mapper-asl-1.8.11.jar
16
- lib/rjack-jackson/jackson-xc-1.8.11.jar
11
+ lib/rjack-jackson/jackson-annotations-2.2.2.jar
12
+ lib/rjack-jackson/jackson-core-2.2.2.jar
13
+ lib/rjack-jackson/jackson-databind-2.2.2.jar
data/NOTICE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  rjack-jackson gem
2
- Copyright (c) 2011-2012 David Kellum
2
+ Copyright (c) 2011-2013 David Kellum
3
3
 
4
4
  This product includes software developed by:
5
5
 
data/README.rdoc CHANGED
@@ -6,13 +6,13 @@
6
6
 
7
7
  == Description
8
8
 
9
- A gem packaging of {Jackson JSON Processor}[http://jackson.codehaus.org/].
9
+ A gem packaging of {Jackson JSON Processor}[http://wiki.fasterxml.com/JacksonHome].
10
10
 
11
11
  == License
12
12
 
13
13
  === rjack-jackson
14
14
 
15
- Copyright (c) 2011-2012 David Kellum
15
+ Copyright (c) 2011-2013 David Kellum
16
16
 
17
17
  Licensed under the Apache License, Version 2.0 (the "License"); you
18
18
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -8,5 +8,6 @@ RJack::TarPit.new( 'rjack-jackson' ) do |tp|
8
8
 
9
9
  tp.rdoc_destinations <<
10
10
  'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/jackson'
11
+ tp.publish_rdoc_rsync_flags = %w[ -rL ]
11
12
 
12
13
  end
data/assembly.xml CHANGED
@@ -8,10 +8,9 @@
8
8
  <dependencySet>
9
9
  <useProjectArtifact>false</useProjectArtifact>
10
10
  <includes>
11
- <include>org.codehaus.jackson:jackson-core-asl</include>
12
- <include>org.codehaus.jackson:jackson-mapper-asl</include>
13
- <include>org.codehaus.jackson:jackson-jaxrs</include>
14
- <include>org.codehaus.jackson:jackson-xc</include>
11
+ <include>com.fasterxml.jackson.core:jackson-core</include>
12
+ <include>com.fasterxml.jackson.core:jackson-databind</include>
13
+ <include>com.fasterxml.jackson.core:jackson-annotations</include>
15
14
  </includes>
16
15
  </dependencySet>
17
16
  </dependencySets>
data/lib/rjack-jackson.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2011-2012 David Kellum
2
+ # Copyright (c) 2011-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -24,7 +24,8 @@ require 'java'
24
24
  #
25
25
  module RJack
26
26
  module Jackson
27
- require "#{LIB_DIR}/jackson-core-asl-#{JACKSON_VERSION}.jar"
28
- require "#{LIB_DIR}/jackson-mapper-asl-#{JACKSON_VERSION}.jar"
27
+ require "#{LIB_DIR}/jackson-core-#{JACKSON_VERSION}.jar"
28
+ require "#{LIB_DIR}/jackson-databind-#{JACKSON_VERSION}.jar"
29
+ require "#{LIB_DIR}/jackson-annotations-#{JACKSON_VERSION}.jar"
29
30
  end
30
31
  end
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2011-2012 David Kellum
2
+ # Copyright (c) 2011-2013 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -17,7 +17,7 @@
17
17
  module RJack
18
18
  module Jackson
19
19
 
20
- JACKSON_VERSION = '1.8.11'
20
+ JACKSON_VERSION = '2.2.2'
21
21
 
22
22
  # rjack gem version
23
23
  VERSION = JACKSON_VERSION + '.0'
data/pom.xml CHANGED
@@ -13,24 +13,19 @@
13
13
 
14
14
  <dependencies>
15
15
  <dependency>
16
- <groupId>org.codehaus.jackson</groupId>
17
- <artifactId>jackson-core-asl</artifactId>
18
- <version>1.8.11</version>
16
+ <groupId>com.fasterxml.jackson.core</groupId>
17
+ <artifactId>jackson-core</artifactId>
18
+ <version>2.2.2</version>
19
19
  </dependency>
20
20
  <dependency>
21
- <groupId>org.codehaus.jackson</groupId>
22
- <artifactId>jackson-mapper-asl</artifactId>
23
- <version>1.8.11</version>
21
+ <groupId>com.fasterxml.jackson.core</groupId>
22
+ <artifactId>jackson-databind</artifactId>
23
+ <version>2.2.2</version>
24
24
  </dependency>
25
25
  <dependency>
26
- <groupId>org.codehaus.jackson</groupId>
27
- <artifactId>jackson-jaxrs</artifactId>
28
- <version>1.8.11</version>
29
- </dependency>
30
- <dependency>
31
- <groupId>org.codehaus.jackson</groupId>
32
- <artifactId>jackson-xc</artifactId>
33
- <version>1.8.11</version>
26
+ <groupId>com.fasterxml.jackson.core</groupId>
27
+ <artifactId>jackson-annotations</artifactId>
28
+ <version>2.2.2</version>
34
29
  </dependency>
35
30
  </dependencies>
36
31
 
data/test/test_jackson.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  #.hashdot.profile += jruby-shortlived
3
3
 
4
4
  #--
5
- # Copyright (c) 2011-2012 David Kellum
5
+ # Copyright (c) 2011-2013 David Kellum
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License"); you
8
8
  # may not use this file except in compliance with the License. You
@@ -25,16 +25,13 @@ require 'minitest/autorun'
25
25
 
26
26
  require 'rjack-jackson'
27
27
 
28
- require 'rjack-jackson/jaxrs'
29
- require 'rjack-jackson/xc'
30
-
31
28
  class TestJackson < MiniTest::Unit::TestCase
32
29
  include RJack
33
30
 
34
- import 'org.codehaus.jackson.JsonParser'
31
+ import 'com.fasterxml.jackson.core.JsonParser'
35
32
 
36
- import 'org.codehaus.jackson.jaxrs.MapperConfigurator' #jaxrs
37
- import 'org.codehaus.jackson.xc.DataHandlerJsonDeserializer' #xc
33
+ import 'com.fasterxml.jackson.databind.JsonNode' #databind
34
+ import 'com.fasterxml.jackson.annotation.JacksonAnnotation' #annotations
38
35
 
39
36
  def test_load
40
37
  pass
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: rjack-jackson
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.8.11.0
5
+ version: 2.2.2.0
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-10 00:00:00.000000000 Z
12
+ date: 2013-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -17,13 +17,13 @@ dependencies:
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
- version: '2.2'
20
+ version: 4.7.4
21
21
  none: false
22
22
  requirement: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '2.2'
26
+ version: 4.7.4
27
27
  none: false
28
28
  prerelease: false
29
29
  type: :development
@@ -61,13 +61,10 @@ files:
61
61
  - pom.xml
62
62
  - lib/rjack-jackson/base.rb
63
63
  - lib/rjack-jackson.rb
64
- - lib/rjack-jackson/jaxrs.rb
65
- - lib/rjack-jackson/xc.rb
66
64
  - test/test_jackson.rb
67
- - lib/rjack-jackson/jackson-core-asl-1.8.11.jar
68
- - lib/rjack-jackson/jackson-jaxrs-1.8.11.jar
69
- - lib/rjack-jackson/jackson-mapper-asl-1.8.11.jar
70
- - lib/rjack-jackson/jackson-xc-1.8.11.jar
65
+ - lib/rjack-jackson/jackson-annotations-2.2.2.jar
66
+ - lib/rjack-jackson/jackson-core-2.2.2.jar
67
+ - lib/rjack-jackson/jackson-databind-2.2.2.jar
71
68
  homepage: http://rjack.rubyforge.org/jackson
72
69
  licenses: []
73
70
  post_install_message:
@@ -78,7 +75,7 @@ require_paths:
78
75
  - lib
79
76
  required_ruby_version: !ruby/object:Gem::Requirement
80
77
  requirements:
81
- - - ! '>='
78
+ - - '>='
82
79
  - !ruby/object:Gem::Version
83
80
  version: '0'
84
81
  segments:
@@ -87,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
84
  none: false
88
85
  required_rubygems_version: !ruby/object:Gem::Requirement
89
86
  requirements:
90
- - - ! '>='
87
+ - - '>='
91
88
  - !ruby/object:Gem::Version
92
89
  version: '0'
93
90
  segments:
@@ -101,4 +98,3 @@ signing_key:
101
98
  specification_version: 3
102
99
  summary: A gem packaging of Jackson JSON Processor.
103
100
  test_files: []
104
- ...
@@ -1,23 +0,0 @@
1
- #--
2
- # Copyright (c) 2011-2012 David Kellum
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License"); you
5
- # may not use this file except in compliance with the License. You
6
- # may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
- # implied. See the License for the specific language governing
14
- # permissions and limitations under the License.
15
- #++
16
-
17
- require 'rjack-jackson'
18
-
19
- module RJack
20
- module Jackson
21
- require "#{LIB_DIR}/jackson-jaxrs-#{JACKSON_VERSION}.jar"
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- #--
2
- # Copyright (c) 2011-2012 David Kellum
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License"); you
5
- # may not use this file except in compliance with the License. You
6
- # may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
- # implied. See the License for the specific language governing
14
- # permissions and limitations under the License.
15
- #++
16
-
17
- require 'rjack-jackson'
18
-
19
- module RJack
20
- module Jackson
21
- require "#{LIB_DIR}/jackson-xc-#{JACKSON_VERSION}.jar"
22
- end
23
- end