bard-rake 0.6.1 → 0.6.2

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.6.1
1
+ 0.6.2
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.6.1"
8
+ s.version = "0.6.2"
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 = "2012-08-30"
12
+ s.date = "2012-11-20"
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,12 +7,15 @@ desc "Bootstrap project"
7
7
  task :bootstrap => "bootstrap:files" do
8
8
  invoke_task_if_exists "db:create"
9
9
  invoke_task_if_exists "db:migrate"
10
- Rake::Task["restart"].execute
10
+ Rake::Task["restart"].invoke
11
11
  end
12
12
 
13
13
  namespace :bootstrap do
14
14
  desc "Bootstrap project to run in production"
15
- task :production => :bootstrap do
15
+ task :production => "bootstrap:files" do
16
+ invoke_task_if_exists "db:create"
17
+ invoke_task_if_exists "db:migrate"
18
+
16
19
  if %w(app/stylesheets app/sass public/stylesheets/sass).any? { |file| File.exist?(file) }
17
20
  Sass::Plugin.options[:always_update] = true;
18
21
  Sass::Plugin.update_stylesheets
@@ -21,7 +24,7 @@ namespace :bootstrap do
21
24
  invoke_task_if_exists "asset:packager:build_all"
22
25
  invoke_task_if_exists "assets:precompile"
23
26
  invoke_task_if_exists "bootstrap:production:post"
24
- Rake::Task["restart"].execute
27
+ Rake::Task["restart"].invoke
25
28
  end
26
29
 
27
30
  namespace :production do
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: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 1
10
- version: 0.6.1
9
+ - 2
10
+ version: 0.6.2
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: 2012-08-30 00:00:00 Z
18
+ date: 2012-11-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rspec