Browse Source

Bumped VERSION to 0.1.4

Updated CHANGELOG
* Added postgresql spec configuration
* Using database_cleaner gem from master branch
development
Cesidio Di Landa 12 years ago
parent
commit
7eaa45fe41
  1. 5
      CHANGELOG.md
  2. 2
      Gemfile
  3. 9
      Gemfile.lock
  4. 2
      VERSION
  5. 15
      spec/support/postgresql.rb

5
CHANGELOG.md

@ -1,6 +1,11 @@
Changelog Changelog
========= =========
0.1.4
-----
* Added postgresql spec configuration
* Using database_cleaner gem from master branch
0.1.3 0.1.3
----- -----
* Added LICENSE file * Added LICENSE file

2
Gemfile

@ -51,7 +51,7 @@ end
group :test do group :test do
gem 'capybara' gem 'capybara'
gem 'coveralls', require: false gem 'coveralls', require: false
gem 'database_cleaner' gem 'database_cleaner', github: 'bmabey/database_cleaner'
gem 'email_spec' gem 'email_spec'
gem 'launchy' gem 'launchy'
gem 'rspec' gem 'rspec'

9
Gemfile.lock

@ -1,3 +1,9 @@
GIT
remote: git://github.com/bmabey/database_cleaner.git
revision: 20136e8987c222013d96e07c27d1230d2bbebd61
specs:
database_cleaner (0.9.1)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
@ -69,7 +75,6 @@ GEM
thor thor
crack (0.3.2) crack (0.3.2)
daemons (1.1.9) daemons (1.1.9)
database_cleaner (0.9.1)
debug_inspector (0.0.2) debug_inspector (0.0.2)
debugger (1.5.0) debugger (1.5.0)
columnize (>= 0.3.1) columnize (>= 0.3.1)
@ -284,7 +289,7 @@ DEPENDENCIES
capybara capybara
coffee-rails (~> 4.0.0.beta1) coffee-rails (~> 4.0.0.beta1)
coveralls coveralls
database_cleaner database_cleaner!
debugger debugger
delorean delorean
email_spec email_spec

2
VERSION

@ -1 +1 @@
0.1.3 0.1.4

15
spec/support/postgresql.rb

@ -0,0 +1,15 @@
RSpec.configure do |config|
config.before(:suite) do
DatabaseCleaner.strategy = :transaction
DatabaseCleaner.clean_with(:truncation)
end
config.before(:each) do
DatabaseCleaner.start
end
config.after(:each) do
DatabaseCleaner.clean
end
end
Loading…
Cancel
Save