spohlenz-sassic 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/sassic/page.rb +2 -2
  2. data/sassic.gemspec +2 -2
  3. metadata +2 -2
data/lib/sassic/page.rb CHANGED
@@ -2,10 +2,10 @@ require 'erb'
2
2
 
3
3
  class Sassic::Page
4
4
  def initialize(template)
5
- @template = template
5
+ @template = template.sub(/\.html$/, '')
6
6
 
7
7
  if exists?
8
- @template_content = File.read(template_path(template))
8
+ @template_content = File.read(template_path(@template))
9
9
  @layout_content = File.read(layout_path)
10
10
 
11
11
  # Preparse template content
data/sassic.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sassic"
3
- s.version = "0.2.1"
4
- s.date = "2008-09-17"
3
+ s.version = "0.2.2"
4
+ s.date = "2008-11-13"
5
5
 
6
6
  s.authors = [ "Sam Pohlenz" ]
7
7
  s.email = "sam@sampohlenz.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spohlenz-sassic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pohlenz
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-17 00:00:00 -07:00
12
+ date: 2008-11-13 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency