bard-rake 0.3.2 → 0.3.3

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
data/bard-rake.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bard-rake"
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
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 = "2011-11-22"
12
+ s.date = "2011-12-01"
13
13
  s.description = "Rake tasks for all bard projects.\n* Bootstrap projects\n* Database backup"
14
14
  s.email = "micah@botandrose.com"
15
15
  s.extra_rdoc_files = [
@@ -7,11 +7,6 @@ desc "Bootstrap project"
7
7
  task :bootstrap => %w(bootstrap:files db:create db:migrate restart)
8
8
 
9
9
  namespace :bootstrap do
10
- desc "Bootstrap project to run tests"
11
- task :test => :bootstrap do
12
- system "rake db:create db:migrate RAILS_ENV=test" unless ENV['RAILS_ENV'] == "test"
13
- end
14
-
15
10
  desc "Bootstrap project to run in production"
16
11
  task :production => :bootstrap do
17
12
  if %w(app/stylesheets app/sass public/stylesheets/sass).any? { |file| File.exist?(file) }
@@ -40,4 +35,6 @@ end
40
35
 
41
36
  Rake::Task[:default].clear if Rake::Task.task_defined?(:default)
42
37
  desc "Bootstrap the current project and run the tests."
43
- task :default => ["bootstrap:test", :spec, :cucumber]
38
+ task :default => do
39
+ system "rake bootstrap spec cucumber RAILS_ENV=test"
40
+ end
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
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: 2011-11-22 00:00:00 Z
18
+ date: 2011-12-01 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rspec