radiant-sheets-extension 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,6 +11,15 @@ unless defined? RADIANT_ROOT
11
11
  end
12
12
  end
13
13
 
14
+ unless defined? RAILS_ROOT
15
+ case
16
+ when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
17
+ RAILS_ROOT = "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../")}"
18
+ else
19
+ RAILS_ROOT = "#{File.expand_path(File.dirname(__FILE__) + "/../../../")}"
20
+ end
21
+ end
22
+
14
23
  require 'rake'
15
24
  require 'rake/rdoctask'
16
25
  require 'rake/testtask'
data/lib/coffee_filter.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'coffee_script'
1
2
  class CoffeeFilter < TextFilter
2
3
  def filter(text)
3
4
  CoffeeScript.compile text
@@ -1,3 +1,3 @@
1
1
  module RadiantSheetsExtension
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
data/sheets_extension.rb CHANGED
@@ -1,10 +1,6 @@
1
1
  # Uncomment this if you reference any of your controllers in activate
2
2
  require_dependency 'application_controller'
3
- begin
4
- require 'compass'
5
- rescue
6
- # Running on edge, compass already exists
7
- end
3
+ require 'compass'
8
4
  require 'radiant-sheets-extension/version'
9
5
 
10
6
  class SheetsExtension < Radiant::Extension
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
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: 2011-09-15 00:00:00 Z
18
+ date: 2011-10-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: sass
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  requirements: []
141
141
 
142
142
  rubyforge_project:
143
- rubygems_version: 1.8.8
143
+ rubygems_version: 1.8.10
144
144
  signing_key:
145
145
  specification_version: 3
146
146
  summary: Sheets for Radiant CMS