bard-rake 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/bard-rake.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bard-rake}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Micah Geisel"]
12
- s.date = %q{2010-09-10}
12
+ s.date = %q{2010-11-14}
13
13
  s.description = %q{Rake tasks for all bard projects.
14
14
  * Bootstrap projects
15
15
  * Database backup}
@@ -4,13 +4,12 @@ task :restart do
4
4
  end
5
5
 
6
6
  desc "Bootstrap project"
7
- task :bootstrap => %w(bootstrap:files gems:install db:create db:migrate restart)
7
+ task :bootstrap => %w(bootstrap:files db:create db:migrate restart)
8
8
 
9
9
  namespace :bootstrap do
10
10
  desc "Bootstrap project to run tests"
11
11
  task :test => :bootstrap do
12
- system "rake gems:install db:create db:schema:load RAILS_ENV=test"
13
- system "rake gems:install RAILS_ENV=cucumber" unless bundler_used?
12
+ system "rake db:create db:migrate RAILS_ENV=test" unless ENV['RAILS_ENV'] == "test"
14
13
  end
15
14
 
16
15
  desc "Bootstrap project to run in production"
@@ -31,6 +30,6 @@ namespace :bootstrap do
31
30
  end
32
31
  end
33
32
 
34
- Rake::Task[:default].clear if Rake::Task.tasks.include?(:default)
33
+ Rake::Task[:default].clear if Rake::Task.task_defined?(:default)
35
34
  desc "Bootstrap the current project and run the tests."
36
35
  task :default => ["bootstrap:test", :spec, :cucumber]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-rake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Micah Geisel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-10 00:00:00 -07:00
18
+ date: 2010-11-14 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency