renamed mongo_bson to bson

This commit is contained in:
Kyle Banker 2010-04-05 11:13:07 -04:00
parent 63b0dfc6c9
commit 75091f5ae5
4 changed files with 10 additions and 10 deletions

View File

@ -1,9 +1,9 @@
require "lib/mongo_bson" require "lib/bson"
Gem::Specification.new do |s| 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.platform = Gem::Platform::RUBY
s.summary = 'Ruby implementation of BSON' s.summary = 'Ruby implementation of BSON'
@ -11,8 +11,8 @@ Gem::Specification.new do |s|
s.require_paths = ['lib'] s.require_paths = ['lib']
s.files = ['Rakefile', 'mongo-bson.gemspec', 'LICENSE.txt'] s.files = ['Rakefile', 'bson.gemspec', 'LICENSE.txt']
s.files += ['lib/mongo_bson.rb'] + Dir['lib/mongo_bson/**/*.rb'] s.files += ['lib/bson.rb'] + Dir['lib/bson/**/*.rb']
s.test_files = Dir['test/mongo_bson/*.rb'] s.test_files = Dir['test/mongo_bson/*.rb']
s.has_rdoc = true s.has_rdoc = true

View File

@ -1,8 +1,8 @@
require 'lib/mongo' require 'lib/bson'
VERSION_HEADER = File.open(File.join(File.dirname(__FILE__), 'ext', 'cbson', 'version.h'), "r") 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] VERSION = VERSION_HEADER.read.scan(/VERSION\s+"(\d+\.\d+(\.\d+\w*)?)\"/)[0][0]
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'mongo_ext' s.name = 'bson_ext'
s.version = VERSION s.version = VERSION
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
@ -10,7 +10,7 @@ Gem::Specification.new do |s|
s.description = 'C extensions to accelerate the MongoDB Ruby driver. For more information about Mongo, see http://www.mongodb.org.' 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.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.files += Dir['ext/**/*.rb'] + Dir['ext/**/*.c'] + Dir['ext/**/*.h']
s.test_files = [] s.test_files = []

View File

@ -14,4 +14,4 @@
* limitations under the License. * limitations under the License.
*/ */
#define VERSION "0.19.2" #define VERSION "0.20"

View File

@ -1,7 +1,7 @@
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
module Mongo module Mongo
VERSION = "0.19.2" VERSION = "0.20"
end end
module Mongo module Mongo