diff --git a/Guardfile b/Guardfile index 7b6ade9..53503b5 100644 --- a/Guardfile +++ b/Guardfile @@ -3,4 +3,3 @@ guard :rspec, cmd: "bundle exec rspec" do watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch("spec/spec_helper.rb") { "spec" } end - diff --git a/Rakefile b/Rakefile index c6daf51..7efc873 100644 --- a/Rakefile +++ b/Rakefile @@ -9,4 +9,3 @@ CLOBBER.include "pkg" require "bundler/gem_helper" Bundler::GemHelper.install_tasks name: :database_cleaner Bundler::GemHelper.install_tasks name: :"database_cleaner-core" - diff --git a/bin/setup b/bin/setup index 268b1b4..f1f2dd2 100755 --- a/bin/setup +++ b/bin/setup @@ -5,4 +5,3 @@ set -vx bundle check || bundle install cp spec/support/sample.config.yml spec/support/config.yml - diff --git a/examples/features/example_multiple_db.feature b/examples/features/example_multiple_db.feature index d9bbb66..971511b 100644 --- a/examples/features/example_multiple_db.feature +++ b/examples/features/example_multiple_db.feature @@ -20,4 +20,3 @@ Feature: example When I create a widget in another db Then I should see 0 widget in one db And I should see 1 widget in another db - diff --git a/features/cleaning_multiple_dbs.feature b/features/cleaning_multiple_dbs.feature index debbb0a..d637a08 100644 --- a/features/cleaning_multiple_dbs.feature +++ b/features/cleaning_multiple_dbs.feature @@ -38,4 +38,3 @@ Feature: multiple database cleaning | DataMapper | transaction | | ActiveRecord | transaction | | Sequel | transaction | - diff --git a/lib/database_cleaner.rb b/lib/database_cleaner.rb index 484e99c..ad7a57b 100644 --- a/lib/database_cleaner.rb +++ b/lib/database_cleaner.rb @@ -1,2 +1 @@ require "database_cleaner/active_record" - diff --git a/lib/database_cleaner/core.rb b/lib/database_cleaner/core.rb index 925fc9e..03e12ee 100644 --- a/lib/database_cleaner/core.rb +++ b/lib/database_cleaner/core.rb @@ -27,4 +27,3 @@ module DatabaseCleaner end end end - diff --git a/lib/database_cleaner/deprecation.rb b/lib/database_cleaner/deprecation.rb index 8053311..10f98d2 100644 --- a/lib/database_cleaner/deprecation.rb +++ b/lib/database_cleaner/deprecation.rb @@ -18,4 +18,3 @@ module DatabaseCleaner end end end - diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bbdceaa..ddcb2a9 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -12,4 +12,3 @@ RSpec.configure do |config| config.disable_monkey_patching! end - diff --git a/spec/support/active_record_helper.rb b/spec/support/active_record_helper.rb index 5041e97..3a59249 100644 --- a/spec/support/active_record_helper.rb +++ b/spec/support/active_record_helper.rb @@ -37,4 +37,3 @@ class ActiveRecordHelper < DatabaseCleaner::Spec::DatabaseHelper ActiveRecord::ConnectionAdapters::Mysql2Adapter::NATIVE_DATABASE_TYPES[:primary_key] = primary_key_sql end end - diff --git a/spec/support/data_mapper_helper.rb b/spec/support/data_mapper_helper.rb index c0d94fc..5df570e 100644 --- a/spec/support/data_mapper_helper.rb +++ b/spec/support/data_mapper_helper.rb @@ -33,4 +33,3 @@ class DataMapperHelper < DatabaseCleaner::Spec::DatabaseHelper DataMapper.setup(:default, config) end end - diff --git a/spec/support/example.database.yml b/spec/support/example.database.yml index bddb4dc..e4574a9 100644 --- a/spec/support/example.database.yml +++ b/spec/support/example.database.yml @@ -1,3 +1,2 @@ my_db: database: <%= "ONE".downcase %> - diff --git a/spec/support/sample.config.yml b/spec/support/sample.config.yml index 7cd47a3..bcbeb1d 100644 --- a/spec/support/sample.config.yml +++ b/spec/support/sample.config.yml @@ -22,4 +22,3 @@ sqlite3: pool: 5 timeout: 5000 encoding: utf8 -