lono 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/lono/dsl.rb +1 -1
  2. data/lib/lono/version.rb +1 -1
  3. metadata +3 -2
data/lib/lono/dsl.rb CHANGED
@@ -72,7 +72,7 @@ module Lono
72
72
  def user_data(path)
73
73
  path = "#{@options[:project_root]}/templates/user_data/#{path}"
74
74
  template = IO.read(path)
75
- ERB.new(template).result(binding).split("\n").to_json
75
+ ERB.new(template).result(binding).split("\n").collect {|l| "#{l}\n"}.to_json
76
76
  end
77
77
  end
78
78
  end
data/lib/lono/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
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-12-28 00:00:00.000000000 Z
12
+ date: 2013-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -250,3 +250,4 @@ test_files:
250
250
  - spec/project/templates/app.json.erb
251
251
  - spec/project/templates/user_data/app.sh.erb
252
252
  - spec/spec_helper.rb
253
+ has_rdoc: