bson_ext 1.7.0.rc0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +3 -3
  2. data/bson_ext.gemspec +1 -0
  3. data/ext/cbson/version.h +1 -1
  4. metadata +53 -45
data/Rakefile CHANGED
@@ -255,7 +255,7 @@ def check_gem_list_existence(version)
255
255
  end
256
256
 
257
257
  def check_version(version)
258
- if !(version =~ /\d\.\d\.\d/)
258
+ if !(version =~ /(\d).(\d).(\d)(.rc(\d))?/)
259
259
  raise "Must specify a valid version (e.g., x.y.z)"
260
260
  end
261
261
  end
@@ -263,7 +263,7 @@ end
263
263
  def current_version
264
264
  f = File.open("lib/mongo/version.rb")
265
265
  str = f.read
266
- str =~ /VERSION\s+=\s+([.\d"]+)$/
266
+ str =~ /VERSION\s+=\s+"([.\drc]+)"$/
267
267
  return $1
268
268
  end
269
269
 
@@ -274,7 +274,7 @@ def change_version(new_version)
274
274
  f = File.open(filename)
275
275
  str = f.read
276
276
  f.close
277
- str.gsub!(version, "\"#{new_version}\"")
277
+ str.gsub!("\"#{version}\"", "\"#{new_version}\"")
278
278
  File.open(filename, 'w') do |f|
279
279
  f.write(str)
280
280
  end
data/bson_ext.gemspec CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.summary = 'C extensions for Ruby BSON.'
12
12
  s.description = 'C extensions to accelerate the Ruby BSON serialization. For more information about BSON, see http://bsonspec.org. For information about MongoDB, see http://www.mongodb.org.'
13
+ s.rubyforge_project = 'nowarning'
13
14
 
14
15
  s.require_paths = ['ext']
15
16
  s.files = ['Rakefile', 'bson_ext.gemspec']
data/ext/cbson/version.h CHANGED
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- #define VERSION "1.7.0.rc0"
17
+ #define VERSION "1.7.0"
metadata CHANGED
@@ -1,10 +1,14 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bson_ext
3
- version: !ruby/object:Gem::Version
4
- version: 1.7.0.rc0
5
- prerelease: 6
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 7
8
+ - 0
9
+ version: 1.7.0
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Mike Dirolf
9
13
  - Kyle Banker
10
14
  - Tyler Brock
@@ -12,67 +16,71 @@ authors:
12
16
  autorequire:
13
17
  bindir: bin
14
18
  cert_chain: []
15
- date: 2012-08-20 00:00:00.000000000 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
19
+
20
+ date: 2012-08-29 00:00:00 -03:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
18
24
  name: bson
19
- requirement: !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ~>
23
- - !ruby/object:Gem::Version
24
- version: 1.7.0.rc0
25
- type: :runtime
26
25
  prerelease: false
27
- version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ requirements:
30
28
  - - ~>
31
- - !ruby/object:Gem::Version
32
- version: 1.7.0.rc0
33
- description: C extensions to accelerate the Ruby BSON serialization. For more information
34
- about BSON, see http://bsonspec.org. For information about MongoDB, see http://www.mongodb.org.
29
+ - !ruby/object:Gem::Version
30
+ segments:
31
+ - 1
32
+ - 7
33
+ - 0
34
+ version: 1.7.0
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ description: C extensions to accelerate the Ruby BSON serialization. For more information about BSON, see http://bsonspec.org. For information about MongoDB, see http://www.mongodb.org.
35
38
  email: mongodb-dev@googlegroups.com
36
39
  executables: []
37
- extensions:
40
+
41
+ extensions:
38
42
  - ext/cbson/extconf.rb
39
43
  extra_rdoc_files: []
40
- files:
44
+
45
+ files:
41
46
  - Rakefile
42
47
  - bson_ext.gemspec
43
48
  - ext/cbson/extconf.rb
44
- - ext/cbson/encoding_helpers.c
45
- - ext/cbson/cbson.c
46
49
  - ext/cbson/bson_buffer.c
50
+ - ext/cbson/cbson.c
51
+ - ext/cbson/encoding_helpers.c
52
+ - ext/cbson/bson_buffer.h
47
53
  - ext/cbson/encoding_helpers.h
48
54
  - ext/cbson/version.h
49
- - ext/cbson/bson_buffer.h
55
+ has_rdoc: false
50
56
  homepage: http://www.mongodb.org
51
57
  licenses: []
58
+
52
59
  post_install_message:
53
60
  rdoc_options: []
54
- require_paths:
61
+
62
+ require_paths:
55
63
  - ext
56
- required_ruby_version: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- segments:
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ segments:
69
+ - 0
70
+ version: "0"
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ segments:
63
76
  - 0
64
- hash: 1803503458536746509
65
- required_rubygems_version: !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ! '>'
69
- - !ruby/object:Gem::Version
70
- version: 1.3.1
77
+ version: "0"
71
78
  requirements: []
72
- rubyforge_project:
73
- rubygems_version: 1.8.24
79
+
80
+ rubyforge_project: nowarning
81
+ rubygems_version: 1.3.6
74
82
  signing_key:
75
83
  specification_version: 3
76
84
  summary: C extensions for Ruby BSON.
77
85
  test_files: []
78
- has_rdoc: false
86
+