capistrano-supervisord 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,8 @@ module Capistrano
25
25
  _cset(:supervisord_configure_path, '/')
26
26
  _cset(:supervisord_configure_source_path, File.join(File.dirname(__FILE__), 'templates', 'supervisord'))
27
27
  _cset(:supervisord_configure_files, [])
28
+ _cset(:supervisord_configure_file_prefix, '')
29
+ _cset(:supervisord_configure_file_suffix, '')
28
30
  _cset(:supervisord_configure_cleanup_files, [])
29
31
 
30
32
  _cset(:supervisord_install_method, :apt)
@@ -49,7 +51,7 @@ module Capistrano
49
51
  }
50
52
  supervisord_configure_files.each { |file|
51
53
  src_file = File.join(supervisord_configure_source_path, file)
52
- dst_file = File.join(supervisord_configure_path, file)
54
+ dst_file = File.join(supervisord_configure_path, supervisord_configure_file_prefix + file + supervisord_configure_file_suffix)
53
55
  tmp_file = File.join('/tmp', File.basename(file))
54
56
  if File.file?(src_file)
55
57
  put(File.read(src_file), tmp_file)
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Supervisord
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-supervisord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-08-29 00:00:00.000000000 Z
12
+ date: 2013-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -68,4 +68,3 @@ signing_key:
68
68
  specification_version: 3
69
69
  summary: a capistrano recipe to deploy supervisord based services.
70
70
  test_files: []
71
- has_rdoc: