curtain 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/curtain.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "curtain"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = "0.1.0"
15
+ gem.version = "0.1.1"
16
16
 
17
17
  gem.add_runtime_dependency "activesupport"
18
18
  gem.add_runtime_dependency "tilt"
@@ -1,5 +1,7 @@
1
1
  require 'erubis'
2
+ require 'curtain'
2
3
  require 'curtain/output_buffer'
4
+ require 'curtain/erubis_template'
3
5
 
4
6
  module Curtain
5
7
  class Erubis < ::Erubis::Eruby
@@ -1,5 +1,4 @@
1
1
  require 'tilt'
2
- require 'curtain/erubis'
3
2
 
4
3
  module Curtain
5
4
  class ErubisTemplate < Tilt::Template
@@ -1,5 +1,4 @@
1
1
  require 'tilt'
2
- require 'curtain/erubis_template'
3
2
 
4
3
  module Curtain
5
4
  module Rendering
@@ -1,3 +1,3 @@
1
1
  module Curtain
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/test/caching_test.rb CHANGED
@@ -1,6 +1,4 @@
1
- require 'test/unit'
2
- require 'slim'
3
- require 'curtain'
1
+ require 'test_helper'
4
2
 
5
3
  class CurtainTest < Test::Unit::TestCase
6
4
 
data/test/curtain_test.rb CHANGED
@@ -1,6 +1,4 @@
1
- require 'test/unit'
2
- require 'slim'
3
- require 'curtain'
1
+ require 'test_helper'
4
2
 
5
3
  class CurtainTest < Test::Unit::TestCase
6
4
 
@@ -1,6 +1,4 @@
1
- require 'test/unit'
2
- require 'slim'
3
- require 'curtain'
1
+ require 'test_helper'
4
2
 
5
3
  class HTMLHelpersTest < Test::Unit::TestCase
6
4
  include Curtain::BlockHelpers
@@ -0,0 +1,4 @@
1
+ require 'test/unit'
2
+ require 'slim'
3
+ require 'curtain'
4
+ require 'curtain/erubis'
@@ -1,6 +1,4 @@
1
- require 'test/unit'
2
- require 'slim'
3
- require 'curtain'
1
+ require 'test_helper'
4
2
 
5
3
  class UrlHelpersTest < Test::Unit::TestCase
6
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curtain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -127,6 +127,7 @@ files:
127
127
  - test/examples/subdir/index.erb
128
128
  - test/examples/test.erb
129
129
  - test/html_helpers_test.rb
130
+ - test/test_helper.rb
130
131
  - test/url_helpers_test.rb
131
132
  homepage: ''
132
133
  licenses: []
@@ -163,4 +164,5 @@ test_files:
163
164
  - test/examples/subdir/index.erb
164
165
  - test/examples/test.erb
165
166
  - test/html_helpers_test.rb
167
+ - test/test_helper.rb
166
168
  - test/url_helpers_test.rb