scarpe 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -0
  3. data/.yardopts +11 -0
  4. data/Gemfile +3 -0
  5. data/Gemfile.lock +112 -0
  6. data/README.md +31 -24
  7. data/Rakefile +13 -1
  8. data/docs/yard/catscradle.md +44 -0
  9. data/docs/yard/template/default/fulldoc/html/setup.rb +13 -0
  10. data/docs/yard/template/default/layout/html/setup.rb +9 -0
  11. data/examples/background_with_image.rb +16 -0
  12. data/examples/bloopsaphone/working/bronx_army_knife.rb +66 -0
  13. data/examples/bloopsaphone/working/morning_serenity.rb +21 -0
  14. data/examples/bloopsaphone/working/simpsons_theme_song_by_why.rb +6 -4
  15. data/examples/button_go_away.rb +1 -1
  16. data/examples/check.rb +18 -0
  17. data/examples/clear_and_append.rb +24 -0
  18. data/examples/download_and_show_image.rb +28 -0
  19. data/examples/edit_box.rb +3 -5
  20. data/examples/fonts.rb +2 -2
  21. data/examples/get_headers.rb +10 -0
  22. data/examples/highlander.rb +2 -0
  23. data/examples/link.rb +2 -2
  24. data/examples/local_fonts.rb +4 -0
  25. data/examples/local_images.rb +4 -0
  26. data/examples/motion_events.rb +20 -0
  27. data/examples/parse_xl_funnies.rb +58 -0
  28. data/examples/radio/radio.rb +16 -0
  29. data/examples/radio/radio_groups.rb +18 -0
  30. data/examples/radio/radio_same_slot.rb +6 -0
  31. data/examples/ruby_racer.rb +13 -15
  32. data/examples/selfitude.rb +18 -0
  33. data/examples/shapes/shapes_fill.rb +4 -3
  34. data/examples/shoes_school.rb +2 -4
  35. data/examples/show_hide.rb +6 -0
  36. data/examples/skip_ci/change_my_audio_source.rb +21 -0
  37. data/examples/skip_ci/guitar_fretboard.rb +137 -0
  38. data/examples/video.rb +10 -0
  39. data/exe/scarpe +42 -66
  40. data/fonts/Pacifico.ttf +0 -0
  41. data/lacci/Gemfile +22 -0
  42. data/lacci/Gemfile.lock +72 -0
  43. data/lacci/Rakefile +12 -0
  44. data/lacci/lacci.gemspec +37 -0
  45. data/lacci/lib/lacci/scarpe_cli.rb +70 -0
  46. data/lacci/lib/lacci/scarpe_core.rb +21 -0
  47. data/lacci/lib/lacci/version.rb +13 -0
  48. data/lacci/lib/shoes/app.rb +264 -0
  49. data/{lib/scarpe → lacci/lib/shoes}/background.rb +1 -1
  50. data/{lib/scarpe → lacci/lib/shoes}/border.rb +1 -1
  51. data/{lib/scarpe → lacci/lib/shoes}/colors.rb +1 -1
  52. data/lacci/lib/shoes/constants.rb +29 -0
  53. data/{lib/scarpe → lacci/lib/shoes}/display_service.rb +40 -45
  54. data/lacci/lib/shoes/download.rb +123 -0
  55. data/lacci/lib/shoes/log.rb +71 -0
  56. data/lacci/lib/shoes/spacing.rb +9 -0
  57. data/{lib/scarpe → lacci/lib/shoes}/widget.rb +63 -43
  58. data/{lib/scarpe → lacci/lib/shoes/widgets}/alert.rb +3 -3
  59. data/{lib/scarpe → lacci/lib/shoes/widgets}/arc.rb +7 -5
  60. data/{lib/scarpe → lacci/lib/shoes/widgets}/button.rb +3 -3
  61. data/lacci/lib/shoes/widgets/check.rb +28 -0
  62. data/lacci/lib/shoes/widgets/document_root.rb +20 -0
  63. data/{lib/scarpe → lacci/lib/shoes/widgets}/edit_box.rb +10 -5
  64. data/{lib/scarpe → lacci/lib/shoes/widgets}/edit_line.rb +2 -2
  65. data/lacci/lib/shoes/widgets/flow.rb +22 -0
  66. data/lacci/lib/shoes/widgets/font.rb +14 -0
  67. data/{lib/scarpe → lacci/lib/shoes/widgets}/image.rb +3 -7
  68. data/lacci/lib/shoes/widgets/line.rb +18 -0
  69. data/{lib/scarpe → lacci/lib/shoes/widgets}/link.rb +2 -2
  70. data/{lib/scarpe → lacci/lib/shoes/widgets}/list_box.rb +2 -2
  71. data/{lib/scarpe → lacci/lib/shoes/widgets}/para.rb +4 -26
  72. data/lacci/lib/shoes/widgets/radio.rb +35 -0
  73. data/lacci/lib/shoes/widgets/shape.rb +37 -0
  74. data/lacci/lib/shoes/widgets/slot.rb +75 -0
  75. data/{lib/scarpe → lacci/lib/shoes/widgets}/span.rb +2 -2
  76. data/lacci/lib/shoes/widgets/stack.rb +24 -0
  77. data/{lib/scarpe → lacci/lib/shoes/widgets}/star.rb +6 -9
  78. data/lacci/lib/shoes/widgets/subscription_item.rb +60 -0
  79. data/lacci/lib/shoes/widgets/text_widget.rb +51 -0
  80. data/lacci/lib/shoes/widgets/video.rb +15 -0
  81. data/lacci/lib/shoes/widgets.rb +29 -0
  82. data/lacci/lib/shoes.rb +127 -0
  83. data/lacci/test/test_colors.rb +39 -0
  84. data/lacci/test/test_helper.rb +9 -0
  85. data/lacci/test/test_lacci.rb +9 -0
  86. data/lib/scarpe/cats_cradle.rb +249 -0
  87. data/lib/scarpe/evented_assertions.rb +88 -0
  88. data/lib/scarpe/version.rb +1 -1
  89. data/lib/scarpe/wv/alert.rb +3 -2
  90. data/lib/scarpe/wv/app.rb +30 -8
  91. data/lib/scarpe/wv/arc.rb +5 -6
  92. data/lib/scarpe/wv/background.rb +10 -1
  93. data/lib/scarpe/wv/border.rb +5 -3
  94. data/lib/scarpe/wv/button.rb +11 -9
  95. data/lib/scarpe/wv/check.rb +29 -0
  96. data/lib/scarpe/wv/control_interface.rb +14 -20
  97. data/lib/scarpe/wv/control_interface_test.rb +13 -28
  98. data/lib/scarpe/wv/document_root.rb +3 -45
  99. data/lib/scarpe/wv/edit_box.rb +5 -7
  100. data/lib/scarpe/wv/edit_line.rb +2 -2
  101. data/lib/scarpe/wv/flow.rb +10 -20
  102. data/lib/scarpe/wv/font.rb +36 -0
  103. data/lib/scarpe/wv/html.rb +3 -2
  104. data/lib/scarpe/wv/image.rb +7 -2
  105. data/lib/scarpe/wv/line.rb +4 -7
  106. data/lib/scarpe/wv/link.rb +1 -0
  107. data/lib/scarpe/wv/list_box.rb +3 -3
  108. data/lib/scarpe/wv/para.rb +16 -14
  109. data/lib/scarpe/wv/radio.rb +34 -0
  110. data/lib/scarpe/wv/shape.rb +44 -8
  111. data/lib/scarpe/wv/slot.rb +81 -0
  112. data/lib/scarpe/wv/spacing.rb +1 -1
  113. data/lib/scarpe/wv/span.rb +10 -8
  114. data/lib/scarpe/wv/stack.rb +10 -30
  115. data/lib/scarpe/wv/star.rb +11 -12
  116. data/lib/scarpe/wv/subscription_item.rb +50 -0
  117. data/lib/scarpe/wv/video.rb +34 -0
  118. data/lib/scarpe/wv/web_wrangler.rb +238 -58
  119. data/lib/scarpe/wv/webview_local_display.rb +27 -5
  120. data/lib/scarpe/wv/webview_relay_display.rb +18 -119
  121. data/lib/scarpe/wv/webview_relay_util.rb +143 -0
  122. data/lib/scarpe/wv/widget.rb +80 -11
  123. data/lib/scarpe/wv/wv_display_worker.rb +17 -4
  124. data/lib/scarpe/wv.rb +33 -4
  125. data/lib/scarpe/wv_local.rb +1 -1
  126. data/lib/scarpe/wv_relay.rb +1 -1
  127. data/lib/scarpe.rb +3 -32
  128. data/scarpe-components/.gitignore +1 -0
  129. data/scarpe-components/Gemfile +22 -0
  130. data/scarpe-components/README.md +35 -0
  131. data/scarpe-components/Rakefile +12 -0
  132. data/scarpe-components/lib/scarpe/components/base64.rb +29 -0
  133. data/scarpe-components/lib/scarpe/components/file_helpers.rb +65 -0
  134. data/scarpe-components/lib/scarpe/components/modular_logger.rb +113 -0
  135. data/scarpe-components/lib/scarpe/components/print_logger.rb +43 -0
  136. data/{lib/scarpe → scarpe-components/lib/scarpe/components}/promises.rb +102 -35
  137. data/scarpe-components/lib/scarpe/components/segmented_file_loader.rb +170 -0
  138. data/scarpe-components/lib/scarpe/components/unit_test_helpers.rb +217 -0
  139. data/scarpe-components/lib/scarpe/components/version.rb +7 -0
  140. data/scarpe-components/scarpe-components.gemspec +38 -0
  141. data/scarpe-components/test/test_components.rb +9 -0
  142. data/scarpe-components/test/test_helper.rb +23 -0
  143. data/scarpe-components/test/test_promises.rb +260 -0
  144. data/scarpe-components/test/test_segmented_app_files.rb +182 -0
  145. data/{lib/scarpe → spikes}/glibui/widget.rb +2 -2
  146. data/{lib/scarpe → spikes}/glibui.rb +1 -1
  147. data/templates/basic_class_template.erb +1 -1
  148. data/templates/class_template_with_event_bind.erb +1 -1
  149. data/templates/class_template_with_shapes.erb +1 -1
  150. data/templates/webview_template.erb +0 -3
  151. metadata +165 -117
  152. data/examples/fill.rb +0 -25
  153. data/examples/legacy/not_checked/shoes-contrib/basic/class-book.yaml +0 -387
  154. data/examples/legacy/not_checked/shoes-contrib/good/good-clock.rb +0 -51
  155. data/examples/legacy/not_checked/shoes-contrib/good/good-follow.rb +0 -26
  156. data/examples/legacy/not_checked/shoes-contrib/good/good-reminder.rb +0 -174
  157. data/examples/legacy/not_checked/shoes-contrib/good/good-vjot.rb +0 -56
  158. data/examples/legacy/not_checked/shoes-contrib/simple/simple-timer.rb +0 -13
  159. data/examples/legacy/not_checked/shoes-dep-samples/good-clock.rb +0 -51
  160. data/examples/legacy/not_checked/shoes-dep-samples/good-follow.rb +0 -26
  161. data/examples/legacy/not_checked/shoes-dep-samples/good-reminder.rb +0 -174
  162. data/examples/legacy/not_checked/shoes-dep-samples/good-vjot.rb +0 -56
  163. data/examples/legacy/not_checked/shoes-dep-samples/simple-accordion.rb +0 -75
  164. data/examples/legacy/not_checked/shoes-dep-samples/simple-anim-shapes.rb +0 -17
  165. data/examples/legacy/not_checked/shoes-dep-samples/simple-anim-text.rb +0 -13
  166. data/examples/legacy/not_checked/shoes-dep-samples/simple-arc.rb +0 -23
  167. data/examples/legacy/not_checked/shoes-dep-samples/simple-bounce.rb +0 -24
  168. data/examples/legacy/not_checked/shoes-dep-samples/simple-calc.rb +0 -70
  169. data/examples/legacy/not_checked/shoes-dep-samples/simple-chipmunk.rb +0 -26
  170. data/examples/legacy/not_checked/shoes-dep-samples/simple-control-sizes.rb +0 -24
  171. data/examples/legacy/not_checked/shoes-dep-samples/simple-curve.rb +0 -26
  172. data/examples/legacy/not_checked/shoes-dep-samples/simple-dialogs.rb +0 -29
  173. data/examples/legacy/not_checked/shoes-dep-samples/simple-draw.rb +0 -13
  174. data/examples/legacy/not_checked/shoes-dep-samples/simple-editor.rb +0 -28
  175. data/examples/legacy/not_checked/shoes-dep-samples/simple-form.rb +0 -28
  176. data/examples/legacy/not_checked/shoes-dep-samples/simple-form.shy +0 -0
  177. data/examples/legacy/not_checked/shoes-dep-samples/simple-mask.rb +0 -21
  178. data/examples/legacy/not_checked/shoes-dep-samples/simple-menu.rb +0 -31
  179. data/examples/legacy/not_checked/shoes-dep-samples/simple-menu1.rb +0 -35
  180. data/examples/legacy/not_checked/shoes-dep-samples/simple-rubygems.rb +0 -29
  181. data/examples/legacy/not_checked/shoes-dep-samples/simple-slide.rb +0 -45
  182. data/examples/legacy/not_checked/shoes-dep-samples/simple-sphere.rb +0 -28
  183. data/examples/legacy/not_checked/shoes-dep-samples/simple-sqlite3.rb +0 -13
  184. data/examples/legacy/not_checked/shoes-dep-samples/simple-timer.rb +0 -13
  185. data/examples/legacy/not_checked/shoes-dep-samples/simple-video.rb +0 -13
  186. data/examples/legacy/not_checked/simple/anim-text.rb +0 -13
  187. data/examples/legacy/not_checked/simple/arc.rb +0 -23
  188. data/examples/legacy/not_checked/simple/bounce.rb +0 -24
  189. data/examples/legacy/not_checked/simple/chipmunk.rb +0 -26
  190. data/examples/legacy/not_checked/simple/curve.rb +0 -26
  191. data/examples/legacy/not_checked/simple/dialogs.rb +0 -29
  192. data/examples/legacy/not_checked/simple/downloader.rb +0 -40
  193. data/examples/legacy/not_checked/simple/draw.rb +0 -13
  194. data/examples/legacy/not_checked/simple/mask.rb +0 -21
  195. data/examples/legacy/not_checked/simple/slide.rb +0 -45
  196. data/examples/legacy/not_checked/simple/sphere.rb +0 -28
  197. data/lib/constants.rb +0 -5
  198. data/lib/scarpe/app.rb +0 -78
  199. data/lib/scarpe/document_root.rb +0 -20
  200. data/lib/scarpe/fill.rb +0 -23
  201. data/lib/scarpe/flow.rb +0 -19
  202. data/lib/scarpe/line.rb +0 -25
  203. data/lib/scarpe/logger.rb +0 -155
  204. data/lib/scarpe/shape.rb +0 -19
  205. data/lib/scarpe/spacing.rb +0 -9
  206. data/lib/scarpe/stack.rb +0 -70
  207. data/lib/scarpe/text_widget.rb +0 -42
  208. data/lib/scarpe/unit_test_helpers.rb +0 -163
  209. data/lib/scarpe/widgets.rb +0 -30
  210. data/lib/scarpe/wv/fill.rb +0 -30
  211. data/lib/scarpe/wv/shape_helper.rb +0 -44
  212. /data/{lib/scarpe → spikes}/glibui/README.md +0 -0
  213. /data/{lib/scarpe → spikes}/glibui/alert.rb +0 -0
  214. /data/{lib/scarpe → spikes}/glibui/app.rb +0 -0
  215. /data/{lib/scarpe → spikes}/glibui/background.rb +0 -0
  216. /data/{lib/scarpe → spikes}/glibui/border.rb +0 -0
  217. /data/{lib/scarpe → spikes}/glibui/button.rb +0 -0
  218. /data/{lib/scarpe → spikes}/glibui/dimensions.rb +0 -0
  219. /data/{lib/scarpe → spikes}/glibui/document_root.rb +0 -0
  220. /data/{lib/scarpe → spikes}/glibui/edit_box.rb +0 -0
  221. /data/{lib/scarpe → spikes}/glibui/edit_line.rb +0 -0
  222. /data/{lib/scarpe → spikes}/glibui/flow.rb +0 -0
  223. /data/{lib/scarpe → spikes}/glibui/html.rb +0 -0
  224. /data/{lib/scarpe → spikes}/glibui/image.rb +0 -0
  225. /data/{lib/scarpe → spikes}/glibui/link.rb +0 -0
  226. /data/{lib/scarpe → spikes}/glibui/local_display.rb +0 -0
  227. /data/{lib/scarpe → spikes}/glibui/para.rb +0 -0
  228. /data/{lib/scarpe → spikes}/glibui/spacing.rb +0 -0
  229. /data/{lib/scarpe → spikes}/glibui/stack.rb +0 -0
  230. /data/{lib/scarpe → spikes}/glibui/text_widget.rb +0 -0
  231. /data/{lib/scarpe → spikes}/libui/alert.rb +0 -0
  232. /data/{lib/scarpe → spikes}/libui/button.rb +0 -0
  233. /data/{lib/scarpe → spikes}/libui/colors.rb +0 -0
  234. /data/{lib/scarpe → spikes}/libui/core.rb +0 -0
  235. /data/{lib/scarpe → spikes}/libui/flow.rb +0 -0
  236. /data/{lib/scarpe → spikes}/libui/libui.rb +0 -0
  237. /data/{lib/scarpe → spikes}/libui/notepad.md +0 -0
  238. /data/{lib/scarpe → spikes}/libui/para.rb +0 -0
  239. /data/{lib/scarpe → spikes}/libui/stack.rb +0 -0
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scarpe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Concetto Rudilosso
8
+ - Noah Gibbs
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2023-07-02 00:00:00.000000000 Z
12
+ date: 2023-08-29 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: fastimage
@@ -25,7 +26,7 @@ dependencies:
25
26
  - !ruby/object:Gem::Version
