capistrano-git-plugins 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/capistrano-git-plugins.gemspec +2 -2
- data/lib/capistrano/git/plugins/hoptoad.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.16
|
@@ -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.16"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ryan Moran"]
|
12
|
-
s.date = %q{2012-02-
|
12
|
+
s.date = %q{2012-02-17}
|
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 = [
|
@@ -8,7 +8,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
8
8
|
rails_env = fetch(:hoptoad_env, fetch(:rails_env, 'production'))
|
9
9
|
local_user = ENV['USER'] || ENV['USERNAME']
|
10
10
|
executable = fetch(:rake, (RUBY_PLATFORM.downcase.include?('mswin') ? 'rake.bat' : 'rake'))
|
11
|
-
executable = "
|
11
|
+
executable = "sudo #{executable}" if executable.include?('bundle exec')
|
12
12
|
notify_command = "#{executable} hoptoad:deploy TO=#{rails_env} REPO=#{repository} USER=#{local_user} RAILS_ENV=production"
|
13
13
|
notify_command << " API_KEY=#{ENV['API_KEY']}" if ENV['API_KEY']
|
14
14
|
puts "\n\n### NOTIFY HOPTOAD: Notifying Hoptoad of Deploy (#{notify_command})\n\n"
|
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: 63
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 16
|
10
|
+
version: 0.0.16
|
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: 2012-02-
|
18
|
+
date: 2012-02-17 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|