capones_recipes 1.2.3 → 1.2.4

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.
@@ -10,7 +10,7 @@ Capistrano::Configuration.instance(true).load do
10
10
  run "mkdir -p #{shared_path}/initializer"
11
11
 
12
12
  modules = [:pos, :salary, :stock, :projects].inject([]) do |out, pos|
13
- out << "bookyt_#{pos.to_s}" #if utilities.yes? "Install bookyt_#{pos.to_s}"
13
+ out << "bookyt_#{pos.to_s}" if Utilities.yes? "Install bookyt_#{pos.to_s}"
14
14
 
15
15
  out
16
16
  end
@@ -1,5 +1,5 @@
1
1
  Capistrano::Configuration.instance.load do
2
2
  # Bundle install
3
3
  require "bundler/capistrano"
4
- after "bundle:install", "deploy:migrate"
4
+ after "deploy:update_code", "bundle:install"
5
5
  end
@@ -1,6 +1,6 @@
1
1
  Capistrano::Configuration.instance.load do
2
2
  before "deploy:setup", :db
3
- before "deploy:migrate", "db:symlink"
3
+ before "bundle:install", "db:symlink"
4
4
 
5
5
  namespace :db do
6
6
  desc "Create database yaml in capistrano shared path"
@@ -1,3 +1,3 @@
1
1
  module CaponesRecipes
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capones_recipes
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.3
5
+ version: 1.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roman Simecek (CyT)
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-10-31 00:00:00 Z
14
+ date: 2011-11-04 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: capistrano
@@ -129,9 +129,6 @@ files:
129
129
  - lib/capones_recipes/tasks/rails/bundler.rb
130
130
  - lib/capones_recipes/tasks/rails/database_yml.rb
131
131
  - lib/capones_recipes/tasks/rails/logs.rb
132
- - lib/capones_recipes/tasks/rails/mod_rails.rb
133
- - lib/capones_recipes/tasks/rails31.rb
134
- - lib/capones_recipes/tasks/rails31/rails31.rb
135
132
  - lib/capones_recipes/tasks/restful_authentication.rb
136
133
  - lib/capones_recipes/tasks/restful_authentication/setup.rb
137
134
  - lib/capones_recipes/tasks/settings_logic.rb
@@ -1,38 +0,0 @@
1
- Capistrano::Configuration.instance.load do
2
- namespace :webistrano do
3
- namespace :mod_rails do
4
- desc "start mod_rails & Apache"
5
- task :start, :roles => :app, :except => { :no_release => true } do
6
- as = fetch(:runner, "app")
7
- invoke_command "#{apache_init_script} start", :via => run_method, :as => as
8
- end
9
-
10
- desc "stop mod_rails & Apache"
11
- task :stop, :roles => :app, :except => { :no_release => true } do
12
- as = fetch(:runner, "app")
13
- invoke_command "#{apache_init_script} stop", :via => run_method, :as => as
14
- end
15
-
16
- desc "restart mod_rails"
17
- task :restart, :roles => :app, :except => { :no_release => true } do
18
- as = fetch(:runner, "app")
19
- restart_file = fetch(:mod_rails_restart_file, "#{deploy_to}/current/tmp/restart.txt")
20
- invoke_command "touch #{restart_file}", :via => run_method, :as => as
21
- end
22
- end
23
- end
24
-
25
- namespace :deploy do
26
- task :restart, :roles => :app, :except => { :no_release => true } do
27
- webistrano.mod_rails.restart
28
- end
29
-
30
- task :start, :roles => :app, :except => { :no_release => true } do
31
- webistrano.mod_rails.start
32
- end
33
-
34
- task :stop, :roles => :app, :except => { :no_release => true } do
35
- webistrano.mod_rails.stop
36
- end
37
- end
38
- end
@@ -1 +0,0 @@
1
- Dir.glob(File.join(File.dirname(__FILE__), '/rails31/*.rb')).sort.each { |f| require f }
@@ -1,6 +0,0 @@
1
- Capistrano::Configuration.instance.load do
2
- # Compile the assets in Rails 3.1
3
- after 'deploy:migrate' do
4
- run "cd #{release_path}; RAILS_ENV=#{rails_env} bundle exec rake assets:precompile"
5
- end
6
- end