scarpe 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/.cursor/rules/commit-style-preferences.mdc +72 -0
- data/.cursor/rules/component_context.mdc +82 -0
- data/.cursor/rules/debug-failed-tests.mdc +100 -0
- data/.cursor/rules/display_service_context.mdc +80 -0
- data/.cursor/rules/event_handling_context.mdc +100 -0
- data/.cursor/rules/git-pager-handling.mdc +64 -0
- data/.cursor/rules/lacci-context.mdc +52 -0
- data/.cursor/rules/scarpe_design_context.mdc +46 -0
- data/.cursor/rules/shoes_compatibility_context.mdc +75 -0
- data/.cursor/rules/timeout_context.mdc +78 -0
- data/.cursor/rules/update_lacci_and_wv.mdc +8 -0
- data/.cursor/rules/what_is_scarpe.mdc +22 -0
- data/.cursor/rules/writing-new-rules.mdc +73 -0
- data/CHANGELOG.md +10 -1
- data/CLAUDE.md +223 -0
- data/Gemfile +0 -1
- data/Gemfile.lock +78 -58
- data/README.md +4 -7
- data/Rakefile +17 -25
- data/docs/SCARPE_FEATURES.md +38 -0
- data/docs/_config.yml +13 -0
- data/docs/calzini_components_and_updates.md +78 -0
- data/docs/display_service_separation.md +39 -0
- data/docs/documentation.md +43 -0
- data/docs/event_loops.md +66 -0
- data/docs/image.png +0 -0
- data/docs/index.md +118 -0
- data/docs/lacci.md +121 -0
- data/docs/scarpe_shoes_incompatibilities.md +71 -0
- data/docs/shoes_and_display_events.md +55 -0
- data/docs/shoes_implementations.md +79 -0
- data/docs/static/manual.md +5 -0
- data/docs/static/scarpe-logo.png +0 -0
- data/docs/timeouts_and_handlers.md +66 -0
- data/docs/web_archaeology.md +76 -0
- data/examples/background_with_image.rb +14 -5
- data/examples/bloopsaphone/working/feepogram.rb +1 -1
- data/examples/bloopsaphone/working/le_dance_des_rubis.rb +135 -0
- data/examples/bloopsaphone/working/pixel_dreams_in_ruby.rb +131 -0
- data/examples/bloopsaphone/working/type_rebellion.rb +157 -0
- data/examples/border.rb +1 -1
- data/examples/internal_link_navigation.rb +19 -0
- data/examples/page_navigation_single_app.rb +42 -0
- data/examples/shoes_subclass_app.rb +25 -0
- data/examples/url_routing_example.rb +67 -0
- data/lacci/Gemfile +0 -2
- data/lacci/Gemfile.lock +4 -32
- data/lacci/lacci.gemspec +1 -1
- data/lacci/lib/lacci/version.rb +1 -1
- data/lacci/lib/scarpe/niente/app.rb +12 -1
- data/lacci/lib/scarpe/niente/shoes_spec.rb +4 -5
- data/lacci/lib/scarpe/niente.rb +1 -0
- data/lacci/lib/shoes/app.rb +166 -61
- data/lacci/lib/shoes/constants.rb +1 -0
- data/lacci/lib/shoes/drawable.rb +35 -19
- data/lacci/lib/shoes/drawables/arc.rb +2 -2
- data/lacci/lib/shoes/drawables/arrow.rb +2 -2
- data/lacci/lib/shoes/drawables/border.rb +1 -1
- data/lacci/lib/shoes/drawables/button.rb +1 -1
- data/lacci/lib/shoes/drawables/edit_line.rb +1 -1
- data/lacci/lib/shoes/drawables/flow.rb +1 -1
- data/lacci/lib/shoes/drawables/line.rb +2 -2
- data/lacci/lib/shoes/drawables/link.rb +11 -1
- data/lacci/lib/shoes/drawables/oval.rb +2 -2
- data/lacci/lib/shoes/drawables/rect.rb +2 -2
- data/lacci/lib/shoes/drawables/shape.rb +2 -2
- data/lacci/lib/shoes/drawables/slot.rb +5 -3
- data/lacci/lib/shoes/drawables/stack.rb +1 -1
- data/lacci/lib/shoes/drawables/star.rb +1 -1
- data/lacci/lib/shoes/drawables/widget.rb +1 -1
- data/lacci/lib/shoes.rb +94 -17
- data/lacci/test/test_margin_helper.rb +1 -1
- data/lacci/test/test_niente_test_infra.rb +14 -0
- data/lacci/test/test_shoes_errors.rb +15 -13
- data/lib/scarpe/assets.rb +2 -1
- data/lib/scarpe/shoes_spec.rb +2 -1
- data/lib/scarpe/version.rb +1 -1
- data/lib/scarpe/wv/edit_line.rb +2 -2
- data/lib/scarpe/wv.rb +8 -1
- data/scarpe-components/Gemfile +0 -2
- data/scarpe-components/Gemfile.lock +4 -34
- data/scarpe-components/lib/scarpe/components/calzini/misc.rb +10 -2
- data/scarpe-components/lib/scarpe/components/calzini/para.rb +6 -1
- data/scarpe-components/lib/scarpe/components/calzini/slots.rb +2 -0
- data/scarpe-components/lib/scarpe/components/port_helpers.rb +30 -0
- data/scarpe-components/lib/scarpe/components/version.rb +1 -1
- data/scarpe-components/scarpe-components.gemspec +1 -1
- data/scarpe-components/test/test_port_helpers.rb +12 -0
- metadata +60 -22
- data/.rubocop.yml +0 -94
metadata
CHANGED
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scarpe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marco Concetto Rudilosso
|
|
8
8
|
- Noah Gibbs
|
|
9
9
|
- Nicholas Schwaderer
|
|
10
|
-
autorequire:
|
|
11
10
|
bindir: exe
|
|
12
11
|
cert_chain: []
|
|
13
|
-
date:
|
|
12
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
14
13
|
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: base64
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
requirements:
|
|
18
|
+
- - ">="
|
|
19
|
+
- !ruby/object:Gem::Version
|
|
20
|
+
version: '0'
|
|
21
|
+
type: :runtime
|
|
22
|
+
prerelease: false
|
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
24
|
+
requirements:
|
|
25
|
+
- - ">="
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: '0'
|
|
15
28
|
- !ruby/object:Gem::Dependency
|
|
16
29
|
name: fastimage
|
|
17
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -96,20 +109,6 @@ dependencies:
|
|
|
96
109
|
- - "~>"
|
|
97
110
|
- !ruby/object:Gem::Version
|
|
98
111
|
version: 0.4.0
|
|
99
|
-
- !ruby/object:Gem::Dependency
|
|
100
|
-
name: bloops
|
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
|
102
|
-
requirements:
|
|
103
|
-
- - "~>"
|
|
104
|
-
- !ruby/object:Gem::Version
|
|
105
|
-
version: '0.5'
|
|
106
|
-
type: :runtime
|
|
107
|
-
prerelease: false
|
|
108
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
109
|
-
requirements:
|
|
110
|
-
- - "~>"
|
|
111
|
-
- !ruby/object:Gem::Version
|
|
112
|
-
version: '0.5'
|
|
113
112
|
- !ruby/object:Gem::Dependency
|
|
114
113
|
name: logging
|
|
115
114
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -138,7 +137,6 @@ dependencies:
|
|
|
138
137
|
- - "~>"
|
|
139
138
|
- !ruby/object:Gem::Version
|
|
140
139
|
version: 0.1.1
|
|
141
|
-
description:
|
|
142
140
|
email:
|
|
143
141
|
- marcoc.r@outlook.com
|
|
144
142
|
- the.codefolio.guy@gmail.com
|
|
@@ -148,11 +146,24 @@ executables:
|
|
|
148
146
|
extensions: []
|
|
149
147
|
extra_rdoc_files: []
|
|
150
148
|
files:
|
|
151
|
-
- ".
|
|
149
|
+
- ".cursor/rules/commit-style-preferences.mdc"
|
|
150
|
+
- ".cursor/rules/component_context.mdc"
|
|
151
|
+
- ".cursor/rules/debug-failed-tests.mdc"
|
|
152
|
+
- ".cursor/rules/display_service_context.mdc"
|
|
153
|
+
- ".cursor/rules/event_handling_context.mdc"
|
|
154
|
+
- ".cursor/rules/git-pager-handling.mdc"
|
|
155
|
+
- ".cursor/rules/lacci-context.mdc"
|
|
156
|
+
- ".cursor/rules/scarpe_design_context.mdc"
|
|
157
|
+
- ".cursor/rules/shoes_compatibility_context.mdc"
|
|
158
|
+
- ".cursor/rules/timeout_context.mdc"
|
|
159
|
+
- ".cursor/rules/update_lacci_and_wv.mdc"
|
|
160
|
+
- ".cursor/rules/what_is_scarpe.mdc"
|
|
161
|
+
- ".cursor/rules/writing-new-rules.mdc"
|
|
152
162
|
- ".ruby-version"
|
|
153
163
|
- ".vscode/extensions.json"
|
|
154
164
|
- ".yardopts"
|
|
155
165
|
- CHANGELOG.md
|
|
166
|
+
- CLAUDE.md
|
|
156
167
|
- CODE_OF_CONDUCT.md
|
|
157
168
|
- CONTRIBUTING.md
|
|
158
169
|
- Gemfile
|
|
@@ -163,6 +174,18 @@ files:
|
|
|
163
174
|
- bin/console
|
|
164
175
|
- bin/setup
|
|
165
176
|
- dev.yml
|
|
177
|
+
- docs/SCARPE_FEATURES.md
|
|
178
|
+
- docs/_config.yml
|
|
179
|
+
- docs/calzini_components_and_updates.md
|
|
180
|
+
- docs/display_service_separation.md
|
|
181
|
+
- docs/documentation.md
|
|
182
|
+
- docs/event_loops.md
|
|
183
|
+
- docs/image.png
|
|
184
|
+
- docs/index.md
|
|
185
|
+
- docs/lacci.md
|
|
186
|
+
- docs/scarpe_shoes_incompatibilities.md
|
|
187
|
+
- docs/shoes_and_display_events.md
|
|
188
|
+
- docs/shoes_implementations.md
|
|
166
189
|
- docs/static/PKGBUILD
|
|
167
190
|
- docs/static/Shoes.icns
|
|
168
191
|
- docs/static/avatar.png
|
|
@@ -211,6 +234,7 @@ files:
|
|
|
211
234
|
- docs/static/menu-left.png
|
|
212
235
|
- docs/static/menu-right.png
|
|
213
236
|
- docs/static/menu-top.png
|
|
237
|
+
- docs/static/scarpe-logo.png
|
|
214
238
|
- docs/static/shoes-dmg.jpg
|
|
215
239
|
- docs/static/shoes-icon-blue.png
|
|
216
240
|
- docs/static/shoes-icon.png
|
|
@@ -225,6 +249,8 @@ files:
|
|
|
225
249
|
- docs/static/stubs/shoes-stub-inject.exe
|
|
226
250
|
- docs/static/stubs/shoes-stub.exe
|
|
227
251
|
- docs/static/tutor-back.png
|
|
252
|
+
- docs/timeouts_and_handlers.md
|
|
253
|
+
- docs/web_archaeology.md
|
|
228
254
|
- docs/yard/catscradle.md
|
|
229
255
|
- docs/yard/template/default/fulldoc/html/setup.rb
|
|
230
256
|
- docs/yard/template/default/layout/html/setup.rb
|
|
@@ -240,9 +266,12 @@ files:
|
|
|
240
266
|
- examples/bloopsaphone/working/bloopsaphone_theme_song_by_why.rb
|
|
241
267
|
- examples/bloopsaphone/working/bronx_army_knife.rb
|
|
242
268
|
- examples/bloopsaphone/working/feepogram.rb
|
|
269
|
+
- examples/bloopsaphone/working/le_dance_des_rubis.rb
|
|
243
270
|
- examples/bloopsaphone/working/morning_serenity.rb
|
|
271
|
+
- examples/bloopsaphone/working/pixel_dreams_in_ruby.rb
|
|
244
272
|
- examples/bloopsaphone/working/simpsons_theme_song_by_why.rb
|
|
245
273
|
- examples/bloopsaphone/working/tune_cheeky_drat.rb
|
|
274
|
+
- examples/bloopsaphone/working/type_rebellion.rb
|
|
246
275
|
- examples/border.rb
|
|
247
276
|
- examples/btn_tooltip.rb
|
|
248
277
|
- examples/button.rb
|
|
@@ -274,6 +303,7 @@ files:
|
|
|
274
303
|
- examples/image/image_size.rb
|
|
275
304
|
- examples/image/image_with_position_and_size.rb
|
|
276
305
|
- examples/info.rb
|
|
306
|
+
- examples/internal_link_navigation.rb
|
|
277
307
|
- examples/legacy/README.md
|
|
278
308
|
- examples/legacy/not_checked/expert/colours.rb
|
|
279
309
|
- examples/legacy/not_checked/expert/curve-animation.rb
|
|
@@ -597,6 +627,7 @@ files:
|
|
|
597
627
|
- examples/motion_events.rb
|
|
598
628
|
- examples/oval-with-kwargs.rb
|
|
599
629
|
- examples/oval.rb
|
|
630
|
+
- examples/page_navigation_single_app.rb
|
|
600
631
|
- examples/para/collection_of_arguments.rb
|
|
601
632
|
- examples/para/hello_world.rb
|
|
602
633
|
- examples/para/hide_and_show.rb
|
|
@@ -628,6 +659,7 @@ files:
|
|
|
628
659
|
- examples/shapes/star.rb
|
|
629
660
|
- examples/shoes_school.rb
|
|
630
661
|
- examples/shoes_splorer.rb
|
|
662
|
+
- examples/shoes_subclass_app.rb
|
|
631
663
|
- examples/show_hide.rb
|
|
632
664
|
- examples/simple_slides.rb
|
|
633
665
|
- examples/simpler-menu.rb
|
|
@@ -648,6 +680,7 @@ files:
|
|
|
648
680
|
- examples/text_sizes.rb
|
|
649
681
|
- examples/timmy.rb
|
|
650
682
|
- examples/title_and_resize.rb
|
|
683
|
+
- examples/url_routing_example.rb
|
|
651
684
|
- examples/video.rb
|
|
652
685
|
- exe/scarpe
|
|
653
686
|
- fonts/Pacifico.ttf
|
|
@@ -813,6 +846,7 @@ files:
|
|
|
813
846
|
- scarpe-components/lib/scarpe/components/minitest_import_runnable.rb
|
|
814
847
|
- scarpe-components/lib/scarpe/components/minitest_result.rb
|
|
815
848
|
- scarpe-components/lib/scarpe/components/modular_logger.rb
|
|
849
|
+
- scarpe-components/lib/scarpe/components/port_helpers.rb
|
|
816
850
|
- scarpe-components/lib/scarpe/components/print_logger.rb
|
|
817
851
|
- scarpe-components/lib/scarpe/components/process_helpers.rb
|
|
818
852
|
- scarpe-components/lib/scarpe/components/promises.rb
|
|
@@ -845,6 +879,7 @@ files:
|
|
|
845
879
|
- scarpe-components/test/test_helper.rb
|
|
846
880
|
- scarpe-components/test/test_html.rb
|
|
847
881
|
- scarpe-components/test/test_minitest_result.rb
|
|
882
|
+
- scarpe-components/test/test_port_helpers.rb
|
|
848
883
|
- scarpe-components/test/test_promises.rb
|
|
849
884
|
- scarpe-components/test/test_segmented_app_files.rb
|
|
850
885
|
- scarpegen.rb
|
|
@@ -893,7 +928,11 @@ licenses:
|
|
|
893
928
|
metadata:
|
|
894
929
|
homepage_uri: https://github.com/scarpe-team/scarpe
|
|
895
930
|
changelog_uri: https://github.com/scarpe-team/scarpe/blob/main/CHANGELOG.md
|
|
896
|
-
post_install_message:
|
|
931
|
+
post_install_message: "\n (\\(\\\n (>':')\n o(__\")\")\n\n
|
|
932
|
+
\ Welcome to Scarpe!\n Let's hop into some magic!\n\n \U0001F3A9✨
|
|
933
|
+
Abracadabra! ✨\U0001F430\n\n Scarpe is tying itself to your system...\n Don't
|
|
934
|
+
worry, it's as easy as putting on bunny slippers!\n\n Are you ready to bounce
|
|
935
|
+
into a world of wonder?\n\n Enjoy your magical journey with Scarpe!\n"
|
|
897
936
|
rdoc_options: []
|
|
898
937
|
require_paths:
|
|
899
938
|
- lib
|
|
@@ -908,8 +947,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
908
947
|
- !ruby/object:Gem::Version
|
|
909
948
|
version: '0'
|
|
910
949
|
requirements: []
|
|
911
|
-
rubygems_version: 3.
|
|
912
|
-
signing_key:
|
|
950
|
+
rubygems_version: 3.6.9
|
|
913
951
|
specification_version: 4
|
|
914
952
|
summary: Scarpe - shoes but running on webview
|
|
915
953
|
test_files: []
|
data/.rubocop.yml
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
inherit_gem:
|
|
2
|
-
rubocop-shopify: rubocop.yml
|
|
3
|
-
|
|
4
|
-
AllCops:
|
|
5
|
-
TargetRubyVersion: 3.2
|
|
6
|
-
SuggestExtensions: false
|
|
7
|
-
Exclude:
|
|
8
|
-
- 'bin/**/*'
|
|
9
|
-
- 'exe/**/*'
|
|
10
|
-
# - 'examples/**/*' Since I'm only doing this locally.
|
|
11
|
-
- 'docs/**/*'
|
|
12
|
-
|
|
13
|
-
Layout/LineLength:
|
|
14
|
-
Max: 150
|
|
15
|
-
|
|
16
|
-
Style/RedundantHeredocDelimiterQuotes:
|
|
17
|
-
Enabled: false
|
|
18
|
-
|
|
19
|
-
Style/MissingRespondToMissing:
|
|
20
|
-
Enabled: false
|
|
21
|
-
|
|
22
|
-
Metrics/ParameterLists:
|
|
23
|
-
Enabled: false
|
|
24
|
-
|
|
25
|
-
Style/ParallelAssignment:
|
|
26
|
-
Enabled: false
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Style/MethodCallWithArgsParentheses:
|
|
31
|
-
Enabled: false
|
|
32
|
-
|
|
33
|
-
Style/GlobalVars:
|
|
34
|
-
Enabled: false
|
|
35
|
-
|
|
36
|
-
Style/CommandLiteral:
|
|
37
|
-
Enabled: false
|
|
38
|
-
|
|
39
|
-
Security/Eval:
|
|
40
|
-
Enabled: false
|
|
41
|
-
|
|
42
|
-
Style/LineEndConcatenation:
|
|
43
|
-
Enabled: false
|
|
44
|
-
|
|
45
|
-
Style/ClassVars:
|
|
46
|
-
Enabled: false
|
|
47
|
-
|
|
48
|
-
Naming/AccessorMethodName:
|
|
49
|
-
Enabled: false
|
|
50
|
-
|
|
51
|
-
Style/RedundantSelf:
|
|
52
|
-
Enabled: false
|
|
53
|
-
|
|
54
|
-
Style/ClassMethodsDefinitions:
|
|
55
|
-
Enabled: false
|
|
56
|
-
|
|
57
|
-
Style/SpecialGlobalVars:
|
|
58
|
-
Enabled: false
|
|
59
|
-
|
|
60
|
-
Style/CaseEquality:
|
|
61
|
-
Enabled: false
|
|
62
|
-
|
|
63
|
-
Style/RedundantConstantBase:
|
|
64
|
-
Enabled: false
|
|
65
|
-
|
|
66
|
-
Style/EmptyElse:
|
|
67
|
-
Enabled: false
|
|
68
|
-
|
|
69
|
-
Metrics/BlockNesting:
|
|
70
|
-
Enabled: false
|
|
71
|
-
|
|
72
|
-
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
|
73
|
-
Enabled: false
|
|
74
|
-
|
|
75
|
-
Style/RedundantBegin:
|
|
76
|
-
Enabled: false
|
|
77
|
-
|
|
78
|
-
Layout/LeadingCommentSpace:
|
|
79
|
-
Enabled: false
|
|
80
|
-
|
|
81
|
-
Style/FormatString:
|
|
82
|
-
Enabled: false
|
|
83
|
-
|
|
84
|
-
Style/RegexpLiteral:
|
|
85
|
-
Enabled: false
|
|
86
|
-
|
|
87
|
-
Style/ReturnNil:
|
|
88
|
-
Enabled: false
|
|
89
|
-
|
|
90
|
-
Style/ClassAndModuleChildren:
|
|
91
|
-
Enabled: false
|
|
92
|
-
|
|
93
|
-
Layout/EmptyLineBetweenDefs:
|
|
94
|
-
Enabled: false
|