Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump 1.9 fix

  • Loading branch information...
commit 353ee842b078836b45dce1f4ee3cbbfbc0e7561c 1 parent fb702a6
Stephen Bartholomew authored
Showing with 6 additions and 8 deletions.
  1. +1 −1  lib/staticmatic/mixins/render.rb
  2. +5 −7 staticmatic.gemspec
2  lib/staticmatic/mixins/render.rb
View
@@ -16,7 +16,7 @@ def generate_html(source_file, source_dir = '')
begin
# clear all scope variables except @staticmatic
@scope.instance_variables.each do |var|
- @scope.instance_variable_set(var, nil) unless var == '@staticmatic' || :@staticmatic
+ @scope.instance_variable_set(var, nil) unless var == '@staticmatic' || var == :@staticmatic
end
html = generate_html_from_template_source(File.read(full_file_path))
12 staticmatic.gemspec
View
@@ -1,15 +1,15 @@
# Generated by jeweler
-# DO NOT EDIT THIS FILE
-# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{staticmatic}
- s.version = "0.10.7"
+ s.version = "0.10.8"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Stephen Bartholomew"]
- s.date = %q{2009-11-23}
+ s.date = %q{2010-03-20}
s.default_executable = %q{staticmatic}
s.description = %q{Lightweight Static Site Framework}
s.email = %q{steve@curve21.com}
@@ -48,10 +48,7 @@ Gem::Specification.new do |s|
"spec/rescue_spec.rb",
"spec/sandbox/test_site/configuration.rb",
"spec/sandbox/test_site/site/index",
- "spec/sandbox/test_site/site/index.html",
"spec/sandbox/test_site/site/layout_test",
- "spec/sandbox/test_site/site/page_with_error",
- "spec/sandbox/test_site/site/page_with_partial_error",
"spec/sandbox/test_site/site/stylesheets/application.css",
"spec/sandbox/test_site/site/sub_folder/another_sub_folder/index.html",
"spec/sandbox/test_site/site/sub_folder/another_sub_folder/index.html.html",
@@ -114,3 +111,4 @@ Gem::Specification.new do |s|
s.add_dependency(%q<mongrel>, [">= 1.1.5"])
end
end
+
Please sign in to comment.
Something went wrong with that request. Please try again.