padrino-helpers-cj 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.gitignore +21 -0
- data/.yardopts +1 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +239 -0
- data/Rakefile +5 -0
- data/lib/padrino-helpers.rb +62 -0
- data/lib/padrino-helpers/asset_tag_helpers.rb +390 -0
- data/lib/padrino-helpers/form_builder/abstract_form_builder.rb +283 -0
- data/lib/padrino-helpers/form_builder/deprecated_builder_methods.rb +92 -0
- data/lib/padrino-helpers/form_builder/standard_form_builder.rb +40 -0
- data/lib/padrino-helpers/form_helpers.rb +633 -0
- data/lib/padrino-helpers/form_helpers/errors.rb +138 -0
- data/lib/padrino-helpers/form_helpers/options.rb +97 -0
- data/lib/padrino-helpers/form_helpers/security.rb +70 -0
- data/lib/padrino-helpers/format_helpers.rb +372 -0
- data/lib/padrino-helpers/locale/cs.yml +103 -0
- data/lib/padrino-helpers/locale/da.yml +91 -0
- data/lib/padrino-helpers/locale/de.yml +81 -0
- data/lib/padrino-helpers/locale/en.yml +103 -0
- data/lib/padrino-helpers/locale/es.yml +103 -0
- data/lib/padrino-helpers/locale/fr.yml +79 -0
- data/lib/padrino-helpers/locale/hu.yml +103 -0
- data/lib/padrino-helpers/locale/it.yml +89 -0
- data/lib/padrino-helpers/locale/ja.yml +103 -0
- data/lib/padrino-helpers/locale/lv.yml +103 -0
- data/lib/padrino-helpers/locale/nl.yml +82 -0
- data/lib/padrino-helpers/locale/no.yml +91 -0
- data/lib/padrino-helpers/locale/pl.yml +95 -0
- data/lib/padrino-helpers/locale/pt_br.yml +103 -0
- data/lib/padrino-helpers/locale/ro.yml +103 -0
- data/lib/padrino-helpers/locale/ru.yml +103 -0
- data/lib/padrino-helpers/locale/sv.yml +103 -0
- data/lib/padrino-helpers/locale/tr.yml +103 -0
- data/lib/padrino-helpers/locale/uk.yml +103 -0
- data/lib/padrino-helpers/locale/zh_cn.yml +103 -0
- data/lib/padrino-helpers/locale/zh_tw.yml +103 -0
- data/lib/padrino-helpers/number_helpers.rb +283 -0
- data/lib/padrino-helpers/output_helpers.rb +226 -0
- data/lib/padrino-helpers/output_helpers/abstract_handler.rb +61 -0
- data/lib/padrino-helpers/output_helpers/erb_handler.rb +27 -0
- data/lib/padrino-helpers/output_helpers/haml_handler.rb +25 -0
- data/lib/padrino-helpers/output_helpers/slim_handler.rb +18 -0
- data/lib/padrino-helpers/render_helpers.rb +63 -0
- data/lib/padrino-helpers/tag_helpers.rb +294 -0
- data/lib/padrino-helpers/translation_helpers.rb +36 -0
- data/lib/padrino/rendering.rb +397 -0
- data/lib/padrino/rendering/erubis_template.rb +66 -0
- data/lib/padrino/rendering/haml_template.rb +26 -0
- data/lib/padrino/rendering/slim_template.rb +20 -0
- data/padrino-helpers.gemspec +29 -0
- data/test/fixtures/apps/.components +6 -0
- data/test/fixtures/apps/.gitignore +7 -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 +94 -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/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 +131 -0
- data/test/test_asset_tag_helpers.rb +406 -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 +215 -0
- data/test/test_rendering.rb +694 -0
- data/test/test_rendering_extensions.rb +14 -0
- data/test/test_tag_helpers.rb +131 -0
- metadata +241 -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,241 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: padrino-helpers-cj
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.12.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Padrino Team
|
8
|
+
- Nathan Esquenazi
|
9
|
+
- Davide D'Agostino
|
10
|
+
- Arthur Chiu
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: padrino-support
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - '='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.12.2
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.12.2
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: tilt
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: i18n
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ~>
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '0.6'
|
51
|
+
- - '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.6.7
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.6'
|
61
|
+
- - '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.6.7
|
64
|
+
description: Tag helpers, asset helpers, form helpers, form builders and many more
|
65
|
+
helpers for padrino
|
66
|
+
email: padrinorb@gmail.com
|
67
|
+
executables: []
|
68
|
+
extensions: []
|
69
|
+
extra_rdoc_files:
|
70
|
+
- README.rdoc
|
71
|
+
files:
|
72
|
+
- .document
|
73
|
+
- .gitignore
|
74
|
+
- .yardopts
|
75
|
+
- LICENSE.txt
|
76
|
+
- README.rdoc
|
77
|
+
- Rakefile
|
78
|
+
- lib/padrino-helpers.rb
|
79
|
+
- lib/padrino-helpers/asset_tag_helpers.rb
|
80
|
+
- lib/padrino-helpers/form_builder/abstract_form_builder.rb
|
81
|
+
- lib/padrino-helpers/form_builder/deprecated_builder_methods.rb
|
82
|
+
- lib/padrino-helpers/form_builder/standard_form_builder.rb
|
83
|
+
- lib/padrino-helpers/form_helpers.rb
|
84
|
+
- lib/padrino-helpers/form_helpers/errors.rb
|
85
|
+
- lib/padrino-helpers/form_helpers/options.rb
|
86
|
+
- lib/padrino-helpers/form_helpers/security.rb
|
87
|
+
- lib/padrino-helpers/format_helpers.rb
|
88
|
+
- lib/padrino-helpers/locale/cs.yml
|
89
|
+
- lib/padrino-helpers/locale/da.yml
|
90
|
+
- lib/padrino-helpers/locale/de.yml
|
91
|
+
- lib/padrino-helpers/locale/en.yml
|
92
|
+
- lib/padrino-helpers/locale/es.yml
|
93
|
+
- lib/padrino-helpers/locale/fr.yml
|
94
|
+
- lib/padrino-helpers/locale/hu.yml
|
95
|
+
- lib/padrino-helpers/locale/it.yml
|
96
|
+
- lib/padrino-helpers/locale/ja.yml
|
97
|
+
- lib/padrino-helpers/locale/lv.yml
|
98
|
+
- lib/padrino-helpers/locale/nl.yml
|
99
|
+
- lib/padrino-helpers/locale/no.yml
|
100
|
+
- lib/padrino-helpers/locale/pl.yml
|
101
|
+
- lib/padrino-helpers/locale/pt_br.yml
|
102
|
+
- lib/padrino-helpers/locale/ro.yml
|
103
|
+
- lib/padrino-helpers/locale/ru.yml
|
104
|
+
- lib/padrino-helpers/locale/sv.yml
|
105
|
+
- lib/padrino-helpers/locale/tr.yml
|
106
|
+
- lib/padrino-helpers/locale/uk.yml
|
107
|
+
- lib/padrino-helpers/locale/zh_cn.yml
|
108
|
+
- lib/padrino-helpers/locale/zh_tw.yml
|
109
|
+
- lib/padrino-helpers/number_helpers.rb
|
110
|
+
- lib/padrino-helpers/output_helpers.rb
|
111
|
+
- lib/padrino-helpers/output_helpers/abstract_handler.rb
|
112
|
+
- lib/padrino-helpers/output_helpers/erb_handler.rb
|
113
|
+
- lib/padrino-helpers/output_helpers/haml_handler.rb
|
114
|
+
- lib/padrino-helpers/output_helpers/slim_handler.rb
|
115
|
+
- lib/padrino-helpers/render_helpers.rb
|
116
|
+
- lib/padrino-helpers/tag_helpers.rb
|
117
|
+
- lib/padrino-helpers/translation_helpers.rb
|
118
|
+
- lib/padrino/rendering.rb
|
119
|
+
- lib/padrino/rendering/erubis_template.rb
|
120
|
+
- lib/padrino/rendering/haml_template.rb
|
121
|
+
- lib/padrino/rendering/slim_template.rb
|
122
|
+
- padrino-helpers.gemspec
|
123
|
+
- test/fixtures/apps/.components
|
124
|
+
- test/fixtures/apps/.gitignore
|
125
|
+
- test/fixtures/apps/render.rb
|
126
|
+
- test/fixtures/apps/views/article/comment/show.slim
|
127
|
+
- test/fixtures/apps/views/blog/post.erb
|
128
|
+
- test/fixtures/apps/views/layouts/specific.erb
|
129
|
+
- test/fixtures/apps/views/test/post.erb
|
130
|
+
- test/fixtures/layouts/layout.erb
|
131
|
+
- test/fixtures/markup_app/app.rb
|
132
|
+
- test/fixtures/markup_app/views/button_to.erb
|
133
|
+
- test/fixtures/markup_app/views/button_to.haml
|
134
|
+
- test/fixtures/markup_app/views/button_to.slim
|
135
|
+
- test/fixtures/markup_app/views/capture_concat.erb
|
136
|
+
- test/fixtures/markup_app/views/capture_concat.haml
|
137
|
+
- test/fixtures/markup_app/views/capture_concat.slim
|
138
|
+
- test/fixtures/markup_app/views/content_for.erb
|
139
|
+
- test/fixtures/markup_app/views/content_for.haml
|
140
|
+
- test/fixtures/markup_app/views/content_for.slim
|
141
|
+
- test/fixtures/markup_app/views/content_tag.erb
|
142
|
+
- test/fixtures/markup_app/views/content_tag.haml
|
143
|
+
- test/fixtures/markup_app/views/content_tag.slim
|
144
|
+
- test/fixtures/markup_app/views/current_engine.erb
|
145
|
+
- test/fixtures/markup_app/views/current_engine.haml
|
146
|
+
- test/fixtures/markup_app/views/current_engine.slim
|
147
|
+
- test/fixtures/markup_app/views/fields_for.erb
|
148
|
+
- test/fixtures/markup_app/views/fields_for.haml
|
149
|
+
- test/fixtures/markup_app/views/fields_for.slim
|
150
|
+
- test/fixtures/markup_app/views/form_for.erb
|
151
|
+
- test/fixtures/markup_app/views/form_for.haml
|
152
|
+
- test/fixtures/markup_app/views/form_for.slim
|
153
|
+
- test/fixtures/markup_app/views/form_tag.erb
|
154
|
+
- test/fixtures/markup_app/views/form_tag.haml
|
155
|
+
- test/fixtures/markup_app/views/form_tag.slim
|
156
|
+
- test/fixtures/markup_app/views/link_to.erb
|
157
|
+
- test/fixtures/markup_app/views/link_to.haml
|
158
|
+
- test/fixtures/markup_app/views/link_to.slim
|
159
|
+
- test/fixtures/markup_app/views/mail_to.erb
|
160
|
+
- test/fixtures/markup_app/views/mail_to.haml
|
161
|
+
- test/fixtures/markup_app/views/mail_to.slim
|
162
|
+
- test/fixtures/markup_app/views/meta_tag.erb
|
163
|
+
- test/fixtures/markup_app/views/meta_tag.haml
|
164
|
+
- test/fixtures/markup_app/views/meta_tag.slim
|
165
|
+
- test/fixtures/markup_app/views/partials/_erb.erb
|
166
|
+
- test/fixtures/markup_app/views/partials/_haml.haml
|
167
|
+
- test/fixtures/markup_app/views/partials/_slim.slim
|
168
|
+
- test/fixtures/markup_app/views/simple_partial.erb
|
169
|
+
- test/fixtures/markup_app/views/simple_partial.haml
|
170
|
+
- test/fixtures/markup_app/views/simple_partial.slim
|
171
|
+
- test/fixtures/render_app/app.rb
|
172
|
+
- test/fixtures/render_app/views/_deep.erb
|
173
|
+
- test/fixtures/render_app/views/_deep.haml
|
174
|
+
- test/fixtures/render_app/views/_deep.slim
|
175
|
+
- test/fixtures/render_app/views/_partial_block_erb.erb
|
176
|
+
- test/fixtures/render_app/views/_partial_block_haml.haml
|
177
|
+
- test/fixtures/render_app/views/_partial_block_slim.slim
|
178
|
+
- test/fixtures/render_app/views/_unsafe.html.builder
|
179
|
+
- test/fixtures/render_app/views/_unsafe_object.html.builder
|
180
|
+
- test/fixtures/render_app/views/current_engine.haml
|
181
|
+
- test/fixtures/render_app/views/current_engines/_erb.erb
|
182
|
+
- test/fixtures/render_app/views/current_engines/_haml.haml
|
183
|
+
- test/fixtures/render_app/views/current_engines/_slim.slim
|
184
|
+
- test/fixtures/render_app/views/double_capture_erb.erb
|
185
|
+
- test/fixtures/render_app/views/double_capture_haml.haml
|
186
|
+
- test/fixtures/render_app/views/double_capture_slim.slim
|
187
|
+
- test/fixtures/render_app/views/erb/test.erb
|
188
|
+
- test/fixtures/render_app/views/explicit_engine.haml
|
189
|
+
- test/fixtures/render_app/views/haml/test.haml
|
190
|
+
- test/fixtures/render_app/views/render_block_erb.erb
|
191
|
+
- test/fixtures/render_app/views/render_block_haml.haml
|
192
|
+
- test/fixtures/render_app/views/render_block_slim.slim
|
193
|
+
- test/fixtures/render_app/views/ruby_block_capture_erb.erb
|
194
|
+
- test/fixtures/render_app/views/ruby_block_capture_haml.haml
|
195
|
+
- test/fixtures/render_app/views/ruby_block_capture_slim.slim
|
196
|
+
- test/fixtures/render_app/views/template/_user.haml
|
197
|
+
- test/fixtures/render_app/views/template/haml_template.haml
|
198
|
+
- test/fixtures/render_app/views/template/some_template.haml
|
199
|
+
- test/fixtures/render_app/views/wrong_capture_erb.erb
|
200
|
+
- test/fixtures/render_app/views/wrong_capture_haml.haml
|
201
|
+
- test/fixtures/render_app/views/wrong_capture_slim.slim
|
202
|
+
- test/helper.rb
|
203
|
+
- test/test_asset_tag_helpers.rb
|
204
|
+
- test/test_form_builder.rb
|
205
|
+
- test/test_form_helpers.rb
|
206
|
+
- test/test_format_helpers.rb
|
207
|
+
- test/test_helpers.rb
|
208
|
+
- test/test_locale.rb
|
209
|
+
- test/test_number_helpers.rb
|
210
|
+
- test/test_output_helpers.rb
|
211
|
+
- test/test_render_helpers.rb
|
212
|
+
- test/test_rendering.rb
|
213
|
+
- test/test_rendering_extensions.rb
|
214
|
+
- test/test_tag_helpers.rb
|
215
|
+
homepage: http://www.padrinorb.com
|
216
|
+
licenses:
|
217
|
+
- MIT
|
218
|
+
metadata: {}
|
219
|
+
post_install_message:
|
220
|
+
rdoc_options:
|
221
|
+
- --charset=UTF-8
|
222
|
+
require_paths:
|
223
|
+
- lib
|
224
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - '>='
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
|
+
requirements:
|
231
|
+
- - '>='
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: 1.3.6
|
234
|
+
requirements: []
|
235
|
+
rubyforge_project: padrino-helpers
|
236
|
+
rubygems_version: 2.0.14
|
237
|
+
signing_key:
|
238
|
+
specification_version: 4
|
239
|
+
summary: Helpers for padrino
|
240
|
+
test_files: []
|
241
|
+
has_rdoc:
|