26
27
  version: '0'
27
28
  - !ruby/object:Gem::Dependency
28
- name: glimmer-dsl-libui
29
+ name: nokogiri
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
32
  - - ">="
@@ -39,7 +40,7 @@ dependencies:
39
40
  - !ruby/object:Gem::Version
40
41
  version: '0'
41
42
  - !ruby/object:Gem::Dependency
42
- name: nokogiri
43
+ name: sqlite3
43
44
  requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
46
  - - ">="
@@ -53,7 +54,21 @@ dependencies:
53
54
  - !ruby/object:Gem::Version
54
55
  version: '0'
55
56
  - !ruby/object:Gem::Dependency
56
- name: sqlite3
57
+ name: lacci
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: scarpe-components
57
72
  requirement: !ruby/object:Gem::Requirement
58
73
  requirements:
59
74
  - - ">="
@@ -66,6 +81,20 @@ dependencies:
66
81
  - - ">="
67
82
  - !ruby/object:Gem::Version
68
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: bloops
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '0.5'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '0.5'
69
98
  - !ruby/object:Gem::Dependency
70
99
  name: logging
71
100
  requirement: !ruby/object:Gem::Requirement
@@ -97,6 +126,7 @@ dependencies:
97
126
  description:
98
127
  email:
99
128
  - marcoc.r@outlook.com
129
+ - the.codefolio.guy@gmail.com
100
130
  executables:
101
131
  - scarpe
102
132
  extensions: []
@@ -110,6 +140,7 @@ files:
110
140
  - CODE_OF_CONDUCT.md
111
141
  - CONTRIBUTING.md
112
142
  - Gemfile
143
+ - Gemfile.lock
113
144
  - LICENSE.txt
114
145
  - README.md
115
146
  - Rakefile
@@ -178,26 +209,35 @@ files:
178
209
  - docs/static/stubs/shoes-stub-inject.exe
179
210
  - docs/static/stubs/shoes-stub.exe
180
211
  - docs/static/tutor-back.png
212
+ - docs/yard/catscradle.md
213
+ - docs/yard/template/default/fulldoc/html/setup.rb
214
+ - docs/yard/template/default/layout/html/setup.rb
215
+ - examples/background_with_image.rb
181
216
  - examples/bloopsaphone/working/1901_by_Aanand_Prasad.rb
182
217
  - examples/bloopsaphone/working/b1.rb
183
218
  - examples/bloopsaphone/working/b2.rb
184
219
  - examples/bloopsaphone/working/bloops_test.rb
185
220
  - examples/bloopsaphone/working/bloopsaphone_theme_song_by_why.rb
221
+ - examples/bloopsaphone/working/bronx_army_knife.rb
186
222
  - examples/bloopsaphone/working/feepogram.rb
223
+ - examples/bloopsaphone/working/morning_serenity.rb
187
224
  - examples/bloopsaphone/working/simpsons_theme_song_by_why.rb
188
225
  - examples/bloopsaphone/working/tune_cheeky_drat.rb
189
226
  - examples/button.rb
190
227
  - examples/button_alert.rb
191
228
  - examples/button_go_away.rb
192
229
  - examples/button_with_position_and_size.rb
230
+ - examples/check.rb
231
+ - examples/clear_and_append.rb
193
232
  - examples/coffee.rb
194
233
  - examples/download.rb
234
+ - examples/download_and_show_image.rb
195
235
  - examples/edit_box.rb
196
236
  - examples/edit_line.rb
197
- - examples/fill.rb
198
237
  - examples/flow.rb
199
238
  - examples/fonts.rb
200
239
  - examples/gen.rb
240
+ - examples/get_headers.rb
201
241
  - examples/hello_world.rb
202
242
  - examples/highlander.rb
203
243
  - examples/image/clickable_image.rb
@@ -259,7 +299,6 @@ files:
259
299
  - examples/legacy/not_checked/shoes-contrib/basic/basic-oval-shape.rb
260
300
  - examples/legacy/not_checked/shoes-contrib/basic/basic-oval.rb
261
301
  - examples/legacy/not_checked/shoes-contrib/basic/class-book.rb
