minimal 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,7 @@ class Minimal::Template
30
30
  def <<(output)
31
31
  view.output_buffer << output
32
32
  end
33
+ alias :output :<<
33
34
 
34
35
  def respond_to?(method)
35
36
  view.respond_to?(method) || locals.key?(method) || view.instance_variable_defined?("@#{method}")
@@ -2,9 +2,13 @@ require 'tidy_ffi'
2
2
 
3
3
  module Minimal::Template::BeautifyHtml
4
4
  OPTIONS = {
5
- :indent => 'yes',
6
- :indent_spaces => '2',
7
- :wrap => '0'
5
+ :indent => 'yes',
6
+ :indent_spaces => '2',
7
+ :wrap => '0',
8
+ :tidy_mark => false,
9
+ :char_encoding => 'utf8',
10
+ :input_encoding => 'utf8',
11
+ :output_encoding => 'utf8'
8
12
  }
9
13
 
10
14
  class << self
@@ -1,3 +1,3 @@
1
1
  module Minimal
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimal
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-15 00:00:00 +02:00
18
+ date: 2010-08-22 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency