barista 1.2.0 → 1.2.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.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{barista}
8
- s.version = "1.2.0"
8
+ s.version = "1.2.1"
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"]
@@ -133,10 +133,10 @@ module Barista
133
133
  Barista.invoke_hook :compiled, where
134
134
  end
135
135
  out
136
- rescue CoffeeScript::Error => e
136
+ rescue ExecJS::Error => e
137
137
  Barista.invoke_hook :compilation_failed, where, e.message
138
138
  if Barista.exception_on_error? && !@options[:silence]
139
- if e.is_a?(CoffeeScript::CompilationError)
139
+ if e.is_a?(ExecJS::ProgramError)
140
140
  where_within_app = where.sub(/#{Regexp.escape(Barista.app_root.to_s)}\/?/, '')
141
141
  raise CompilationError, "Error: In #{where_within_app}, #{e.message}"
142
142
  else
@@ -2,7 +2,7 @@ module Barista
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
- PATCH = 0
5
+ PATCH = 1
6
6
  STRING = [MAJOR, MINOR, PATCH].join(".")
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barista
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Darcy Laycock