fast_rake 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ class FastRake::FastRunner
33
33
  put_w_time "#{@failed ? RED : GREEN}Elapsed time: #{distance_of_time_to_now(@start)}#{RESET}"
34
34
  if @failed
35
35
  if @fail_fast
36
- raise 'failed fast'
36
+ raise 'failed fast'
37
37
  else
38
38
  puts_failed
39
39
  raise 'failed after all'
@@ -97,10 +97,10 @@ class FastRake::FastRunner
97
97
  def setup_database(task_name)
98
98
  ENV["TEST_DB_NAME"] = "test_#{task_string(task_name)}"
99
99
  puts "RAILS_ENV is #{ENV["RAILS_ENV"]} and TEST_DB_NAME is #{ENV["TEST_DB_NAME"]}"
100
- Rake::Task["db:recreate"].reenable
101
- Rake::Task["db:recreate"].invoke
102
- Rake::Task["db:test:prepare"].reenable
103
- Rake::Task["db:test:prepare"].invoke
100
+ %w{db:load_config db:create db:test:prepare}.each do |task_name|
101
+ Rake::Task[task_name].reenable
102
+ Rake::Task[task_name].invoke
103
+ end
104
104
  end
105
105
 
106
106
  def start_some_children
@@ -1,6 +1,6 @@
1
1
  module FastRake
2
2
  VERSION_MAJOR = 0
3
3
  VERSION_MINOR = 2
4
- VERSION_PATCH = 5
4
+ VERSION_PATCH = 6
5
5
  VERSION = [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH].join('.')
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_rake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Ricketson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-09-17 00:00:00 Z
18
+ date: 2012-09-21 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: gemma
@@ -52,7 +52,7 @@ licenses: []
52
52
  post_install_message:
53
53
  rdoc_options:
54
54
  - --title
55
- - fast_rake-0.2.5 Documentation
55
+ - fast_rake-0.2.6 Documentation
56
56
  require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement