ratatui_ruby 0.4.0 → 0.5.0
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/.builds/ruby-3.2.yml +1 -1
- data/.builds/ruby-3.3.yml +1 -1
- data/.builds/ruby-3.4.yml +1 -1
- data/.builds/ruby-4.0.0.yml +1 -1
- data/AGENTS.md +87 -171
- data/CHANGELOG.md +38 -1
- data/README.md +8 -3
- data/REUSE.toml +20 -0
- data/doc/application_architecture.md +105 -45
- data/doc/application_testing.md +5 -3
- data/doc/contributors/design/ruby_frontend.md +9 -5
- data/doc/contributors/developing_examples.md +76 -18
- data/doc/contributors/documentation_style.md +7 -0
- data/doc/contributors/index.md +2 -0
- data/doc/event_handling.md +10 -4
- data/doc/images/app_all_events.png +0 -0
- data/doc/images/app_color_picker.png +0 -0
- data/doc/images/verify_readme_usage.png +0 -0
- data/doc/images/widget_barchart_demo.png +0 -0
- data/doc/images/widget_block_padding.png +0 -0
- data/doc/images/widget_block_titles.png +0 -0
- data/doc/images/widget_box_demo.png +0 -0
- data/doc/images/widget_calendar_demo.png +0 -0
- data/doc/images/widget_cell_demo.png +0 -0
- data/doc/images/widget_chart_demo.png +0 -0
- data/doc/images/widget_gauge_demo.png +0 -0
- data/doc/images/widget_layout_split.png +0 -0
- data/doc/images/widget_line_gauge_demo.png +0 -0
- data/doc/images/widget_list_demo.png +0 -0
- data/doc/images/widget_ratatui_logo_demo.png +0 -0
- data/doc/images/widget_ratatui_mascot_demo.png +0 -0
- data/doc/images/widget_render.png +0 -0
- data/doc/images/widget_scrollbar_demo.png +0 -0
- data/doc/images/widget_sparkline_demo.png +0 -0
- data/doc/images/widget_style_colors.png +0 -0
- data/doc/images/widget_table_flex.png +0 -0
- data/doc/images/widget_tabs_demo.png +0 -0
- data/doc/interactive_design.md +25 -30
- data/doc/quickstart.md +147 -120
- data/examples/app_all_events/README.md +81 -0
- data/examples/app_all_events/app.rb +93 -0
- data/examples/app_all_events/model/event_color_cycle.rb +41 -0
- data/examples/app_all_events/model/event_entry.rb +75 -0
- data/examples/app_all_events/model/events.rb +180 -0
- data/examples/app_all_events/model/highlight.rb +57 -0
- data/examples/app_all_events/model/timestamp.rb +54 -0
- data/examples/app_all_events/test/snapshots/after_focus_lost.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_focus_regained.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_horizontal_resize.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_key_a.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_key_ctrl_x.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_mouse_click.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_mouse_drag.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_multiple_events.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_paste.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_resize.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_right_click.txt +24 -0
- data/examples/app_all_events/test/snapshots/after_vertical_resize.txt +24 -0
- data/examples/app_all_events/test/snapshots/initial_state.txt +24 -0
- data/examples/app_all_events/view/app_view.rb +78 -0
- data/examples/app_all_events/view/controls_view.rb +50 -0
- data/examples/app_all_events/view/counts_view.rb +55 -0
- data/examples/app_all_events/view/live_view.rb +69 -0
- data/examples/app_all_events/view/log_view.rb +60 -0
- data/examples/app_all_events/view.rb +7 -0
- data/examples/app_all_events/view_state.rb +42 -0
- data/examples/app_color_picker/README.md +94 -0
- data/examples/app_color_picker/app.rb +112 -0
- data/examples/app_color_picker/clipboard.rb +84 -0
- data/examples/app_color_picker/color.rb +191 -0
- data/examples/app_color_picker/copy_dialog.rb +170 -0
- data/examples/app_color_picker/harmony.rb +56 -0
- data/examples/app_color_picker/input.rb +142 -0
- data/examples/app_color_picker/palette.rb +80 -0
- data/examples/app_color_picker/scene.rb +201 -0
- data/examples/{login_form → app_login_form}/app.rb +39 -42
- data/examples/{map_demo → app_map_demo}/app.rb +24 -21
- data/examples/{table_select → app_table_select}/app.rb +68 -65
- data/examples/{quickstart_dsl → verify_quickstart_dsl}/app.rb +15 -6
- data/examples/verify_quickstart_layout/app.rb +69 -0
- data/examples/{quickstart_lifecycle → verify_quickstart_lifecycle}/app.rb +19 -10
- data/examples/verify_readme_usage/app.rb +34 -0
- data/examples/widget_barchart_demo/app.rb +238 -0
- data/examples/{block_padding → widget_block_padding}/app.rb +17 -13
- data/examples/{block_titles → widget_block_titles}/app.rb +25 -17
- data/examples/{box_demo → widget_box_demo}/app.rb +99 -65
- data/examples/widget_calendar_demo/app.rb +109 -0
- data/examples/widget_cell_demo/app.rb +104 -0
- data/examples/widget_chart_demo/app.rb +213 -0
- data/examples/widget_gauge_demo/app.rb +212 -0
- data/examples/widget_layout_split/app.rb +246 -0
- data/examples/widget_line_gauge_demo/app.rb +217 -0
- data/examples/widget_list_demo/app.rb +382 -0
- data/examples/widget_list_styles/app.rb +141 -0
- data/examples/widget_popup_demo/app.rb +104 -0
- data/examples/widget_ratatui_logo_demo/app.rb +103 -0
- data/examples/widget_ratatui_mascot_demo/app.rb +93 -0
- data/examples/widget_rect/app.rb +205 -0
- data/examples/widget_render/app.rb +184 -0
- data/examples/widget_rich_text/app.rb +137 -0
- data/examples/widget_scroll_text/app.rb +108 -0
- data/examples/widget_scrollbar_demo/app.rb +153 -0
- data/examples/widget_sparkline_demo/app.rb +274 -0
- data/examples/widget_style_colors/app.rb +19 -21
- data/examples/widget_table_flex/app.rb +95 -0
- data/examples/widget_tabs_demo/app.rb +167 -0
- data/ext/ratatui_ruby/Cargo.lock +1 -1
- data/ext/ratatui_ruby/Cargo.toml +1 -1
- data/ext/ratatui_ruby/src/events.rs +121 -36
- data/ext/ratatui_ruby/src/frame.rs +115 -0
- data/ext/ratatui_ruby/src/lib.rs +79 -26
- data/ext/ratatui_ruby/src/rendering.rs +8 -4
- data/ext/ratatui_ruby/src/style.rs +138 -57
- data/ext/ratatui_ruby/src/terminal.rs +5 -9
- data/ext/ratatui_ruby/src/text.rs +13 -6
- data/ext/ratatui_ruby/src/widgets/barchart.rs +56 -54
- data/ext/ratatui_ruby/src/widgets/block.rs +7 -6
- data/ext/ratatui_ruby/src/widgets/canvas.rs +21 -3
- data/ext/ratatui_ruby/src/widgets/chart.rs +20 -10
- data/ext/ratatui_ruby/src/widgets/layout.rs +9 -4
- data/ext/ratatui_ruby/src/widgets/list.rs +32 -9
- data/ext/ratatui_ruby/src/widgets/overlay.rs +2 -1
- data/ext/ratatui_ruby/src/widgets/paragraph.rs +1 -1
- data/ext/ratatui_ruby/src/widgets/ratatui_logo.rs +19 -8
- data/ext/ratatui_ruby/src/widgets/ratatui_mascot.rs +17 -10
- data/ext/ratatui_ruby/src/widgets/scrollbar.rs +4 -2
- data/ext/ratatui_ruby/src/widgets/sparkline.rs +14 -11
- data/ext/ratatui_ruby/src/widgets/table.rs +8 -4
- data/ext/ratatui_ruby/src/widgets/tabs.rs +11 -11
- data/lib/ratatui_ruby/cell.rb +3 -3
- data/lib/ratatui_ruby/event/key.rb +1 -1
- data/lib/ratatui_ruby/event/none.rb +43 -0
- data/lib/ratatui_ruby/event.rb +56 -4
- data/lib/ratatui_ruby/frame.rb +87 -0
- data/lib/ratatui_ruby/schema/bar_chart/bar.rb +11 -11
- data/lib/ratatui_ruby/schema/bar_chart/bar_group.rb +1 -5
- data/lib/ratatui_ruby/schema/bar_chart.rb +217 -217
- data/lib/ratatui_ruby/schema/block.rb +163 -168
- data/lib/ratatui_ruby/schema/calendar.rb +66 -67
- data/lib/ratatui_ruby/schema/canvas.rb +63 -63
- data/lib/ratatui_ruby/schema/center.rb +46 -46
- data/lib/ratatui_ruby/schema/chart.rb +135 -143
- data/lib/ratatui_ruby/schema/clear.rb +42 -42
- data/lib/ratatui_ruby/schema/constraint.rb +76 -76
- data/lib/ratatui_ruby/schema/cursor.rb +25 -25
- data/lib/ratatui_ruby/schema/gauge.rb +53 -53
- data/lib/ratatui_ruby/schema/layout.rb +87 -87
- data/lib/ratatui_ruby/schema/line_gauge.rb +62 -62
- data/lib/ratatui_ruby/schema/list.rb +86 -84
- data/lib/ratatui_ruby/schema/overlay.rb +31 -31
- data/lib/ratatui_ruby/schema/paragraph.rb +80 -80
- data/lib/ratatui_ruby/schema/ratatui_logo.rb +10 -6
- data/lib/ratatui_ruby/schema/ratatui_mascot.rb +10 -5
- data/lib/ratatui_ruby/schema/rect.rb +60 -60
- data/lib/ratatui_ruby/schema/scrollbar.rb +119 -119
- data/lib/ratatui_ruby/schema/shape/label.rb +1 -1
- data/lib/ratatui_ruby/schema/sparkline.rb +111 -110
- data/lib/ratatui_ruby/schema/style.rb +46 -46
- data/lib/ratatui_ruby/schema/table.rb +112 -119
- data/lib/ratatui_ruby/schema/tabs.rb +66 -67
- data/lib/ratatui_ruby/session/autodoc.rb +417 -0
- data/lib/ratatui_ruby/session.rb +40 -23
- data/lib/ratatui_ruby/test_helper.rb +185 -19
- data/lib/ratatui_ruby/version.rb +1 -1
- data/lib/ratatui_ruby.rb +65 -39
- data/{examples/sparkline_demo → sig/examples/app_all_events}/app.rbs +3 -2
- data/sig/examples/app_all_events/model/event_entry.rbs +16 -0
- data/sig/examples/app_all_events/model/events.rbs +15 -0
- data/sig/examples/app_all_events/model/timestamp.rbs +11 -0
- data/sig/examples/app_all_events/view/app_view.rbs +8 -0
- data/sig/examples/app_all_events/view/controls_view.rbs +6 -0
- data/sig/examples/app_all_events/view/counts_view.rbs +6 -0
- data/sig/examples/app_all_events/view/live_view.rbs +6 -0
- data/sig/examples/app_all_events/view/log_view.rbs +6 -0
- data/sig/examples/app_all_events/view.rbs +8 -0
- data/sig/examples/app_all_events/view_state.rbs +15 -0
- data/{examples/list_demo → sig/examples/app_color_picker}/app.rbs +2 -2
- data/sig/examples/app_login_form/app.rbs +11 -0
- data/sig/examples/app_map_demo/app.rbs +11 -0
- data/sig/examples/app_table_select/app.rbs +11 -0
- data/sig/examples/verify_quickstart_dsl/app.rbs +11 -0
- data/sig/examples/verify_quickstart_lifecycle/app.rbs +11 -0
- data/sig/examples/verify_readme_usage/app.rbs +11 -0
- data/sig/examples/widget_block_padding/app.rbs +11 -0
- data/sig/examples/widget_block_titles/app.rbs +11 -0
- data/sig/examples/widget_box_demo/app.rbs +11 -0
- data/sig/examples/widget_calendar_demo/app.rbs +11 -0
- data/sig/examples/widget_cell_demo/app.rbs +11 -0
- data/sig/examples/widget_chart_demo/app.rbs +11 -0
- data/{examples/gauge_demo → sig/examples/widget_gauge_demo}/app.rbs +4 -0
- data/sig/examples/widget_layout_split/app.rbs +10 -0
- data/sig/examples/widget_line_gauge_demo/app.rbs +11 -0
- data/sig/examples/widget_list_demo/app.rbs +12 -0
- data/sig/examples/widget_list_styles/app.rbs +11 -0
- data/sig/examples/widget_popup_demo/app.rbs +11 -0
- data/sig/examples/widget_ratatui_logo_demo/app.rbs +11 -0
- data/sig/examples/widget_ratatui_mascot_demo/app.rbs +11 -0
- data/sig/examples/widget_rect/app.rbs +12 -0
- data/sig/examples/widget_render/app.rbs +10 -0
- data/sig/examples/widget_rich_text/app.rbs +11 -0
- data/sig/examples/widget_scroll_text/app.rbs +11 -0
- data/sig/examples/widget_scrollbar_demo/app.rbs +11 -0
- data/sig/examples/widget_sparkline_demo/app.rbs +10 -0
- data/{examples → sig/examples}/widget_style_colors/app.rbs +1 -1
- data/sig/examples/widget_table_flex/app.rbs +11 -0
- data/sig/ratatui_ruby/frame.rbs +9 -0
- data/sig/ratatui_ruby/ratatui_ruby.rbs +3 -2
- data/sig/ratatui_ruby/schema/draw.rbs +4 -0
- data/sig/ratatui_ruby/schema/layout.rbs +1 -1
- data/sig/ratatui_ruby/session.rbs +94 -0
- data/tasks/autodoc/inventory.rb +61 -0
- data/tasks/autodoc/member.rb +56 -0
- data/tasks/autodoc/name.rb +19 -0
- data/tasks/autodoc/notice.rb +26 -0
- data/tasks/autodoc/rbs.rb +38 -0
- data/tasks/autodoc/rdoc.rb +45 -0
- data/tasks/autodoc.rake +47 -0
- data/tasks/bump/history.rb +2 -2
- data/tasks/doc.rake +600 -6
- data/tasks/example_viewer.html.erb +172 -0
- data/tasks/lint.rake +8 -4
- data/tasks/resources/index.html.erb +6 -0
- data/tasks/sourcehut.rake +4 -4
- data/tasks/terminal_preview/app_screenshot.rb +1 -3
- data/tasks/terminal_preview/crash_report.rb +7 -9
- data/tasks/terminal_preview/launcher_script.rb +4 -6
- data/tasks/terminal_preview/preview_collection.rb +4 -6
- data/tasks/terminal_preview/safety_confirmation.rb +3 -5
- data/tasks/terminal_preview/saved_screenshot.rb +7 -9
- data/tasks/terminal_preview/terminal_window.rb +7 -9
- data/tasks/test.rake +1 -1
- data/tasks/website/index_page.rb +3 -3
- data/tasks/website/version.rb +10 -10
- data/tasks/website/version_menu.rb +10 -12
- data/tasks/website/versioned_documentation.rb +49 -17
- data/tasks/website/website.rb +6 -8
- data/tasks/website.rake +4 -4
- metadata +156 -125
- data/LICENSES/BSD-2-Clause.txt +0 -9
- data/doc/contributors/better_dx.md +0 -543
- data/doc/contributors/example_analysis.md +0 -82
- data/doc/images/all_events.png +0 -0
- data/doc/images/block_padding.png +0 -0
- data/doc/images/block_titles.png +0 -0
- data/doc/images/box_demo.png +0 -0
- data/doc/images/calendar_demo.png +0 -0
- data/doc/images/cell_demo.png +0 -0
- data/doc/images/chart_demo.png +0 -0
- data/doc/images/flex_layout.png +0 -0
- data/doc/images/gauge_demo.png +0 -0
- data/doc/images/line_gauge_demo.png +0 -0
- data/doc/images/list_demo.png +0 -0
- data/doc/images/readme_usage.png +0 -0
- data/doc/images/scrollbar_demo.png +0 -0
- data/doc/images/sparkline_demo.png +0 -0
- data/doc/images/table_flex.png +0 -0
- data/examples/all_events/app.rb +0 -169
- data/examples/all_events/app.rbs +0 -7
- data/examples/all_events/test_app.rb +0 -139
- data/examples/analytics/app.rb +0 -258
- data/examples/analytics/app.rbs +0 -7
- data/examples/analytics/test_app.rb +0 -132
- data/examples/block_padding/app.rbs +0 -7
- data/examples/block_padding/test_app.rb +0 -31
- data/examples/block_titles/app.rbs +0 -7
- data/examples/block_titles/test_app.rb +0 -34
- data/examples/box_demo/app.rbs +0 -7
- data/examples/box_demo/test_app.rb +0 -88
- data/examples/calendar_demo/app.rb +0 -101
- data/examples/calendar_demo/app.rbs +0 -7
- data/examples/calendar_demo/test_app.rb +0 -108
- data/examples/cell_demo/app.rb +0 -108
- data/examples/cell_demo/app.rbs +0 -7
- data/examples/cell_demo/test_app.rb +0 -36
- data/examples/chart_demo/app.rb +0 -203
- data/examples/chart_demo/app.rbs +0 -7
- data/examples/chart_demo/test_app.rb +0 -102
- data/examples/custom_widget/app.rb +0 -51
- data/examples/custom_widget/app.rbs +0 -7
- data/examples/custom_widget/test_app.rb +0 -30
- data/examples/flex_layout/app.rb +0 -156
- data/examples/flex_layout/app.rbs +0 -7
- data/examples/flex_layout/test_app.rb +0 -65
- data/examples/gauge_demo/app.rb +0 -182
- data/examples/gauge_demo/test_app.rb +0 -120
- data/examples/hit_test/app.rb +0 -175
- data/examples/hit_test/app.rbs +0 -7
- data/examples/hit_test/test_app.rb +0 -102
- data/examples/line_gauge_demo/app.rb +0 -190
- data/examples/line_gauge_demo/app.rbs +0 -7
- data/examples/line_gauge_demo/test_app.rb +0 -129
- data/examples/list_demo/app.rb +0 -253
- data/examples/list_demo/test_app.rb +0 -237
- data/examples/list_styles/app.rb +0 -140
- data/examples/list_styles/app.rbs +0 -7
- data/examples/list_styles/test_app.rb +0 -157
- data/examples/login_form/app.rbs +0 -7
- data/examples/login_form/test_app.rb +0 -51
- data/examples/map_demo/app.rbs +0 -7
- data/examples/map_demo/test_app.rb +0 -149
- data/examples/mouse_events/app.rb +0 -97
- data/examples/mouse_events/app.rbs +0 -7
- data/examples/mouse_events/test_app.rb +0 -53
- data/examples/popup_demo/app.rb +0 -103
- data/examples/popup_demo/app.rbs +0 -7
- data/examples/popup_demo/test_app.rb +0 -54
- data/examples/quickstart_dsl/app.rbs +0 -7
- data/examples/quickstart_dsl/test_app.rb +0 -29
- data/examples/quickstart_lifecycle/app.rbs +0 -7
- data/examples/quickstart_lifecycle/test_app.rb +0 -29
- data/examples/ratatui_logo_demo/app.rb +0 -79
- data/examples/ratatui_logo_demo/app.rbs +0 -7
- data/examples/ratatui_logo_demo/test_app.rb +0 -51
- data/examples/ratatui_mascot_demo/app.rb +0 -84
- data/examples/ratatui_mascot_demo/app.rbs +0 -7
- data/examples/ratatui_mascot_demo/test_app.rb +0 -47
- data/examples/readme_usage/app.rb +0 -29
- data/examples/readme_usage/app.rbs +0 -7
- data/examples/readme_usage/test_app.rb +0 -29
- data/examples/rich_text/app.rb +0 -141
- data/examples/rich_text/app.rbs +0 -7
- data/examples/rich_text/test_app.rb +0 -166
- data/examples/scroll_text/app.rb +0 -103
- data/examples/scroll_text/app.rbs +0 -7
- data/examples/scroll_text/test_app.rb +0 -110
- data/examples/scrollbar_demo/app.rb +0 -143
- data/examples/scrollbar_demo/app.rbs +0 -7
- data/examples/scrollbar_demo/test_app.rb +0 -77
- data/examples/sparkline_demo/app.rb +0 -240
- data/examples/sparkline_demo/test_app.rb +0 -107
- data/examples/table_flex/app.rb +0 -65
- data/examples/table_flex/app.rbs +0 -7
- data/examples/table_flex/test_app.rb +0 -36
- data/examples/table_select/app.rbs +0 -7
- data/examples/table_select/test_app.rb +0 -180
- data/examples/widget_style_colors/test_app.rb +0 -48
- /data/doc/images/{analytics.png → app_analytics.png} +0 -0
- /data/doc/images/{custom_widget.png → app_custom_widget.png} +0 -0
- /data/doc/images/{login_form.png → app_login_form.png} +0 -0
- /data/doc/images/{map_demo.png → app_map_demo.png} +0 -0
- /data/doc/images/{mouse_events.png → app_mouse_events.png} +0 -0
- /data/doc/images/{table_select.png → app_table_select.png} +0 -0
- /data/doc/images/{quickstart_dsl.png → verify_quickstart_dsl.png} +0 -0
- /data/doc/images/{ratatui_logo_demo.png → verify_quickstart_layout.png} +0 -0
- /data/doc/images/{quickstart_lifecycle.png → verify_quickstart_lifecycle.png} +0 -0
- /data/doc/images/{list_styles.png → widget_list_styles.png} +0 -0
- /data/doc/images/{popup_demo.png → widget_popup_demo.png} +0 -0
- /data/doc/images/{hit_test.png → widget_rect.png} +0 -0
- /data/doc/images/{rich_text.png → widget_rich_text.png} +0 -0
- /data/doc/images/{scroll_text.png → widget_scroll_text.png} +0 -0
|
@@ -12,38 +12,70 @@ class VersionedDocumentation
|
|
|
12
12
|
|
|
13
13
|
def publish_to(path, project_name:, globs:, assets: [])
|
|
14
14
|
puts "Building documentation for #{@version.name}..."
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
absolute_path = File.absolute_path(path)
|
|
17
17
|
gemfile_path = File.absolute_path("Gemfile")
|
|
18
18
|
custom_css_path = File.absolute_path("doc/custom.css")
|
|
19
|
+
rakefile_path = File.absolute_path("Rakefile")
|
|
20
|
+
tasks_dir_path = File.absolute_path("tasks")
|
|
21
|
+
|
|
22
|
+
@version.checkout(globs:) do |source_path|
|
|
23
|
+
# Copy current Rakefile and tasks into the temp directory
|
|
24
|
+
# This ensures all versions use the latest example generation logic
|
|
25
|
+
FileUtils.cp(rakefile_path, File.join(source_path, "Rakefile"))
|
|
26
|
+
FileUtils.cp_r(tasks_dir_path, File.join(source_path, "tasks"))
|
|
19
27
|
|
|
20
|
-
@version.checkout(globs: globs) do |source_path|
|
|
21
28
|
Dir.chdir(source_path) do
|
|
22
29
|
title = "#{project_name} #{@version.name}"
|
|
23
30
|
title = "#{project_name} (main)" if @version.edge?
|
|
24
|
-
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
|
|
32
|
+
# Use rake rerdoc to ensure copy_examples runs
|
|
33
|
+
# Set environment variables to override rdoc settings
|
|
34
|
+
success = system(
|
|
35
|
+
{
|
|
36
|
+
"BUNDLE_GEMFILE" => gemfile_path,
|
|
37
|
+
"RDOC_OUTPUT" => absolute_path,
|
|
38
|
+
"RDOC_TITLE" => title,
|
|
39
|
+
"RDOC_CUSTOM_CSS" => custom_css_path,
|
|
40
|
+
},
|
|
41
|
+
"bundle exec rake rerdoc"
|
|
31
42
|
)
|
|
32
43
|
|
|
44
|
+
# Fall back to direct rdoc call if rake fails for any reason
|
|
45
|
+
unless success
|
|
46
|
+
puts " Rake task failed, falling back to direct rdoc call..."
|
|
47
|
+
files = globs.flat_map { |glob| Dir[glob] }.uniq
|
|
48
|
+
system(
|
|
49
|
+
{ "BUNDLE_GEMFILE" => gemfile_path },
|
|
50
|
+
"bundle exec rdoc -o #{absolute_path} --main #{RDocConfig::MAIN} --title '#{title}' --template-stylesheets \"#{custom_css_path}\" #{files.join(' ')}"
|
|
51
|
+
)
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# Copy generated documentation to target path if it was generated elsewhere
|
|
55
|
+
# This handles cases where RDOC_OUTPUT wasn't respected (evaluated at load time)
|
|
56
|
+
temp_output_paths = ["tmp/rdoc", "doc"]
|
|
57
|
+
temp_output_paths.each do |temp_path|
|
|
58
|
+
# Check if this looks like generated rdoc (has index.html)
|
|
59
|
+
if Dir.exist?(temp_path) && !Dir.empty?(temp_path) && File.exist?(File.join(temp_path, "index.html"))
|
|
60
|
+
puts " Copying generated docs from #{temp_path} to #{absolute_path}..."
|
|
61
|
+
FileUtils.mkdir_p(absolute_path)
|
|
62
|
+
FileUtils.cp_r Dir["#{temp_path}/*"], absolute_path
|
|
63
|
+
break
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
33
67
|
copy_assets_to(absolute_path, assets)
|
|
34
68
|
end
|
|
35
69
|
end
|
|
36
70
|
end
|
|
37
71
|
|
|
38
|
-
private
|
|
39
|
-
|
|
40
|
-
def copy_assets_to(path, assets)
|
|
72
|
+
private def copy_assets_to(path, assets)
|
|
41
73
|
assets.each do |asset_dir|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
74
|
+
if Dir.exist?(asset_dir)
|
|
75
|
+
destination = File.join(path, asset_dir)
|
|
76
|
+
FileUtils.mkdir_p(destination)
|
|
77
|
+
FileUtils.cp_r Dir["#{asset_dir}/*"], destination
|
|
78
|
+
end
|
|
47
79
|
end
|
|
48
80
|
end
|
|
49
81
|
end
|
data/tasks/website/website.rb
CHANGED
|
@@ -19,11 +19,11 @@ class Website
|
|
|
19
19
|
|
|
20
20
|
def build
|
|
21
21
|
clean
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
versions.each do |version|
|
|
24
24
|
VersionedDocumentation.new(version).publish_to(
|
|
25
|
-
join(version.slug),
|
|
26
|
-
project_name: @project_name,
|
|
25
|
+
join(version.slug),
|
|
26
|
+
project_name: @project_name,
|
|
27
27
|
globs: @globs,
|
|
28
28
|
assets: @assets
|
|
29
29
|
)
|
|
@@ -31,7 +31,7 @@ class Website
|
|
|
31
31
|
|
|
32
32
|
IndexPage.new(versions).publish_to(join("index.html"), project_name: @project_name)
|
|
33
33
|
|
|
34
|
-
VersionMenu.new(root: @destination, versions:
|
|
34
|
+
VersionMenu.new(root: @destination, versions:).run
|
|
35
35
|
|
|
36
36
|
puts "Website built in #{@destination}/"
|
|
37
37
|
end
|
|
@@ -40,13 +40,11 @@ class Website
|
|
|
40
40
|
@versions ||= Version.all
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
private
|
|
44
|
-
|
|
45
|
-
def join(path)
|
|
43
|
+
private def join(path)
|
|
46
44
|
File.join(@destination, path)
|
|
47
45
|
end
|
|
48
46
|
|
|
49
|
-
def clean
|
|
47
|
+
private def clean
|
|
50
48
|
FileUtils.rm_rf(@destination)
|
|
51
49
|
FileUtils.mkdir_p(@destination)
|
|
52
50
|
end
|
data/tasks/website.rake
CHANGED
|
@@ -12,14 +12,14 @@ namespace :website do
|
|
|
12
12
|
desc "Build documentation for main (current dir) and all git tags"
|
|
13
13
|
task :build do
|
|
14
14
|
require_relative "website/website"
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
spec = Gem::Specification.load(Dir["*.gemspec"].first)
|
|
17
|
-
globs = RDocConfig::RDOC_FILES + ["*.gemspec", "doc/images/**/*"]
|
|
18
|
-
|
|
17
|
+
globs = RDocConfig::RDOC_FILES + ["*.gemspec", "doc/images/**/*", "examples/**/*"]
|
|
18
|
+
|
|
19
19
|
Website.new(
|
|
20
20
|
at: "www",
|
|
21
21
|
project_name: spec.name,
|
|
22
|
-
globs
|
|
22
|
+
globs:,
|
|
23
23
|
assets: ["doc/images"] # directories to copy
|
|
24
24
|
).build
|
|
25
25
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ratatui_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kerrick Long
|
|
@@ -84,7 +84,6 @@ files:
|
|
|
84
84
|
- CHANGELOG.md
|
|
85
85
|
- LICENSE
|
|
86
86
|
- LICENSES/AGPL-3.0-or-later.txt
|
|
87
|
-
- LICENSES/BSD-2-Clause.txt
|
|
88
87
|
- LICENSES/CC-BY-SA-4.0.txt
|
|
89
88
|
- LICENSES/CC0-1.0.txt
|
|
90
89
|
- LICENSES/MIT.txt
|
|
@@ -93,143 +92,121 @@ files:
|
|
|
93
92
|
- Rakefile
|
|
94
93
|
- doc/application_architecture.md
|
|
95
94
|
- doc/application_testing.md
|
|
96
|
-
- doc/contributors/better_dx.md
|
|
97
95
|
- doc/contributors/design.md
|
|
98
96
|
- doc/contributors/design/ruby_frontend.md
|
|
99
97
|
- doc/contributors/design/rust_backend.md
|
|
100
98
|
- doc/contributors/developing_examples.md
|
|
101
99
|
- doc/contributors/documentation_style.md
|
|
102
100
|
- doc/contributors/dwim_dx.md
|
|
103
|
-
- doc/contributors/example_analysis.md
|
|
104
101
|
- doc/contributors/index.md
|
|
105
102
|
- doc/custom.css
|
|
106
103
|
- doc/event_handling.md
|
|
107
|
-
- doc/images/
|
|
108
|
-
- doc/images/
|
|
109
|
-
- doc/images/
|
|
110
|
-
- doc/images/
|
|
111
|
-
- doc/images/
|
|
112
|
-
- doc/images/
|
|
113
|
-
- doc/images/
|
|
114
|
-
- doc/images/
|
|
115
|
-
- doc/images/
|
|
116
|
-
- doc/images/
|
|
117
|
-
- doc/images/
|
|
118
|
-
- doc/images/
|
|
119
|
-
- doc/images/
|
|
120
|
-
- doc/images/
|
|
121
|
-
- doc/images/
|
|
122
|
-
- doc/images/
|
|
123
|
-
- doc/images/
|
|
124
|
-
- doc/images/
|
|
125
|
-
- doc/images/
|
|
126
|
-
- doc/images/
|
|
127
|
-
- doc/images/
|
|
128
|
-
- doc/images/
|
|
129
|
-
- doc/images/
|
|
130
|
-
- doc/images/
|
|
131
|
-
- doc/images/
|
|
132
|
-
- doc/images/
|
|
133
|
-
- doc/images/
|
|
134
|
-
- doc/images/
|
|
135
|
-
- doc/images/
|
|
104
|
+
- doc/images/app_all_events.png
|
|
105
|
+
- doc/images/app_analytics.png
|
|
106
|
+
- doc/images/app_color_picker.png
|
|
107
|
+
- doc/images/app_custom_widget.png
|
|
108
|
+
- doc/images/app_login_form.png
|
|
109
|
+
- doc/images/app_map_demo.png
|
|
110
|
+
- doc/images/app_mouse_events.png
|
|
111
|
+
- doc/images/app_table_select.png
|
|
112
|
+
- doc/images/verify_quickstart_dsl.png
|
|
113
|
+
- doc/images/verify_quickstart_layout.png
|
|
114
|
+
- doc/images/verify_quickstart_lifecycle.png
|
|
115
|
+
- doc/images/verify_readme_usage.png
|
|
116
|
+
- doc/images/widget_barchart_demo.png
|
|
117
|
+
- doc/images/widget_block_padding.png
|
|
118
|
+
- doc/images/widget_block_titles.png
|
|
119
|
+
- doc/images/widget_box_demo.png
|
|
120
|
+
- doc/images/widget_calendar_demo.png
|
|
121
|
+
- doc/images/widget_cell_demo.png
|
|
122
|
+
- doc/images/widget_chart_demo.png
|
|
123
|
+
- doc/images/widget_gauge_demo.png
|
|
124
|
+
- doc/images/widget_layout_split.png
|
|
125
|
+
- doc/images/widget_line_gauge_demo.png
|
|
126
|
+
- doc/images/widget_list_demo.png
|
|
127
|
+
- doc/images/widget_list_styles.png
|
|
128
|
+
- doc/images/widget_popup_demo.png
|
|
129
|
+
- doc/images/widget_ratatui_logo_demo.png
|
|
130
|
+
- doc/images/widget_ratatui_mascot_demo.png
|
|
131
|
+
- doc/images/widget_rect.png
|
|
132
|
+
- doc/images/widget_render.png
|
|
133
|
+
- doc/images/widget_rich_text.png
|
|
134
|
+
- doc/images/widget_scroll_text.png
|
|
135
|
+
- doc/images/widget_scrollbar_demo.png
|
|
136
|
+
- doc/images/widget_sparkline_demo.png
|
|
136
137
|
- doc/images/widget_style_colors.png
|
|
138
|
+
- doc/images/widget_table_flex.png
|
|
139
|
+
- doc/images/widget_tabs_demo.png
|
|
137
140
|
- doc/index.md
|
|
138
141
|
- doc/interactive_design.md
|
|
139
142
|
- doc/quickstart.md
|
|
140
|
-
- examples/
|
|
141
|
-
- examples/
|
|
142
|
-
- examples/
|
|
143
|
-
- examples/
|
|
144
|
-
- examples/
|
|
145
|
-
- examples/
|
|
146
|
-
- examples/
|
|
147
|
-
- examples/
|
|
148
|
-
- examples/
|
|
149
|
-
- examples/
|
|
150
|
-
- examples/
|
|
151
|
-
- examples/
|
|
152
|
-
- examples/
|
|
153
|
-
- examples/
|
|
154
|
-
- examples/
|
|
155
|
-
- examples/
|
|
156
|
-
- examples/
|
|
157
|
-
- examples/
|
|
158
|
-
- examples/
|
|
159
|
-
- examples/
|
|
160
|
-
- examples/
|
|
161
|
-
- examples/
|
|
162
|
-
- examples/
|
|
163
|
-
- examples/
|
|
164
|
-
- examples/
|
|
165
|
-
- examples/
|
|
166
|
-
- examples/
|
|
167
|
-
- examples/
|
|
168
|
-
- examples/
|
|
169
|
-
- examples/
|
|
170
|
-
- examples/
|
|
171
|
-
- examples/
|
|
172
|
-
- examples/
|
|
173
|
-
- examples/
|
|
174
|
-
- examples/
|
|
175
|
-
- examples/
|
|
176
|
-
- examples/
|
|
177
|
-
- examples/
|
|
178
|
-
- examples/
|
|
179
|
-
- examples/
|
|
180
|
-
- examples/
|
|
181
|
-
- examples/
|
|
182
|
-
- examples/
|
|
183
|
-
- examples/
|
|
184
|
-
- examples/
|
|
185
|
-
- examples/
|
|
186
|
-
- examples/
|
|
187
|
-
- examples/
|
|
188
|
-
- examples/
|
|
189
|
-
- examples/
|
|
190
|
-
- examples/
|
|
191
|
-
- examples/
|
|
192
|
-
- examples/
|
|
193
|
-
- examples/
|
|
194
|
-
- examples/
|
|
195
|
-
- examples/
|
|
196
|
-
- examples/
|
|
197
|
-
- examples/
|
|
198
|
-
- examples/
|
|
199
|
-
- examples/
|
|
200
|
-
- examples/
|
|
201
|
-
- examples/
|
|
202
|
-
- examples/
|
|
203
|
-
- examples/
|
|
204
|
-
- examples/ratatui_logo_demo/app.rbs
|
|
205
|
-
- examples/ratatui_logo_demo/test_app.rb
|
|
206
|
-
- examples/ratatui_mascot_demo/app.rb
|
|
207
|
-
- examples/ratatui_mascot_demo/app.rbs
|
|
208
|
-
- examples/ratatui_mascot_demo/test_app.rb
|
|
209
|
-
- examples/readme_usage/app.rb
|
|
210
|
-
- examples/readme_usage/app.rbs
|
|
211
|
-
- examples/readme_usage/test_app.rb
|
|
212
|
-
- examples/rich_text/app.rb
|
|
213
|
-
- examples/rich_text/app.rbs
|
|
214
|
-
- examples/rich_text/test_app.rb
|
|
215
|
-
- examples/scroll_text/app.rb
|
|
216
|
-
- examples/scroll_text/app.rbs
|
|
217
|
-
- examples/scroll_text/test_app.rb
|
|
218
|
-
- examples/scrollbar_demo/app.rb
|
|
219
|
-
- examples/scrollbar_demo/app.rbs
|
|
220
|
-
- examples/scrollbar_demo/test_app.rb
|
|
221
|
-
- examples/sparkline_demo/app.rb
|
|
222
|
-
- examples/sparkline_demo/app.rbs
|
|
223
|
-
- examples/sparkline_demo/test_app.rb
|
|
224
|
-
- examples/table_flex/app.rb
|
|
225
|
-
- examples/table_flex/app.rbs
|
|
226
|
-
- examples/table_flex/test_app.rb
|
|
227
|
-
- examples/table_select/app.rb
|
|
228
|
-
- examples/table_select/app.rbs
|
|
229
|
-
- examples/table_select/test_app.rb
|
|
143
|
+
- examples/app_all_events/README.md
|
|
144
|
+
- examples/app_all_events/app.rb
|
|
145
|
+
- examples/app_all_events/model/event_color_cycle.rb
|
|
146
|
+
- examples/app_all_events/model/event_entry.rb
|
|
147
|
+
- examples/app_all_events/model/events.rb
|
|
148
|
+
- examples/app_all_events/model/highlight.rb
|
|
149
|
+
- examples/app_all_events/model/timestamp.rb
|
|
150
|
+
- examples/app_all_events/test/snapshots/after_focus_lost.txt
|
|
151
|
+
- examples/app_all_events/test/snapshots/after_focus_regained.txt
|
|
152
|
+
- examples/app_all_events/test/snapshots/after_horizontal_resize.txt
|
|
153
|
+
- examples/app_all_events/test/snapshots/after_key_a.txt
|
|
154
|
+
- examples/app_all_events/test/snapshots/after_key_ctrl_x.txt
|
|
155
|
+
- examples/app_all_events/test/snapshots/after_mouse_click.txt
|
|
156
|
+
- examples/app_all_events/test/snapshots/after_mouse_drag.txt
|
|
157
|
+
- examples/app_all_events/test/snapshots/after_multiple_events.txt
|
|
158
|
+
- examples/app_all_events/test/snapshots/after_paste.txt
|
|
159
|
+
- examples/app_all_events/test/snapshots/after_resize.txt
|
|
160
|
+
- examples/app_all_events/test/snapshots/after_right_click.txt
|
|
161
|
+
- examples/app_all_events/test/snapshots/after_vertical_resize.txt
|
|
162
|
+
- examples/app_all_events/test/snapshots/initial_state.txt
|
|
163
|
+
- examples/app_all_events/view.rb
|
|
164
|
+
- examples/app_all_events/view/app_view.rb
|
|
165
|
+
- examples/app_all_events/view/controls_view.rb
|
|
166
|
+
- examples/app_all_events/view/counts_view.rb
|
|
167
|
+
- examples/app_all_events/view/live_view.rb
|
|
168
|
+
- examples/app_all_events/view/log_view.rb
|
|
169
|
+
- examples/app_all_events/view_state.rb
|
|
170
|
+
- examples/app_color_picker/README.md
|
|
171
|
+
- examples/app_color_picker/app.rb
|
|
172
|
+
- examples/app_color_picker/clipboard.rb
|
|
173
|
+
- examples/app_color_picker/color.rb
|
|
174
|
+
- examples/app_color_picker/copy_dialog.rb
|
|
175
|
+
- examples/app_color_picker/harmony.rb
|
|
176
|
+
- examples/app_color_picker/input.rb
|
|
177
|
+
- examples/app_color_picker/palette.rb
|
|
178
|
+
- examples/app_color_picker/scene.rb
|
|
179
|
+
- examples/app_login_form/app.rb
|
|
180
|
+
- examples/app_map_demo/app.rb
|
|
181
|
+
- examples/app_table_select/app.rb
|
|
182
|
+
- examples/verify_quickstart_dsl/app.rb
|
|
183
|
+
- examples/verify_quickstart_layout/app.rb
|
|
184
|
+
- examples/verify_quickstart_lifecycle/app.rb
|
|
185
|
+
- examples/verify_readme_usage/app.rb
|
|
186
|
+
- examples/widget_barchart_demo/app.rb
|
|
187
|
+
- examples/widget_block_padding/app.rb
|
|
188
|
+
- examples/widget_block_titles/app.rb
|
|
189
|
+
- examples/widget_box_demo/app.rb
|
|
190
|
+
- examples/widget_calendar_demo/app.rb
|
|
191
|
+
- examples/widget_cell_demo/app.rb
|
|
192
|
+
- examples/widget_chart_demo/app.rb
|
|
193
|
+
- examples/widget_gauge_demo/app.rb
|
|
194
|
+
- examples/widget_layout_split/app.rb
|
|
195
|
+
- examples/widget_line_gauge_demo/app.rb
|
|
196
|
+
- examples/widget_list_demo/app.rb
|
|
197
|
+
- examples/widget_list_styles/app.rb
|
|
198
|
+
- examples/widget_popup_demo/app.rb
|
|
199
|
+
- examples/widget_ratatui_logo_demo/app.rb
|
|
200
|
+
- examples/widget_ratatui_mascot_demo/app.rb
|
|
201
|
+
- examples/widget_rect/app.rb
|
|
202
|
+
- examples/widget_render/app.rb
|
|
203
|
+
- examples/widget_rich_text/app.rb
|
|
204
|
+
- examples/widget_scroll_text/app.rb
|
|
205
|
+
- examples/widget_scrollbar_demo/app.rb
|
|
206
|
+
- examples/widget_sparkline_demo/app.rb
|
|
230
207
|
- examples/widget_style_colors/app.rb
|
|
231
|
-
- examples/
|
|
232
|
-
- examples/
|
|
208
|
+
- examples/widget_table_flex/app.rb
|
|
209
|
+
- examples/widget_tabs_demo/app.rb
|
|
233
210
|
- ext/ratatui_ruby/.cargo/config.toml
|
|
234
211
|
- ext/ratatui_ruby/.gitignore
|
|
235
212
|
- ext/ratatui_ruby/Cargo.lock
|
|
@@ -237,6 +214,7 @@ files:
|
|
|
237
214
|
- ext/ratatui_ruby/clippy.toml
|
|
238
215
|
- ext/ratatui_ruby/extconf.rb
|
|
239
216
|
- ext/ratatui_ruby/src/events.rs
|
|
217
|
+
- ext/ratatui_ruby/src/frame.rs
|
|
240
218
|
- ext/ratatui_ruby/src/lib.rs
|
|
241
219
|
- ext/ratatui_ruby/src/rendering.rs
|
|
242
220
|
- ext/ratatui_ruby/src/style.rs
|
|
@@ -270,8 +248,10 @@ files:
|
|
|
270
248
|
- lib/ratatui_ruby/event/focus_lost.rb
|
|
271
249
|
- lib/ratatui_ruby/event/key.rb
|
|
272
250
|
- lib/ratatui_ruby/event/mouse.rb
|
|
251
|
+
- lib/ratatui_ruby/event/none.rb
|
|
273
252
|
- lib/ratatui_ruby/event/paste.rb
|
|
274
253
|
- lib/ratatui_ruby/event/resize.rb
|
|
254
|
+
- lib/ratatui_ruby/frame.rb
|
|
275
255
|
- lib/ratatui_ruby/schema/bar_chart.rb
|
|
276
256
|
- lib/ratatui_ruby/schema/bar_chart/bar.rb
|
|
277
257
|
- lib/ratatui_ruby/schema/bar_chart/bar_group.rb
|
|
@@ -301,10 +281,52 @@ files:
|
|
|
301
281
|
- lib/ratatui_ruby/schema/tabs.rb
|
|
302
282
|
- lib/ratatui_ruby/schema/text.rb
|
|
303
283
|
- lib/ratatui_ruby/session.rb
|
|
284
|
+
- lib/ratatui_ruby/session/autodoc.rb
|
|
304
285
|
- lib/ratatui_ruby/test_helper.rb
|
|
305
286
|
- lib/ratatui_ruby/version.rb
|
|
306
287
|
- mise.toml
|
|
288
|
+
- sig/examples/app_all_events/app.rbs
|
|
289
|
+
- sig/examples/app_all_events/model/event_entry.rbs
|
|
290
|
+
- sig/examples/app_all_events/model/events.rbs
|
|
291
|
+
- sig/examples/app_all_events/model/timestamp.rbs
|
|
292
|
+
- sig/examples/app_all_events/view.rbs
|
|
293
|
+
- sig/examples/app_all_events/view/app_view.rbs
|
|
294
|
+
- sig/examples/app_all_events/view/controls_view.rbs
|
|
295
|
+
- sig/examples/app_all_events/view/counts_view.rbs
|
|
296
|
+
- sig/examples/app_all_events/view/live_view.rbs
|
|
297
|
+
- sig/examples/app_all_events/view/log_view.rbs
|
|
298
|
+
- sig/examples/app_all_events/view_state.rbs
|
|
299
|
+
- sig/examples/app_color_picker/app.rbs
|
|
300
|
+
- sig/examples/app_login_form/app.rbs
|
|
301
|
+
- sig/examples/app_map_demo/app.rbs
|
|
302
|
+
- sig/examples/app_table_select/app.rbs
|
|
303
|
+
- sig/examples/verify_quickstart_dsl/app.rbs
|
|
304
|
+
- sig/examples/verify_quickstart_lifecycle/app.rbs
|
|
305
|
+
- sig/examples/verify_readme_usage/app.rbs
|
|
306
|
+
- sig/examples/widget_block_padding/app.rbs
|
|
307
|
+
- sig/examples/widget_block_titles/app.rbs
|
|
308
|
+
- sig/examples/widget_box_demo/app.rbs
|
|
309
|
+
- sig/examples/widget_calendar_demo/app.rbs
|
|
310
|
+
- sig/examples/widget_cell_demo/app.rbs
|
|
311
|
+
- sig/examples/widget_chart_demo/app.rbs
|
|
312
|
+
- sig/examples/widget_gauge_demo/app.rbs
|
|
313
|
+
- sig/examples/widget_layout_split/app.rbs
|
|
314
|
+
- sig/examples/widget_line_gauge_demo/app.rbs
|
|
315
|
+
- sig/examples/widget_list_demo/app.rbs
|
|
316
|
+
- sig/examples/widget_list_styles/app.rbs
|
|
317
|
+
- sig/examples/widget_popup_demo/app.rbs
|
|
318
|
+
- sig/examples/widget_ratatui_logo_demo/app.rbs
|
|
319
|
+
- sig/examples/widget_ratatui_mascot_demo/app.rbs
|
|
320
|
+
- sig/examples/widget_rect/app.rbs
|
|
321
|
+
- sig/examples/widget_render/app.rbs
|
|
322
|
+
- sig/examples/widget_rich_text/app.rbs
|
|
323
|
+
- sig/examples/widget_scroll_text/app.rbs
|
|
324
|
+
- sig/examples/widget_scrollbar_demo/app.rbs
|
|
325
|
+
- sig/examples/widget_sparkline_demo/app.rbs
|
|
326
|
+
- sig/examples/widget_style_colors/app.rbs
|
|
327
|
+
- sig/examples/widget_table_flex/app.rbs
|
|
307
328
|
- sig/ratatui_ruby/event.rbs
|
|
329
|
+
- sig/ratatui_ruby/frame.rbs
|
|
308
330
|
- sig/ratatui_ruby/ratatui_ruby.rbs
|
|
309
331
|
- sig/ratatui_ruby/schema/bar_chart.rbs
|
|
310
332
|
- sig/ratatui_ruby/schema/bar_chart/bar.rbs
|
|
@@ -332,8 +354,16 @@ files:
|
|
|
332
354
|
- sig/ratatui_ruby/schema/table.rbs
|
|
333
355
|
- sig/ratatui_ruby/schema/tabs.rbs
|
|
334
356
|
- sig/ratatui_ruby/schema/text.rbs
|
|
357
|
+
- sig/ratatui_ruby/session.rbs
|
|
335
358
|
- sig/ratatui_ruby/test_helper.rbs
|
|
336
359
|
- sig/ratatui_ruby/version.rbs
|
|
360
|
+
- tasks/autodoc.rake
|
|
361
|
+
- tasks/autodoc/inventory.rb
|
|
362
|
+
- tasks/autodoc/member.rb
|
|
363
|
+
- tasks/autodoc/name.rb
|
|
364
|
+
- tasks/autodoc/notice.rb
|
|
365
|
+
- tasks/autodoc/rbs.rb
|
|
366
|
+
- tasks/autodoc/rdoc.rb
|
|
337
367
|
- tasks/bump.rake
|
|
338
368
|
- tasks/bump/cargo_lockfile.rb
|
|
339
369
|
- tasks/bump/changelog.rb
|
|
@@ -345,6 +375,7 @@ files:
|
|
|
345
375
|
- tasks/bump/sem_ver.rb
|
|
346
376
|
- tasks/bump/unreleased_section.rb
|
|
347
377
|
- tasks/doc.rake
|
|
378
|
+
- tasks/example_viewer.html.erb
|
|
348
379
|
- tasks/extension.rake
|
|
349
380
|
- tasks/lint.rake
|
|
350
381
|
- tasks/rdoc_config.rb
|
data/LICENSES/BSD-2-Clause.txt
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Copyright <YEAR> <COPYRIGHT HOLDER>
|
|
2
|
-
|
|
3
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
4
|
-
|
|
5
|
-
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
6
|
-
|
|
7
|
-
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
8
|
-
|
|
9
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|