capistrano-git-plugins 0.0.1 → 0.0.2
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/VERSION +1 -1
- data/capistrano-git-plugins.gemspec +2 -2
- data/lib/capistrano/git/plugins/bundler.rb +3 -1
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{capistrano-git-plugins}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = [%q{Ryan Moran}]
|
|
12
|
-
s.date = %q{2011-11-
|
|
12
|
+
s.date = %q{2011-11-30}
|
|
13
13
|
s.description = %q{Plugins to support capistrano-git deployments}
|
|
14
14
|
s.email = %q{ryan.moran@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -15,7 +15,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
15
15
|
task :rebuild, :except => { :no_release => true } do
|
|
16
16
|
puts "\n\n### REBUILDING BUNDLE!: Wiping the existing bundle and rebuilding from scratch...\n\n"
|
|
17
17
|
run "sudo rm -rf #{deploy_to}/vendor/bundle"
|
|
18
|
-
|
|
18
|
+
args = ["--deployment"]
|
|
19
|
+
args << "--without #{bundle_without.join(" ")}" unless bundle_without.empty?
|
|
20
|
+
run "cd #{deploy_to} && sudo -u #{sudo_user} #{ruby_bin_dir}/bundle install #{args.join(' ')}"
|
|
19
21
|
end
|
|
20
22
|
end
|
|
21
23
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-git-plugins
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ryan Moran
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-11-
|
|
18
|
+
date: 2011-11-30 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|