262
- - examples/legacy/not_checked/shoes-contrib/basic/class-book.yaml
263
302
  - examples/legacy/not_checked/shoes-contrib/basic/clock.rb
264
303
  - examples/legacy/not_checked/shoes-contrib/basic/edit-stack
265
304
  - examples/legacy/not_checked/shoes-contrib/basic/gradient-shoes.rb
@@ -297,10 +336,6 @@ files:
297
336
  - examples/legacy/not_checked/shoes-contrib/expert/expert-irb.rb
298
337
  - examples/legacy/not_checked/shoes-contrib/expert/expert-othello.rb
299
338
  - examples/legacy/not_checked/shoes-contrib/good/good-arc.rb
300
- - examples/legacy/not_checked/shoes-contrib/good/good-clock.rb
301
- - examples/legacy/not_checked/shoes-contrib/good/good-follow.rb
302
- - examples/legacy/not_checked/shoes-contrib/good/good-reminder.rb
303
- - examples/legacy/not_checked/shoes-contrib/good/good-vjot.rb
304
339
  - examples/legacy/not_checked/shoes-contrib/kernel/ask.rb
305
340
  - examples/legacy/not_checked/shoes-contrib/kernel/ask_color.rb
306
341
  - examples/legacy/not_checked/shoes-contrib/kernel/ask_open_file.rb
@@ -338,7 +373,6 @@ files:
338
373
  - examples/legacy/not_checked/shoes-contrib/simple/simple-slide.rb
339
374
  - examples/legacy/not_checked/shoes-contrib/simple/simple-sphere.rb
340
375
  - examples/legacy/not_checked/shoes-contrib/simple/simple-sqlite3.rb
341
- - examples/legacy/not_checked/shoes-contrib/simple/simple-timer.rb
342
376
  - examples/legacy/not_checked/shoes-contrib/simple/simple-video.rb
343
377
  - examples/legacy/not_checked/shoes-contrib/styles/alignment.rb
344
378
  - examples/legacy/not_checked/shoes-contrib/styles/attachment.rb
@@ -349,33 +383,6 @@ files:
349
383
  - examples/legacy/not_checked/shoes-contrib/styles/para-style-method.rb
350
384
  - examples/legacy/not_checked/shoes-dep-samples/expert-game-of-life.rb
351
385
  - examples/legacy/not_checked/shoes-dep-samples/expert-othello.rb
352
- - examples/legacy/not_checked/shoes-dep-samples/good-clock.rb
353
- - examples/legacy/not_checked/shoes-dep-samples/good-follow.rb
354
- - examples/legacy/not_checked/shoes-dep-samples/good-reminder.rb
355
- - examples/legacy/not_checked/shoes-dep-samples/good-vjot.rb
356
- - examples/legacy/not_checked/shoes-dep-samples/simple-accordion.rb
357
- - examples/legacy/not_checked/shoes-dep-samples/simple-anim-shapes.rb
358
- - examples/legacy/not_checked/shoes-dep-samples/simple-anim-text.rb
359
- - examples/legacy/not_checked/shoes-dep-samples/simple-arc.rb
360
- - examples/legacy/not_checked/shoes-dep-samples/simple-bounce.rb
361
- - examples/legacy/not_checked/shoes-dep-samples/simple-calc.rb
362
- - examples/legacy/not_checked/shoes-dep-samples/simple-chipmunk.rb
363
- - examples/legacy/not_checked/shoes-dep-samples/simple-control-sizes.rb
364
- - examples/legacy/not_checked/shoes-dep-samples/simple-curve.rb
365
- - examples/legacy/not_checked/shoes-dep-samples/simple-dialogs.rb
366
- - examples/legacy/not_checked/shoes-dep-samples/simple-draw.rb
367
- - examples/legacy/not_checked/shoes-dep-samples/simple-editor.rb
368
- - examples/legacy/not_checked/shoes-dep-samples/simple-form.rb
369
- - examples/legacy/not_checked/shoes-dep-samples/simple-form.shy
370
- - examples/legacy/not_checked/shoes-dep-samples/simple-mask.rb
371
- - examples/legacy/not_checked/shoes-dep-samples/simple-menu.rb
372
- - examples/legacy/not_checked/shoes-dep-samples/simple-menu1.rb
373
- - examples/legacy/not_checked/shoes-dep-samples/simple-rubygems.rb
374
- - examples/legacy/not_checked/shoes-dep-samples/simple-slide.rb
375
- - examples/legacy/not_checked/shoes-dep-samples/simple-sphere.rb
376
- - examples/legacy/not_checked/shoes-dep-samples/simple-sqlite3.rb
377
- - examples/legacy/not_checked/shoes-dep-samples/simple-timer.rb
378
- - examples/legacy/not_checked/shoes-dep-samples/simple-video.rb
379
386
  - examples/legacy/not_checked/shoes3-tests/AnemicCinema1926marcelDuchampCut.mp4
380
387
  - examples/legacy/not_checked/shoes3-tests/button/button.rb
381
388
  - examples/legacy/not_checked/shoes3-tests/cache/cache.rb
@@ -454,27 +461,16 @@ files:
454
461
  - examples/legacy/not_checked/shoes3-tests/wheel/wheel1.rb
455
462
  - examples/legacy/not_checked/simple/accordion.rb
456
463
  - examples/legacy/not_checked/simple/anim-shapes.rb
