ymdp 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.4.1
@@ -338,7 +338,7 @@ module YMDP
338
338
  @file.gsub!(/\.coffee$/, "")
339
339
  filename = @file.split("/").last
340
340
  tmp_filename = "#{TMP_PATH}/#{filename}"
341
-
341
+
342
342
  # result = process_coffee(process_erb(result))
343
343
  result = process_coffee(result)
344
344
 
@@ -311,8 +311,9 @@ module YMDP
311
311
  output << "</script>" if tags
312
312
  end
313
313
  end
314
- output
315
314
 
315
+ output = output.join("\n")
316
+
316
317
  if configuration.external_assets["javascripts"] && params[:tags]
317
318
  write_javascript_asset(output, filename)
318
319
 
@@ -326,7 +327,7 @@ module YMDP
326
327
  path = "#{server_path}/assets/javascripts/#{filename}.js"
327
328
 
328
329
  $stdout.puts "Writing #{path}"
329
-
330
+
330
331
  File.open(path, "w") do |f|
331
332
  f.write(output)
332
333
  end
data/ymdp.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ymdp"
8
- s.version = "1.4.0"
8
+ s.version = "1.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Isaac Priestley"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ymdp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 0
10
- version: 1.4.0
9
+ - 1
10
+ version: 1.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Isaac Priestley