Sha256: d71eb61597b2086e9c0525287a4c54d78222eef354e98ff883b4b0349005c77c

Contents?: true

Size: 185 Bytes

Versions: 13

Compression:

Stored size: 185 Bytes

Contents

def make_global_config(content)
  path =  Upstart::Exporter::Options::Global::CONF
  dir = File.dirname(path)
  FileUtils.mkdir_p(dir)
  File.open(path, 'w'){|f| f.write(content) }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
upstart-exporter-2.1.5 spec/support/global_config.rb
upstart-exporter-2.1.4 spec/support/global_config.rb
upstart-exporter-2.1.3 spec/support/global_config.rb
upstart-exporter-2.1.2 spec/support/global_config.rb
upstart-exporter-2.1.1 spec/support/global_config.rb
upstart-exporter-2.0.1 spec/support/global_config.rb
upstart-exporter-1.0.1 spec/support/global_config.rb
upstart-exporter-1.0.0 spec/support/global_config.rb
upstart-exporter-0.1.4 spec/support/global_config.rb
upstart-exporter-0.1.3 spec/support/global_config.rb
upstart-exporter-0.1.2 spec/support/global_config.rb
upstart-exporter-0.1.1 spec/support/global_config.rb
upstart-exporter-0.1.0 spec/support/global_config.rb