osp-deploy 1.1.0 → 1.1.1

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.
@@ -313,18 +313,18 @@ EOS
313
313
  puma_config = []
314
314
  end
315
315
  # always set rails environment
316
- puma_options[:environment] = @deployment_config['environment']
316
+ puma_options[:environment] = "'#{@deployment_config['environment']}'"
317
317
  puma_options.each do |name, value|
318
318
  ix = puma_config.index{|l| l =~ /^#{name}\s+/}
319
- cfg_line = "#{name} '#{value}'"
319
+ cfg_line = "#{name} #{value}"
320
320
  if ix
321
321
  puma_config[ix] = cfg_line
322
322
  else
323
323
  puma_config << cfg_line
324
324
  end
325
325
  end
326
- conf_file = Tempfile.new(['osp-deploy-puma', '.rb'])
327
326
  conf_content = puma_config.join("\n")
327
+ conf_file = Tempfile.new(['osp-deploy-puma', '.rb'])
328
328
  conf_file.write conf_content
329
329
  conf_file.close
330
330
  deployment_file = "#{file_dir}/config/puma.rb"
@@ -1,3 +1,3 @@
1
1
  module OspDeploy
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osp-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: