express_admin 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/express_admin.js +2 -0
- data/app/assets/javascripts/express_admin/admin.js +2 -0
- data/app/assets/stylesheets/express_admin.css +0 -5
- data/app/assets/stylesheets/express_admin/components/_definition.sass +8 -0
- data/app/assets/stylesheets/express_admin/components/_pane.sass +2 -2
- data/app/assets/stylesheets/express_admin/components/_sub_menu.sass +2 -2
- data/app/assets/stylesheets/express_admin/components/_widget_box.sass +4 -4
- data/app/assets/stylesheets/express_admin/globals/_foundation_overrides.sass +2 -1
- data/app/assets/stylesheets/express_admin/globals/_mixins.sass +0 -2
- data/app/assets/stylesheets/express_admin/plugins/_select2.sass +475 -68
- data/app/assets/stylesheets/express_admin/plugins/_tinymce.sass +2 -0
- data/app/assets/stylesheets/express_admin/screen.sass +6 -1
- data/app/assets/stylesheets/express_admin/sections/_header.sass +1 -0
- data/app/assets/stylesheets/express_admin/sections/_main_content.sass +6 -2
- data/app/assets/stylesheets/express_admin/sections/_main_region.sass +10 -7
- data/app/assets/stylesheets/express_admin/sections/_page_body.sass +6 -3
- data/app/assets/stylesheets/express_admin/sections/_page_sidebar.sass +6 -2
- data/app/assets/stylesheets/express_admin/sections/_sidebar_region.sass +4 -3
- data/app/assets/stylesheets/express_admin/shared/_buttons.sass +0 -1
- data/app/assets/stylesheets/express_admin/shared/_forms.sass +14 -2
- data/app/assets/stylesheets/express_admin/shared/_trees.sass +7 -3
- data/app/assets/stylesheets/ionicons/{ionicons.css.sass → ionicons.sass} +0 -0
- data/app/components/express_admin/addon_sidebar_component.rb +23 -34
- data/app/components/express_admin/definition_list.rb +38 -0
- data/app/components/express_admin/definition_table.rb +51 -0
- data/app/components/express_admin/flash_message_component.rb +5 -11
- data/app/components/express_admin/layout_component.rb +2 -9
- data/app/components/express_admin/main_region.rb +4 -4
- data/app/components/express_admin/mega_menu_component.rb +40 -34
- data/app/components/express_admin/page_header_component.rb +8 -18
- data/app/components/express_admin/pane.rb +13 -10
- data/app/components/express_admin/setting_form.rb +23 -20
- data/app/components/express_admin/sidebar_region.rb +6 -4
- data/app/components/express_admin/smart_form.rb +21 -18
- data/app/components/express_admin/smart_table.rb +44 -40
- data/app/components/express_admin/widget_box.rb +8 -8
- data/app/helpers/express_admin/admin_helper.rb +1 -1
- data/app/views/devise/sessions/new.html.et +63 -0
- data/app/views/layouts/express_admin/admin.html.et +8 -9
- data/app/views/shared/express_admin/_navigation_bar.html.et +6 -5
- data/config/tinymce.yml +29 -0
- data/lib/core_extensions/string_promptify.rb +9 -0
- data/lib/express_admin.rb +1 -0
- data/lib/express_admin/engine.rb +11 -9
- data/lib/express_admin/version.rb +1 -1
- data/lib/generators/express_admin/install/install_generator.rb +7 -0
- data/lib/generators/express_admin/install/templates/views/devise/sessions/new.html.et +1 -0
- data/test/dummy/app/views/demo/sign_in.html.et +6 -6
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +11361 -0
- data/test/dummy/test/components/smart_form_test.rb +57 -34
- data/test/dummy/test/components/smart_table_test.rb +35 -35
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1EoyfDwFVtgMAOjo7HPkor8TQbVaioOFx9hildx_DTQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4OPIkynisipUm8vKo57HUhBMWFSHBno_IH6OdpK29IA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4hK1AdPGHbXGkebvk-nSvhxtCdOSlMYNWvA43CvQKhI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6c0H20s6oHf45XogeDELaojxa0PX1NmirTTWV1ClcRw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9QvwPXfTSVmgQX6tdK9GuCn0--MZ8Z8eJJbHpUEq1p8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BoKdGhgi5NHfGTc42p9nltpEIYj_BBUxVdv7YhpBmmA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GJGMlSyTg1AvPCV_6PaLOTVEKbHeVKY1jhCoaKuRlxM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H0aD5KRj-4fhORkqWcWZfKPOQfu_ggvt4OmYOl4S5mw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IBLgVNsKBbJxN8NQnh6zTc3bC_OG-8BhtA3xCNDV6ks.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Po8q4NrWy9Kymnz_HbOk-WbdGY_KuuXc6urGogTHe7U.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/V1aP9G-CVtOLR5PTnHleid8WC9TSfFAT1DzAygp_5CQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WhePtBvZPmF1Jhdcc4glsjhxBJQo9Qw0CDgy_F8lClY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dVokuKbK8HbOtvPIksKGBAYE8x44l372dQ0gEISqbdo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oN1zSGeSEz4KhkAuUF_yFDsCVPkulfFjomEAjFzGdPc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qIeSoker4TjM7JYRQTOjgRd4nN0WeHnNY1GMK7Zpe8M.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tTFLM1bjKSeg4nyH7GWbTY6JVvuYhNKFFvsOMS9h8O0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tzX-HHF4F70o-aSB9Z_duoPxFGDv3auYnrpko9SYafU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vMbWbI1SO5bEaiu2pRvV8NDmms_j5flYoRvCSJavhdU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ypZCDLo54Pz2ZoUxrxSEUjT5FYMAq8Ozp8OTOYDRdAE.cache +0 -0
- data/test/fixtures/categories.yml +8 -0
- data/test/test_helper.rb +34 -0
- data/vendor/gems/express_templates/CHANGELOG.md +12 -0
- data/vendor/gems/express_templates/Gemfile.lock +4 -1
- data/vendor/gems/express_templates/README.md +22 -41
- data/vendor/gems/express_templates/express_templates.gemspec +1 -0
- data/vendor/gems/express_templates/lib/arbre/patches.rb +50 -0
- data/vendor/gems/express_templates/lib/core_extensions/proc.rb +1 -0
- data/vendor/gems/express_templates/lib/express_templates.rb +2 -3
- data/vendor/gems/express_templates/lib/express_templates/compiler.rb +2 -7
- data/vendor/gems/express_templates/lib/express_templates/components.rb +1 -9
- data/vendor/gems/express_templates/lib/express_templates/components/base.rb +33 -37
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/resourceful.rb +30 -18
- data/vendor/gems/express_templates/lib/express_templates/components/configurable.rb +41 -0
- data/vendor/gems/express_templates/lib/express_templates/components/form_rails_support.rb +5 -6
- data/vendor/gems/express_templates/lib/express_templates/components/forms.rb +0 -1
- data/vendor/gems/express_templates/lib/express_templates/components/forms/basic_fields.rb +3 -6
- data/vendor/gems/express_templates/lib/express_templates/components/forms/checkbox.rb +1 -1
- data/vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb +15 -25
- data/vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb +20 -11
- data/vendor/gems/express_templates/lib/express_templates/components/forms/option_support.rb +2 -2
- data/vendor/gems/express_templates/lib/express_templates/components/forms/radio.rb +7 -8
- data/vendor/gems/express_templates/lib/express_templates/components/forms/select.rb +61 -37
- data/vendor/gems/express_templates/lib/express_templates/components/forms/select_collection.rb +2 -8
- data/vendor/gems/express_templates/lib/express_templates/components/forms/submit.rb +7 -6
- data/vendor/gems/express_templates/lib/express_templates/components/tree_for.rb +26 -42
- data/vendor/gems/express_templates/lib/express_templates/version.rb +1 -1
- data/vendor/gems/express_templates/test/components/base_test.rb +17 -15
- data/vendor/gems/express_templates/test/components/capabilities/resourceful_test.rb +3 -3
- data/vendor/gems/express_templates/test/components/configurable_test.rb +27 -21
- data/vendor/gems/express_templates/test/components/forms/basic_fields_test.rb +57 -17
- data/vendor/gems/express_templates/test/components/forms/checkbox_test.rb +16 -22
- data/vendor/gems/express_templates/test/components/forms/express_form_test.rb +23 -76
- data/vendor/gems/express_templates/test/components/forms/radio_test.rb +31 -27
- data/vendor/gems/express_templates/test/components/forms/select_test.rb +46 -71
- data/vendor/gems/express_templates/test/components/forms/submit_test.rb +10 -5
- data/vendor/gems/express_templates/test/components/tree_for_test.rb +24 -52
- data/vendor/gems/express_templates/test/dummy/app/views/hello/show.html.et +4 -3
- data/vendor/gems/express_templates/test/dummy/app/views/layouts/application.html.et +1 -1
- data/vendor/gems/express_templates/test/dummy/log/test.log +4296 -0
- data/vendor/gems/express_templates/test/express_templates_test.rb +5 -1
- data/vendor/gems/express_templates/test/handler_test.rb +19 -17
- data/vendor/gems/express_templates/test/performance_test.rb +11 -7
- data/vendor/gems/express_templates/test/test_helper.rb +162 -1
- metadata +58 -47
- data/app/assets/stylesheets/express_admin/components/_megadropdown.sass +0 -66
- data/vendor/gems/express_templates/diagrams/diagram.graffle +0 -2404
- data/vendor/gems/express_templates/diagrams/diagram_express_templates.png +0 -0
- data/vendor/gems/express_templates/diagrams/diagram_haml_erb.png +0 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/adoptable.rb +0 -20
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/building.rb +0 -14
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/conditionality.rb +0 -54
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/configurable.rb +0 -90
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/iterating.rb +0 -75
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/parenting.rb +0 -72
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/rendering.rb +0 -30
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/templating.rb +0 -198
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/wrapping.rb +0 -84
- data/vendor/gems/express_templates/lib/express_templates/components/column.rb +0 -13
- data/vendor/gems/express_templates/lib/express_templates/components/container.rb +0 -7
- data/vendor/gems/express_templates/lib/express_templates/components/content_for.rb +0 -42
- data/vendor/gems/express_templates/lib/express_templates/components/for_each.rb +0 -30
- data/vendor/gems/express_templates/lib/express_templates/components/forms/form_support.rb +0 -13
- data/vendor/gems/express_templates/lib/express_templates/components/null_wrap.rb +0 -41
- data/vendor/gems/express_templates/lib/express_templates/components/row.rb +0 -28
- data/vendor/gems/express_templates/lib/express_templates/components/table_for.rb +0 -163
- data/vendor/gems/express_templates/lib/express_templates/components/unless_block.rb +0 -40
- data/vendor/gems/express_templates/lib/express_templates/expander.rb +0 -140
- data/vendor/gems/express_templates/lib/express_templates/macro.rb +0 -45
- data/vendor/gems/express_templates/lib/express_templates/markup.rb +0 -9
- data/vendor/gems/express_templates/lib/express_templates/markup/html_tag.rb +0 -62
- data/vendor/gems/express_templates/lib/express_templates/markup/tag.rb +0 -150
- data/vendor/gems/express_templates/lib/express_templates/markup/wrapper.rb +0 -94
- data/vendor/gems/express_templates/lib/express_templates/markup/yielder.rb +0 -21
- data/vendor/gems/express_templates/test/components/column_test.rb +0 -11
- data/vendor/gems/express_templates/test/components/conditionality_test.rb +0 -37
- data/vendor/gems/express_templates/test/components/container_test.rb +0 -66
- data/vendor/gems/express_templates/test/components/content_for_test.rb +0 -60
- data/vendor/gems/express_templates/test/components/iterating_test.rb +0 -127
- data/vendor/gems/express_templates/test/components/null_wrap_test.rb +0 -28
- data/vendor/gems/express_templates/test/components/row_test.rb +0 -16
- data/vendor/gems/express_templates/test/components/table_for_test.rb +0 -211
- data/vendor/gems/express_templates/test/expander_stack_test.rb +0 -41
- data/vendor/gems/express_templates/test/expander_test.rb +0 -99
- data/vendor/gems/express_templates/test/markup/tag_test.rb +0 -149
- data/vendor/gems/express_templates/test/markup/wrapper_test.rb +0 -42
- data/vendor/gems/express_templates/test/markup/yielder_test.rb +0 -9
@@ -5,6 +5,10 @@ class ExpressTemplatesTest < ActiveSupport::TestCase
|
|
5
5
|
assert_kind_of Module, ExpressTemplates
|
6
6
|
end
|
7
7
|
|
8
|
+
def assigns
|
9
|
+
{}
|
10
|
+
end
|
11
|
+
|
8
12
|
test "ExpressTemplates.render renders a template" do
|
9
13
|
result = ExpressTemplates.render(self) do
|
10
14
|
ul {
|
@@ -13,7 +17,7 @@ class ExpressTemplatesTest < ActiveSupport::TestCase
|
|
13
17
|
li 'three'
|
14
18
|
}
|
15
19
|
end
|
16
|
-
assert_equal "<ul
|
20
|
+
assert_equal "<ul>\n <li>one</li>\n <li>two</li>\n <li>three</li>\n</ul>\n", result
|
17
21
|
end
|
18
22
|
|
19
23
|
end
|
@@ -2,8 +2,6 @@ require 'test_helper'
|
|
2
2
|
|
3
3
|
class HandlerTest < ActiveSupport::TestCase
|
4
4
|
|
5
|
-
GARAHandler = ExpressTemplates::Template::Handler.new
|
6
|
-
|
7
5
|
DEFAULT_DOCTYPE = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">"
|
8
6
|
A_LINK = %Q(<a href="#">link</a>)
|
9
7
|
|
@@ -38,13 +36,17 @@ class HandlerTest < ActiveSupport::TestCase
|
|
38
36
|
block.call
|
39
37
|
end
|
40
38
|
|
39
|
+
def assigns
|
40
|
+
{}
|
41
|
+
end
|
42
|
+
|
41
43
|
def link_helper
|
42
|
-
A_LINK
|
44
|
+
A_LINK.html_safe
|
43
45
|
end
|
44
46
|
end
|
45
47
|
|
46
48
|
def new_template(body = " h1 'Hello' ", details = { format: :html })
|
47
|
-
ActionView::Template.new(body, "hello template", details.fetch(:handler) {
|
49
|
+
ActionView::Template.new(body, "hello template", details.fetch(:handler) { ExpressTemplates::Template::Handler.new }, {:virtual_path => "hello"}.merge!(details))
|
48
50
|
end
|
49
51
|
|
50
52
|
def render(locals = {})
|
@@ -73,22 +75,23 @@ class HandlerTest < ActiveSupport::TestCase
|
|
73
75
|
test "html generates <h1>Hello</h1> by default" do
|
74
76
|
@template = new_template
|
75
77
|
result = render
|
76
|
-
assert_equal "<h1>Hello</h1
|
78
|
+
assert_equal "<h1>Hello</h1>\n", result
|
77
79
|
end
|
78
80
|
|
79
81
|
test "nesting elements with ruby block structure" do
|
80
82
|
@template = new_template("ul { li 'one' ; li 'two' ; li 'three' }")
|
81
|
-
assert_equal "<ul
|
83
|
+
assert_equal "<ul>\n <li>one</li>\n <li>two</li>\n <li>three</li>\n</ul>\n", render
|
82
84
|
end
|
83
85
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
86
|
+
# TODO?: Does not work with arbre
|
87
|
+
# test "class names" do
|
88
|
+
# @template = new_template("p.whatever.another 'Lorum Ipsum' ")
|
89
|
+
# assert_equal "<p class=\"whatever another\">Lorum Ipsum</p>\n", render
|
90
|
+
# end
|
88
91
|
|
89
92
|
test "string in block works" do
|
90
93
|
@template = new_template "h1 { 'foo' } "
|
91
|
-
assert_equal "<h1>foo</h1
|
94
|
+
assert_equal "<h1>foo</h1>\n", render
|
92
95
|
end
|
93
96
|
|
94
97
|
# test "real document has doctype and newline" do
|
@@ -98,25 +101,24 @@ class HandlerTest < ActiveSupport::TestCase
|
|
98
101
|
|
99
102
|
|
100
103
|
test "other attributes" do
|
101
|
-
@template = new_template("
|
102
|
-
assert_equal "<p style=\"align: right;\">Lorum Ipsum</p
|
104
|
+
@template = new_template("para('Lorum Ipsum', style: 'align: right;')")
|
105
|
+
assert_equal "<p style=\"align: right;\">Lorum Ipsum</p>\n", render
|
103
106
|
end
|
104
107
|
|
105
108
|
test "locals work" do
|
106
109
|
@template = new_template "h1 { my_title }"
|
107
110
|
@template.locals = [:my_title]
|
108
|
-
assert_equal "<h1>Foo</h1
|
111
|
+
assert_equal "<h1>Foo</h1>\n", render(my_title: 'Foo')
|
109
112
|
end
|
110
113
|
|
111
114
|
test "helpers returning html when alone in a block" do
|
112
115
|
@template = new_template("li { link_helper } ")
|
113
|
-
assert_equal "<li>#{A_LINK}</li
|
116
|
+
assert_equal "<li>#{A_LINK}</li>\n", render
|
114
117
|
end
|
115
118
|
|
116
119
|
test "helpers returning html work in sequence within a block" do
|
117
120
|
@template = new_template("li { link_helper ; link_helper } ")
|
118
|
-
assert_equal "<li
|
121
|
+
assert_equal "<li>\n#{A_LINK}#{A_LINK}</li>\n", render
|
119
122
|
end
|
120
123
|
|
121
|
-
|
122
124
|
end
|
@@ -13,7 +13,7 @@ html(lang: "en") {
|
|
13
13
|
}
|
14
14
|
body {
|
15
15
|
h1 "Hello"
|
16
|
-
|
16
|
+
para "Some text"
|
17
17
|
javascript_include_tag "application"
|
18
18
|
}
|
19
19
|
}
|
@@ -64,7 +64,11 @@ HAML
|
|
64
64
|
end
|
65
65
|
# end
|
66
66
|
|
67
|
-
def
|
67
|
+
def assigns
|
68
|
+
{}
|
69
|
+
end
|
70
|
+
|
71
|
+
def measure_time(count)
|
68
72
|
start_time = Time.now
|
69
73
|
1.upto(100) { yield }
|
70
74
|
end_time = Time.now
|
@@ -72,20 +76,20 @@ HAML
|
|
72
76
|
end
|
73
77
|
|
74
78
|
# test "performance is okay" do
|
75
|
-
# duration =
|
79
|
+
# duration = measure_time(100) { ExpressTemplates.render(self, "#{GARA_EXAMPLE}") }
|
76
80
|
# assert_operator 1.0, :>, duration
|
77
81
|
# end
|
78
82
|
|
79
83
|
# test "performance no more than 3.5x slower than erubis" do
|
80
84
|
# eruby = Erubis::Eruby.new
|
81
|
-
# duration_erb =
|
82
|
-
# duration_express_templates =
|
85
|
+
# duration_erb = measure_time(100) { eval(eruby.convert(ERB_EXAMPLE)) }
|
86
|
+
# duration_express_templates = measure_time(100) { ExpressTemplates.render(self, "#{GARA_EXAMPLE}") }
|
83
87
|
# assert_operator 4.0, :>, (duration_express_templates/duration_erb)
|
84
88
|
# end
|
85
89
|
|
86
90
|
# test "performance better than haml" do
|
87
|
-
# duration_haml =
|
88
|
-
# duration_express_templates =
|
91
|
+
# duration_haml = measure_time(100) { Haml::Engine.new(HAML_EXAMPLE).render(self) }
|
92
|
+
# duration_express_templates = measure_time(100) { ExpressTemplates.render(self, "#{GARA_EXAMPLE}") }
|
89
93
|
# assert_operator 0.5, :>, (duration_express_templates/duration_haml)
|
90
94
|
# end
|
91
95
|
|
@@ -23,6 +23,167 @@ ETC = ExpressTemplates::Components
|
|
23
23
|
ET = ExpressTemplates
|
24
24
|
Interpolator = ExpressTemplates::Interpolator
|
25
25
|
|
26
|
-
|
26
|
+
require 'arbre'
|
27
|
+
Tag = Arbre::HTML::Tag
|
27
28
|
|
28
29
|
ENV["ET_NO_INDENT_MARKUP"] = 'true'
|
30
|
+
|
31
|
+
module AdditionalHelpers
|
32
|
+
|
33
|
+
def protect_against_forgery?
|
34
|
+
true
|
35
|
+
end
|
36
|
+
|
37
|
+
def form_authenticity_token
|
38
|
+
"AUTH_TOKEN"
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
module ActiveSupport
|
46
|
+
class TestCase
|
47
|
+
def arbre(&block)
|
48
|
+
Arbre::Context.new assigns, helpers, &block
|
49
|
+
end
|
50
|
+
def assigns
|
51
|
+
{}
|
52
|
+
end
|
53
|
+
def helpers
|
54
|
+
mock_action_view(assigns)
|
55
|
+
end
|
56
|
+
def mock_action_view(assigns = {})
|
57
|
+
controller = ActionView::TestCase::TestController.new
|
58
|
+
ActionView::Base.send :include, ActionView::Helpers
|
59
|
+
ActionView::Base.send :include, ActionView::Helpers::UrlHelper
|
60
|
+
ActionView::Base.send :include, AdditionalHelpers
|
61
|
+
view = ActionView::Base.new(ActionController::Base.view_paths, assigns, controller)
|
62
|
+
eigenklass = class << view
|
63
|
+
self
|
64
|
+
end
|
65
|
+
assigns.each do |helper_name,value|
|
66
|
+
eigenklass.send(:define_method, helper_name) { value }
|
67
|
+
end
|
68
|
+
view
|
69
|
+
end
|
70
|
+
|
71
|
+
def resource(persisted = true)
|
72
|
+
@resource ||= OpenStruct.new(
|
73
|
+
id: 1,
|
74
|
+
name: 'Foo',
|
75
|
+
body: 'Hello world',
|
76
|
+
email: 'some@email.com',
|
77
|
+
phone: '123123123',
|
78
|
+
url: 'http://someurl.com',
|
79
|
+
number: 123,
|
80
|
+
dropdown: 'yes',
|
81
|
+
gender: 'Male'
|
82
|
+
)
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
|
89
|
+
class ExpressTemplates::Components::Forms::ExpressForm
|
90
|
+
def resource_path(resource)
|
91
|
+
"/resource/1"
|
92
|
+
end
|
93
|
+
|
94
|
+
def collection_path
|
95
|
+
"/resources"
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
|
100
|
+
class ::Gender
|
101
|
+
attr :id, :name
|
102
|
+
def initialize(id, name)
|
103
|
+
@id, @name = id, name
|
104
|
+
end
|
105
|
+
def self.columns
|
106
|
+
[OpenStruct.new(name: 'id'), OpenStruct.new(name: 'name')]
|
107
|
+
end
|
108
|
+
def self.distinct(field)
|
109
|
+
return self #dummy
|
110
|
+
end
|
111
|
+
def self.pluck(*fields)
|
112
|
+
return ['Male', 'Female']
|
113
|
+
end
|
114
|
+
def self.select(*)
|
115
|
+
return self
|
116
|
+
end
|
117
|
+
def self.order(*)
|
118
|
+
all
|
119
|
+
end
|
120
|
+
def self.all
|
121
|
+
return [new(1, 'Male'), new(2, 'Female')]
|
122
|
+
end
|
123
|
+
end
|
124
|
+
class ::Tagging
|
125
|
+
attr :id, :name
|
126
|
+
def initialize(id, name)
|
127
|
+
@id, @name = id, name
|
128
|
+
end
|
129
|
+
def self.columns
|
130
|
+
[OpenStruct.new(name: 'id'), OpenStruct.new(name: 'name')]
|
131
|
+
end
|
132
|
+
def self.select(*)
|
133
|
+
return self
|
134
|
+
end
|
135
|
+
def self.order(*)
|
136
|
+
all
|
137
|
+
end
|
138
|
+
def self.all
|
139
|
+
return [new(1, 'Friend'), new(2, 'Enemy'), new(3, 'Frenemy')]
|
140
|
+
end
|
141
|
+
end
|
142
|
+
class ::Person
|
143
|
+
attr :id, :city, :subscribed, :preferred_email_format
|
144
|
+
def initialize(id = 1, city = 'San Francisco')
|
145
|
+
@id, @city = id, city
|
146
|
+
end
|
147
|
+
def gender
|
148
|
+
::Gender.new(1, 'Male')
|
149
|
+
end
|
150
|
+
def self.reflect_on_association(name)
|
151
|
+
if name.eql? :gender
|
152
|
+
dummy_belongs_to_association = Object.new
|
153
|
+
class << dummy_belongs_to_association
|
154
|
+
def macro ; :belongs_to ; end
|
155
|
+
def klass ; ::Gender ; end
|
156
|
+
def polymorphic? ; false ; end
|
157
|
+
end
|
158
|
+
return dummy_belongs_to_association
|
159
|
+
end
|
160
|
+
if name.eql? :taggings
|
161
|
+
dummy_has_many_through_association = Object.new
|
162
|
+
class << dummy_has_many_through_association
|
163
|
+
def macro ; :has_many ; end
|
164
|
+
def klass ; ::Tagging ; end
|
165
|
+
def options ; {:through => :peron_tags} ; end
|
166
|
+
def polymorphic? ; false ; end
|
167
|
+
end
|
168
|
+
return dummy_has_many_through_association
|
169
|
+
end
|
170
|
+
end
|
171
|
+
def taggings
|
172
|
+
::Tagging.all.slice(0..1)
|
173
|
+
end
|
174
|
+
def tagging_ids
|
175
|
+
[1, 2]
|
176
|
+
end
|
177
|
+
def self.distinct(field)
|
178
|
+
return self #dummy
|
179
|
+
end
|
180
|
+
def self.pluck(*fields)
|
181
|
+
return ['Manila', 'Hong Kong', 'San Francisco']
|
182
|
+
end
|
183
|
+
def gender # not really
|
184
|
+
'Male'
|
185
|
+
end
|
186
|
+
def gender_id
|
187
|
+
1
|
188
|
+
end
|
189
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: express_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Talcott Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bourbon
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.7.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.7.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jquery-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.1.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: tinymce-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 4.1.6
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 4.1.6
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: gravatar_image_tag
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,9 +263,9 @@ files:
|
|
249
263
|
- app/assets/javascripts/express_admin/utility.js
|
250
264
|
- app/assets/stylesheets/dataTables/dataTables.foundation.css.erb
|
251
265
|
- app/assets/stylesheets/express_admin.css
|
266
|
+
- app/assets/stylesheets/express_admin/components/_definition.sass
|
252
267
|
- app/assets/stylesheets/express_admin/components/_empty_state.sass
|
253
268
|
- app/assets/stylesheets/express_admin/components/_main_menu.sass
|
254
|
-
- app/assets/stylesheets/express_admin/components/_megadropdown.sass
|
255
269
|
- app/assets/stylesheets/express_admin/components/_module_sidebar.sass
|
256
270
|
- app/assets/stylesheets/express_admin/components/_pane.sass
|
257
271
|
- app/assets/stylesheets/express_admin/components/_sub_menu.sass
|
@@ -263,6 +277,7 @@ files:
|
|
263
277
|
- app/assets/stylesheets/express_admin/globals/_variables.sass
|
264
278
|
- app/assets/stylesheets/express_admin/plugins/_dataTables.sass
|
265
279
|
- app/assets/stylesheets/express_admin/plugins/_select2.sass
|
280
|
+
- app/assets/stylesheets/express_admin/plugins/_tinymce.sass
|
266
281
|
- app/assets/stylesheets/express_admin/screen.sass
|
267
282
|
- app/assets/stylesheets/express_admin/sections/_header.sass
|
268
283
|
- app/assets/stylesheets/express_admin/sections/_main_content.sass
|
@@ -283,8 +298,10 @@ files:
|
|
283
298
|
- app/assets/stylesheets/express_admin/shared/_tabs.sass
|
284
299
|
- app/assets/stylesheets/express_admin/shared/_trees.sass
|
285
300
|
- app/assets/stylesheets/express_admin/shared/_widgets.sass
|
286
|
-
- app/assets/stylesheets/ionicons/ionicons.
|
301
|
+
- app/assets/stylesheets/ionicons/ionicons.sass
|
287
302
|
- app/components/express_admin/addon_sidebar_component.rb
|
303
|
+
- app/components/express_admin/definition_list.rb
|
304
|
+
- app/components/express_admin/definition_table.rb
|
288
305
|
- app/components/express_admin/flash_message_component.rb
|
289
306
|
- app/components/express_admin/layout_component.rb
|
290
307
|
- app/components/express_admin/main_region.rb
|
@@ -298,6 +315,7 @@ files:
|
|
298
315
|
- app/components/express_admin/widget_box.rb
|
299
316
|
- app/helpers/express_admin/admin_helper.rb
|
300
317
|
- app/helpers/express_admin/module_settings_helper.rb
|
318
|
+
- app/views/devise/sessions/new.html.et
|
301
319
|
- app/views/express_admin/dashboard/show.html.et
|
302
320
|
- app/views/layouts/express_admin/admin.html.et
|
303
321
|
- app/views/layouts/express_admin/external.html.et
|
@@ -306,6 +324,8 @@ files:
|
|
306
324
|
- app/views/shared/express_admin/_navigation_bar_profile.html.et
|
307
325
|
- app/views/shared/express_admin/_title.html.et
|
308
326
|
- config/initializers/gravatar_image_tag.rb
|
327
|
+
- config/tinymce.yml
|
328
|
+
- lib/core_extensions/string_promptify.rb
|
309
329
|
- lib/express_admin.rb
|
310
330
|
- lib/express_admin/engine.rb
|
311
331
|
- lib/express_admin/menu.rb
|
@@ -319,6 +339,7 @@ files:
|
|
319
339
|
- lib/generators/express_admin/install/templates/install/USAGE
|
320
340
|
- lib/generators/express_admin/install/templates/install/installer.rb.erb
|
321
341
|
- lib/generators/express_admin/install/templates/install/installer_test.rb.erb
|
342
|
+
- lib/generators/express_admin/install/templates/views/devise/sessions/new.html.et
|
322
343
|
- lib/generators/express_admin/install/templates/views/layouts/admin.html.et
|
323
344
|
- lib/generators/express_admin/scaffold/scaffold_generator.rb
|
324
345
|
- lib/generators/express_admin/scaffold/templates/controller/controller.rb
|
@@ -395,24 +416,32 @@ files:
|
|
395
416
|
- test/dummy/test/models/widget_test.rb
|
396
417
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/0fNukwCUjSC_GRsVIMtSMVdZkd5bq5eShMcGCrCVolc.cache
|
397
418
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/0zehLcbCZ34CdyBVctEOnsyyyFlqjtTI-VkIje9xdCQ.cache
|
419
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/1EoyfDwFVtgMAOjo7HPkor8TQbVaioOFx9hildx_DTQ.cache
|
398
420
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/1c4REJHKdQH9bwZhZ7Ixshmy_1jAzXc3-9OiDCDyRlk.cache
|
399
421
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/1rKHSaJsgLcnfIJRWYdYy7IimMCKcdI-I_ABekUargk.cache
|
400
422
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/2kMk5s4FKAOWE1z_MvFIKHmdvNDzyoknoi39xL7KwJw.cache
|
401
423
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/2oGeKB_QtwWpX3sJNHocsJiBZT60x_cwV_nSGh_HS-A.cache
|
402
424
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/2rQDWRzFxOlBnczJ1BLfE2yCPVvrhgLGfAI7VSM54wk.cache
|
403
425
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/3S9nnUmEIG4-hDY6cVc82GFUUWicNxtpFfWwJAmJSkI.cache
|
426
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4OPIkynisipUm8vKo57HUhBMWFSHBno_IH6OdpK29IA.cache
|
404
427
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4WErFdugnc8uWYwUE9vVfw4xxCgknECdpWhn8teZbLk.cache
|
405
428
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4a7epNa5R1jeKCtFsJKTdVqMEQm5p0clABRPIiKegMo.cache
|
429
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4hK1AdPGHbXGkebvk-nSvhxtCdOSlMYNWvA43CvQKhI.cache
|
406
430
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/57pjjkzReNE1L9yodewGebfd0AwnfQb33rtJjSTNpLc.cache
|
431
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/6c0H20s6oHf45XogeDELaojxa0PX1NmirTTWV1ClcRw.cache
|
407
432
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/7vpDV8GyXVfyuFIkRrrkOwUXyIaCmf22tBPDpvhCUUc.cache
|
408
433
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/89d4LukQv0MLDc35wfIlQZps-IyoMSdlaSZjBF4U5Qs.cache
|
434
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/9QvwPXfTSVmgQX6tdK9GuCn0--MZ8Z8eJJbHpUEq1p8.cache
|
409
435
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/BoKdGhgi5NHfGTc42p9nltpEIYj_BBUxVdv7YhpBmmA.cache
|
410
436
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/Cpj6WyqdggDUkeQl_Ut3P9sUtPHPXXwkmZ92TfIJGJ8.cache
|
411
437
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/DwepgSdLiEklsJWIJItEY_ZW-nOjjeHqcdQwBtu0mus.cache
|
412
438
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/FOJpwMQCx9V9wfhJQKFa2f7BjfP7vyS7M3o6VX0nAI0.cache
|
439
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/GJGMlSyTg1AvPCV_6PaLOTVEKbHeVKY1jhCoaKuRlxM.cache
|
413
440
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/GStmpiXE4g01i-UTlSKq8B9yS69WpAp0YH7vWyESBwI.cache
|
441
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/H0aD5KRj-4fhORkqWcWZfKPOQfu_ggvt4OmYOl4S5mw.cache
|
414
442
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/H53ZZ50FwJjYUOMH60F7cpINgkh9tOF4R3L6ANoH6tU.cache
|
415
443
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/HY86Fwn8VPlIysY56uV-wu90bISxrXeiCtwDXg94Glg.cache
|
444
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/IBLgVNsKBbJxN8NQnh6zTc3bC_OG-8BhtA3xCNDV6ks.cache
|
416
445
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/IcNDN_pmsAcLAMv6CST75OwOucmYm3q2099jn4tB0H8.cache
|
417
446
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/JpdfSFVzivQn6TFSivlys3nV3VzD8cT0ET8uqbptxV4.cache
|
418
447
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/KLD96-U_D5wyyJMO4CJwhXydNwVp3GnQ_Pcu9fqMWwk.cache
|
@@ -431,6 +460,7 @@ files:
|
|
431
460
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/UFtISk01WwcjjWcPLyjeHX3bgBqZHGQcb0Z4KFNmduA.cache
|
432
461
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/UWvG-0WgVYHVxrtLU32uumROQuSjJv_M_svW1B8YxhY.cache
|
433
462
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/UruI7_ZpuzDnmNir9hzUa_r8oiuuIfVTco19ACdxwRw.cache
|
463
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/V1aP9G-CVtOLR5PTnHleid8WC9TSfFAT1DzAygp_5CQ.cache
|
434
464
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/VQ2-2HlkGd1XVIHlwRGcgDsjto3oE-50-4E3HGdt8uU.cache
|
435
465
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/VezioHwyk87G6TWkkYX88tBHC6QToVGOU5geZ54Ts5A.cache
|
436
466
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/WG06sI8kg0TrFKDQh2slScD0xqYK5UF0gPF1Ri6APG0.cache
|
@@ -482,13 +512,17 @@ files:
|
|
482
512
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/pWOcH5cfG1n9XqxJljnSwciDeLoaTkoUxp1zlOo0WTk.cache
|
483
513
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/pu9xM8T2O07hU3PafxbOLjg2vJxbbHE3qnIK9JHqVhA.cache
|
484
514
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/qEHftZrJ-Da_nsvX4UOaALyIt0mwnOuE2TdtBPGAWEw.cache
|
515
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/qIeSoker4TjM7JYRQTOjgRd4nN0WeHnNY1GMK7Zpe8M.cache
|
485
516
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/rtdpq5fxIYMKM43QyOIluEECg2NP5OA-7Zi8yuowZSI.cache
|
517
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/tTFLM1bjKSeg4nyH7GWbTY6JVvuYhNKFFvsOMS9h8O0.cache
|
518
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/tzX-HHF4F70o-aSB9Z_duoPxFGDv3auYnrpko9SYafU.cache
|
486
519
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ujFa5Hu76zd1O6nO2G7WcgnOWZyTOMKLajazyMXAL_I.cache
|
487
520
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/uovLHiJZBoVnD7CXYj2WZYmAbBcqGLQOzu4Voz5Fx8c.cache
|
488
521
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/uyHm0KHsHpJhn-wv69exuuyU4kyJtW3DDQLP7tCD7e4.cache
|
489
522
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/v50nc5cuqpLxjepk7XsBmomcmFARYlHQRtq8yOv8AY0.cache
|
490
523
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vAh5eTPxI929yxRCyXgbKTWat5cZiVSOyX0UeTveXGE.cache
|
491
524
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vKiuNu1fQitE151bh0Tr2Ufkc80jWzchPjxaHkpjQL8.cache
|
525
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vMbWbI1SO5bEaiu2pRvV8NDmms_j5flYoRvCSJavhdU.cache
|
492
526
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vZBxpTbv5C70_MrcmWyk0z6yDwcZ-yjr7fo16bQaLhY.cache
|
493
527
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/x-3lyh5i4qS-Q9E3X2uj2LthTOxsndFTrFXBsPPo6hI.cache
|
494
528
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/x3xQgAyjbrGTXy2FX2UzGG77agJgt_xsyNBuofrvY_E.cache
|
@@ -498,6 +532,7 @@ files:
|
|
498
532
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ypZCDLo54Pz2ZoUxrxSEUjT5FYMAq8Ozp8OTOYDRdAE.cache
|
499
533
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/zV58Nou0R2EJG875wLND6wF9ES4diVi1fP7B_B6eCzw.cache
|
500
534
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/zxPFYKpkfNJtui1ekitdNMaGAo39fefm-oJCnILEEQ8.cache
|
535
|
+
- test/fixtures/categories.yml
|
501
536
|
- test/fixtures/engine.rb
|
502
537
|
- test/fixtures/routes.rb
|
503
538
|
- test/fixtures/widgets.yml
|
@@ -521,61 +556,36 @@ files:
|
|
521
556
|
- vendor/assets/images/dataTables/sort_desc.png
|
522
557
|
- vendor/assets/images/dataTables/sort_desc_disabled.png
|
523
558
|
- vendor/assets/javascripts/jquery.loadingdotdotdot.js
|
559
|
+
- vendor/gems/express_templates/CHANGELOG.md
|
524
560
|
- vendor/gems/express_templates/Gemfile
|
525
561
|
- vendor/gems/express_templates/Gemfile.lock
|
526
562
|
- vendor/gems/express_templates/LICENSE
|
527
563
|
- vendor/gems/express_templates/README.md
|
528
564
|
- vendor/gems/express_templates/Rakefile
|
529
|
-
- vendor/gems/express_templates/diagrams/diagram.graffle
|
530
|
-
- vendor/gems/express_templates/diagrams/diagram_express_templates.png
|
531
|
-
- vendor/gems/express_templates/diagrams/diagram_haml_erb.png
|
532
565
|
- vendor/gems/express_templates/express_templates.gemspec
|
566
|
+
- vendor/gems/express_templates/lib/arbre/patches.rb
|
533
567
|
- vendor/gems/express_templates/lib/core_extensions/proc.rb
|
534
568
|
- vendor/gems/express_templates/lib/core_extensions/string.rb
|
535
569
|
- vendor/gems/express_templates/lib/express_templates.rb
|
536
570
|
- vendor/gems/express_templates/lib/express_templates/compiler.rb
|
537
571
|
- vendor/gems/express_templates/lib/express_templates/components.rb
|
538
572
|
- vendor/gems/express_templates/lib/express_templates/components/base.rb
|
539
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/adoptable.rb
|
540
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/building.rb
|
541
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/conditionality.rb
|
542
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/configurable.rb
|
543
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/iterating.rb
|
544
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/parenting.rb
|
545
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/rendering.rb
|
546
573
|
- vendor/gems/express_templates/lib/express_templates/components/capabilities/resourceful.rb
|
547
|
-
- vendor/gems/express_templates/lib/express_templates/components/
|
548
|
-
- vendor/gems/express_templates/lib/express_templates/components/capabilities/wrapping.rb
|
549
|
-
- vendor/gems/express_templates/lib/express_templates/components/column.rb
|
550
|
-
- vendor/gems/express_templates/lib/express_templates/components/container.rb
|
551
|
-
- vendor/gems/express_templates/lib/express_templates/components/content_for.rb
|
552
|
-
- vendor/gems/express_templates/lib/express_templates/components/for_each.rb
|
574
|
+
- vendor/gems/express_templates/lib/express_templates/components/configurable.rb
|
553
575
|
- vendor/gems/express_templates/lib/express_templates/components/form_rails_support.rb
|
554
576
|
- vendor/gems/express_templates/lib/express_templates/components/forms.rb
|
555
577
|
- vendor/gems/express_templates/lib/express_templates/components/forms/basic_fields.rb
|
556
578
|
- vendor/gems/express_templates/lib/express_templates/components/forms/checkbox.rb
|
557
579
|
- vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb
|
558
580
|
- vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb
|
559
|
-
- vendor/gems/express_templates/lib/express_templates/components/forms/form_support.rb
|
560
581
|
- vendor/gems/express_templates/lib/express_templates/components/forms/option_support.rb
|
561
582
|
- vendor/gems/express_templates/lib/express_templates/components/forms/radio.rb
|
562
583
|
- vendor/gems/express_templates/lib/express_templates/components/forms/select.rb
|
563
584
|
- vendor/gems/express_templates/lib/express_templates/components/forms/select_collection.rb
|
564
585
|
- vendor/gems/express_templates/lib/express_templates/components/forms/submit.rb
|
565
|
-
- vendor/gems/express_templates/lib/express_templates/components/null_wrap.rb
|
566
|
-
- vendor/gems/express_templates/lib/express_templates/components/row.rb
|
567
|
-
- vendor/gems/express_templates/lib/express_templates/components/table_for.rb
|
568
586
|
- vendor/gems/express_templates/lib/express_templates/components/tree_for.rb
|
569
|
-
- vendor/gems/express_templates/lib/express_templates/components/unless_block.rb
|
570
|
-
- vendor/gems/express_templates/lib/express_templates/expander.rb
|
571
587
|
- vendor/gems/express_templates/lib/express_templates/indenter.rb
|
572
588
|
- vendor/gems/express_templates/lib/express_templates/interpolator.rb
|
573
|
-
- vendor/gems/express_templates/lib/express_templates/macro.rb
|
574
|
-
- vendor/gems/express_templates/lib/express_templates/markup.rb
|
575
|
-
- vendor/gems/express_templates/lib/express_templates/markup/html_tag.rb
|
576
|
-
- vendor/gems/express_templates/lib/express_templates/markup/tag.rb
|
577
|
-
- vendor/gems/express_templates/lib/express_templates/markup/wrapper.rb
|
578
|
-
- vendor/gems/express_templates/lib/express_templates/markup/yielder.rb
|
579
589
|
- vendor/gems/express_templates/lib/express_templates/renderer.rb
|
580
590
|
- vendor/gems/express_templates/lib/express_templates/template/handler.rb
|
581
591
|
- vendor/gems/express_templates/lib/express_templates/version.rb
|
@@ -583,21 +593,13 @@ files:
|
|
583
593
|
- vendor/gems/express_templates/test/compiler_test.rb
|
584
594
|
- vendor/gems/express_templates/test/components/base_test.rb
|
585
595
|
- vendor/gems/express_templates/test/components/capabilities/resourceful_test.rb
|
586
|
-
- vendor/gems/express_templates/test/components/column_test.rb
|
587
|
-
- vendor/gems/express_templates/test/components/conditionality_test.rb
|
588
596
|
- vendor/gems/express_templates/test/components/configurable_test.rb
|
589
|
-
- vendor/gems/express_templates/test/components/container_test.rb
|
590
|
-
- vendor/gems/express_templates/test/components/content_for_test.rb
|
591
597
|
- vendor/gems/express_templates/test/components/forms/basic_fields_test.rb
|
592
598
|
- vendor/gems/express_templates/test/components/forms/checkbox_test.rb
|
593
599
|
- vendor/gems/express_templates/test/components/forms/express_form_test.rb
|
594
600
|
- vendor/gems/express_templates/test/components/forms/radio_test.rb
|
595
601
|
- vendor/gems/express_templates/test/components/forms/select_test.rb
|
596
602
|
- vendor/gems/express_templates/test/components/forms/submit_test.rb
|
597
|
-
- vendor/gems/express_templates/test/components/iterating_test.rb
|
598
|
-
- vendor/gems/express_templates/test/components/null_wrap_test.rb
|
599
|
-
- vendor/gems/express_templates/test/components/row_test.rb
|
600
|
-
- vendor/gems/express_templates/test/components/table_for_test.rb
|
601
603
|
- vendor/gems/express_templates/test/components/tree_for_test.rb
|
602
604
|
- vendor/gems/express_templates/test/core_extensions/proc_test.rb
|
603
605
|
- vendor/gems/express_templates/test/core_extensions/string_test.rb
|
@@ -669,15 +671,10 @@ files:
|
|
669
671
|
- vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/r56eI1z7iFKeySym_9zw5hVOPjb0d6IQPn5pAYTKk04.cache
|
670
672
|
- vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rGWvoeLyiyqb813IXgfDpDxks23JQoLLZOa69bzKPE8.cache
|
671
673
|
- vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y8T65xpx0s3RgT_YiqWEEXIaBsgK4woCNSuZ1zjQZBk.cache
|
672
|
-
- vendor/gems/express_templates/test/expander_stack_test.rb
|
673
|
-
- vendor/gems/express_templates/test/expander_test.rb
|
674
674
|
- vendor/gems/express_templates/test/express_templates_test.rb
|
675
675
|
- vendor/gems/express_templates/test/handler_test.rb
|
676
676
|
- vendor/gems/express_templates/test/indenter_test.rb
|
677
677
|
- vendor/gems/express_templates/test/interpolator_test.rb
|
678
|
-
- vendor/gems/express_templates/test/markup/tag_test.rb
|
679
|
-
- vendor/gems/express_templates/test/markup/wrapper_test.rb
|
680
|
-
- vendor/gems/express_templates/test/markup/yielder_test.rb
|
681
678
|
- vendor/gems/express_templates/test/performance_test.rb
|
682
679
|
- vendor/gems/express_templates/test/test_helper.rb
|
683
680
|
- vendor/gems/foundation_apps_styles/Gemfile
|
@@ -843,16 +840,21 @@ test_files:
|
|
843
840
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/0fNukwCUjSC_GRsVIMtSMVdZkd5bq5eShMcGCrCVolc.cache
|
844
841
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/0zehLcbCZ34CdyBVctEOnsyyyFlqjtTI-VkIje9xdCQ.cache
|
845
842
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/1c4REJHKdQH9bwZhZ7Ixshmy_1jAzXc3-9OiDCDyRlk.cache
|
843
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/1EoyfDwFVtgMAOjo7HPkor8TQbVaioOFx9hildx_DTQ.cache
|
846
844
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/1rKHSaJsgLcnfIJRWYdYy7IimMCKcdI-I_ABekUargk.cache
|
847
845
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/2kMk5s4FKAOWE1z_MvFIKHmdvNDzyoknoi39xL7KwJw.cache
|
848
846
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/2oGeKB_QtwWpX3sJNHocsJiBZT60x_cwV_nSGh_HS-A.cache
|
849
847
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/2rQDWRzFxOlBnczJ1BLfE2yCPVvrhgLGfAI7VSM54wk.cache
|
850
848
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/3S9nnUmEIG4-hDY6cVc82GFUUWicNxtpFfWwJAmJSkI.cache
|
851
849
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4a7epNa5R1jeKCtFsJKTdVqMEQm5p0clABRPIiKegMo.cache
|
850
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4hK1AdPGHbXGkebvk-nSvhxtCdOSlMYNWvA43CvQKhI.cache
|
851
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4OPIkynisipUm8vKo57HUhBMWFSHBno_IH6OdpK29IA.cache
|
852
852
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/4WErFdugnc8uWYwUE9vVfw4xxCgknECdpWhn8teZbLk.cache
|
853
853
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/57pjjkzReNE1L9yodewGebfd0AwnfQb33rtJjSTNpLc.cache
|
854
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/6c0H20s6oHf45XogeDELaojxa0PX1NmirTTWV1ClcRw.cache
|
854
855
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/7vpDV8GyXVfyuFIkRrrkOwUXyIaCmf22tBPDpvhCUUc.cache
|
855
856
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/89d4LukQv0MLDc35wfIlQZps-IyoMSdlaSZjBF4U5Qs.cache
|
857
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/9QvwPXfTSVmgQX6tdK9GuCn0--MZ8Z8eJJbHpUEq1p8.cache
|
856
858
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/_2bn753sv7A0CDBODs7rO8SWdQ1OMi2vbzSas5co4TE.cache
|
857
859
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/_FyeE-ad3bA2IH6ZwZOn6J4qaW857Rjv4FBs_HIPiqM.cache
|
858
860
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/_k4X14Cc-2Y4gc47s7PaWtAaG_zcq1ICJInTYNp6bI4.cache
|
@@ -870,13 +872,16 @@ test_files:
|
|
870
872
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/eTRff0YXBw-Tx9VEMxb-Es8NwqjHCXiaosBLxijl3I8.cache
|
871
873
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/FOJpwMQCx9V9wfhJQKFa2f7BjfP7vyS7M3o6VX0nAI0.cache
|
872
874
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/fRkrxaDYzRDIvxEUGZBFbW5ocAlmDQNg8_LRcOJJOzI.cache
|
875
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/GJGMlSyTg1AvPCV_6PaLOTVEKbHeVKY1jhCoaKuRlxM.cache
|
873
876
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/goVFgqSk0CBOXpbwLNd-enc31BvXm1S8cMSJ3zbxRYI.cache
|
874
877
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/GStmpiXE4g01i-UTlSKq8B9yS69WpAp0YH7vWyESBwI.cache
|
878
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/H0aD5KRj-4fhORkqWcWZfKPOQfu_ggvt4OmYOl4S5mw.cache
|
875
879
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/H53ZZ50FwJjYUOMH60F7cpINgkh9tOF4R3L6ANoH6tU.cache
|
876
880
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/hgfrt0FmGrYD5SJVJhlsUPtL9usJvw3vZrW4dqQq16Y.cache
|
877
881
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/hiZg7FLw7SFa7S-BQ8CKWdAqFVUZy2HVb2chmQijM-g.cache
|
878
882
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/hPH6lLkPX0EzSG_eBprMMUnmFs9y89AOarfyhGoAFGc.cache
|
879
883
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/HY86Fwn8VPlIysY56uV-wu90bISxrXeiCtwDXg94Glg.cache
|
884
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/IBLgVNsKBbJxN8NQnh6zTc3bC_OG-8BhtA3xCNDV6ks.cache
|
880
885
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/IcNDN_pmsAcLAMv6CST75OwOucmYm3q2099jn4tB0H8.cache
|
881
886
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/iKb8yzw0EdFpNkayUbc16U7olK7iwE2xIs_6b_xIEtI.cache
|
882
887
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ipLhCJrCCVwH7l_p1quUi2xS6POFlVHfZCqIymk8CoI.cache
|
@@ -912,7 +917,10 @@ test_files:
|
|
912
917
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/PzcOUndLc-O-VBR2SDM2rFkiqh-iqknTEgEAXDLKfdc.cache
|
913
918
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/QbX1HRM7KX85_PeVHcd6VJM6sqzUCWXEEYZX7CAG0eA.cache
|
914
919
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/qEHftZrJ-Da_nsvX4UOaALyIt0mwnOuE2TdtBPGAWEw.cache
|
920
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/qIeSoker4TjM7JYRQTOjgRd4nN0WeHnNY1GMK7Zpe8M.cache
|
915
921
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/rtdpq5fxIYMKM43QyOIluEECg2NP5OA-7Zi8yuowZSI.cache
|
922
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/tTFLM1bjKSeg4nyH7GWbTY6JVvuYhNKFFvsOMS9h8O0.cache
|
923
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/tzX-HHF4F70o-aSB9Z_duoPxFGDv3auYnrpko9SYafU.cache
|
916
924
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/UDHqQKrYSSvXfCbiJjXzmJh2Q6T5hLO80aaPvs9n-74.cache
|
917
925
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/UFtISk01WwcjjWcPLyjeHX3bgBqZHGQcb0Z4KFNmduA.cache
|
918
926
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ujFa5Hu76zd1O6nO2G7WcgnOWZyTOMKLajazyMXAL_I.cache
|
@@ -920,10 +928,12 @@ test_files:
|
|
920
928
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/UruI7_ZpuzDnmNir9hzUa_r8oiuuIfVTco19ACdxwRw.cache
|
921
929
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/UWvG-0WgVYHVxrtLU32uumROQuSjJv_M_svW1B8YxhY.cache
|
922
930
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/uyHm0KHsHpJhn-wv69exuuyU4kyJtW3DDQLP7tCD7e4.cache
|
931
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/V1aP9G-CVtOLR5PTnHleid8WC9TSfFAT1DzAygp_5CQ.cache
|
923
932
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/v50nc5cuqpLxjepk7XsBmomcmFARYlHQRtq8yOv8AY0.cache
|
924
933
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vAh5eTPxI929yxRCyXgbKTWat5cZiVSOyX0UeTveXGE.cache
|
925
934
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/VezioHwyk87G6TWkkYX88tBHC6QToVGOU5geZ54Ts5A.cache
|
926
935
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vKiuNu1fQitE151bh0Tr2Ufkc80jWzchPjxaHkpjQL8.cache
|
936
|
+
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vMbWbI1SO5bEaiu2pRvV8NDmms_j5flYoRvCSJavhdU.cache
|
927
937
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/VQ2-2HlkGd1XVIHlwRGcgDsjto3oE-50-4E3HGdt8uU.cache
|
928
938
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/vZBxpTbv5C70_MrcmWyk0z6yDwcZ-yjr7fo16bQaLhY.cache
|
929
939
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/WfQ-xKbnwqaKy-UQa8spczc9qocIL_jZE4cyRZftjfA.cache
|
@@ -945,6 +955,7 @@ test_files:
|
|
945
955
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZAIAu3UIaGRI3RknA2lbuZ8Y6AZ12VB84mQRg-q0vFs.cache
|
946
956
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/zV58Nou0R2EJG875wLND6wF9ES4diVi1fP7B_B6eCzw.cache
|
947
957
|
- test/dummy/tmp/cache/assets/test/sprockets/v3.0/zxPFYKpkfNJtui1ekitdNMaGAo39fefm-oJCnILEEQ8.cache
|
958
|
+
- test/fixtures/categories.yml
|
948
959
|
- test/fixtures/engine.rb
|
949
960
|
- test/fixtures/routes.rb
|
950
961
|
- test/fixtures/widgets.yml
|