cap-recipes 0.3.18 → 0.3.20
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +10 -2
- data/VERSION.yml +1 -1
- data/cap-recipes.gemspec +6 -3
- data/lib/cap_recipes/tasks/rubygems/manage.rb +4 -4
- metadata +3 -3
data/Rakefile
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
|
1
|
+
=begin
|
2
|
+
Using Jeweler for Gem Packaging
|
3
|
+
Update the version and release version to github:
|
4
|
+
rake version:bump:patch && rake release && rake gemcutter:release
|
5
|
+
Build and install the latest version locally:
|
6
|
+
rake build && rake install && sudo gem cleanup
|
7
|
+
=end
|
8
|
+
|
2
9
|
require 'rake'
|
3
10
|
require 'rake/testtask'
|
4
11
|
require 'rake/rdoctask'
|
@@ -13,8 +20,9 @@ begin
|
|
13
20
|
s.description = "Battle-tested capistrano recipes for debian, passenger, apache, delayed_job, juggernaut, rubygems, backgroundrb, rails and more"
|
14
21
|
s.authors = ["Nathan Esquenazi"]
|
15
22
|
end
|
23
|
+
Jeweler::GemcutterTasks.new
|
16
24
|
rescue LoadError
|
17
|
-
puts "Jeweler not available. Install it with: sudo gem install
|
25
|
+
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
18
26
|
end
|
19
27
|
|
20
28
|
Rake::RDocTask.new do |rdoc|
|
data/VERSION.yml
CHANGED
data/cap-recipes.gemspec
CHANGED
@@ -1,12 +1,15 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
5
|
|
3
6
|
Gem::Specification.new do |s|
|
4
7
|
s.name = %q{cap-recipes}
|
5
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.20"
|
6
9
|
|
7
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
11
|
s.authors = ["Nathan Esquenazi"]
|
9
|
-
s.date = %q{2009-06
|
12
|
+
s.date = %q{2009-10-06}
|
10
13
|
s.description = %q{Battle-tested capistrano recipes for debian, passenger, apache, delayed_job, juggernaut, rubygems, backgroundrb, rails and more}
|
11
14
|
s.email = %q{nesquena@gmail.com}
|
12
15
|
s.extra_rdoc_files = [
|
@@ -63,7 +66,7 @@ Gem::Specification.new do |s|
|
|
63
66
|
s.homepage = %q{http://github.com/nesquena/cap-recipes}
|
64
67
|
s.rdoc_options = ["--charset=UTF-8"]
|
65
68
|
s.require_paths = ["lib"]
|
66
|
-
s.rubygems_version = %q{1.3.
|
69
|
+
s.rubygems_version = %q{1.3.5}
|
67
70
|
s.summary = %q{Battle-tested capistrano recipes for passenger, delayed_job, and more}
|
68
71
|
s.test_files = [
|
69
72
|
"spec/cap/helper.rb",
|
@@ -14,17 +14,17 @@ Capistrano::Configuration.instance(true).load do
|
|
14
14
|
Array(rubygem_paths).each { |path| sudo "#{path} update --system" }
|
15
15
|
end
|
16
16
|
|
17
|
-
desc "Updates all installed gems"
|
17
|
+
desc "Updates all installed gems on app servers"
|
18
18
|
task :update, :roles => :app do
|
19
19
|
Array(rubygem_paths).each { |path| sudo "#{path} update" }
|
20
20
|
end
|
21
21
|
|
22
|
-
desc "Removes old gems which
|
22
|
+
desc "Removes old gems which have been outdated"
|
23
23
|
task :cleanup, :roles => :app do
|
24
24
|
Array(rubygem_paths).each { |path| sudo "#{path} cleanup" }
|
25
25
|
end
|
26
26
|
|
27
|
-
desc "Install a gem on
|
27
|
+
desc "Install a gem on the app servers"
|
28
28
|
task :install, :roles => :app do
|
29
29
|
puts "Enter the name of the gem you'd like to install:"
|
30
30
|
gem_name = $stdin.gets.chomp
|
@@ -32,7 +32,7 @@ Capistrano::Configuration.instance(true).load do
|
|
32
32
|
Array(rubygem_paths).each {|path| sudo "#{path} install #{gem_name} --no-ri --no-rdoc" }
|
33
33
|
end
|
34
34
|
|
35
|
-
desc "Uninstall a gem from
|
35
|
+
desc "Uninstall a gem from app servers"
|
36
36
|
task :uninstall, :roles => :app do
|
37
37
|
puts "Enter the name of the gem you'd like to remove:"
|
38
38
|
gem_name = $stdin.gets.chomp
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cap-recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Esquenazi
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06
|
12
|
+
date: 2009-10-06 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements: []
|
93
93
|
|
94
94
|
rubyforge_project:
|
95
|
-
rubygems_version: 1.3.
|
95
|
+
rubygems_version: 1.3.5
|
96
96
|
signing_key:
|
97
97
|
specification_version: 3
|
98
98
|
summary: Battle-tested capistrano recipes for passenger, delayed_job, and more
|