capistrano-helpers 0.6.2 → 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/Rakefile +1 -1
- data/VERSION +1 -1
- data/capistrano-helpers.gemspec +32 -38
- data/lib/capistrano-helpers/bundler.rb +2 -2
- data/lib/capistrano-helpers/skylinecms.rb +2 -2
- metadata +22 -12
- data/.gitignore +0 -5
data/Rakefile
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.5
|
data/capistrano-helpers.gemspec
CHANGED
|
@@ -1,74 +1,68 @@
|
|
|
1
1
|
# Generated by jeweler
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{capistrano-helpers}
|
|
8
|
-
s.version = "0.6.
|
|
8
|
+
s.version = "0.6.5"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Scott Woods"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2011-05-23}
|
|
13
13
|
s.description = %q{A set of optional extensions to capistrano to make common tasks easier.}
|
|
14
14
|
s.email = %q{scott@westarete.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
16
|
"LICENSE",
|
|
17
|
-
|
|
17
|
+
"README.rdoc"
|
|
18
18
|
]
|
|
19
19
|
s.files = [
|
|
20
20
|
".document",
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"test/test_helper.rb"
|
|
21
|
+
"CHANGELOG.markdown",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"README.rdoc",
|
|
24
|
+
"Rakefile",
|
|
25
|
+
"VERSION",
|
|
26
|
+
"capistrano-helpers.gemspec",
|
|
27
|
+
"lib/capistrano-helpers.rb",
|
|
28
|
+
"lib/capistrano-helpers/branch.rb",
|
|
29
|
+
"lib/capistrano-helpers/bundler.rb",
|
|
30
|
+
"lib/capistrano-helpers/campfire.rb",
|
|
31
|
+
"lib/capistrano-helpers/features.rb",
|
|
32
|
+
"lib/capistrano-helpers/gems.rb",
|
|
33
|
+
"lib/capistrano-helpers/git.rb",
|
|
34
|
+
"lib/capistrano-helpers/migrations.rb",
|
|
35
|
+
"lib/capistrano-helpers/passenger.rb",
|
|
36
|
+
"lib/capistrano-helpers/php.rb",
|
|
37
|
+
"lib/capistrano-helpers/preflight.rb",
|
|
38
|
+
"lib/capistrano-helpers/privates.rb",
|
|
39
|
+
"lib/capistrano-helpers/shared.rb",
|
|
40
|
+
"lib/capistrano-helpers/skylinecms.rb",
|
|
41
|
+
"lib/capistrano-helpers/specs.rb",
|
|
42
|
+
"lib/capistrano-helpers/version.rb",
|
|
43
|
+
"test/test_helper.rb"
|
|
45
44
|
]
|
|
46
45
|
s.homepage = %q{http://github.com/westarete/capistrano-helpers}
|
|
47
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
|
48
46
|
s.require_paths = ["lib"]
|
|
49
|
-
s.rubygems_version = %q{1.
|
|
47
|
+
s.rubygems_version = %q{1.6.2}
|
|
50
48
|
s.summary = %q{A set of optional extensions to capistrano to make common tasks easier.}
|
|
51
|
-
s.test_files = [
|
|
52
|
-
"test/test_helper.rb"
|
|
53
|
-
]
|
|
54
49
|
|
|
55
50
|
if s.respond_to? :specification_version then
|
|
56
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
57
51
|
s.specification_version = 3
|
|
58
52
|
|
|
59
|
-
if Gem::Version.new(Gem::
|
|
53
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
60
54
|
s.add_runtime_dependency(%q<capistrano>, ["~> 2.5.19"])
|
|
61
55
|
s.add_runtime_dependency(%q<git>, ["= 1.2.5"])
|
|
62
|
-
s.add_runtime_dependency(%q<tinder>, ["= 1.4.
|
|
56
|
+
s.add_runtime_dependency(%q<tinder>, ["= 1.4.1"])
|
|
63
57
|
else
|
|
64
58
|
s.add_dependency(%q<capistrano>, ["~> 2.5.19"])
|
|
65
59
|
s.add_dependency(%q<git>, ["= 1.2.5"])
|
|
66
|
-
s.add_dependency(%q<tinder>, ["= 1.4.
|
|
60
|
+
s.add_dependency(%q<tinder>, ["= 1.4.1"])
|
|
67
61
|
end
|
|
68
62
|
else
|
|
69
63
|
s.add_dependency(%q<capistrano>, ["~> 2.5.19"])
|
|
70
64
|
s.add_dependency(%q<git>, ["= 1.2.5"])
|
|
71
|
-
s.add_dependency(%q<tinder>, ["= 1.4.
|
|
65
|
+
s.add_dependency(%q<tinder>, ["= 1.4.1"])
|
|
72
66
|
end
|
|
73
67
|
end
|
|
74
68
|
|
|
@@ -6,10 +6,10 @@ CapistranoHelpers.with_configuration do
|
|
|
6
6
|
desc "Install gems on the remote server using Bundler."
|
|
7
7
|
task :bundler do
|
|
8
8
|
run "sudo chown -Rh `whoami` #{shared_path}/vendor/bundler"
|
|
9
|
-
run "cd #{
|
|
9
|
+
run "cd #{current_path} && bundle install --deployment --local --path #{shared_path}/vendor/bundler --without development test"
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
after "deploy:symlink_shared", "deploy:bundler"
|
|
14
14
|
|
|
15
|
-
end
|
|
15
|
+
end
|
|
@@ -22,7 +22,7 @@ CapistranoHelpers.with_configuration do
|
|
|
22
22
|
"#{release_path}/tmp/cache/rss_sections/cache"
|
|
23
23
|
]
|
|
24
24
|
cache_paths.each do |cache_path|
|
|
25
|
-
run "if [ ! -d #{cache_path} ] ; then mkdir -p #{cache_path}
|
|
25
|
+
run "if [ ! -d #{cache_path} ] ; then mkdir -p #{cache_path}; fi ; sudo chown passenger #{cache_path}"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
@@ -31,7 +31,7 @@ CapistranoHelpers.with_configuration do
|
|
|
31
31
|
shared_upload_path = "#{shared_path}/tmp/upload"
|
|
32
32
|
release_upload_path = "#{release_path}/tmp/upload"
|
|
33
33
|
# Ensure that the shared directory exists
|
|
34
|
-
run "if [ ! -d #{shared_upload_path} ] ; then mkdir -p #{shared_upload_path}
|
|
34
|
+
run "if [ ! -d #{shared_upload_path} ] ; then mkdir -p #{shared_upload_path} ; fi ; sudo chown passenger #{shared_upload_path}"
|
|
35
35
|
# Delete the upload directory that came with the source
|
|
36
36
|
run "rm -rf #{release_upload_path}"
|
|
37
37
|
# Symlink the release directory to the shared directory
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease:
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 6
|
|
8
|
-
-
|
|
9
|
-
version: 0.6.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.6.5
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Scott Woods
|
|
@@ -14,16 +15,18 @@ autorequire:
|
|
|
14
15
|
bindir: bin
|
|
15
16
|
cert_chain: []
|
|
16
17
|
|
|
17
|
-
date:
|
|
18
|
+
date: 2011-05-23 00:00:00 -04:00
|
|
18
19
|
default_executable:
|
|
19
20
|
dependencies:
|
|
20
21
|
- !ruby/object:Gem::Dependency
|
|
21
22
|
name: capistrano
|
|
22
23
|
prerelease: false
|
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
24
26
|
requirements:
|
|
25
27
|
- - ~>
|
|
26
28
|
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 61
|
|
27
30
|
segments:
|
|
28
31
|
- 2
|
|
29
32
|
- 5
|
|
@@ -35,9 +38,11 @@ dependencies:
|
|
|
35
38
|
name: git
|
|
36
39
|
prerelease: false
|
|
37
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
38
42
|
requirements:
|
|
39
43
|
- - "="
|
|
40
44
|
- !ruby/object:Gem::Version
|
|
45
|
+
hash: 21
|
|
41
46
|
segments:
|
|
42
47
|
- 1
|
|
43
48
|
- 2
|
|
@@ -49,14 +54,16 @@ dependencies:
|
|
|
49
54
|
name: tinder
|
|
50
55
|
prerelease: false
|
|
51
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
52
58
|
requirements:
|
|
53
59
|
- - "="
|
|
54
60
|
- !ruby/object:Gem::Version
|
|
61
|
+
hash: 5
|
|
55
62
|
segments:
|
|
56
63
|
- 1
|
|
57
64
|
- 4
|
|
58
|
-
-
|
|
59
|
-
version: 1.4.
|
|
65
|
+
- 1
|
|
66
|
+
version: 1.4.1
|
|
60
67
|
type: :runtime
|
|
61
68
|
version_requirements: *id003
|
|
62
69
|
description: A set of optional extensions to capistrano to make common tasks easier.
|
|
@@ -70,7 +77,6 @@ extra_rdoc_files:
|
|
|
70
77
|
- README.rdoc
|
|
71
78
|
files:
|
|
72
79
|
- .document
|
|
73
|
-
- .gitignore
|
|
74
80
|
- CHANGELOG.markdown
|
|
75
81
|
- LICENSE
|
|
76
82
|
- README.rdoc
|
|
@@ -99,30 +105,34 @@ homepage: http://github.com/westarete/capistrano-helpers
|
|
|
99
105
|
licenses: []
|
|
100
106
|
|
|
101
107
|
post_install_message:
|
|
102
|
-
rdoc_options:
|
|
103
|
-
|
|
108
|
+
rdoc_options: []
|
|
109
|
+
|
|
104
110
|
require_paths:
|
|
105
111
|
- lib
|
|
106
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
|
+
none: false
|
|
107
114
|
requirements:
|
|
108
115
|
- - ">="
|
|
109
116
|
- !ruby/object:Gem::Version
|
|
117
|
+
hash: 3
|
|
110
118
|
segments:
|
|
111
119
|
- 0
|
|
112
120
|
version: "0"
|
|
113
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
|
+
none: false
|
|
114
123
|
requirements:
|
|
115
124
|
- - ">="
|
|
116
125
|
- !ruby/object:Gem::Version
|
|
126
|
+
hash: 3
|
|
117
127
|
segments:
|
|
118
128
|
- 0
|
|
119
129
|
version: "0"
|
|
120
130
|
requirements: []
|
|
121
131
|
|
|
122
132
|
rubyforge_project:
|
|
123
|
-
rubygems_version: 1.
|
|
133
|
+
rubygems_version: 1.6.2
|
|
124
134
|
signing_key:
|
|
125
135
|
specification_version: 3
|
|
126
136
|
summary: A set of optional extensions to capistrano to make common tasks easier.
|
|
127
|
-
test_files:
|
|
128
|
-
|
|
137
|
+
test_files: []
|
|
138
|
+
|