Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Nov 22, 2008
1 parent de32927 commit 651e6af
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
13 changes: 13 additions & 0 deletions 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
6 changes: 4 additions & 2 deletions Rakefile
Expand Up @@ -10,14 +10,16 @@ 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 = []
p.rubygems_version = nil
p.include_rakefile = true
end

task :test => [:pretest]

task :pretest do
setup(false)
end
Expand Down Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion lib/data_fabric.rb
Expand Up @@ -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
Expand Down

0 comments on commit 651e6af

Please sign in to comment.