glib-web 0.5.79 → 0.5.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/concerns/glib/analytics/funnel.rb +0 -0
- data/app/controllers/concerns/glib/json/new_dynamic_text.rb +0 -0
- data/app/helpers/glib/app_feature_support_helper.rb +0 -0
- data/app/helpers/glib/dynamic_images_helper.rb +0 -0
- data/app/helpers/glib/dynamic_texts_helper.rb +0 -0
- data/app/helpers/glib/forms_helper.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/dialogs.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/http.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/panels.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/snackbars.rb +0 -0
- data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
- data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
- data/app/helpers/glib/json_ui/menu_builder.rb +0 -0
- data/app/helpers/glib/json_ui/page_helper.rb +3 -3
- data/app/helpers/glib/json_ui/table_builders.rb +0 -0
- data/app/helpers/glib/json_ui/view_builder/panels.rb +5 -3
- data/app/helpers/glib/json_ui/view_builder.rb +8 -1
- data/app/helpers/glib/urls_helper.rb +0 -0
- data/app/models/glib/active_storage/attachment.rb +0 -0
- data/app/models/glib/active_storage/blob.rb +0 -0
- data/app/models/glib/dynamic_text_record.rb +0 -0
- data/app/models/glib/text.rb +0 -0
- data/app/policies/glib/application_policy.rb +5 -3
- data/app/validators/email_typo_validator.rb +0 -0
- data/app/validators/email_validator.rb +0 -0
- data/app/validators/url_validator.rb +0 -0
- data/app/views/json_ui/garage/actions/_dialogs.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_http.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_panels.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_reload.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_sheets.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_snackbars.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/basic.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/basic_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/checkboxes.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/dynamic_group.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/floating_submit.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/get_request.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
- data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/_autoload_section.json.jbuilder +4 -2
- data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/templating.json.jbuilder +0 -0
- data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/flat_centered.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/lifecycle_hooks.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/nav_buttons.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/tab_bar.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/horizontal.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/responsive.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/split.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/vertical.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/horizontal_scroll.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/layout.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/banners.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/charts.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/images.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/index.json.jbuilder +28 -23
- data/app/views/json_ui/garage/views/links.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/map_cluster_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/progress.json.jbuilder +31 -0
- data/config/routes.rb +0 -0
- data/lib/generators/glib/install_generator.rb +0 -0
- data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
- data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
- data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
- data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
- data/lib/generators/templates/database.yml +0 -0
- data/lib/generators/templates/dynamic_text.rb +0 -0
- data/lib/glib/crypt/utils.rb +0 -0
- data/lib/glib/crypt.rb +0 -0
- data/lib/glib/dynamic_text/config.rb +0 -0
- data/lib/glib/dynamic_text.rb +0 -0
- data/lib/glib/engine.rb +0 -0
- data/lib/glib/json_crawler/action_crawler.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/forms_submit.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/nav_initiate.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
- data/lib/glib/json_crawler/coverage.rb +0 -0
- data/lib/glib/json_crawler/http.rb +0 -0
- data/lib/glib/json_crawler.rb +0 -0
- data/lib/glib/mailer_tester.rb +0 -0
- data/lib/glib/value.rb +0 -0
- data/lib/glib/version.rb +0 -0
- data/lib/glib-web.rb +0 -0
- data/lib/tasks/db.rake +0 -0
- metadata +4 -3
- data/app/helpers/glib/json_ui/split_builders.rb +0 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d6700e4c1c30661ca507dfcc7a1d47da2550453427963414d6961e9733d26ab
|
|
4
|
+
data.tar.gz: bf8607a9ec3adf3394790ac2298bbc339ad3dc806663de705c8ae1d7fc943e87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5a35e9a6c5ea224889e3ad9d0c8e79914504d4d60bc1ac47c8716c27cdcb4b1e7daabf2cd8082f689c7e3e9236a59621f55111bd92f74f801e015961948a43d
|
|
7
|
+
data.tar.gz: a0d716bdfc314015745d7ccc3e35bc19aaae3b3c7bfae37e40c6bb19e4f4cd026b5dcb3675cb85e5df690d460b5be0dd831dd666ef5cefbe0ceeb3ce56afd371
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -65,7 +65,7 @@ module Glib
|
|
|
65
65
|
|
|
66
66
|
class Page
|
|
67
67
|
attr_reader :json, :context, :view_builder, :action_builder, :menu_builder
|
|
68
|
-
attr_reader :list_section_builder, :table_section_builder, :drawer_content_builder
|
|
68
|
+
attr_reader :list_section_builder, :table_section_builder, :drawer_content_builder
|
|
69
69
|
|
|
70
70
|
# See Panels::Form
|
|
71
71
|
attr_accessor :current_form
|
|
@@ -81,7 +81,7 @@ module Glib
|
|
|
81
81
|
@list_section_builder = ListBuilders::Section.new(json, self, ListBuilders::Template.new(json, self))
|
|
82
82
|
@drawer_content_builder = ListBuilders::Section.new(json, self, @menu_builder)
|
|
83
83
|
@table_section_builder = TableBuilders::Section.new(json, self, TableBuilders::Template.new(json, self))
|
|
84
|
-
@split_content_builder = SplitBuilders::Content.new(json, self, @view_builder)
|
|
84
|
+
# @split_content_builder = SplitBuilders::Content.new(json, self, @view_builder)
|
|
85
85
|
|
|
86
86
|
# TODO: Deprecate
|
|
87
87
|
# For generic `body` builder. For others, use content_builder()
|
|
@@ -107,7 +107,7 @@ module Glib
|
|
|
107
107
|
|
|
108
108
|
def leftDrawer(options = {})
|
|
109
109
|
json.leftDrawer do
|
|
110
|
-
[:styleClasses].each do |name|
|
|
110
|
+
[:styleClasses, :backgroundColor].each do |name|
|
|
111
111
|
if (value = options.delete(name))
|
|
112
112
|
json.set! name, value
|
|
113
113
|
end
|
|
File without changes
|
|
@@ -165,9 +165,11 @@ class Glib::JsonUi::ViewBuilder
|
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
class Split < View
|
|
168
|
-
def content(block)
|
|
169
|
-
|
|
170
|
-
end
|
|
168
|
+
# def content(block)
|
|
169
|
+
# block.call page.split_content_builder
|
|
170
|
+
# end
|
|
171
|
+
|
|
172
|
+
panels_builder :content, :left, :center, :right
|
|
171
173
|
end
|
|
172
174
|
|
|
173
175
|
class Responsive < View
|
|
@@ -75,7 +75,7 @@ module Glib
|
|
|
75
75
|
|
|
76
76
|
### View definitions
|
|
77
77
|
|
|
78
|
-
class AbstractText < View
|
|
78
|
+
class AbstractText < View
|
|
79
79
|
string :textAlign
|
|
80
80
|
text :text
|
|
81
81
|
color :color
|
|
@@ -215,6 +215,7 @@ module Glib
|
|
|
215
215
|
|
|
216
216
|
class AppBar < View
|
|
217
217
|
color :color
|
|
218
|
+
panels_builder :content, :logo
|
|
218
219
|
|
|
219
220
|
# def leftButtons(block)
|
|
220
221
|
# json.leftButtons do
|
|
@@ -235,6 +236,12 @@ module Glib
|
|
|
235
236
|
bool :tick
|
|
236
237
|
end
|
|
237
238
|
|
|
239
|
+
class ProgressBar < View
|
|
240
|
+
float :value
|
|
241
|
+
color :color
|
|
242
|
+
color :backgroundColor
|
|
243
|
+
bool :reversed
|
|
244
|
+
end
|
|
238
245
|
end
|
|
239
246
|
end
|
|
240
247
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/app/models/glib/text.rb
CHANGED
|
File without changes
|
|
@@ -23,9 +23,11 @@ module Glib
|
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
if controller.user_signed_in?
|
|
27
|
+
should_exist_attributes.each do |attribute|
|
|
28
|
+
if try(attribute).blank? && !['index'].include?(controller.action_name)
|
|
29
|
+
raise "Attribute #{attribute} is blank, policy will not working properly"
|
|
30
|
+
end
|
|
29
31
|
end
|
|
30
32
|
end
|
|
31
33
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
# section = json_ui_section json
|
|
14
14
|
|
|
15
|
+
sleep 1
|
|
16
|
+
|
|
15
17
|
section = page.list_section_builder
|
|
16
18
|
section.rows builder: ->(row) do
|
|
17
|
-
batch_count =
|
|
19
|
+
batch_count = 1000
|
|
18
20
|
batch_count.times do |i|
|
|
19
21
|
index = page_index * batch_count + i
|
|
20
22
|
if local_assigns[:reorder]
|
|
@@ -22,7 +24,7 @@ section.rows builder: ->(row) do
|
|
|
22
24
|
action.dialogs_notification title: "Item #{index}"
|
|
23
25
|
end, paramNameForFormData: 'message', paramNameForNewIndex: 'new_index'
|
|
24
26
|
else
|
|
25
|
-
row.thumbnail title: "Item #{index}"
|
|
27
|
+
row.thumbnail title: "Item #{index}", subtitle: "Sub Item #{index}", subsubtitle: "Sub Sub Item #{index}"
|
|
26
28
|
end
|
|
27
29
|
end
|
|
28
30
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,30 +10,35 @@ json_ui_page json do |page|
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
section.rows builder: ->(template) do
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
action.windows_open url: json_ui_garage_url(path: 'views/controls')
|
|
18
|
-
end
|
|
19
|
-
template.thumbnail title: 'Images', onClick: ->(action) do
|
|
20
|
-
action.windows_open url: json_ui_garage_url(path: 'views/images')
|
|
21
|
-
end
|
|
22
|
-
template.thumbnail title: 'Charts', onClick: ->(action) do
|
|
23
|
-
action.windows_open url: json_ui_garage_url(path: 'views/charts')
|
|
24
|
-
end
|
|
25
|
-
template.thumbnail title: 'Banners', onClick: ->(action) do
|
|
26
|
-
action.windows_open url: json_ui_garage_url(path: 'views/banners')
|
|
27
|
-
end
|
|
28
|
-
template.thumbnail title: 'Maps', onClick: ->(action) do
|
|
29
|
-
action.windows_open url: json_ui_garage_url(path: 'views/maps')
|
|
30
|
-
end
|
|
31
|
-
template.thumbnail title: 'Misc', onClick: ->(action) do
|
|
32
|
-
action.windows_open url: json_ui_garage_url(path: 'views/misc')
|
|
33
|
-
end
|
|
34
|
-
template.thumbnail title: 'Icons', onClick: ->(action) do
|
|
35
|
-
action.windows_open url: json_ui_garage_url(path: 'views/icons')
|
|
13
|
+
['texts', 'controls', 'images', 'charts', 'banners', 'maps', 'misc', 'icons', 'progress'].each do |component|
|
|
14
|
+
template.thumbnail title: component.humanize, onClick: ->(action) do
|
|
15
|
+
action.windows_open url: json_ui_garage_url(path: "views/#{component}")
|
|
16
|
+
end
|
|
36
17
|
end
|
|
18
|
+
# template.thumbnail title: 'Texts', onClick: ->(action) do
|
|
19
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/texts')
|
|
20
|
+
# end
|
|
21
|
+
# template.thumbnail title: 'Controls', onClick: ->(action) do
|
|
22
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/controls')
|
|
23
|
+
# end
|
|
24
|
+
# template.thumbnail title: 'Images', onClick: ->(action) do
|
|
25
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/images')
|
|
26
|
+
# end
|
|
27
|
+
# template.thumbnail title: 'Charts', onClick: ->(action) do
|
|
28
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/charts')
|
|
29
|
+
# end
|
|
30
|
+
# template.thumbnail title: 'Banners', onClick: ->(action) do
|
|
31
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/banners')
|
|
32
|
+
# end
|
|
33
|
+
# template.thumbnail title: 'Maps', onClick: ->(action) do
|
|
34
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/maps')
|
|
35
|
+
# end
|
|
36
|
+
# template.thumbnail title: 'Misc', onClick: ->(action) do
|
|
37
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/misc')
|
|
38
|
+
# end
|
|
39
|
+
# template.thumbnail title: 'Icons', onClick: ->(action) do
|
|
40
|
+
# action.windows_open url: json_ui_garage_url(path: 'views/icons')
|
|
41
|
+
# end
|
|
37
42
|
end
|
|
38
43
|
end,
|
|
39
44
|
->(section) do
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
json.title 'Views'
|
|
2
|
+
|
|
3
|
+
page = json_ui_page json
|
|
4
|
+
render "#{@path_prefix}/nav_menu", json: json, page: page
|
|
5
|
+
|
|
6
|
+
page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
7
|
+
scroll.h2 text: 'Progress Bar'
|
|
8
|
+
scroll.spacer height: 6
|
|
9
|
+
scroll.progressBar value: 0.1
|
|
10
|
+
scroll.spacer height: 20
|
|
11
|
+
|
|
12
|
+
scroll.h2 text: 'Thin Progress Bar'
|
|
13
|
+
scroll.spacer height: 6
|
|
14
|
+
scroll.progressBar value: 0.25, height: 5, styleClass: 'no-text'
|
|
15
|
+
scroll.spacer height: 20
|
|
16
|
+
|
|
17
|
+
scroll.h2 text: 'Striped Progress Bar'
|
|
18
|
+
scroll.spacer height: 6
|
|
19
|
+
scroll.progressBar value: 0.5, styleClass: 'striped'
|
|
20
|
+
scroll.spacer height: 20
|
|
21
|
+
|
|
22
|
+
scroll.h2 text: 'Progress Bar with custom colors'
|
|
23
|
+
scroll.spacer height: 6
|
|
24
|
+
scroll.progressBar value: 0.75, color: '#272551', backgroundColor: '#FFFF00', styleClass: 'light'
|
|
25
|
+
scroll.spacer height: 20
|
|
26
|
+
|
|
27
|
+
scroll.h2 text: 'Reversed Progress Bar'
|
|
28
|
+
scroll.spacer height: 6
|
|
29
|
+
scroll.progressBar value: 0.1, reversed: true
|
|
30
|
+
scroll.spacer height: 20
|
|
31
|
+
end
|
data/config/routes.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/glib/crypt/utils.rb
CHANGED
|
File without changes
|
data/lib/glib/crypt.rb
CHANGED
|
File without changes
|
|
File without changes
|
data/lib/glib/dynamic_text.rb
CHANGED
|
File without changes
|
data/lib/glib/engine.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/glib/json_crawler.rb
CHANGED
|
File without changes
|
data/lib/glib/mailer_tester.rb
CHANGED
|
File without changes
|
data/lib/glib/value.rb
CHANGED
|
File without changes
|
data/lib/glib/version.rb
CHANGED
|
File without changes
|
data/lib/glib-web.rb
CHANGED
|
File without changes
|
data/lib/tasks/db.rake
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: glib-web
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.83
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ''
|
|
@@ -105,7 +105,6 @@ files:
|
|
|
105
105
|
- app/helpers/glib/json_ui/menu_builder.rb
|
|
106
106
|
- app/helpers/glib/json_ui/page_helper.rb
|
|
107
107
|
- app/helpers/glib/json_ui/response_helper.rb
|
|
108
|
-
- app/helpers/glib/json_ui/split_builders.rb
|
|
109
108
|
- app/helpers/glib/json_ui/styling_helper.rb
|
|
110
109
|
- app/helpers/glib/json_ui/table_builders.rb
|
|
111
110
|
- app/helpers/glib/json_ui/view_builder.rb
|
|
@@ -230,6 +229,7 @@ files:
|
|
|
230
229
|
- app/views/json_ui/garage/views/maps.json.jbuilder
|
|
231
230
|
- app/views/json_ui/garage/views/markdowns.json.jbuilder
|
|
232
231
|
- app/views/json_ui/garage/views/misc.json.jbuilder
|
|
232
|
+
- app/views/json_ui/garage/views/progress.json.jbuilder
|
|
233
233
|
- app/views/json_ui/garage/views/texts.json.jbuilder
|
|
234
234
|
- app/views/layouts/json_ui/renderer.html.erb
|
|
235
235
|
- config/routes.rb
|
|
@@ -280,7 +280,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
280
280
|
- !ruby/object:Gem::Version
|
|
281
281
|
version: '0'
|
|
282
282
|
requirements: []
|
|
283
|
-
|
|
283
|
+
rubyforge_project:
|
|
284
|
+
rubygems_version: 2.7.6
|
|
284
285
|
signing_key:
|
|
285
286
|
specification_version: 4
|
|
286
287
|
summary: ''
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
module Glib
|
|
2
|
-
module JsonUi
|
|
3
|
-
module SplitBuilders
|
|
4
|
-
|
|
5
|
-
class Content < AbstractBuilder
|
|
6
|
-
def initialize(json, page, template)
|
|
7
|
-
super json, page
|
|
8
|
-
@template = template
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
def left(options = {})
|
|
12
|
-
json.left do
|
|
13
|
-
page.vertical_content(options)
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
def center(options = {})
|
|
18
|
-
json.center do
|
|
19
|
-
page.vertical_content(options)
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def right(options = {})
|
|
24
|
-
json.right do
|
|
25
|
-
page.vertical_content(options)
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|