From 39cfbe98240a3a6f8f3e81e14b1685c5d08e06dd Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Fri, 23 Apr 2010 17:49:19 -0700 Subject: [PATCH] updating files for 0.1.4 release --- CHANGELOG.md | 5 +++++ lib/mysql2.rb | 2 +- mysql2.gemspec | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f9440f..07c8f85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.1.4 (April 23rd, 2010) +* optimization: implemented a local cache for rows that are lazily created in ruby during iteration. The MySQL C result is freed as soon as all the results have been cached +* optimization: implemented a local cache for field names so every row reuses the same objects as field names/keys +* refactor the Mysql2 connection adapter for ActiveRecord to not extend the Mysql adapter - now being a free-standing connection adapter + ## 0.1.3 (April 15th, 2010) * added an EventMachine Deferrable API * added an ActiveRecord connection adapter diff --git a/lib/mysql2.rb b/lib/mysql2.rb index a5a9cee..90891a2 100644 --- a/lib/mysql2.rb +++ b/lib/mysql2.rb @@ -5,5 +5,5 @@ require 'mysql2_ext' # # A modern, simple and very fast Mysql library for Ruby - binding to libmysql module Mysql2 - VERSION = "0.1.3" + VERSION = "0.1.4" end \ No newline at end of file diff --git a/mysql2.gemspec b/mysql2.gemspec index 076eb41..a47f899 100644 --- a/mysql2.gemspec +++ b/mysql2.gemspec @@ -5,11 +5,11 @@ Gem::Specification.new do |s| s.name = %q{mysql2} - s.version = "0.1.3" + s.version = "0.1.4" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Brian Lopez"] - s.date = %q{2010-04-15} + s.date = %q{2010-04-23} s.email = %q{seniorlopez@gmail.com} s.extensions = ["ext/extconf.rb"] s.extra_rdoc_files = [