capones_recipes 0.11.0 → 0.12.0
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 +1 -1
- data/capones_recipes.gemspec +4 -2
- data/lib/recipes/restful_authentication/setup.rb +16 -0
- data/lib/recipes/restful_authentication.rb +1 -0
- metadata +6 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.12.0
|
data/capones_recipes.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{capones_recipes}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.12.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Roman Simecek", "Simon H\303\274rlimann"]
|
12
|
-
s.date = %q{2011-08-
|
12
|
+
s.date = %q{2011-08-19}
|
13
13
|
s.description = %q{A collection of useful capistrano recipes used by CyT GmbH and others.}
|
14
14
|
s.email = %q{roman.simecek@cyt.ch}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -50,6 +50,8 @@ Gem::Specification.new do |s|
|
|
50
50
|
"lib/recipes/rails/mod_rails.rb",
|
51
51
|
"lib/recipes/rails31.rb",
|
52
52
|
"lib/recipes/rails31/rails31.rb",
|
53
|
+
"lib/recipes/restful_authentication.rb",
|
54
|
+
"lib/recipes/restful_authentication/setup.rb",
|
53
55
|
"lib/recipes/settings_logic.rb",
|
54
56
|
"lib/recipes/settings_logic/settings_logic.rb",
|
55
57
|
"lib/recipes/thinking_sphinx.rb",
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Capistrano::Configuration.instance.load do
|
2
|
+
before "deploy:setup", "restful_authentication:setup"
|
3
|
+
after "deploy:update_code", "restful_authentication:symlink"
|
4
|
+
|
5
|
+
namespace :restful_authentication do
|
6
|
+
desc "Create site_keys in capistrano shared path"
|
7
|
+
task :setup do
|
8
|
+
run "mkdir -p #{shared_path}/config/initializers"
|
9
|
+
end
|
10
|
+
|
11
|
+
desc "Make symlink for shared uploads"
|
12
|
+
task :symlink do
|
13
|
+
run "ln -nfs #{shared_path}/config/initializers/site_keys.rb #{release_path}/config/initializers/site_keys.rb"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Dir.glob(File.join(File.dirname(__FILE__), '/restful_authentication/*.rb')).sort.each { |f| load f }
|
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: 47
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 12
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.12.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-08-
|
19
|
+
date: 2011-08-19 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -177,6 +177,8 @@ files:
|
|
177
177
|
- lib/recipes/rails/mod_rails.rb
|
178
178
|
- lib/recipes/rails31.rb
|
179
179
|
- lib/recipes/rails31/rails31.rb
|
180
|
+
- lib/recipes/restful_authentication.rb
|
181
|
+
- lib/recipes/restful_authentication/setup.rb
|
180
182
|
- lib/recipes/settings_logic.rb
|
181
183
|
- lib/recipes/settings_logic/settings_logic.rb
|
182
184
|
- lib/recipes/thinking_sphinx.rb
|