capones_recipes 1.11.5 → 1.11.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,8 @@ Capistrano::Configuration.instance.load do
|
|
2
2
|
before "deploy:setup", "db:prepare_config"
|
3
3
|
after "deploy:finalize_update", "db:symlink"
|
4
4
|
|
5
|
+
before "db:setup", "deploy:update_code"
|
6
|
+
|
5
7
|
namespace :db do
|
6
8
|
desc "Create database.yaml based on example"
|
7
9
|
task :prepare_config do
|
@@ -59,7 +61,7 @@ Capistrano::Configuration.instance.load do
|
|
59
61
|
end
|
60
62
|
|
61
63
|
task :rake, :roles => :app do
|
62
|
-
run("cd #{
|
64
|
+
run("cd #{latest_release} && /usr/bin/env bundle exec rake #{rake_task} RAILS_ENV=#{rails_env}")
|
63
65
|
end
|
64
66
|
|
65
67
|
desc "Setup database"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capones_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 1.11.
|
9
|
+
- 6
|
10
|
+
version: 1.11.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek (CyT)
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-12-
|
19
|
+
date: 2011-12-14 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: capistrano
|