eycap 0.6.4 → 0.6.5
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/Gemfile +1 -1
- data/Gemfile.lock +5 -5
- data/History.txt +4 -0
- data/eycap.gemspec +1 -1
- data/lib/eycap/recipes/deploy.rb +1 -1
- data/lib/eycap/recipes/sphinx.rb +2 -2
- data/lib/eycap/version.rb +1 -1
- metadata +13 -2
data/Gemfile
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
source "http://rubygems.org"
|
|
2
|
-
gemspec
|
|
2
|
+
gemspec
|
data/Gemfile.lock
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
eycap (0.6.
|
|
4
|
+
eycap (0.6.4)
|
|
5
5
|
capistrano (>= 2.2.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: http://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
capistrano (2.13.
|
|
10
|
+
capistrano (2.13.5)
|
|
11
11
|
highline
|
|
12
12
|
net-scp (>= 1.0.0)
|
|
13
13
|
net-sftp (>= 2.0.0)
|
|
14
14
|
net-ssh (>= 2.0.14)
|
|
15
15
|
net-ssh-gateway (>= 1.1.0)
|
|
16
16
|
highline (1.6.15)
|
|
17
|
-
minitest (3.
|
|
17
|
+
minitest (4.3.3)
|
|
18
18
|
minitest-capistrano (0.1.3)
|
|
19
19
|
capistrano (~> 2.9)
|
|
20
20
|
minitest
|
|
@@ -22,10 +22,10 @@ GEM
|
|
|
22
22
|
net-ssh (>= 1.99.1)
|
|
23
23
|
net-sftp (2.0.5)
|
|
24
24
|
net-ssh (>= 2.0.9)
|
|
25
|
-
net-ssh (2.
|
|
25
|
+
net-ssh (2.6.2)
|
|
26
26
|
net-ssh-gateway (1.1.0)
|
|
27
27
|
net-ssh (>= 1.99.1)
|
|
28
|
-
rake (0.
|
|
28
|
+
rake (10.0.2)
|
|
29
29
|
|
|
30
30
|
PLATFORMS
|
|
31
31
|
ruby
|
data/History.txt
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
== 0.6.5 / 2012-12-07
|
|
2
|
+
* removed unnecessary if/then statement see closed pull request #36
|
|
3
|
+
* Merged pull request #34 - include rails_env in Thinking Sphinx recipe
|
|
4
|
+
|
|
1
5
|
== 0.6.4 / 2012-10-04
|
|
2
6
|
* Fix the incorrect pluralization of "eycap/recipes" file because eycap would not include itself anymore.
|
|
3
7
|
|
data/eycap.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
require File.expand_path('../lib/eycap/version', __FILE__)
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
|
-
gem.authors = ["Engine Yard", "Tyler Bird"]
|
|
5
|
+
gem.authors = ["Engine Yard", "Tyler Bird", "Matt Dolian", "Christopher Rigor", "Mike Riley", "Joel Watson", "Corey Donohoe", "Mutwin Kraus", "Erik Jones", "Daniel Neighman", "Dylan Egan", "Dan Peterson", "Tim Carey-Smith"]
|
|
6
6
|
gem.email = ["appsupport@engineyard.com"]
|
|
7
7
|
gem.description = %q{Capistrano recipes for the Engine Yard Managed platform.}
|
|
8
8
|
gem.summary = %q{Recipes that help automate the processes of the Engine Yard stack for users of the Managed platform.}
|
data/lib/eycap/recipes/deploy.rb
CHANGED
|
@@ -54,7 +54,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
54
54
|
else raise ArgumentError, "unknown migration target #{migrate_target.inspect}"
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
run "
|
|
57
|
+
run "cd #{directory}; #{rake} #{framework.upcase}_ENV=#{app_env} #{migrate_env} db:migrate ;"
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
desc "Display the maintenance.html page while deploying with migrations. Then it restarts and enables the site again."
|
data/lib/eycap/recipes/sphinx.rb
CHANGED
|
@@ -42,12 +42,12 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
42
42
|
namespace :thinking_sphinx do
|
|
43
43
|
desc "After update_code you want to configure, then reindex"
|
|
44
44
|
task :configure, :roles => [:app], :only => {:sphinx => true}, :except => {:no_release => true} do
|
|
45
|
-
run "/engineyard/bin/thinking_sphinx_searchd #{application} configure"
|
|
45
|
+
run "/engineyard/bin/thinking_sphinx_searchd #{application} configure #{rails_env}"
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
desc "After configure you want to reindex"
|
|
49
49
|
task :reindex, :roles => [:app], :only => {:sphinx => true} do
|
|
50
|
-
run "/engineyard/bin/thinking_sphinx_searchd #{application} reindex"
|
|
50
|
+
run "/engineyard/bin/thinking_sphinx_searchd #{application} reindex #{rails_env}"
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
task :symlink, :roles => [:app], :only => {:sphinx => true}, :except => {:no_release => true} do
|
data/lib/eycap/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eycap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Engine Yard
|
|
9
9
|
- Tyler Bird
|
|
10
|
+
- Matt Dolian
|
|
11
|
+
- Christopher Rigor
|
|
12
|
+
- Mike Riley
|
|
13
|
+
- Joel Watson
|
|
14
|
+
- Corey Donohoe
|
|
15
|
+
- Mutwin Kraus
|
|
16
|
+
- Erik Jones
|
|
17
|
+
- Daniel Neighman
|
|
18
|
+
- Dylan Egan
|
|
19
|
+
- Dan Peterson
|
|
20
|
+
- Tim Carey-Smith
|
|
10
21
|
autorequire:
|
|
11
22
|
bindir: bin
|
|
12
23
|
cert_chain: []
|
|
13
|
-
date: 2012-
|
|
24
|
+
date: 2012-12-07 00:00:00.000000000 Z
|
|
14
25
|
dependencies:
|
|
15
26
|
- !ruby/object:Gem::Dependency
|
|
16
27
|
name: capistrano
|