soprano 0.20 → 0.30

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/.gitignore CHANGED
@@ -23,3 +23,4 @@ Gemfile.lock
23
23
  pkg/*
24
24
 
25
25
  ## PROJECT::SPECIFIC
26
+ .rvmrc
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Soprano
2
2
 
3
+ [![The Sopranos](http://i.minus.com/idGXKU.jpeg)](http://www.imdb.com/title/tt0141842/)
4
+
3
5
  Soprano is the set of Capistrano recipes that help me to deploy my
4
6
  applications.
5
7
 
@@ -14,7 +16,7 @@ been borrowed from its sources.
14
16
 
15
17
  For Rails 3 add to your `Gemfile`:
16
18
 
17
- gem 'soprano', :require => false, :version => '>= 0.1.0'
19
+ gem 'soprano', :require => false
18
20
 
19
21
  ## Example usage
20
22
 
@@ -31,25 +33,14 @@ To start using Soprano you just need to add `require "soprano"` to your
31
33
 
32
34
  ## Features
33
35
 
34
- ### Whenever
35
-
36
- Using [whenever](https://github.com/javan/whenever) is as easy as `set`ing `:whenever` to `true`. Just like this:
37
-
38
- set :whenever, true
39
-
40
- Whenever will use your application deploy path as crontab identifier.
41
-
42
- You may wish to override the command, used to invoke whenever, e.g., to use Bundler:
43
-
44
- set :whenever_command, 'bundle exec whenever'
45
-
46
- Other features in process...
36
+ Readme about features in process...
47
37
 
48
38
  ## Thanks
49
39
 
50
- - Jamis Buck for [Capistrano](http://github.com/jamis/capistrano),
40
+ - Jamis Buck for [Capistrano](https://github.com/halorgium/capistrano),
51
41
  - Rubaidh Ltd for their awesome
52
- [Rubaidhstrano](http://github.com/rubaidh/rubaidhstrano).
42
+ [Rubaidhstrano](http://github.com/rubaidh/rubaidhstrano),
43
+ - Denis Barushev for [Capone](https://github.com/denis/capone).
53
44
 
54
45
  ## Copyright
55
46
 
@@ -1,3 +1,3 @@
1
1
  module Capone
2
- VERSION = "0.20"
2
+ VERSION = "0.30"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  on :load do
2
- strategy = fetch(:daemon_strategy, :mongrel_cluster)
2
+ strategy = fetch(:daemon_strategy, :passenger)
3
3
 
4
4
  if [:passenger, :mongrel_cluster].include? strategy
5
5
  load File.join(File.dirname(__FILE__), "daemon_strategies", "#{strategy}.rb")
data/recipes/db.rb CHANGED
@@ -77,6 +77,7 @@ on :load do
77
77
  if fetch(:setup_database_after_deploy_setup, true)
78
78
  after "deploy:setup", "soprano:db:setup"
79
79
  end
80
+
80
81
  if fetch(:load_fixtures_to_database_after_deploy_cold, false)
81
82
  after "deploy:cold", "soprano:db:load_fixtures"
82
83
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soprano
3
3
  version: !ruby/object:Gem::Version
4
- hash: 35
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 20
9
- version: "0.20"
8
+ - 30
9
+ version: "0.30"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dmitriy Kiriyenko
@@ -14,8 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-07-01 00:00:00 +03:00
18
- default_executable:
17
+ date: 2011-11-04 00:00:00 Z
19
18
  dependencies:
20
19
  - !ruby/object:Gem::Dependency
21
20
  name: capistrano
@@ -59,12 +58,9 @@ files:
59
58
  - recipes/db.rb
60
59
  - recipes/defaults.rb
61
60
  - recipes/delayed_job.rb
62
- - recipes/gems.rb
63
61
  - recipes/nginx.rb
64
62
  - recipes/replicate.rb
65
- - recipes/whenever.rb
66
63
  - soprano.gemspec
67
- has_rdoc: true
68
64
  homepage: https://github.com/dmitriy-kiriyenko/soprano
69
65
  licenses: []
70
66
 
@@ -94,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
90
  requirements: []
95
91
 
96
92
  rubyforge_project:
97
- rubygems_version: 1.5.2
93
+ rubygems_version: 1.8.7
98
94
  signing_key:
99
95
  specification_version: 3
100
96
  summary: Soprano is the set of rake tasks and capistrano recipes.
data/recipes/gems.rb DELETED
@@ -1,23 +0,0 @@
1
- namespace :soprano do
2
- namespace :gems do
3
- desc <<-DESC
4
- Install gems needed by application.
5
- DESC
6
- task :install, :roles => :app do
7
- run "rake gems:install -f #{release_path}/Rakefile RAILS_ENV=#{rails_env}"
8
- end
9
-
10
- desc <<-DESC
11
- Update installed gems.
12
- DESC
13
- task :update, :roles => :app do
14
- sudo "gem update --no-rdoc --no-ri"
15
- end
16
- end
17
- end
18
-
19
- on :load do
20
- if fetch(:install_gems, true)
21
- after "deploy:update_code", "soprano:gems:install"
22
- end
23
- end
data/recipes/whenever.rb DELETED
@@ -1,17 +0,0 @@
1
- namespace :soprano do
2
- namespace :whenever do
3
- desc <<-DESC
4
- Update the crontab file with whenever.
5
- DESC
6
- task :update_crontab, :roles => :db do
7
- whenever_command = fetch(:whenever_command, "whenever")
8
- run "cd #{release_path} && #{whenever_command} --set environment=#{rails_env} --update-crontab #{deploy_to}"
9
- end
10
- end
11
- end
12
-
13
- on :load do
14
- if fetch(:whenever, false)
15
- after "deploy:symlink", "soprano:whenever:update_crontab"
16
- end
17
- end