releases v1.2.0

This commit is contained in:
Ben Mabey 2013-10-09 09:30:25 -06:00
parent 1ce7c9989a
commit 2c3f158cfc
4 changed files with 25 additions and 5 deletions

View file

@ -1,3 +1,20 @@
== 1.2.0 2013-10-09
A huge thanks goes to @tommeier for fixing the bug with class loading that was cuasing the wrong adapters
to be used in certain cases.
=== New Features/Changes
* Upgraded RSpec to remove deprecation warnings (John Rowe)
* Caching of tables to truncate is now optional (@marcoow)
=== Bug Fixes
* Use class_eval loading of superclasses to ensure right version of class is patched. (Tom Meier, Joel Nimety, Ernesto Tagwerker)
* Add truncate_tables method to SQLiteAdapter. (Chris Mo)
* Fixes missing #uses_sequence invokation in adapter classes for sqlite and sqlite3 (Lefteris Laskaridis)
== 1.1.1 2013-08-01 == 1.1.1 2013-08-01
=== Bug Fixes === Bug Fixes

View file

@ -14,6 +14,7 @@ begin
s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing." s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing."
s.files = FileList["[A-Z]*.*", "{examples,lib,features,spec}/**/*", "Rakefile", "cucumber.yml"] s.files = FileList["[A-Z]*.*", "{examples,lib,features,spec}/**/*", "Rakefile", "cucumber.yml"]
s.authors = ["Ben Mabey"] s.authors = ["Ben Mabey"]
s.licence = 'MIT'
end end
rescue LoadError rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"

View file

@ -1,5 +1,5 @@
--- ---
:minor: 1 :minor: 2
:build: :build:
:patch: 1 :patch: 0
:major: 1 :major: 1

View file

@ -5,11 +5,11 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "database_cleaner" s.name = "database_cleaner"
s.version = "1.1.1" s.version = "1.2.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ben Mabey"] s.authors = ["Ben Mabey"]
s.date = "2013-08-01" s.date = "2013-10-09"
s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing." s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing."
s.email = "ben@benmabey.com" s.email = "ben@benmabey.com"
s.license = 'MIT' s.license = 'MIT'
@ -95,6 +95,7 @@ Gem::Specification.new do |s|
"spec/database_cleaner/active_record/truncation/mysql_spec.rb", "spec/database_cleaner/active_record/truncation/mysql_spec.rb",
"spec/database_cleaner/active_record/truncation/postgresql_spec.rb", "spec/database_cleaner/active_record/truncation/postgresql_spec.rb",
"spec/database_cleaner/active_record/truncation/shared_fast_truncation.rb", "spec/database_cleaner/active_record/truncation/shared_fast_truncation.rb",
"spec/database_cleaner/active_record/truncation/sqlite3_spec.rb",
"spec/database_cleaner/active_record/truncation_spec.rb", "spec/database_cleaner/active_record/truncation_spec.rb",
"spec/database_cleaner/base_spec.rb", "spec/database_cleaner/base_spec.rb",
"spec/database_cleaner/configuration_spec.rb", "spec/database_cleaner/configuration_spec.rb",
@ -124,7 +125,8 @@ Gem::Specification.new do |s|
"spec/support/active_record/mysql2_setup.rb", "spec/support/active_record/mysql2_setup.rb",
"spec/support/active_record/mysql_setup.rb", "spec/support/active_record/mysql_setup.rb",
"spec/support/active_record/postgresql_setup.rb", "spec/support/active_record/postgresql_setup.rb",
"spec/support/active_record/schema_setup.rb" "spec/support/active_record/schema_setup.rb",
"spec/support/active_record/sqlite3_setup.rb"
] ]
s.homepage = "http://github.com/bmabey/database_cleaner" s.homepage = "http://github.com/bmabey/database_cleaner"
s.require_paths = ["lib"] s.require_paths = ["lib"]