capistrano-git-plugins 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.12
1
+ 0.0.13
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = "capistrano-git-plugins"
8
- s.version = "0.0.12"
7
+ s.name = %q{capistrano-git-plugins}
8
+ s.version = "0.0.13"
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 = "2012-02-16"
13
- s.description = "Plugins to support capistrano-git deployments"
14
- s.email = "ryan.moran@gmail.com"
12
+ s.date = %q{2012-02-16}
13
+ s.description = %q{Plugins to support capistrano-git deployments}
14
+ s.email = %q{ryan.moran@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -40,11 +40,11 @@ Gem::Specification.new do |s|
40
40
  "test/helper.rb",
41
41
  "test/test_capistrano-git-plugins.rb"
42
42
  ]
43
- s.homepage = "https://github.com/RevolutionPrep/capistrano-git-plugins"
43
+ s.homepage = %q{https://github.com/RevolutionPrep/capistrano-git-plugins}
44
44
  s.licenses = ["MIT"]
45
45
  s.require_paths = ["lib"]
46
- s.rubygems_version = "1.8.10"
47
- s.summary = "Plugins to support capistrano-git deployments"
46
+ s.rubygems_version = %q{1.4.2}
47
+ s.summary = %q{Plugins to support capistrano-git deployments}
48
48
 
49
49
  if s.respond_to? :specification_version then
50
50
  s.specification_version = 3
@@ -8,11 +8,11 @@ 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 = "cd #{deploy_to}; #{executable}" if executable.include?('bundle exec')
11
+ executable = "cd #{deploy_to} && #{executable}" if executable.include?('bundle exec')
12
12
  notify_command = "#{executable} hoptoad:deploy TO=#{rails_env} REPO=#{repository} USER=#{local_user}"
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"
15
- `#{notify_command}`
15
+ run "#{notify_command}"
16
16
  puts 'Hoptoad Notification Complete.'
17
17
  end
18
18
  end
@@ -4,8 +4,10 @@ Capistrano::Configuration.instance(:must_exist).load do
4
4
  namespace :resque_workers do
5
5
  desc 'restart resque workers'
6
6
  task :restart, :roles=> :god do
7
- puts "\n\n### RESTART RESQUE WORKERS!: Telling god to restart our resque workers.\n\n"
8
- run "sudo #{ruby_bin_dir}/ruby #{ruby_bin_dir}/god restart #{application}-resque; exit 0"
7
+ puts "\n\n### STOP RESQUE WORKERS!: Telling god to stop our resque workers.\n\n"
8
+ run "sudo #{ruby_bin_dir}/ruby #{ruby_bin_dir}/god stop #{application}-resque; exit 0"
9
+ puts "\n\n### START RESQUE WORKERS!: Telling god to start our resque workers.\n\n"
10
+ run "sudo #{ruby_bin_dir}/ruby #{ruby_bin_dir}/god start #{application}-resque; exit 0"
9
11
  end
10
12
  end
11
13
  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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 12
10
- version: 0.0.12
9
+ - 13
10
+ version: 0.0.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Moran
@@ -15,9 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-16 00:00:00 Z
18
+ date: 2012-02-16 00:00:00 -08:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
22
+ type: :development
21
23
  version_requirements: &id001 !ruby/object:Gem::Requirement
22
24
  none: false
23
25
  requirements:
@@ -29,10 +31,9 @@ dependencies:
29
31
  - 6
30
32
  - 4
31
33
  version: 1.6.4
32
- name: jeweler
33
- prerelease: false
34
- type: :development
35
34
  requirement: *id001
35
+ prerelease: false
36
+ name: jeweler
36
37
  description: Plugins to support capistrano-git deployments
37
38
  email: ryan.moran@gmail.com
38
39
  executables: []
@@ -65,6 +66,7 @@ files:
65
66
  - lib/capistrano/git/plugins/new_relic.rb
66
67
  - test/helper.rb
67
68
  - test/test_capistrano-git-plugins.rb
69
+ has_rdoc: true
68
70
  homepage: https://github.com/RevolutionPrep/capistrano-git-plugins
69
71
  licenses:
70
72
  - MIT
@@ -94,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
96
  requirements: []
95
97
 
96
98
  rubyforge_project:
97
- rubygems_version: 1.8.10
99
+ rubygems_version: 1.4.2
98
100
  signing_key:
99
101
  specification_version: 3
100
102
  summary: Plugins to support capistrano-git deployments