staticmatic 0.11.0.alpha.3 → 0.11.0.alpha.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  :major: 0
3
3
  :minor: 11
4
4
  :patch: 0
5
- :build: alpha.3
5
+ :build: alpha.4
@@ -53,7 +53,8 @@ module StaticMatic
53
53
 
54
54
  # TODO: DRY this _exists? section up
55
55
  def template_exists?(name, dir = '')
56
- File.exists?(File.join(@src_dir, 'pages', dir, "#{name}.haml")) || File.exists?(File.join(@src_dir, 'stylesheets', "#{name}.sass"))
56
+
57
+ File.exists?(File.join(@src_dir, 'pages', dir, "#{name}.haml")) || File.exists?(File.join(@src_dir, 'stylesheets', "#{name}.sass")) || File.exists?(File.join(@src_dir, 'stylesheets', "#{name}.scss"))
57
58
  end
58
59
 
59
60
  def layout_exists?(name)
@@ -79,7 +79,7 @@ module StaticMatic::RenderMixin
79
79
 
80
80
  begin
81
81
  sass_options = { :load_paths => [ File.join(@src_dir, 'stylesheets') ] }.merge(self.configuration.sass_options)
82
-
82
+
83
83
  if File.extname(full_file_path) == ".scss"
84
84
  sass_options[:syntax] = :scss
85
85
  end
metadata CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
7
7
  - 11
8
8
  - 0
9
9
  - alpha
10
- - 3
11
- version: 0.11.0.alpha.3
10
+ - 4
11
+ version: 0.11.0.alpha.4
12
12
  platform: ruby
13
13
  authors:
14
14
  - Stephen Bartholomew