From 11dbec7a4d876f5a31d5bc8e6361355394085ff8 Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Sun, 4 Apr 2010 13:13:42 -0700 Subject: [PATCH] Version bump to 0.1.0 --- Rakefile | 36 +++++++++++++++++----------------- VERSION | 2 +- mysql2.gemspec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 19 deletions(-) create mode 100644 mysql2.gemspec diff --git a/Rakefile b/Rakefile index aac2ed1..e5a58e8 100644 --- a/Rakefile +++ b/Rakefile @@ -1,22 +1,22 @@ # encoding: UTF-8 -# begin -# require 'jeweler' -# Jeweler::Tasks.new do |gem| -# gem.name = "yajl-ruby" -# gem.summary = "Ruby C bindings to the excellent Yajl JSON stream-based parser library." -# gem.email = "seniorlopez@gmail.com" -# gem.homepage = "http://github.com/brianmario/yajl-ruby" -# gem.authors = ["Brian Lopez", "Lloyd Hilaiel"] -# gem.require_paths = ["lib", "ext"] -# gem.extra_rdoc_files = `git ls-files *.rdoc`.split("\n") -# gem.files = `git ls-files`.split("\n") -# gem.extensions = ["ext/extconf.rb"] -# gem.files.include %w(lib/jeweler/templates/.document lib/jeweler/templates/.gitignore) -# gem.rubyforge_project = "yajl-ruby" -# end -# rescue LoadError -# puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler -s http://gems.github.com" -# end +begin + require 'jeweler' + Jeweler::Tasks.new do |gem| + gem.name = "mysql2" + gem.summary = "A simple, fast Mysql library for Ruby, binding to libmysql" + gem.email = "seniorlopez@gmail.com" + gem.homepage = "http://github.com/brianmario/mysql2" + gem.authors = ["Brian Lopez"] + gem.require_paths = ["lib", "ext"] + gem.extra_rdoc_files = `git ls-files *.rdoc`.split("\n") + gem.files = `git ls-files`.split("\n") + gem.extensions = ["ext/extconf.rb"] + gem.files.include %w(lib/jeweler/templates/.document lib/jeweler/templates/.gitignore) + # gem.rubyforge_project = "mysql2" + end +rescue LoadError + puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler -s http://gems.github.com" +end require 'rake' require 'spec/rake/spectask' diff --git a/VERSION b/VERSION index 8acdd82..6e8bf73 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.1 +0.1.0 diff --git a/mysql2.gemspec b/mysql2.gemspec new file mode 100644 index 0000000..ec7cde1 --- /dev/null +++ b/mysql2.gemspec @@ -0,0 +1,52 @@ +# Generated by jeweler +# DO NOT EDIT THIS FILE DIRECTLY +# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{mysql2} + s.version = "0.0.1" + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["Brian Lopez"] + s.date = %q{2010-04-04} + s.email = %q{seniorlopez@gmail.com} + s.extensions = ["ext/extconf.rb"] + s.files = [ + ".gitignore", + "Rakefile", + "VERSION", + "benchmark/escape.rb", + "benchmark/query.rb", + "ext/extconf.rb", + "ext/mysql2_ext.c", + "ext/mysql2_ext.h", + "lib/mysql2.rb", + "spec/mysql2/client_spec.rb", + "spec/mysql2/result_spec.rb", + "spec/rcov.opts", + "spec/spec.opts", + "spec/spec_helper.rb" + ] + s.homepage = %q{http://github.com/brianmario/mysql2} + s.rdoc_options = ["--charset=UTF-8"] + s.require_paths = ["lib", "ext"] + s.rubygems_version = %q{1.3.6} + s.summary = %q{A simple, fast Mysql library for Ruby, binding to libmysql} + s.test_files = [ + "spec/mysql2/client_spec.rb", + "spec/mysql2/result_spec.rb", + "spec/spec_helper.rb" + ] + + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 + + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + else + end + else + end +end +