Permalink
Browse files

renamed mongo_bson to bson

  • Loading branch information...
1 parent 63b0dfc commit 75091f5ae5600cd879534653375d2b3e0390a12e @banker banker committed Apr 5, 2010
Showing with 10 additions and 10 deletions.
  1. +5 −5 mongo-bson.gemspec → bson.gemspec
  2. +3 −3 mongo-extensions.gemspec → bson_ext.gemspec
  3. +1 −1 ext/cbson/version.h
  4. +1 −1 lib/mongo.rb
View
10 mongo-bson.gemspec → bson.gemspec
@@ -1,18 +1,18 @@
-require "lib/mongo_bson"
+require "lib/bson"
Gem::Specification.new do |s|
- s.name = 'mongo_bson'
+ s.name = 'bson'
- s.version = Mongo::BSON::VERSION
+ s.version = '1.0'#Mongo::BSON::VERSION
s.platform = Gem::Platform::RUBY
s.summary = 'Ruby implementation of BSON'
s.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.'
s.require_paths = ['lib']
- s.files = ['Rakefile', 'mongo-bson.gemspec', 'LICENSE.txt']
- s.files += ['lib/mongo_bson.rb'] + Dir['lib/mongo_bson/**/*.rb']
+ s.files = ['Rakefile', 'bson.gemspec', 'LICENSE.txt']
+ s.files += ['lib/bson.rb'] + Dir['lib/bson/**/*.rb']
s.test_files = Dir['test/mongo_bson/*.rb']
s.has_rdoc = true
View
6 mongo-extensions.gemspec → bson_ext.gemspec
@@ -1,16 +1,16 @@
-require 'lib/mongo'
+require 'lib/bson'
VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r")
VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+(\.\d+\w*)?)\"/)[0][0]
Gem::Specification.new do |s|
- s.name = 'mongo_ext'
+ s.name = 'bson_ext'
s.version = VERSION
s.platform = Gem::Platform::RUBY
s.summary = 'C extensions for the MongoDB Ruby driver'
s.description = 'C extensions to accelerate the MongoDB Ruby driver. For more information about Mongo, see http://www.mongodb.org.'
s.require_paths = ['ext']
- s.files = ['Rakefile', 'mongo-extensions.gemspec']
+ s.files = ['Rakefile', 'bson_ext.gemspec']
s.files += Dir['ext/**/*.rb'] + Dir['ext/**/*.c'] + Dir['ext/**/*.h']
s.test_files = []
View
2 ext/cbson/version.h
@@ -14,4 +14,4 @@
* limitations under the License.
*/
-#define VERSION "0.19.2"
+#define VERSION "0.20"
View
2 lib/mongo.rb
@@ -1,7 +1,7 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
module Mongo
- VERSION = "0.19.2"
+ VERSION = "0.20"
end
module Mongo

0 comments on commit 75091f5

Please sign in to comment.