capones_recipes 1.11.1 → 1.11.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/lib/capones_recipes/tasks/airbrake/symlink.rb +1 -1
- data/lib/capones_recipes/tasks/carrier_wave.rb +1 -1
- data/lib/capones_recipes/tasks/database/sqlite.rb +1 -1
- data/lib/capones_recipes/tasks/email.rb +1 -1
- data/lib/capones_recipes/tasks/kuhsaft/kuhsaft.rb +1 -1
- data/lib/capones_recipes/tasks/new_relic.rb +1 -1
- data/lib/capones_recipes/tasks/rails/database_yml.rb +1 -1
- data/lib/capones_recipes/tasks/restful_authentication.rb +1 -1
- data/lib/capones_recipes/tasks/settings_logic.rb +1 -1
- data/lib/capones_recipes/tasks/sync/fs.rb +1 -1
- data/lib/capones_recipes/tasks/thinking_sphinx.rb +4 -3
- data/lib/capones_recipes/version.rb +1 -1
- metadata +8 -6
@@ -4,7 +4,7 @@ Capistrano::Configuration.instance(true).load do
|
|
4
4
|
namespace :airbrake do
|
5
5
|
desc "Sets the symlink to shared/config/initializers/airbrake.rb"
|
6
6
|
task :symlink do
|
7
|
-
run "ln -nfs #{shared_path}/config/initializers/airbrake.rb #{
|
7
|
+
run "ln -nfs #{shared_path}/config/initializers/airbrake.rb #{latest_release}/config/initializers/airbrake.rb"
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
@@ -10,7 +10,7 @@ Capistrano::Configuration.instance.load do
|
|
10
10
|
|
11
11
|
desc "Make symlink for uploads directory"
|
12
12
|
task :symlink do
|
13
|
-
run "ln -nfs #{shared_path}/uploads #{
|
13
|
+
run "ln -nfs #{shared_path}/uploads #{latest_release}/uploads"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -23,7 +23,7 @@ Capistrano::Configuration.instance.load do
|
|
23
23
|
|
24
24
|
desc "Make symlink for shared database"
|
25
25
|
task :symlink do
|
26
|
-
run "ln -nfs #{shared_path}/db/#{rails_env}.sqlite3 #{
|
26
|
+
run "ln -nfs #{shared_path}/db/#{rails_env}.sqlite3 #{latest_release}/db/#{rails_env}.sqlite3"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
@@ -5,7 +5,7 @@ Capistrano::Configuration.instance.load do
|
|
5
5
|
namespace :email do
|
6
6
|
desc "Make symlink for email config"
|
7
7
|
task :symlink, :roles => :app do
|
8
|
-
run "ln -nfs #{shared_path}/config/initializers/email.rb #{
|
8
|
+
run "ln -nfs #{shared_path}/config/initializers/email.rb #{latest_release}/config/initializers/email.rb"
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
@@ -10,7 +10,7 @@ Capistrano::Configuration.instance.load do
|
|
10
10
|
|
11
11
|
desc "Make symlink for shared uploads"
|
12
12
|
task :symlink do
|
13
|
-
run "ln -nfs #{shared_path}/uploads #{
|
13
|
+
run "ln -nfs #{shared_path}/uploads #{latest_release}/public/uploads"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -9,7 +9,7 @@ Capistrano::Configuration.instance.load do
|
|
9
9
|
|
10
10
|
desc "Make symlink for shared application yaml"
|
11
11
|
task :symlink do
|
12
|
-
run "ln -nfs #{shared_path}/config/newrelic.yml #{
|
12
|
+
run "ln -nfs #{shared_path}/config/newrelic.yml #{latest_release}/config/newrelic.yml"
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
@@ -10,7 +10,7 @@ Capistrano::Configuration.instance.load do
|
|
10
10
|
|
11
11
|
desc "Make symlink for shared database yaml"
|
12
12
|
task :symlink do
|
13
|
-
run "ln -nfs #{shared_path}/config/database.yml #{
|
13
|
+
run "ln -nfs #{shared_path}/config/database.yml #{latest_release}/config/database.yml"
|
14
14
|
end
|
15
15
|
|
16
16
|
task :rake, :roles => :app do
|
@@ -4,7 +4,7 @@ Capistrano::Configuration.instance.load do
|
|
4
4
|
namespace :restful_authentication do
|
5
5
|
desc "Make symlink for site key"
|
6
6
|
task :symlink do
|
7
|
-
run "ln -nfs #{shared_path}/config/initializers/site_keys.rb #{
|
7
|
+
run "ln -nfs #{shared_path}/config/initializers/site_keys.rb #{latest_release}/config/initializers/site_keys.rb"
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
@@ -10,7 +10,7 @@ Capistrano::Configuration.instance.load do
|
|
10
10
|
|
11
11
|
desc "Make symlink for shared application yaml"
|
12
12
|
task :symlink do
|
13
|
-
run "ln -nfs #{shared_path}/config/application.yml #{
|
13
|
+
run "ln -nfs #{shared_path}/config/application.yml #{latest_release}/config/application.yml"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
@@ -5,6 +5,7 @@ Capistrano::Configuration.instance.load do
|
|
5
5
|
before "thinking_sphinx:symlink", "thinking_sphinx:setup"
|
6
6
|
after "deploy:finalize_update", "thinking_sphinx:symlink"
|
7
7
|
before "deploy:restart", "thinking_sphinx:rebuild"
|
8
|
+
after "sync:up:db", "thinking_sphinx:rebuild"
|
8
9
|
|
9
10
|
namespace :thinking_sphinx do
|
10
11
|
desc "Prepare for sphinx config"
|
@@ -16,9 +17,9 @@ Capistrano::Configuration.instance.load do
|
|
16
17
|
|
17
18
|
desc "Make symlink for sphinx configs and data"
|
18
19
|
task :symlink, :roles => :app do
|
19
|
-
run "ln -nfs #{shared_path}/config/sphinx #{
|
20
|
-
run "ln -nfs #{shared_path}/db/sphinx #{
|
21
|
-
run "ln -nfs #{shared_path}/tmp/sockets #{
|
20
|
+
run "ln -nfs #{shared_path}/config/sphinx #{latest_release}/config/sphinx"
|
21
|
+
run "ln -nfs #{shared_path}/db/sphinx #{latest_release}/db/sphinx"
|
22
|
+
run "ln -nfs #{shared_path}/tmp/sockets #{latest_release}/tmp/sockets"
|
22
23
|
end
|
23
24
|
end
|
24
25
|
end
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 63
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 1.11.
|
9
|
+
- 2
|
10
|
+
version: 1.11.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek (CyT)
|
@@ -16,7 +16,8 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-12-
|
19
|
+
date: 2011-12-12 00:00:00 +01:00
|
20
|
+
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: capistrano
|
@@ -156,6 +157,7 @@ files:
|
|
156
157
|
- lib/capones_recipes/tasks/thinking_sphinx.rb
|
157
158
|
- lib/capones_recipes/tasks/utilities.rb
|
158
159
|
- lib/capones_recipes/version.rb
|
160
|
+
has_rdoc: true
|
159
161
|
homepage: http://github.com/raskhadafi/capones-recipes
|
160
162
|
licenses:
|
161
163
|
- MIT
|
@@ -185,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
187
|
requirements: []
|
186
188
|
|
187
189
|
rubyforge_project:
|
188
|
-
rubygems_version: 1.
|
190
|
+
rubygems_version: 1.3.7
|
189
191
|
signing_key:
|
190
192
|
specification_version: 3
|
191
193
|
summary: Some capistrano recipes for use.
|