minimal 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,8 @@ class Minimal::Template
5
5
  autoload :TranslatedTags, 'minimal/template/translated_tags'
6
6
 
7
7
  AUTO_BUFFER = %r(render|tag|error_message_|select|debug|_to|[^l]_for)
8
- TAG_NAMES = %w(a body div em fieldset h1 h2 h3 h4 h5 h6 head html img input label li link
9
- ol option p pre script select span strong table thead tbody tfoot td title th tr ul)
8
+ TAG_NAMES = %w(abbr a body div em fieldset h1 h2 h3 h4 h5 h6 head html img input label li
9
+ link ol option p pre script select span strong table thead tbody tfoot td title th tr ul)
10
10
  SKIP_IVARS = [:controller]
11
11
 
12
12
  module Base
@@ -25,11 +25,12 @@ class Minimal::Template
25
25
 
26
26
  TAG_NAMES.each do |name|
27
27
  define_method(name) { |*args, &block| content_tag(name, *args, &block) }
28
- define_method("#{name}_for") { |*args, &block| content_tag_for(name, *args, &block) }
28
+ # define_method("#{name}_for") { |*args, &block| content_tag_for(name, *args, &block) }
29
29
  end
30
30
 
31
31
  def <<(output)
32
32
  view.output_buffer << output
33
+ view.output_buffer << "\n".html_safe
33
34
  end
34
35
  alias :output :<<
35
36
 
@@ -1,3 +1,3 @@
1
1
  module Minimal
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
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: 1
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 15
10
- version: 0.0.15
9
+ - 16
10
+ version: 0.0.16
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-09-04 00:00:00 +02:00
18
+ date: 2010-09-12 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency