barista 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{barista}
8
- s.version = "0.6.0"
8
+ s.version = "0.6.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"]
12
- s.date = %q{2010-11-15}
12
+ s.date = %q{2010-11-22}
13
13
  s.description = %q{Automatically compiles app/coffeescripts/*.coffee to javascript for rails awesomesauce.}
14
14
  s.email = %q{sutto@sutto.net}
15
15
  s.extra_rdoc_files = [
@@ -47,5 +47,9 @@ module Barista
47
47
  def self.compile(path, options = {})
48
48
  compiler_klass.new(path, options).to_js
49
49
  end
50
+
51
+ def self.dirty?(from, to)
52
+ compiler_klass.dirty?(from, to)
53
+ end
50
54
  end
51
55
  end
@@ -5,7 +5,7 @@ module Barista
5
5
  class Node < Base
6
6
 
7
7
  def self.available?
8
- @node_coffee_available ||= system("test -x '#{Compiler.bin_path}' >/dev/null 2>&1")
8
+ @node_coffee_available ||= system("{ test -x '#{Compiler.bin_path}' || command -v '#{Compiler.bin_path}'; } >/dev/null 2>&1")
9
9
  end
10
10
 
11
11
  protected
@@ -2,7 +2,7 @@ module Barista
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 6
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: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Darcy Laycock
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-15 00:00:00 +08:00
18
+ date: 2010-11-22 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency