Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prepare for release

  • Loading branch information...
commit 651e6afcf038da7d5f56b29e2b5f7c1dfb4f82d1 1 parent de32927
@mperham mperham authored
Showing with 17 additions and 3 deletions.
  1. +13 −0 CHANGELOG
  2. +4 −2 Rakefile
  3. +0 −1  lib/data_fabric.rb
View
13 CHANGELOG
@@ -1 +1,14 @@
+DataFabric changelog
+
+v1.1.0 - 2008-11-22
+
+- Cache connections so we don't have to reconnect constantly. (Justin Balthrop, Geni)
+- Clean up logging API (not backwards-compatible)
+- Verify wrapped connections automatically so cached mysql connections older than 8 hours
+ don't die due to timeout.
+- Please note this version is not Rails 2.2-compatible. DataFabric 2.0 will be.
+
+
+Detailed commit history:
+
http://github.com/fiveruns/data_fabric/commits/master
View
6 Rakefile
@@ -10,7 +10,7 @@ Echoe.new 'data_fabric' do |p|
p.author = "Mike Perham"
p.email = 'mperham@gmail.com'
p.project = 'fiveruns'
- p.summary = 'Sharding and replication support for ActiveRecord 2.x'
+ p.summary = 'Sharding and replication support for ActiveRecord 2.0 and 2.1'
p.url = "http://github.com/fiveruns/data_fabric"
p.dependencies = ['activerecord >=2.0.2']
p.development_dependencies = []
@@ -18,6 +18,8 @@ Echoe.new 'data_fabric' do |p|
p.include_rakefile = true
end
+task :test => [:pretest]
+
task :pretest do
setup(false)
end
@@ -45,7 +47,7 @@ def setup_connection
require 'active_record'
ActiveRecord::Base.configurations = load_database_yml
ActiveRecord::Base.logger = Logger.new(STDOUT)
- ActiveRecord::Base.logger.level = Logger::DEBUG
+ ActiveRecord::Base.logger.level = Logger::INFO
end
def using_connection(database_identifier, &block)
View
1  lib/data_fabric.rb
@@ -111,7 +111,6 @@ def data_fabric(options)
raise ArgumentError, "data_fabric does not support ActiveRecord's allow_concurrency = true" if allow_concurrency
DataFabric.log { "Creating data_fabric proxy for class #{name}" }
end
- alias :connection_topology :data_fabric # legacy
end
class StringProxy
Please sign in to comment.
Something went wrong with that request. Please try again.