barista 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/barista.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{barista}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darcy Laycock"]
data/lib/barista.rb CHANGED
@@ -38,6 +38,7 @@ module Barista
38
38
  destination_path = file.gsub(/\.(coffee|js)\Z/, '').gsub(root.to_s, output_root.to_s) + ".js"
39
39
  return unless force || should_compile_file?(file, destination_path)
40
40
  Rails.logger.debug "[Barista] Compiling #{file} to #{destination_path}"
41
+ FileUtils.mkdir_p File.dirname(destination_path)
41
42
  File.open(destination_path, "w+") do |f|
42
43
  f.write Compiler.compile(File.read(file))
43
44
  end
@@ -2,7 +2,7 @@ module Barista
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 3
5
+ PATCH = 4
6
6
  STRING = [MAJOR, MINOR, PATCH].join(".")
7
7
  end
8
8
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Darcy Laycock