bson 1.5.2-jruby → 1.6.0-jruby

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bson might be problematic. Click here for more details.

@@ -16,10 +16,10 @@
16
16
  # limitations under the License.
17
17
  # ++
18
18
 
19
- MINIMUM_BSON_EXT_VERSION = "1.5.2"
19
+ MINIMUM_BSON_EXT_VERSION = "1.6.0"
20
20
 
21
21
  module BSON
22
- VERSION = "1.5.2"
22
+ VERSION = "1.6.0"
23
23
 
24
24
  if defined? Mongo::DEFAULT_MAX_BSON_SIZE
25
25
  DEFAULT_MAX_BSON_SIZE = Mongo::DEFAULT_MAX_BSON_SIZE
@@ -15,7 +15,7 @@ class OrderedHashTest < Test::Unit::TestCase
15
15
  a['x'] = 1
16
16
  a['y'] = 2
17
17
 
18
- b = BSON::OrderedHash['x' => 1, 'y' => 2]
18
+ b = BSON::OrderedHash['x', 1, 'y', 2]
19
19
  assert_equal a, b
20
20
  end
21
21
 
@@ -1,5 +1,6 @@
1
1
  require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'bson')
2
- require 'rubygems' if RUBY_VERSION < '1.9.0' && ENV['C_EXT']
2
+ require 'rubygems' if RUBY_VERSION < '1.9.0'
3
+ gem 'test-unit'
3
4
  require 'test/unit'
4
5
 
5
6
  def silently
metadata CHANGED
@@ -1,102 +1,86 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bson
3
- version: !ruby/object:Gem::Version
4
- hash: 7
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.0
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 5
9
- - 2
10
- version: 1.5.2
11
6
  platform: jruby
12
- authors:
7
+ authors:
13
8
  - Jim Menard
14
9
  - Mike Dirolf
15
10
  - Kyle Banker
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2011-12-13 00:00:00 Z
14
+ date: 2012-02-22 00:00:00.000000000 Z
21
15
  dependencies: []
22
-
23
- description: A Ruby BSON implementation for MongoDB. For more information about Mongo, see http://www.mongodb.org. For more information on BSON, see http://www.bsonspec.org.
16
+ description: A Ruby BSON implementation for MongoDB. For more information about Mongo,
17
+ see http://www.mongodb.org. For more information on BSON, see http://www.bsonspec.org.
24
18
  email: mongodb-dev@googlegroups.com
25
- executables:
19
+ executables:
26
20
  - b2json
27
21
  - j2bson
28
22
  extensions: []
29
-
30
23
  extra_rdoc_files: []
31
-
32
- files:
24
+ files:
33
25
  - LICENSE.txt
34
26
  - lib/bson.rb
27
+ - lib/bson/bson_c.rb
35
28
  - lib/bson/bson_java.rb
29
+ - lib/bson/bson_ruby.rb
30
+ - lib/bson/byte_buffer.rb
31
+ - lib/bson/exceptions.rb
32
+ - lib/bson/ordered_hash.rb
36
33
  - lib/bson/types/binary.rb
37
- - lib/bson/types/min_max_keys.rb
38
- - lib/bson/types/timestamp.rb
39
34
  - lib/bson/types/code.rb
40
- - lib/bson/types/object_id.rb
41
35
  - lib/bson/types/dbref.rb
42
- - lib/bson/exceptions.rb
43
- - lib/bson/bson_c.rb
44
- - lib/bson/ordered_hash.rb
45
- - lib/bson/byte_buffer.rb
46
- - lib/bson/bson_ruby.rb
36
+ - lib/bson/types/min_max_keys.rb
37
+ - lib/bson/types/object_id.rb
38
+ - lib/bson/types/timestamp.rb
47
39
  - bin/b2json
48
40
  - bin/j2bson
49
41
  - ext/java/jar/jbson.jar
50
42
  - ext/java/jar/mongo-2.6.5.jar
51
43
  - test/bson/binary_test.rb
52
- - test/bson/json_test.rb
44
+ - test/bson/bson_test.rb
53
45
  - test/bson/byte_buffer_test.rb
54
- - test/bson/ordered_hash_test.rb
46
+ - test/bson/hash_with_indifferent_access_test.rb
47
+ - test/bson/json_test.rb
55
48
  - test/bson/object_id_test.rb
49
+ - test/bson/ordered_hash_test.rb
56
50
  - test/bson/test_helper.rb
57
- - test/bson/bson_test.rb
58
51
  - test/bson/timestamp_test.rb
59
- - test/bson/hash_with_indifferent_access_test.rb
60
52
  homepage: http://www.mongodb.org
61
53
  licenses: []
62
-
63
54
  post_install_message:
64
55
  rdoc_options: []
65
-
66
- require_paths:
56
+ require_paths:
67
57
  - lib
68
- required_ruby_version: !ruby/object:Gem::Requirement
58
+ required_ruby_version: !ruby/object:Gem::Requirement
69
59
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 3
74
- segments:
75
- - 0
76
- version: "0"
77
- required_rubygems_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
65
  none: false
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- hash: 3
83
- segments:
84
- - 0
85
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
86
70
  requirements: []
87
-
88
71
  rubyforge_project:
89
- rubygems_version: 1.8.10
72
+ rubygems_version: 1.8.16
90
73
  signing_key:
91
74
  specification_version: 3
92
75
  summary: Ruby implementation of BSON
93
- test_files:
76
+ test_files:
94
77
  - test/bson/binary_test.rb
95
- - test/bson/json_test.rb
78
+ - test/bson/bson_test.rb
96
79
  - test/bson/byte_buffer_test.rb
97
- - test/bson/ordered_hash_test.rb
80
+ - test/bson/hash_with_indifferent_access_test.rb
81
+ - test/bson/json_test.rb
98
82
  - test/bson/object_id_test.rb
83
+ - test/bson/ordered_hash_test.rb
99
84
  - test/bson/test_helper.rb
100
- - test/bson/bson_test.rb
101
85
  - test/bson/timestamp_test.rb
102
- - test/bson/hash_with_indifferent_access_test.rb
86
+ has_rdoc: true