capones_recipes 1.11.0 → 1.11.1
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.
@@ -2,9 +2,25 @@ Capistrano::Configuration.instance.load do
|
|
2
2
|
after "deploy:update_code", "restful_authentication:symlink"
|
3
3
|
|
4
4
|
namespace :restful_authentication do
|
5
|
-
desc "Make symlink for
|
5
|
+
desc "Make symlink for site key"
|
6
6
|
task :symlink do
|
7
7
|
run "ln -nfs #{shared_path}/config/initializers/site_keys.rb #{release_path}/config/initializers/site_keys.rb"
|
8
8
|
end
|
9
9
|
end
|
10
|
+
|
11
|
+
namespace :sync do
|
12
|
+
namespace :down do
|
13
|
+
desc "Sync down site key"
|
14
|
+
task :restful_authentication do
|
15
|
+
download "#{shared_path}/config/initializers/site_keys.rb", "config/initializers/site_keys.rb"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
namespace :up do
|
20
|
+
desc "Sync up site key"
|
21
|
+
task :restful_authentication do
|
22
|
+
upload "config/initializers/site_keys.rb", "#{shared_path}/config/initializers/site_keys.rb"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
10
26
|
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: 57
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 1.11.
|
9
|
+
- 1
|
10
|
+
version: 1.11.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek (CyT)
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-12-
|
20
|
-
default_executable:
|
19
|
+
date: 2011-12-09 00:00:00 Z
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
23
22
|
name: capistrano
|
@@ -157,7 +156,6 @@ files:
|
|
157
156
|
- lib/capones_recipes/tasks/thinking_sphinx.rb
|
158
157
|
- lib/capones_recipes/tasks/utilities.rb
|
159
158
|
- lib/capones_recipes/version.rb
|
160
|
-
has_rdoc: true
|
161
159
|
homepage: http://github.com/raskhadafi/capones-recipes
|
162
160
|
licenses:
|
163
161
|
- MIT
|
@@ -187,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
185
|
requirements: []
|
188
186
|
|
189
187
|
rubyforge_project:
|
190
|
-
rubygems_version: 1.
|
188
|
+
rubygems_version: 1.8.10
|
191
189
|
signing_key:
|
192
190
|
specification_version: 3
|
193
191
|
summary: Some capistrano recipes for use.
|