eycap 0.5.23 → 0.6.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/.gitignore +4 -0
- data/Gemfile +2 -0
- data/History.txt +4 -0
- data/Rakefile +2 -33
- data/eycap.gemspec +20 -0
- data/lib/eycap.rb +27 -2
- data/lib/eycap/recipes/bundler.rb +6 -3
- data/lib/eycap/version.rb +4 -0
- metadata +19 -37
- data/Manifest.txt +0 -34
- data/lib/eycap/recipes.rb +0 -28
data/.gitignore
ADDED
data/Gemfile
ADDED
data/History.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 0.6.0 / 2012-09-06
|
2
|
+
* Bundler and a clean gemspec now manage the release of eycap.
|
3
|
+
* Use the :bundle_without to optionally specify groups more than 'test and development' only.
|
4
|
+
|
1
5
|
== 0.5.23 / 2012-05-31
|
2
6
|
* Changed README to markdown format.
|
3
7
|
* Improved README to give instructions on general setup and usage.
|
data/Rakefile
CHANGED
@@ -1,33 +1,2 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
require './lib/eycap'
|
4
|
-
|
5
|
-
Hoe.new('eycap', Eycap::VERSION) do |p|
|
6
|
-
p.author = 'Engine Yard'
|
7
|
-
p.email = 'appsupport@engineyard.com'
|
8
|
-
p.summary = 'Capistrano tasks for Engine Yard private cloud slices'
|
9
|
-
p.description = 'A bunch of useful recipes to help deployment to Engine Yard private cloud slices'
|
10
|
-
p.url = 'http://github.com/engineyard/eycap'
|
11
|
-
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
12
|
-
p.extra_deps << ['capistrano', '>= 2.2.0']
|
13
|
-
end
|
14
|
-
|
15
|
-
desc "Open an irb session preloaded with this library"
|
16
|
-
task :console do
|
17
|
-
sh "irb -rubygems -r ./lib/eycap.rb"
|
18
|
-
end
|
19
|
-
|
20
|
-
task :coverage do
|
21
|
-
system("rm -fr coverage")
|
22
|
-
system("rcov test/test_*.rb")
|
23
|
-
system("open coverage/index.html")
|
24
|
-
end
|
25
|
-
|
26
|
-
desc "Upload site to Rubyforge"
|
27
|
-
task :site do
|
28
|
-
end
|
29
|
-
|
30
|
-
desc 'Install the package as a gem.'
|
31
|
-
task :install_gem_no_doc => [:clean, :package] do
|
32
|
-
sh "#{'sudo ' unless Hoe::WINDOZE}gem install --local --no-rdoc --no-ri pkg/*.gem"
|
33
|
-
end
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
data/eycap.gemspec
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/eycap/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Engine Yard", "Tyler Bird"]
|
6
|
+
gem.email = ["appsupport@engineyard.com"]
|
7
|
+
gem.description = %q{Capistrano recipes for the Engine Yard Managed platform.}
|
8
|
+
gem.summary = %q{Recipes that help automate the processes of the Engine Yard stack for users of the Managed platform.}
|
9
|
+
gem.homepage = "http://github.com/engineyard/eycap"
|
10
|
+
|
11
|
+
gem.files = `git ls-files`.split($\)
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
+
gem.name = "eycap"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = Eycap::VERSION
|
17
|
+
|
18
|
+
gem.add_dependency "capistrano", ">= 2.2.0"
|
19
|
+
end
|
20
|
+
|
data/lib/eycap.rb
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require 'eycap/lib/ey_logger'
|
2
|
+
require 'eycap/lib/ey_logger_hooks'
|
3
|
+
require 'eycap/recipes/apache'
|
4
|
+
require 'eycap/recipes/backgroundrb'
|
5
|
+
require 'eycap/recipes/bundler'
|
6
|
+
require 'eycap/recipes/database'
|
7
|
+
require 'eycap/recipes/delayed_job'
|
8
|
+
require 'eycap/recipes/deploy'
|
9
|
+
require 'eycap/recipes/ferret'
|
10
|
+
require 'eycap/recipes/juggernaut'
|
11
|
+
require 'eycap/recipes/memcached'
|
12
|
+
require 'eycap/recipes/mongrel'
|
13
|
+
require 'eycap/recipes/monit'
|
14
|
+
require 'eycap/recipes/nginx'
|
15
|
+
require 'eycap/recipes/passenger'
|
16
|
+
require 'eycap/recipes/resque'
|
17
|
+
require 'eycap/recipes/slice'
|
18
|
+
require 'eycap/recipes/solr'
|
19
|
+
require 'eycap/recipes/sphinx'
|
20
|
+
require 'eycap/recipes/ssl'
|
21
|
+
require 'eycap/recipes/tomcat'
|
22
|
+
require 'eycap/recipes/unicorn'
|
23
|
+
|
24
|
+
Capistrano::Configuration.instance(:must_exist).load do
|
25
|
+
default_run_options[:pty] = true if respond_to?(:default_run_options)
|
26
|
+
set :keep_releases, 3
|
27
|
+
set :runner, defer { user }
|
3
28
|
end
|
@@ -1,10 +1,13 @@
|
|
1
1
|
Capistrano::Configuration.instance(:must_exist).load do
|
2
|
-
|
2
|
+
|
3
|
+
set :bundle_without, "test development" unless exists?(:bundle_without)
|
4
|
+
|
5
|
+
namespace :bundler do
|
3
6
|
desc "Automatically installed your bundled gems if a Gemfile exists"
|
4
7
|
task :bundle_gems, :roles => :app, :except => {:no_bundle => true} do
|
5
8
|
run "mkdir -p #{shared_path}/bundled_gems"
|
6
|
-
run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && bundle install --without
|
7
|
-
run "if [ ! -h #{release_path}/bin ]; then ln -nfs #{release_path}/bin #{release_path}/ey_bundler_binstubs;fi"
|
9
|
+
run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && bundle install --without=#{bundle_without} --binstubs #{release_path}/bin --path #{shared_path}/bundled_gems; fi"
|
10
|
+
run "if [ ! -h #{release_path}/bin ]; then ln -nfs #{release_path}/bin #{release_path}/ey_bundler_binstubs; fi"
|
8
11
|
end
|
9
12
|
after "deploy:symlink_configs","bundler:bundle_gems"
|
10
13
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eycap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-09-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capistrano
|
@@ -28,44 +28,29 @@ dependencies:
|
|
28
28
|
- - ! '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: 2.2.0
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - ! '>='
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 1.5.1
|
39
|
-
type: :runtime
|
40
|
-
prerelease: false
|
41
|
-
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
|
-
requirements:
|
44
|
-
- - ! '>='
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 1.5.1
|
47
|
-
description: A bunch of useful recipes to help deployment to the Engine Yard private
|
48
|
-
cloud.
|
49
|
-
email: appsupport@engineyard.com
|
31
|
+
description: Capistrano recipes for the Engine Yard Managed platform.
|
32
|
+
email:
|
33
|
+
- appsupport@engineyard.com
|
50
34
|
executables: []
|
51
35
|
extensions: []
|
52
|
-
extra_rdoc_files:
|
53
|
-
- History.txt
|
54
|
-
- Manifest.txt
|
55
|
-
- README.markdown
|
36
|
+
extra_rdoc_files: []
|
56
37
|
files:
|
38
|
+
- .gitignore
|
39
|
+
- Gemfile
|
57
40
|
- History.txt
|
58
|
-
- Manifest.txt
|
59
41
|
- README.markdown
|
60
42
|
- Rakefile
|
43
|
+
- eycap.gemspec
|
61
44
|
- lib/capistrano/recipes/deploy/strategy/filtered_remote_cache.rb
|
62
45
|
- lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb
|
63
46
|
- lib/eycap.rb
|
64
47
|
- lib/eycap/lib/ey_logger.rb
|
65
48
|
- lib/eycap/lib/ey_logger_hooks.rb
|
66
|
-
- lib/eycap/recipes.rb
|
49
|
+
- lib/eycap/recipes/apache.rb
|
67
50
|
- lib/eycap/recipes/backgroundrb.rb
|
51
|
+
- lib/eycap/recipes/bundler.rb
|
68
52
|
- lib/eycap/recipes/database.rb
|
53
|
+
- lib/eycap/recipes/delayed_job.rb
|
69
54
|
- lib/eycap/recipes/deploy.rb
|
70
55
|
- lib/eycap/recipes/ferret.rb
|
71
56
|
- lib/eycap/recipes/juggernaut.rb
|
@@ -74,6 +59,7 @@ files:
|
|
74
59
|
- lib/eycap/recipes/monit.rb
|
75
60
|
- lib/eycap/recipes/nginx.rb
|
76
61
|
- lib/eycap/recipes/passenger.rb
|
62
|
+
- lib/eycap/recipes/resque.rb
|
77
63
|
- lib/eycap/recipes/slice.rb
|
78
64
|
- lib/eycap/recipes/solr.rb
|
79
65
|
- lib/eycap/recipes/sphinx.rb
|
@@ -81,18 +67,13 @@ files:
|
|
81
67
|
- lib/eycap/recipes/templates/maintenance.rhtml
|
82
68
|
- lib/eycap/recipes/tomcat.rb
|
83
69
|
- lib/eycap/recipes/unicorn.rb
|
84
|
-
- lib/eycap/
|
85
|
-
- lib/eycap/recipes/delayed_job.rb
|
86
|
-
- lib/eycap/recipes/bundler.rb
|
87
|
-
- lib/eycap/recipes/resque.rb
|
70
|
+
- lib/eycap/version.rb
|
88
71
|
- test/test_eycap.rb
|
89
72
|
- test/test_helper.rb
|
90
73
|
homepage: http://github.com/engineyard/eycap
|
91
74
|
licenses: []
|
92
75
|
post_install_message:
|
93
|
-
rdoc_options:
|
94
|
-
- --main
|
95
|
-
- README.markdown
|
76
|
+
rdoc_options: []
|
96
77
|
require_paths:
|
97
78
|
- lib
|
98
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -108,11 +89,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
89
|
- !ruby/object:Gem::Version
|
109
90
|
version: '0'
|
110
91
|
requirements: []
|
111
|
-
rubyforge_project:
|
92
|
+
rubyforge_project:
|
112
93
|
rubygems_version: 1.8.24
|
113
94
|
signing_key:
|
114
|
-
specification_version:
|
115
|
-
summary:
|
95
|
+
specification_version: 3
|
96
|
+
summary: Recipes that help automate the processes of the Engine Yard stack for users
|
97
|
+
of the Managed platform.
|
116
98
|
test_files:
|
117
99
|
- test/test_eycap.rb
|
118
100
|
- test/test_helper.rb
|
data/Manifest.txt
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
Manifest.txt
|
3
|
-
README.markdown
|
4
|
-
Rakefile
|
5
|
-
lib/capistrano/recipes/deploy/strategy/filtered_remote_cache.rb
|
6
|
-
lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb
|
7
|
-
lib/eycap.rb
|
8
|
-
lib/eycap/lib/ey_logger.rb
|
9
|
-
lib/eycap/lib/ey_logger_hooks.rb
|
10
|
-
lib/eycap/recipes.rb
|
11
|
-
lib/eycap/lib/ey_logger
|
12
|
-
lib/eycap/lib/ey_logger_hooks
|
13
|
-
lib/eycap/recipes/apache
|
14
|
-
lib/eycap/recipes/backgroundrb
|
15
|
-
lib/eycap/recipes/bundler
|
16
|
-
lib/eycap/recipes/database
|
17
|
-
lib/eycap/recipes/delayed_job
|
18
|
-
lib/eycap/recipes/deploy
|
19
|
-
lib/eycap/recipes/ferret
|
20
|
-
lib/eycap/recipes/juggernaut
|
21
|
-
lib/eycap/recipes/memcached
|
22
|
-
lib/eycap/recipes/mongrel
|
23
|
-
lib/eycap/recipes/monit
|
24
|
-
lib/eycap/recipes/nginx
|
25
|
-
lib/eycap/recipes/passenger
|
26
|
-
lib/eycap/recipes/resque
|
27
|
-
lib/eycap/recipes/slice
|
28
|
-
lib/eycap/recipes/solr
|
29
|
-
lib/eycap/recipes/sphinx
|
30
|
-
lib/eycap/recipes/ssl
|
31
|
-
lib/eycap/recipes/tomcat
|
32
|
-
lib/eycap/recipes/unicorn
|
33
|
-
test/test_eycap.rb
|
34
|
-
test/test_helper.rb
|
data/lib/eycap/recipes.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
require 'eycap/lib/ey_logger'
|
2
|
-
require 'eycap/lib/ey_logger_hooks'
|
3
|
-
require 'eycap/recipes/apache'
|
4
|
-
require 'eycap/recipes/backgroundrb'
|
5
|
-
require 'eycap/recipes/bundler'
|
6
|
-
require 'eycap/recipes/database'
|
7
|
-
require 'eycap/recipes/delayed_job'
|
8
|
-
require 'eycap/recipes/deploy'
|
9
|
-
require 'eycap/recipes/ferret'
|
10
|
-
require 'eycap/recipes/juggernaut'
|
11
|
-
require 'eycap/recipes/memcached'
|
12
|
-
require 'eycap/recipes/mongrel'
|
13
|
-
require 'eycap/recipes/monit'
|
14
|
-
require 'eycap/recipes/nginx'
|
15
|
-
require 'eycap/recipes/passenger'
|
16
|
-
require 'eycap/recipes/resque'
|
17
|
-
require 'eycap/recipes/slice'
|
18
|
-
require 'eycap/recipes/solr'
|
19
|
-
require 'eycap/recipes/sphinx'
|
20
|
-
require 'eycap/recipes/ssl'
|
21
|
-
require 'eycap/recipes/tomcat'
|
22
|
-
require 'eycap/recipes/unicorn'
|
23
|
-
|
24
|
-
Capistrano::Configuration.instance(:must_exist).load do
|
25
|
-
default_run_options[:pty] = true if respond_to?(:default_run_options)
|
26
|
-
set :keep_releases, 3
|
27
|
-
set :runner, defer { user }
|
28
|
-
end
|