457
- - examples/legacy/not_checked/simple/anim-text.rb
458
- - examples/legacy/not_checked/simple/arc.rb
459
- - examples/legacy/not_checked/simple/bounce.rb
460
- - examples/legacy/not_checked/simple/chipmunk.rb
461
464
  - examples/legacy/not_checked/simple/control-sizes.rb
462
465
  - examples/legacy/not_checked/simple/curve-control-points.rb
463
- - examples/legacy/not_checked/simple/curve.rb
464
- - examples/legacy/not_checked/simple/dialogs.rb
465
- - examples/legacy/not_checked/simple/downloader.rb
466
466
  - examples/legacy/not_checked/simple/downloader1.rb
467
- - examples/legacy/not_checked/simple/draw.rb
468
467
  - examples/legacy/not_checked/simple/editor.rb
469
468
  - examples/legacy/not_checked/simple/form.rb
470
469
  - examples/legacy/not_checked/simple/image.rb
471
470
  - examples/legacy/not_checked/simple/info.rb
472
- - examples/legacy/not_checked/simple/mask.rb
473
471
  - examples/legacy/not_checked/simple/mask2.rb
474
472
  - examples/legacy/not_checked/simple/menu.rb
475
473
  - examples/legacy/not_checked/simple/menu1.rb
476
- - examples/legacy/not_checked/simple/slide.rb
477
- - examples/legacy/not_checked/simple/sphere.rb
478
474
  - examples/legacy/not_checked/superleg.rb
479
475
  - examples/legacy/working/shoes-contrib/basic/a-poem.rb
480
476
  - examples/legacy/working/shoes-contrib/basic/basic-blocks-instances.rb
@@ -490,6 +486,9 @@ files:
490
486
  - examples/line.rb
491
487
  - examples/link.rb
492
488
  - examples/list_box.rb
489
+ - examples/local_fonts.rb
490
+ - examples/local_images.rb
491
+ - examples/motion_events.rb
493
492
  - examples/para/collection_of_arguments.rb
494
493
  - examples/para/hello_world.rb
495
494
  - examples/para/hide_and_show.rb
@@ -499,16 +498,24 @@ files:
499
498
  - examples/para/sizes_2.rb
500
499
  - examples/para/strong.rb
501
500
  - examples/para_text_widgets.rb
501
+ - examples/parse_xl_funnies.rb
502
502
  - examples/pirate.png
503
+ - examples/radio/radio.rb
504
+ - examples/radio/radio_groups.rb
505
+ - examples/radio/radio_same_slot.rb
503
506
  - examples/raw_flow.rb
504
507
  - examples/ruby_racer.rb
508
+ - examples/selfitude.rb
505
509
  - examples/shapes/arc.rb
506
510
  - examples/shapes/shapes.rb
507
511
  - examples/shapes/shapes_fill.rb
508
512
  - examples/shapes/star.rb
509
513
  - examples/shoes_school.rb
510
514
  - examples/shoes_splorer.rb
515
+ - examples/show_hide.rb
511
516
  - examples/simple_slides.rb
517
+ - examples/skip_ci/change_my_audio_source.rb
518
+ - examples/skip_ci/guitar_fretboard.rb
512
519
  - examples/skip_ci/parrot.rb
513
520
  - examples/skip_ci/say.rb
514
521
  - examples/sleepless.rb
@@ -524,69 +531,58 @@ files:
524
531
  - examples/text_sizes.rb
525
532
  - examples/timmy.rb
526
533
  - examples/title_and_resize.rb
534
+ - examples/video.rb
527
535
  - exe/scarpe
528
- - lib/constants.rb
536
+ - fonts/Pacifico.ttf
537
+ - lacci/Gemfile
538
+ - lacci/Gemfile.lock
539
+ - lacci/Rakefile
540
+ - lacci/lacci.gemspec
541
+ - lacci/lib/lacci/scarpe_cli.rb
542
+ - lacci/lib/lacci/scarpe_core.rb
543
+ - lacci/lib/lacci/version.rb
544
+ - lacci/lib/shoes.rb
545
+ - lacci/lib/shoes/app.rb
546
+ - lacci/lib/shoes/background.rb
547
+ - lacci/lib/shoes/border.rb
548
+ - lacci/lib/shoes/colors.rb
549
+ - lacci/lib/shoes/constants.rb
550
+ - lacci/lib/shoes/display_service.rb
551
+ - lacci/lib/shoes/download.rb
552
+ - lacci/lib/shoes/log.rb
553
+ - lacci/lib/shoes/spacing.rb
554
+ - lacci/lib/shoes/widget.rb
555
+ - lacci/lib/shoes/widgets.rb
556
+ - lacci/lib/shoes/widgets/alert.rb
557
+ - lacci/lib/shoes/widgets/arc.rb
558
+ - lacci/lib/shoes/widgets/button.rb
559
+ - lacci/lib/shoes/widgets/check.rb
560
+ - lacci/lib/shoes/widgets/document_root.rb
561
+ - lacci/lib/shoes/widgets/edit_box.rb
562
+ - lacci/lib/shoes/widgets/edit_line.rb
563
+ - lacci/lib/shoes/widgets/flow.rb
564
+ - lacci/lib/shoes/widgets/font.rb
565
+ - lacci/lib/shoes/widgets/image.rb
566
+ - lacci/lib/shoes/widgets/line.rb
567
+ - lacci/lib/shoes/widgets/link.rb
568
+ - lacci/lib/shoes/widgets/list_box.rb
569
+ - lacci/lib/shoes/widgets/para.rb
570
+ - lacci/lib/shoes/widgets/radio.rb
571
+ - lacci/lib/shoes/widgets/shape.rb
572
+ - lacci/lib/shoes/widgets/slot.rb
573
+ - lacci/lib/shoes/widgets/span.rb
574
+ - lacci/lib/shoes/widgets/stack.rb
575
+ - lacci/lib/shoes/widgets/star.rb
576
+ - lacci/lib/shoes/widgets/subscription_item.rb
577
+ - lacci/lib/shoes/widgets/text_widget.rb
578
+ - lacci/lib/shoes/widgets/video.rb
579
+ - lacci/test/test_colors.rb
580
+ - lacci/test/test_helper.rb
581
+ - lacci/test/test_lacci.rb
529
582
  - lib/scarpe.rb
530
- - lib/scarpe/alert.rb
531
- - lib/scarpe/app.rb
532
- - lib/scarpe/arc.rb
533
- - lib/scarpe/background.rb
534
- - lib/scarpe/border.rb
535
- - lib/scarpe/button.rb
536
- - lib/scarpe/colors.rb
537
- - lib/scarpe/display_service.rb
538
- - lib/scarpe/document_root.rb
539
- - lib/scarpe/edit_box.rb
540
- - lib/scarpe/edit_line.rb
541
- - lib/scarpe/fill.rb
542
- - lib/scarpe/flow.rb
543
- - lib/scarpe/glibui.rb
544
- - lib/scarpe/glibui/README.md
545
- - lib/scarpe/glibui/alert.rb
546
- - lib/scarpe/glibui/app.rb
547
- - lib/scarpe/glibui/background.rb
548
- - lib/scarpe/glibui/border.rb
549
- - lib/scarpe/glibui/button.rb
550
- - lib/scarpe/glibui/dimensions.rb
551
- - lib/scarpe/glibui/document_root.rb
552
- - lib/scarpe/glibui/edit_box.rb
553
- - lib/scarpe/glibui/edit_line.rb
554
- - lib/scarpe/glibui/flow.rb
555
- - lib/scarpe/glibui/html.rb
556
- - lib/scarpe/glibui/image.rb
557
- - lib/scarpe/glibui/link.rb
558
- - lib/scarpe/glibui/local_display.rb
559
- - lib/scarpe/glibui/para.rb
560
- - lib/scarpe/glibui/spacing.rb
561
- - lib/scarpe/glibui/stack.rb
562
- - lib/scarpe/glibui/text_widget.rb
563
- - lib/scarpe/glibui/widget.rb
564
- - lib/scarpe/image.rb
565
- - lib/scarpe/libui/alert.rb
566
- - lib/scarpe/libui/button.rb
567
- - lib/scarpe/libui/colors.rb
568
- - lib/scarpe/libui/core.rb
569
- - lib/scarpe/libui/flow.rb
570
- - lib/scarpe/libui/libui.rb
571
- - lib/scarpe/libui/notepad.md
572
- - lib/scarpe/libui/para.rb
573
- - lib/scarpe/libui/stack.rb
574
- - lib/scarpe/line.rb
575
- - lib/scarpe/link.rb
576
- - lib/scarpe/list_box.rb
577
- - lib/scarpe/logger.rb
578
- - lib/scarpe/para.rb
579
- - lib/scarpe/promises.rb
580
- - lib/scarpe/shape.rb
581
- - lib/scarpe/spacing.rb
582
- - lib/scarpe/span.rb
583
- - lib/scarpe/stack.rb
584
- - lib/scarpe/star.rb
585
- - lib/scarpe/text_widget.rb
586
- - lib/scarpe/unit_test_helpers.rb
583
+ - lib/scarpe/cats_cradle.rb
584
+ - lib/scarpe/evented_assertions.rb
587
585
  - lib/scarpe/version.rb
588
- - lib/scarpe/widget.rb
589
- - lib/scarpe/widgets.rb
590
586
  - lib/scarpe/wv.rb
591
587
  - lib/scarpe/wv/alert.rb
592
588
  - lib/scarpe/wv/app.rb
@@ -594,51 +590,103 @@ files:
594
590
  - lib/scarpe/wv/background.rb
595
591
  - lib/scarpe/wv/border.rb
596
592
  - lib/scarpe/wv/button.rb
593
+ - lib/scarpe/wv/check.rb
597
594
  - lib/scarpe/wv/control_interface.rb
598
595
  - lib/scarpe/wv/control_interface_test.rb
599
596
  - lib/scarpe/wv/dimensions.rb
600
597
  - lib/scarpe/wv/document_root.rb
601
598
  - lib/scarpe/wv/edit_box.rb
602
599
  - lib/scarpe/wv/edit_line.rb
603
- - lib/scarpe/wv/fill.rb
604
600
  - lib/scarpe/wv/flow.rb
601
+ - lib/scarpe/wv/font.rb
605
602
  - lib/scarpe/wv/html.rb
606
603
  - lib/scarpe/wv/image.rb
607
604
  - lib/scarpe/wv/line.rb
608
605
  - lib/scarpe/wv/link.rb
609
606
  - lib/scarpe/wv/list_box.rb
610
607
  - lib/scarpe/wv/para.rb
608
+ - lib/scarpe/wv/radio.rb
611
609
  - lib/scarpe/wv/shape.rb
612
- - lib/scarpe/wv/shape_helper.rb
610
+ - lib/scarpe/wv/slot.rb
613
611
  - lib/scarpe/wv/spacing.rb
614
612
  - lib/scarpe/wv/span.rb
615
613
  - lib/scarpe/wv/stack.rb
616
614
  - lib/scarpe/wv/star.rb
