bson 1.5.2 → 1.6.0

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: ruby
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
  - test/bson/binary_test.rb
50
- - test/bson/json_test.rb
42
+ - test/bson/bson_test.rb
51
43
  - test/bson/byte_buffer_test.rb
52
- - test/bson/ordered_hash_test.rb
44
+ - test/bson/hash_with_indifferent_access_test.rb
45
+ - test/bson/json_test.rb
53
46
  - test/bson/object_id_test.rb
47
+ - test/bson/ordered_hash_test.rb
54
48
  - test/bson/test_helper.rb
55
- - test/bson/bson_test.rb
56
49
  - test/bson/timestamp_test.rb
57
- - test/bson/hash_with_indifferent_access_test.rb
58
50
  - test/support/hash_with_indifferent_access.rb
59
51
  homepage: http://www.mongodb.org
60
52
  licenses: []
61
-
62
53
  post_install_message:
63
54
  rdoc_options: []
64
-
65
- require_paths:
55
+ require_paths:
66
56
  - lib
67
- required_ruby_version: !ruby/object:Gem::Requirement
57
+ required_ruby_version: !ruby/object:Gem::Requirement
68
58
  none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
76
- required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
64
  none: false
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- hash: 3
82
- segments:
83
- - 0
84
- version: "0"
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
85
69
  requirements: []
86
-
87
70
  rubyforge_project:
88
- rubygems_version: 1.8.10
71
+ rubygems_version: 1.8.16
89
72
  signing_key:
90
73
  specification_version: 3
91
74
  summary: Ruby implementation of BSON
92
- test_files:
75
+ test_files:
93
76
  - test/bson/binary_test.rb
94
- - test/bson/json_test.rb
77
+ - test/bson/bson_test.rb
95
78
  - test/bson/byte_buffer_test.rb
96
- - test/bson/ordered_hash_test.rb
79
+ - test/bson/hash_with_indifferent_access_test.rb
80
+ - test/bson/json_test.rb
97
81
  - test/bson/object_id_test.rb
82
+ - test/bson/ordered_hash_test.rb
98
83
  - test/bson/test_helper.rb
99
- - test/bson/bson_test.rb
100
84
  - test/bson/timestamp_test.rb
101
- - test/bson/hash_with_indifferent_access_test.rb
102
85
  - test/support/hash_with_indifferent_access.rb
86
+ has_rdoc: true