capobvious 0.3.pre5 → 0.3.pre6

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,13 @@ Capistrano::Configuration.instance(:must_exist).load do
13
13
  end
14
14
  desc "Assets precompile"
15
15
  task :precompile, :roles => :web, :except => { :no_release => true } do
16
+ if fetch(:turbo_sprockets_rails3) && previous_release != latest_release
17
+ logger.info "Copying assets folder of previous release for turbo-sprockets-rails3"
18
+ run("cp -r #{previous_release}/public/assets #{latest_release}/public/")
19
+ end
20
+ t1 = Time.now
16
21
  run("cd #{latest_release} && bundle exec rake RAILS_ENV=#{rails_env} assets:precompile")
22
+ logger.info "assets:precompile took #{(Time.now-t1).to_i} seconds"
17
23
  end
18
24
  task :symlink, :roles => :web, :except => { :no_release => true } do
19
25
  run <<-CMD
@@ -61,7 +61,7 @@ Capistrano::Configuration.instance(:must_exist).load do
61
61
 
62
62
 
63
63
 
64
- VarGems = {'delayed_job' => :delayed_job, 'activerecord-postgres-hstore' => :hstore, 'sitemap_generator' => :sitemap_generator, 'whenever' => 'whenever'}
64
+ VarGems = {'delayed_job' => :delayed_job, 'activerecord-postgres-hstore' => :hstore, 'sitemap_generator' => :sitemap_generator, 'whenever' => 'whenever', 'turbo-sprockets-rails3' => 'turbo_sprockets_rails3'}
65
65
 
66
66
  VarGems.each do |gem,var|
67
67
  gem = gem.to_s
@@ -2,6 +2,7 @@ Capistrano::Configuration.instance(:must_exist).load do
2
2
  if exists?(:whenever) && fetch(:whenever) == true
3
3
  set :whenever_command, "bundle exec whenever"
4
4
  set :whenever_environment, defer { stage }
5
+ _cset(:stage){ rails_env }
5
6
  set :whenever_identifier, defer { "#{application}_#{stage}" }
6
7
  require "whenever/capistrano/recipes"
7
8
  after "bundle:install", "whenever:update_crontab"
@@ -1,3 +1,3 @@
1
1
  module Capobvious
2
- VERSION = "0.3.pre5"
2
+ VERSION = "0.3.pre6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capobvious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.pre5
4
+ version: 0.3.pre6
5
5
  prerelease: 4
6
6
  platform: ruby
7
7
  authors:
@@ -9,40 +9,40 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-03-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
+ prerelease: false
16
17
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
+ none: false
22
23
  type: :runtime
23
- prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
25
  requirements:
27
26
  - - ! '>='
28
27
  - !ruby/object:Gem::Version
29
28
  version: '0'
29
+ none: false
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rvm-capistrano
32
+ prerelease: false
32
33
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
37
  version: '0'
38
+ none: false
38
39
  type: :runtime
39
- prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
41
  requirements:
43
42
  - - ! '>='
44
43
  - !ruby/object:Gem::Version
45
44
  version: '0'
45
+ none: false
46
46
  description: Capfile that we use every day
47
47
  email:
48
48
  - donotsendhere@gmail.com
@@ -80,20 +80,20 @@ rdoc_options: []
80
80
  require_paths:
81
81
  - lib
82
82
  required_ruby_version: !ruby/object:Gem::Requirement
83
- none: false
84
83
  requirements:
85
84
  - - ! '>='
86
85
  - !ruby/object:Gem::Version
87
86
  version: '0'
88
- required_rubygems_version: !ruby/object:Gem::Requirement
89
87
  none: false
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
89
  requirements:
91
90
  - - ! '>'
92
91
  - !ruby/object:Gem::Version
93
92
  version: 1.3.1
93
+ none: false
94
94
  requirements: []
95
95
  rubyforge_project: capobvious
96
- rubygems_version: 1.8.25
96
+ rubygems_version: 1.8.24
97
97
  signing_key:
98
98
  specification_version: 3
99
99
  summary: Cap recipes