615
+ - lib/scarpe/wv/subscription_item.rb
617
616
  - lib/scarpe/wv/text_widget.rb
617
+ - lib/scarpe/wv/video.rb
618
618
  - lib/scarpe/wv/web_wrangler.rb
619
619
  - lib/scarpe/wv/webview_local_display.rb
620
620
  - lib/scarpe/wv/webview_relay_display.rb
621
+ - lib/scarpe/wv/webview_relay_util.rb
621
622
  - lib/scarpe/wv/widget.rb
622
623
  - lib/scarpe/wv/wv_display_worker.rb
623
624
  - lib/scarpe/wv_local.rb
624
625
  - lib/scarpe/wv_relay.rb
625
626
  - logger/debug_web_wrangler.json
626
627
  - logger/scarpe_wv_test.json
628
+ - scarpe-components/.gitignore
629
+ - scarpe-components/Gemfile
630
+ - scarpe-components/README.md
631
+ - scarpe-components/Rakefile
632
+ - scarpe-components/lib/scarpe/components/base64.rb
633
+ - scarpe-components/lib/scarpe/components/file_helpers.rb
634
+ - scarpe-components/lib/scarpe/components/modular_logger.rb
635
+ - scarpe-components/lib/scarpe/components/print_logger.rb
636
+ - scarpe-components/lib/scarpe/components/promises.rb
637
+ - scarpe-components/lib/scarpe/components/segmented_file_loader.rb
638
+ - scarpe-components/lib/scarpe/components/unit_test_helpers.rb
639
+ - scarpe-components/lib/scarpe/components/version.rb
640
+ - scarpe-components/scarpe-components.gemspec
641
+ - scarpe-components/test/test_components.rb
642
+ - scarpe-components/test/test_helper.rb
643
+ - scarpe-components/test/test_promises.rb
644
+ - scarpe-components/test/test_segmented_app_files.rb
627
645
  - scarpegen.rb
628
646
  - sig/scarpe.rbs
647
+ - spikes/glibui.rb
648
+ - spikes/glibui/README.md
649
+ - spikes/glibui/alert.rb
650
+ - spikes/glibui/app.rb
651
+ - spikes/glibui/background.rb
652
+ - spikes/glibui/border.rb
653
+ - spikes/glibui/button.rb
654
+ - spikes/glibui/dimensions.rb
655
+ - spikes/glibui/document_root.rb
656
+ - spikes/glibui/edit_box.rb
657
+ - spikes/glibui/edit_line.rb
658
+ - spikes/glibui/flow.rb
659
+ - spikes/glibui/html.rb
660
+ - spikes/glibui/image.rb
661
+ - spikes/glibui/link.rb
662
+ - spikes/glibui/local_display.rb
663
+ - spikes/glibui/para.rb
664
+ - spikes/glibui/spacing.rb
665
+ - spikes/glibui/stack.rb
666
+ - spikes/glibui/text_widget.rb
667
+ - spikes/glibui/widget.rb
668
+ - spikes/libui/alert.rb
669
+ - spikes/libui/button.rb
670
+ - spikes/libui/colors.rb
671
+ - spikes/libui/core.rb
672
+ - spikes/libui/flow.rb
673
+ - spikes/libui/libui.rb
674
+ - spikes/libui/notepad.md
675
+ - spikes/libui/para.rb
676
+ - spikes/libui/stack.rb
629
677
  - templates/basic_class_template.erb
630
678
  - templates/class_template_with_event_bind.erb
631
679
  - templates/class_template_with_shapes.erb
632
680
  - templates/example_template.erb
633
681
  - templates/module_template.erb
634
682
  - templates/webview_template.erb
635
- homepage: https://github.com/Maaarcocr/scarpe
683
+ homepage: https://github.com/scarpe-team/scarpe
636
684
  licenses:
637
685
  - MIT
638
686
  metadata:
639
- homepage_uri: https://github.com/Maaarcocr/scarpe
640
- source_code_uri: https://github.com/Maaarcocr/scarpe
641
- changelog_uri: https://github.com/Maaarcocr/scarpe/blob/main/CHANGELOG.md
687
+ homepage_uri: https://github.com/scarpe-team/scarpe
688
+ source_code_uri: https://github.com/scarpe-team/scarpe
689
+ changelog_uri: https://github.com/scarpe-team/scarpe/blob/main/CHANGELOG.md
642
690
  post_install_message:
643
691
  rdoc_options: []
644
692
  require_paths:
@@ -654,7 +702,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
654
702
  - !ruby/object:Gem::Version
655
703
  version: '0'
656
704
  requirements: []
657
- rubygems_version: 3.4.1
705
+ rubygems_version: 3.4.10
658
706
  signing_key:
659
707
  specification_version: 4
660
708
  summary: Scarpe - shoes but running on webview
data/examples/fill.rb DELETED
@@ -1,25 +0,0 @@
1
- Shoes.app do
2
- stack margin:5,width: 50,height:50 do
3
- fill "cyan"
4
- border "blue", strokewidth: 2
5
- end
6
-
7
- stack margin:10, width: 50,height:50 do
8
- fill "linear-gradient(cyan, red)"
9
- end
10
-
11
- stack margin:10 ,width: 50,height:50 do
12
- fill "radial-gradient(red, orange)"
13
- end
14
-
15
- stack margin:10 ,width: 50,height:50 do
16
- fill "radial-gradient(red, green)"
17
- end
18
-
19
- flow do
20
- stack margin:10, width: 50,height:50 do
21
- fill "linear-gradient(green, cyan)"
22
- end
23
- end
24
- end
25
-