radiant-sheets-extension 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/lib/coffee_filter.rb CHANGED
@@ -1,6 +1,11 @@
1
- require 'coffee_script'
2
- class CoffeeFilter < TextFilter
3
- def filter(text)
4
- CoffeeScript.compile text
1
+ begin
2
+ require 'coffee_script'
3
+ class CoffeeFilter < TextFilter
4
+ def filter(text)
5
+ CoffeeScript.compile text
6
+ end
5
7
  end
8
+ rescue ExecJS::RuntimeUnavailable
9
+ Rails.logger.warn "There is no support for CoffeeScript"
10
+ class CoffeeFilter;end
6
11
  end
@@ -1,3 +1,3 @@
1
1
  module RadiantSheetsExtension
2
- VERSION = '1.0.7'
2
+ VERSION = '1.0.8'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-sheets-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 7
10
- version: 1.0.7
9
+ - 8
10
+ version: 1.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Radiant CMS Dev Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-10 00:00:00 Z
18
+ date: 2012-02-26 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: sass