gap 0.0.19 → 0.0.20

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.
Files changed (4) hide show
  1. data/lib/gap/tasks.rb +1 -1
  2. data/lib/gap/tmpl.erb +1 -1
  3. data/lib/gap.rb +1 -1
  4. metadata +2 -2
data/lib/gap/tasks.rb CHANGED
@@ -67,7 +67,7 @@ module Gap
67
67
  task(:config) do
68
68
  god_config_path = File.join( deploy_to, "config/god_#{application}_#{attr}.rb")
69
69
  tmpl_path = File.expand_path 'tmpl.erb', File.dirname(__FILE__)
70
- god_config = Gap::GodErb.new(tmpl_path,application, attr, v)
70
+ god_config = Gap::GodErb.new(tmpl_path,application, attr, v.merge({"pid_file" => pid_file}))
71
71
  upload( god_config.render, god_config_path, :via => :scp)
72
72
  sudo "rvm-shell '#{rvm_god_string}' -c 'god load #{god_config_path}'"
73
73
  end
data/lib/gap/tmpl.erb CHANGED
@@ -6,7 +6,7 @@ God.watch do |w|
6
6
  w.stop = "<%= "#{@commands["stop"]}"%>"
7
7
  w.restart = "<%= "#{@commands["restart"]}"%>"
8
8
  <% if @commands["pid_file"] %>
9
- w.pid_file = "<%= "#{@commands["pid_file"]}" %>"
9
+ w.pid_file = "<%= "#{@commands["pid_file"]}" %>"
10
10
  <% end %>
11
11
 
12
12
  # clean pid files before start if necessary
data/lib/gap.rb CHANGED
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module Gap
5
- VERSION = '0.0.19'
5
+ VERSION = '0.0.20'
6
6
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gap
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.19
5
+ version: 0.0.20
6
6
  platform: ruby
7
7
  authors:
8
8
  - Takashi Yaguchi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-02-03 00:00:00 Z
13
+ date: 2012-02-07 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdoc