uhl-cap-recipes 0.1.4 → 0.1.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/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 4
4
+ :patch: 5
5
5
  :build:
@@ -43,6 +43,7 @@ Capistrano::Configuration.instance(true).load do |configuration|
43
43
  set :local_git_dir do
44
44
  "/app/tmp/localgit_#{application}"
45
45
  end
46
+
46
47
  set :local_gitrepo do
47
48
  "#{local_git_dir}/#{application}"
48
49
  end
@@ -67,10 +68,12 @@ Capistrano::Configuration.instance(true).load do |configuration|
67
68
  # sleep 60
68
69
  # end
69
70
  # puts "API Started successfully."
71
+ sudo "[ -e /etc/init.d/nrpe ] && /etc/init.d/nrpe start"
70
72
  end
71
73
 
72
74
  desc "stop service"
73
75
  task :stop do
76
+ sudo "[ -e /etc/init.d/nrpe ] && /etc/init.d/nrpe stop"
74
77
  sudo "/etc/init.d/#{service_name} stop"
75
78
  end
76
79
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "uhl-cap-recipes"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["crazycode"]
12
- s.date = "2012-05-29"
12
+ s.date = "2012-08-01"
13
13
  s.description = "capistrano recipes for my works"
14
14
  s.email = "crazycode@gmail.com"
15
15
  s.executables = ["cap-recipes"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uhl-cap-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-29 00:00:00.000000000 Z
12
+ date: 2012-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano