barista 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/barista.gemspec +2 -2
- data/lib/barista/compiler.rb +4 -0
- data/lib/barista/compilers/node.rb +1 -1
- data/lib/barista/version.rb +1 -1
- metadata +4 -4
data/barista.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{barista}
|
8
|
-
s.version = "0.6.
|
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-
|
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 = [
|
data/lib/barista/compiler.rb
CHANGED
@@ -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
|
data/lib/barista/version.rb
CHANGED
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:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
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-
|
18
|
+
date: 2010-11-22 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|