tennpipes-helper 3.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +239 -0
- data/Rakefile +1 -0
- data/lib/tennpipes-helper.rb +62 -0
- data/lib/tennpipes-helper/asset_tag_helpers.rb +394 -0
- data/lib/tennpipes-helper/form_builder/abstract_form_builder.rb +279 -0
- data/lib/tennpipes-helper/form_builder/standard_form_builder.rb +40 -0
- data/lib/tennpipes-helper/form_helpers.rb +639 -0
- data/lib/tennpipes-helper/form_helpers/errors.rb +138 -0
- data/lib/tennpipes-helper/form_helpers/options.rb +98 -0
- data/lib/tennpipes-helper/form_helpers/security.rb +70 -0
- data/lib/tennpipes-helper/format_helpers.rb +372 -0
- data/lib/tennpipes-helper/locale/cs.yml +103 -0
- data/lib/tennpipes-helper/locale/da.yml +91 -0
- data/lib/tennpipes-helper/locale/de.yml +81 -0
- data/lib/tennpipes-helper/locale/en.yml +103 -0
- data/lib/tennpipes-helper/locale/es.yml +103 -0
- data/lib/tennpipes-helper/locale/fr.yml +79 -0
- data/lib/tennpipes-helper/locale/hu.yml +103 -0
- data/lib/tennpipes-helper/locale/it.yml +89 -0
- data/lib/tennpipes-helper/locale/ja.yml +103 -0
- data/lib/tennpipes-helper/locale/lv.yml +103 -0
- data/lib/tennpipes-helper/locale/nl.yml +82 -0
- data/lib/tennpipes-helper/locale/no.yml +91 -0
- data/lib/tennpipes-helper/locale/pl.yml +95 -0
- data/lib/tennpipes-helper/locale/pt_br.yml +103 -0
- data/lib/tennpipes-helper/locale/ro.yml +103 -0
- data/lib/tennpipes-helper/locale/ru.yml +103 -0
- data/lib/tennpipes-helper/locale/sv.yml +103 -0
- data/lib/tennpipes-helper/locale/tr.yml +103 -0
- data/lib/tennpipes-helper/locale/uk.yml +103 -0
- data/lib/tennpipes-helper/locale/zh_cn.yml +103 -0
- data/lib/tennpipes-helper/locale/zh_tw.yml +103 -0
- data/lib/tennpipes-helper/number_helpers.rb +283 -0
- data/lib/tennpipes-helper/output_helpers.rb +226 -0
- data/lib/tennpipes-helper/output_helpers/abstract_handler.rb +61 -0
- data/lib/tennpipes-helper/output_helpers/erb_handler.rb +27 -0
- data/lib/tennpipes-helper/output_helpers/haml_handler.rb +25 -0
- data/lib/tennpipes-helper/output_helpers/slim_handler.rb +18 -0
- data/lib/tennpipes-helper/render_helpers.rb +63 -0
- data/lib/tennpipes-helper/tag_helpers.rb +294 -0
- data/lib/tennpipes-helper/translation_helpers.rb +36 -0
- data/lib/tennpipes/rendering.rb +369 -0
- data/lib/tennpipes/rendering/erb_template.rb +40 -0
- data/lib/tennpipes/rendering/erubis_template.rb +66 -0
- data/lib/tennpipes/rendering/haml_template.rb +26 -0
- data/lib/tennpipes/rendering/slim_template.rb +20 -0
- data/test/fixtures/apps/render.rb +25 -0
- data/test/fixtures/apps/views/article/comment/show.slim +1 -0
- data/test/fixtures/apps/views/blog/post.erb +1 -0
- data/test/fixtures/apps/views/layouts/specific.erb +1 -0
- data/test/fixtures/apps/views/test/post.erb +1 -0
- data/test/fixtures/layouts/layout.erb +1 -0
- data/test/fixtures/markup_app/app.rb +87 -0
- data/test/fixtures/markup_app/views/button_to.erb +8 -0
- data/test/fixtures/markup_app/views/button_to.haml +5 -0
- data/test/fixtures/markup_app/views/button_to.slim +6 -0
- data/test/fixtures/markup_app/views/capture_concat.erb +14 -0
- data/test/fixtures/markup_app/views/capture_concat.haml +12 -0
- data/test/fixtures/markup_app/views/capture_concat.slim +12 -0
- data/test/fixtures/markup_app/views/content_for.erb +23 -0
- data/test/fixtures/markup_app/views/content_for.haml +19 -0
- data/test/fixtures/markup_app/views/content_for.slim +19 -0
- data/test/fixtures/markup_app/views/content_tag.erb +13 -0
- data/test/fixtures/markup_app/views/content_tag.haml +11 -0
- data/test/fixtures/markup_app/views/content_tag.slim +11 -0
- data/test/fixtures/markup_app/views/current_engine.erb +5 -0
- data/test/fixtures/markup_app/views/current_engine.haml +5 -0
- data/test/fixtures/markup_app/views/current_engine.slim +5 -0
- data/test/fixtures/markup_app/views/fields_for.erb +20 -0
- data/test/fixtures/markup_app/views/fields_for.haml +15 -0
- data/test/fixtures/markup_app/views/fields_for.slim +15 -0
- data/test/fixtures/markup_app/views/form_for.erb +72 -0
- data/test/fixtures/markup_app/views/form_for.haml +59 -0
- data/test/fixtures/markup_app/views/form_for.slim +59 -0
- data/test/fixtures/markup_app/views/form_tag.erb +95 -0
- data/test/fixtures/markup_app/views/form_tag.haml +78 -0
- data/test/fixtures/markup_app/views/form_tag.slim +79 -0
- data/test/fixtures/markup_app/views/link_to.erb +5 -0
- data/test/fixtures/markup_app/views/link_to.haml +4 -0
- data/test/fixtures/markup_app/views/link_to.slim +4 -0
- data/test/fixtures/markup_app/views/mail_to.erb +3 -0
- data/test/fixtures/markup_app/views/mail_to.haml +3 -0
- data/test/fixtures/markup_app/views/mail_to.slim +3 -0
- data/test/fixtures/markup_app/views/meta_tag.erb +3 -0
- data/test/fixtures/markup_app/views/meta_tag.haml +3 -0
- data/test/fixtures/markup_app/views/meta_tag.slim +3 -0
- data/test/fixtures/markup_app/views/partials/_erb.erb +1 -0
- data/test/fixtures/markup_app/views/partials/_haml.haml +1 -0
- data/test/fixtures/markup_app/views/partials/_slim.slim +1 -0
- data/test/fixtures/markup_app/views/simple_partial.erb +1 -0
- data/test/fixtures/markup_app/views/simple_partial.haml +1 -0
- data/test/fixtures/markup_app/views/simple_partial.slim +1 -0
- data/test/fixtures/render_app/app.rb +110 -0
- data/test/fixtures/render_app/views/_deep.erb +3 -0
- data/test/fixtures/render_app/views/_deep.haml +2 -0
- data/test/fixtures/render_app/views/_deep.slim +2 -0
- data/test/fixtures/render_app/views/_partial_block_erb.erb +10 -0
- data/test/fixtures/render_app/views/_partial_block_haml.haml +7 -0
- data/test/fixtures/render_app/views/_partial_block_slim.slim +7 -0
- data/test/fixtures/render_app/views/_unsafe.html.builder +2 -0
- data/test/fixtures/render_app/views/_unsafe_object.html.builder +2 -0
- data/test/fixtures/render_app/views/current_engine.haml +5 -0
- data/test/fixtures/render_app/views/current_engines/_erb.erb +1 -0
- data/test/fixtures/render_app/views/current_engines/_haml.haml +1 -0
- data/test/fixtures/render_app/views/current_engines/_slim.slim +1 -0
- data/test/fixtures/render_app/views/dive_inner_erb.erb +3 -0
- data/test/fixtures/render_app/views/dive_inner_haml.haml +2 -0
- data/test/fixtures/render_app/views/dive_inner_slim.slim +2 -0
- data/test/fixtures/render_app/views/dive_outer_erb.erb +3 -0
- data/test/fixtures/render_app/views/dive_outer_haml.haml +2 -0
- data/test/fixtures/render_app/views/dive_outer_slim.slim +2 -0
- data/test/fixtures/render_app/views/double_capture_erb.erb +3 -0
- data/test/fixtures/render_app/views/double_capture_haml.haml +2 -0
- data/test/fixtures/render_app/views/double_capture_slim.slim +2 -0
- data/test/fixtures/render_app/views/erb/test.erb +1 -0
- data/test/fixtures/render_app/views/explicit_engine.haml +5 -0
- data/test/fixtures/render_app/views/haml/test.haml +1 -0
- data/test/fixtures/render_app/views/render_block_erb.erb +5 -0
- data/test/fixtures/render_app/views/render_block_haml.haml +4 -0
- data/test/fixtures/render_app/views/render_block_slim.slim +4 -0
- data/test/fixtures/render_app/views/ruby_block_capture_erb.erb +1 -0
- data/test/fixtures/render_app/views/ruby_block_capture_haml.haml +1 -0
- data/test/fixtures/render_app/views/ruby_block_capture_slim.slim +1 -0
- data/test/fixtures/render_app/views/template/_user.haml +7 -0
- data/test/fixtures/render_app/views/template/haml_template.haml +1 -0
- data/test/fixtures/render_app/views/template/some_template.haml +2 -0
- data/test/fixtures/render_app/views/wrong_capture_erb.erb +3 -0
- data/test/fixtures/render_app/views/wrong_capture_haml.haml +2 -0
- data/test/fixtures/render_app/views/wrong_capture_slim.slim +2 -0
- data/test/helper.rb +88 -0
- data/test/test_asset_tag_helpers.rb +401 -0
- data/test/test_form_builder.rb +1216 -0
- data/test/test_form_helpers.rb +1056 -0
- data/test/test_format_helpers.rb +251 -0
- data/test/test_helpers.rb +10 -0
- data/test/test_locale.rb +20 -0
- data/test/test_number_helpers.rb +142 -0
- data/test/test_output_helpers.rb +157 -0
- data/test/test_render_helpers.rb +225 -0
- data/test/test_rendering.rb +706 -0
- data/test/test_rendering_extensions.rb +14 -0
- data/test/test_tag_helpers.rb +131 -0
- metadata +299 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/helper')
|
2
|
+
|
3
|
+
describe "Rendering Extensions" do
|
4
|
+
describe 'for haml' do
|
5
|
+
it 'should render haml_tag correctly' do
|
6
|
+
mock_app do
|
7
|
+
get('/') { render :haml, '-haml_tag :div'}
|
8
|
+
end
|
9
|
+
|
10
|
+
get '/'
|
11
|
+
assert_match '<div></div>', last_response.body
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,131 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/helper')
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/fixtures/markup_app/app')
|
3
|
+
|
4
|
+
describe "TagHelpers" do
|
5
|
+
def app
|
6
|
+
MarkupDemo
|
7
|
+
end
|
8
|
+
|
9
|
+
describe 'for #tag method' do
|
10
|
+
it 'should support tags with no content no attributes' do
|
11
|
+
assert_has_tag(:br) { tag(:br) }
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'should support tags with no content with attributes' do
|
15
|
+
actual_html = tag(:br, :style => 'clear:both', :class => 'yellow')
|
16
|
+
assert_has_tag(:br, :class => 'yellow', :style=>'clear:both') { actual_html }
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'should support selected attribute by using "selected" if true' do
|
20
|
+
actual_html = tag(:option, :selected => true)
|
21
|
+
assert_has_tag('option', :selected => 'selected') { actual_html }
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'should support data attributes' do
|
25
|
+
actual_html = tag(:a, :data => { :remote => true, :method => 'post'})
|
26
|
+
assert_has_tag(:a, 'data-remote' => 'true', 'data-method' => 'post') { actual_html }
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'should support nested attributes' do
|
30
|
+
actual_html = tag(:div, :data => {:dojo => {:type => 'dijit.form.TextBox', :props => 'readOnly: true'}})
|
31
|
+
assert_has_tag(:div, 'data-dojo-type' => 'dijit.form.TextBox', 'data-dojo-props' => 'readOnly: true') { actual_html }
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'should support open tags' do
|
35
|
+
actual_html = tag(:p, { :class => 'demo' }, true)
|
36
|
+
assert_equal "<p class=\"demo\">", actual_html
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'should escape html' do
|
40
|
+
actual_html = tag(:br, :class => 'Example <foo> & "bar"')
|
41
|
+
assert_equal "<br class=\"Example <foo> & "bar"\" />", actual_html
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'for #content_tag method' do
|
46
|
+
it 'should support tags with content as parameter' do
|
47
|
+
actual_html = content_tag(:p, "Demo", :class => 'large', :id => 'thing')
|
48
|
+
assert_has_tag('p.large#thing', :content => "Demo") { actual_html }
|
49
|
+
end
|
50
|
+
|
51
|
+
it 'should support tags with content as block' do
|
52
|
+
actual_html = content_tag(:p, :class => 'large', :id => 'star') { "Demo" }
|
53
|
+
assert_has_tag('p.large#star', :content => "Demo") { actual_html }
|
54
|
+
end
|
55
|
+
|
56
|
+
it 'should escape non-html-safe content' do
|
57
|
+
actual_html = content_tag(:p, :class => 'large', :id => 'star') { "<>" }
|
58
|
+
assert_has_tag('p.large#star') { actual_html }
|
59
|
+
assert_match('<>', actual_html)
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'should not escape html-safe content' do
|
63
|
+
actual_html = content_tag(:p, :class => 'large', :id => 'star') { "<>" }
|
64
|
+
assert_has_tag('p.large#star', :content => "<>") { actual_html }
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'should convert to a string if the content is not a string' do
|
68
|
+
actual_html = content_tag(:p, 97)
|
69
|
+
assert_has_tag('p', :content => "97") { actual_html }
|
70
|
+
end
|
71
|
+
|
72
|
+
it 'should support tags with erb' do
|
73
|
+
visit '/erb/content_tag'
|
74
|
+
assert_have_selector :p, :content => "Test 1", :class => 'test', :id => 'test1'
|
75
|
+
assert_have_selector :p, :content => "Test 2"
|
76
|
+
assert_have_selector :p, :content => "Test 3"
|
77
|
+
assert_have_selector :p, :content => "Test 4"
|
78
|
+
assert_have_selector :p, :content => "one"
|
79
|
+
assert_have_selector :p, :content => "two"
|
80
|
+
assert_have_no_selector :p, :content => "failed"
|
81
|
+
end
|
82
|
+
|
83
|
+
it 'should support tags with haml' do
|
84
|
+
visit '/haml/content_tag'
|
85
|
+
assert_have_selector :p, :content => "Test 1", :class => 'test', :id => 'test1'
|
86
|
+
assert_have_selector :p, :content => "Test 2"
|
87
|
+
assert_have_selector :p, :content => "Test 3", :class => 'test', :id => 'test3'
|
88
|
+
assert_have_selector :p, :content => "Test 4"
|
89
|
+
assert_have_selector :p, :content => "one"
|
90
|
+
assert_have_selector :p, :content => "two"
|
91
|
+
assert_have_no_selector :p, :content => "failed"
|
92
|
+
end
|
93
|
+
|
94
|
+
it 'should support tags with slim' do
|
95
|
+
visit '/slim/content_tag'
|
96
|
+
assert_have_selector :p, :content => "Test 1", :class => 'test', :id => 'test1'
|
97
|
+
assert_have_selector :p, :content => "Test 2"
|
98
|
+
assert_have_selector :p, :content => "Test 3", :class => 'test', :id => 'test3'
|
99
|
+
assert_have_selector :p, :content => "Test 4"
|
100
|
+
assert_have_selector :p, :content => "one"
|
101
|
+
assert_have_selector :p, :content => "two"
|
102
|
+
assert_have_no_selector :p, :content => "failed"
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'for #input_tag method' do
|
107
|
+
it 'should support field with type' do
|
108
|
+
assert_has_tag('input[type=text]') { input_tag(:text) }
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'should support field with type and options' do
|
112
|
+
actual_html = input_tag(:text, :class => "first", :id => 'texter')
|
113
|
+
assert_has_tag('input.first#texter[type=text]') { actual_html }
|
114
|
+
end
|
115
|
+
|
116
|
+
it 'should support checked attribute by using "checked" if true' do
|
117
|
+
actual_html = input_tag(:checkbox, :checked => true)
|
118
|
+
assert_has_tag('input[type=checkbox]', :checked => 'checked') { actual_html }
|
119
|
+
end
|
120
|
+
|
121
|
+
it 'should remove checked attribute if false' do
|
122
|
+
actual_html = input_tag(:checkbox, :checked => false)
|
123
|
+
assert_has_no_tag('input[type=checkbox][checked=false]') { actual_html }
|
124
|
+
end
|
125
|
+
|
126
|
+
it 'should support disabled attribute by using "disabled" if true' do
|
127
|
+
actual_html = input_tag(:checkbox, :disabled => true)
|
128
|
+
assert_has_tag('input[type=checkbox]', :disabled => 'disabled') { actual_html }
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
metadata
ADDED
@@ -0,0 +1,299 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tennpipes-helper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.6.6
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- enn Gang
|
8
|
+
- Nitesh Pandey
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2015-04-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activesupport
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.1'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '3.1'
|
28
|
+
description: Various erb helpers to be used in tennpipes apps
|
29
|
+
email: tennpipes@ennkeypee.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files:
|
33
|
+
- README.rdoc
|
34
|
+
files:
|
35
|
+
- LICENSE.txt
|
36
|
+
- README.rdoc
|
37
|
+
- Rakefile
|
38
|
+
- lib/tennpipes-helper.rb
|
39
|
+
- lib/tennpipes-helper/asset_tag_helpers.rb
|
40
|
+
- lib/tennpipes-helper/form_builder/abstract_form_builder.rb
|
41
|
+
- lib/tennpipes-helper/form_builder/standard_form_builder.rb
|
42
|
+
- lib/tennpipes-helper/form_helpers.rb
|
43
|
+
- lib/tennpipes-helper/form_helpers/errors.rb
|
44
|
+
- lib/tennpipes-helper/form_helpers/options.rb
|
45
|
+
- lib/tennpipes-helper/form_helpers/security.rb
|
46
|
+
- lib/tennpipes-helper/format_helpers.rb
|
47
|
+
- lib/tennpipes-helper/locale/cs.yml
|
48
|
+
- lib/tennpipes-helper/locale/da.yml
|
49
|
+
- lib/tennpipes-helper/locale/de.yml
|
50
|
+
- lib/tennpipes-helper/locale/en.yml
|
51
|
+
- lib/tennpipes-helper/locale/es.yml
|
52
|
+
- lib/tennpipes-helper/locale/fr.yml
|
53
|
+
- lib/tennpipes-helper/locale/hu.yml
|
54
|
+
- lib/tennpipes-helper/locale/it.yml
|
55
|
+
- lib/tennpipes-helper/locale/ja.yml
|
56
|
+
- lib/tennpipes-helper/locale/lv.yml
|
57
|
+
- lib/tennpipes-helper/locale/nl.yml
|
58
|
+
- lib/tennpipes-helper/locale/no.yml
|
59
|
+
- lib/tennpipes-helper/locale/pl.yml
|
60
|
+
- lib/tennpipes-helper/locale/pt_br.yml
|
61
|
+
- lib/tennpipes-helper/locale/ro.yml
|
62
|
+
- lib/tennpipes-helper/locale/ru.yml
|
63
|
+
- lib/tennpipes-helper/locale/sv.yml
|
64
|
+
- lib/tennpipes-helper/locale/tr.yml
|
65
|
+
- lib/tennpipes-helper/locale/uk.yml
|
66
|
+
- lib/tennpipes-helper/locale/zh_cn.yml
|
67
|
+
- lib/tennpipes-helper/locale/zh_tw.yml
|
68
|
+
- lib/tennpipes-helper/number_helpers.rb
|
69
|
+
- lib/tennpipes-helper/output_helpers.rb
|
70
|
+
- lib/tennpipes-helper/output_helpers/abstract_handler.rb
|
71
|
+
- lib/tennpipes-helper/output_helpers/erb_handler.rb
|
72
|
+
- lib/tennpipes-helper/output_helpers/haml_handler.rb
|
73
|
+
- lib/tennpipes-helper/output_helpers/slim_handler.rb
|
74
|
+
- lib/tennpipes-helper/render_helpers.rb
|
75
|
+
- lib/tennpipes-helper/tag_helpers.rb
|
76
|
+
- lib/tennpipes-helper/translation_helpers.rb
|
77
|
+
- lib/tennpipes/rendering.rb
|
78
|
+
- lib/tennpipes/rendering/erb_template.rb
|
79
|
+
- lib/tennpipes/rendering/erubis_template.rb
|
80
|
+
- lib/tennpipes/rendering/haml_template.rb
|
81
|
+
- lib/tennpipes/rendering/slim_template.rb
|
82
|
+
- test/fixtures/apps/render.rb
|
83
|
+
- test/fixtures/apps/views/article/comment/show.slim
|
84
|
+
- test/fixtures/apps/views/blog/post.erb
|
85
|
+
- test/fixtures/apps/views/layouts/specific.erb
|
86
|
+
- test/fixtures/apps/views/test/post.erb
|
87
|
+
- test/fixtures/layouts/layout.erb
|
88
|
+
- test/fixtures/markup_app/app.rb
|
89
|
+
- test/fixtures/markup_app/views/button_to.erb
|
90
|
+
- test/fixtures/markup_app/views/button_to.haml
|
91
|
+
- test/fixtures/markup_app/views/button_to.slim
|
92
|
+
- test/fixtures/markup_app/views/capture_concat.erb
|
93
|
+
- test/fixtures/markup_app/views/capture_concat.haml
|
94
|
+
- test/fixtures/markup_app/views/capture_concat.slim
|
95
|
+
- test/fixtures/markup_app/views/content_for.erb
|
96
|
+
- test/fixtures/markup_app/views/content_for.haml
|
97
|
+
- test/fixtures/markup_app/views/content_for.slim
|
98
|
+
- test/fixtures/markup_app/views/content_tag.erb
|
99
|
+
- test/fixtures/markup_app/views/content_tag.haml
|
100
|
+
- test/fixtures/markup_app/views/content_tag.slim
|
101
|
+
- test/fixtures/markup_app/views/current_engine.erb
|
102
|
+
- test/fixtures/markup_app/views/current_engine.haml
|
103
|
+
- test/fixtures/markup_app/views/current_engine.slim
|
104
|
+
- test/fixtures/markup_app/views/fields_for.erb
|
105
|
+
- test/fixtures/markup_app/views/fields_for.haml
|
106
|
+
- test/fixtures/markup_app/views/fields_for.slim
|
107
|
+
- test/fixtures/markup_app/views/form_for.erb
|
108
|
+
- test/fixtures/markup_app/views/form_for.haml
|
109
|
+
- test/fixtures/markup_app/views/form_for.slim
|
110
|
+
- test/fixtures/markup_app/views/form_tag.erb
|
111
|
+
- test/fixtures/markup_app/views/form_tag.haml
|
112
|
+
- test/fixtures/markup_app/views/form_tag.slim
|
113
|
+
- test/fixtures/markup_app/views/link_to.erb
|
114
|
+
- test/fixtures/markup_app/views/link_to.haml
|
115
|
+
- test/fixtures/markup_app/views/link_to.slim
|
116
|
+
- test/fixtures/markup_app/views/mail_to.erb
|
117
|
+
- test/fixtures/markup_app/views/mail_to.haml
|
118
|
+
- test/fixtures/markup_app/views/mail_to.slim
|
119
|
+
- test/fixtures/markup_app/views/meta_tag.erb
|
120
|
+
- test/fixtures/markup_app/views/meta_tag.haml
|
121
|
+
- test/fixtures/markup_app/views/meta_tag.slim
|
122
|
+
- test/fixtures/markup_app/views/partials/_erb.erb
|
123
|
+
- test/fixtures/markup_app/views/partials/_haml.haml
|
124
|
+
- test/fixtures/markup_app/views/partials/_slim.slim
|
125
|
+
- test/fixtures/markup_app/views/simple_partial.erb
|
126
|
+
- test/fixtures/markup_app/views/simple_partial.haml
|
127
|
+
- test/fixtures/markup_app/views/simple_partial.slim
|
128
|
+
- test/fixtures/render_app/app.rb
|
129
|
+
- test/fixtures/render_app/views/_deep.erb
|
130
|
+
- test/fixtures/render_app/views/_deep.haml
|
131
|
+
- test/fixtures/render_app/views/_deep.slim
|
132
|
+
- test/fixtures/render_app/views/_partial_block_erb.erb
|
133
|
+
- test/fixtures/render_app/views/_partial_block_haml.haml
|
134
|
+
- test/fixtures/render_app/views/_partial_block_slim.slim
|
135
|
+
- test/fixtures/render_app/views/_unsafe.html.builder
|
136
|
+
- test/fixtures/render_app/views/_unsafe_object.html.builder
|
137
|
+
- test/fixtures/render_app/views/current_engine.haml
|
138
|
+
- test/fixtures/render_app/views/current_engines/_erb.erb
|
139
|
+
- test/fixtures/render_app/views/current_engines/_haml.haml
|
140
|
+
- test/fixtures/render_app/views/current_engines/_slim.slim
|
141
|
+
- test/fixtures/render_app/views/dive_inner_erb.erb
|
142
|
+
- test/fixtures/render_app/views/dive_inner_haml.haml
|
143
|
+
- test/fixtures/render_app/views/dive_inner_slim.slim
|
144
|
+
- test/fixtures/render_app/views/dive_outer_erb.erb
|
145
|
+
- test/fixtures/render_app/views/dive_outer_haml.haml
|
146
|
+
- test/fixtures/render_app/views/dive_outer_slim.slim
|
147
|
+
- test/fixtures/render_app/views/double_capture_erb.erb
|
148
|
+
- test/fixtures/render_app/views/double_capture_haml.haml
|
149
|
+
- test/fixtures/render_app/views/double_capture_slim.slim
|
150
|
+
- test/fixtures/render_app/views/erb/test.erb
|
151
|
+
- test/fixtures/render_app/views/explicit_engine.haml
|
152
|
+
- test/fixtures/render_app/views/haml/test.haml
|
153
|
+
- test/fixtures/render_app/views/render_block_erb.erb
|
154
|
+
- test/fixtures/render_app/views/render_block_haml.haml
|
155
|
+
- test/fixtures/render_app/views/render_block_slim.slim
|
156
|
+
- test/fixtures/render_app/views/ruby_block_capture_erb.erb
|
157
|
+
- test/fixtures/render_app/views/ruby_block_capture_haml.haml
|
158
|
+
- test/fixtures/render_app/views/ruby_block_capture_slim.slim
|
159
|
+
- test/fixtures/render_app/views/template/_user.haml
|
160
|
+
- test/fixtures/render_app/views/template/haml_template.haml
|
161
|
+
- test/fixtures/render_app/views/template/some_template.haml
|
162
|
+
- test/fixtures/render_app/views/wrong_capture_erb.erb
|
163
|
+
- test/fixtures/render_app/views/wrong_capture_haml.haml
|
164
|
+
- test/fixtures/render_app/views/wrong_capture_slim.slim
|
165
|
+
- test/helper.rb
|
166
|
+
- test/test_asset_tag_helpers.rb
|
167
|
+
- test/test_form_builder.rb
|
168
|
+
- test/test_form_helpers.rb
|
169
|
+
- test/test_format_helpers.rb
|
170
|
+
- test/test_helpers.rb
|
171
|
+
- test/test_locale.rb
|
172
|
+
- test/test_number_helpers.rb
|
173
|
+
- test/test_output_helpers.rb
|
174
|
+
- test/test_render_helpers.rb
|
175
|
+
- test/test_rendering.rb
|
176
|
+
- test/test_rendering_extensions.rb
|
177
|
+
- test/test_tag_helpers.rb
|
178
|
+
homepage: https://tennpipes.ennkeypee.com
|
179
|
+
licenses:
|
180
|
+
- MIT
|
181
|
+
metadata: {}
|
182
|
+
post_install_message:
|
183
|
+
rdoc_options:
|
184
|
+
- "--charset=UTF-8"
|
185
|
+
require_paths:
|
186
|
+
- lib
|
187
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '0'
|
192
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: 1.9.1
|
197
|
+
requirements: []
|
198
|
+
rubyforge_project:
|
199
|
+
rubygems_version: 2.2.2
|
200
|
+
signing_key:
|
201
|
+
specification_version: 4
|
202
|
+
summary: Helpers used in tennpipes
|
203
|
+
test_files:
|
204
|
+
- test/fixtures/apps/render.rb
|
205
|
+
- test/fixtures/apps/views/article/comment/show.slim
|
206
|
+
- test/fixtures/apps/views/blog/post.erb
|
207
|
+
- test/fixtures/apps/views/test/post.erb
|
208
|
+
- test/fixtures/apps/views/layouts/specific.erb
|
209
|
+
- test/fixtures/render_app/app.rb
|
210
|
+
- test/fixtures/render_app/views/double_capture_slim.slim
|
211
|
+
- test/fixtures/render_app/views/dive_outer_slim.slim
|
212
|
+
- test/fixtures/render_app/views/render_block_slim.slim
|
213
|
+
- test/fixtures/render_app/views/wrong_capture_slim.slim
|
214
|
+
- test/fixtures/render_app/views/dive_inner_erb.erb
|
215
|
+
- test/fixtures/render_app/views/_deep.haml
|
216
|
+
- test/fixtures/render_app/views/render_block_erb.erb
|
217
|
+
- test/fixtures/render_app/views/ruby_block_capture_erb.erb
|
218
|
+
- test/fixtures/render_app/views/_partial_block_haml.haml
|
219
|
+
- test/fixtures/render_app/views/haml/test.haml
|
220
|
+
- test/fixtures/render_app/views/wrong_capture_erb.erb
|
221
|
+
- test/fixtures/render_app/views/double_capture_erb.erb
|
222
|
+
- test/fixtures/render_app/views/_partial_block_slim.slim
|
223
|
+
- test/fixtures/render_app/views/ruby_block_capture_slim.slim
|
224
|
+
- test/fixtures/render_app/views/template/haml_template.haml
|
225
|
+
- test/fixtures/render_app/views/template/_user.haml
|
226
|
+
- test/fixtures/render_app/views/template/some_template.haml
|
227
|
+
- test/fixtures/render_app/views/erb/test.erb
|
228
|
+
- test/fixtures/render_app/views/dive_outer_erb.erb
|
229
|
+
- test/fixtures/render_app/views/_unsafe.html.builder
|
230
|
+
- test/fixtures/render_app/views/explicit_engine.haml
|
231
|
+
- test/fixtures/render_app/views/ruby_block_capture_haml.haml
|
232
|
+
- test/fixtures/render_app/views/_unsafe_object.html.builder
|
233
|
+
- test/fixtures/render_app/views/double_capture_haml.haml
|
234
|
+
- test/fixtures/render_app/views/dive_outer_haml.haml
|
235
|
+
- test/fixtures/render_app/views/current_engine.haml
|
236
|
+
- test/fixtures/render_app/views/_partial_block_erb.erb
|
237
|
+
- test/fixtures/render_app/views/wrong_capture_haml.haml
|
238
|
+
- test/fixtures/render_app/views/_deep.erb
|
239
|
+
- test/fixtures/render_app/views/dive_inner_haml.haml
|
240
|
+
- test/fixtures/render_app/views/dive_inner_slim.slim
|
241
|
+
- test/fixtures/render_app/views/render_block_haml.haml
|
242
|
+
- test/fixtures/render_app/views/current_engines/_slim.slim
|
243
|
+
- test/fixtures/render_app/views/current_engines/_haml.haml
|
244
|
+
- test/fixtures/render_app/views/current_engines/_erb.erb
|
245
|
+
- test/fixtures/render_app/views/_deep.slim
|
246
|
+
- test/fixtures/markup_app/app.rb
|
247
|
+
- test/fixtures/markup_app/views/mail_to.erb
|
248
|
+
- test/fixtures/markup_app/views/partials/_slim.slim
|
249
|
+
- test/fixtures/markup_app/views/partials/_haml.haml
|
250
|
+
- test/fixtures/markup_app/views/partials/_erb.erb
|
251
|
+
- test/fixtures/markup_app/views/button_to.slim
|
252
|
+
- test/fixtures/markup_app/views/form_for.slim
|
253
|
+
- test/fixtures/markup_app/views/meta_tag.slim
|
254
|
+
- test/fixtures/markup_app/views/content_tag.erb
|
255
|
+
- test/fixtures/markup_app/views/content_for.slim
|
256
|
+
- test/fixtures/markup_app/views/form_tag.slim
|
257
|
+
- test/fixtures/markup_app/views/form_for.erb
|
258
|
+
- test/fixtures/markup_app/views/current_engine.slim
|
259
|
+
- test/fixtures/markup_app/views/link_to.haml
|
260
|
+
- test/fixtures/markup_app/views/content_for.erb
|
261
|
+
- test/fixtures/markup_app/views/simple_partial.haml
|
262
|
+
- test/fixtures/markup_app/views/meta_tag.erb
|
263
|
+
- test/fixtures/markup_app/views/simple_partial.erb
|
264
|
+
- test/fixtures/markup_app/views/simple_partial.slim
|
265
|
+
- test/fixtures/markup_app/views/form_for.haml
|
266
|
+
- test/fixtures/markup_app/views/current_engine.erb
|
267
|
+
- test/fixtures/markup_app/views/capture_concat.slim
|
268
|
+
- test/fixtures/markup_app/views/fields_for.slim
|
269
|
+
- test/fixtures/markup_app/views/capture_concat.haml
|
270
|
+
- test/fixtures/markup_app/views/current_engine.haml
|
271
|
+
- test/fixtures/markup_app/views/capture_concat.erb
|
272
|
+
- test/fixtures/markup_app/views/content_tag.haml
|
273
|
+
- test/fixtures/markup_app/views/link_to.erb
|
274
|
+
- test/fixtures/markup_app/views/form_tag.erb
|
275
|
+
- test/fixtures/markup_app/views/mail_to.slim
|
276
|
+
- test/fixtures/markup_app/views/fields_for.erb
|
277
|
+
- test/fixtures/markup_app/views/content_tag.slim
|
278
|
+
- test/fixtures/markup_app/views/fields_for.haml
|
279
|
+
- test/fixtures/markup_app/views/content_for.haml
|
280
|
+
- test/fixtures/markup_app/views/button_to.erb
|
281
|
+
- test/fixtures/markup_app/views/mail_to.haml
|
282
|
+
- test/fixtures/markup_app/views/button_to.haml
|
283
|
+
- test/fixtures/markup_app/views/meta_tag.haml
|
284
|
+
- test/fixtures/markup_app/views/form_tag.haml
|
285
|
+
- test/fixtures/markup_app/views/link_to.slim
|
286
|
+
- test/fixtures/layouts/layout.erb
|
287
|
+
- test/test_locale.rb
|
288
|
+
- test/test_number_helpers.rb
|
289
|
+
- test/test_helpers.rb
|
290
|
+
- test/test_rendering_extensions.rb
|
291
|
+
- test/test_form_builder.rb
|
292
|
+
- test/test_output_helpers.rb
|
293
|
+
- test/test_tag_helpers.rb
|
294
|
+
- test/test_format_helpers.rb
|
295
|
+
- test/test_asset_tag_helpers.rb
|
296
|
+
- test/test_form_helpers.rb
|
297
|
+
- test/helper.rb
|
298
|
+
- test/test_render_helpers.rb
|
299
|
+
- test/test_rendering.rb
|