scarpe-components 0.2.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -1
- data/Gemfile.lock +85 -0
- data/README.md +2 -2
- data/assets/bootstrap-themes/bootstrap-cerulean.css +12229 -0
- data/assets/bootstrap-themes/bootstrap-cosmo.css +11810 -0
- data/assets/bootstrap-themes/bootstrap-cyborg.css +12210 -0
- data/assets/bootstrap-themes/bootstrap-darkly.css +12153 -0
- data/assets/bootstrap-themes/bootstrap-flatly.css +12126 -0
- data/assets/bootstrap-themes/bootstrap-icons.min.css +5 -0
- data/assets/bootstrap-themes/bootstrap-journal.css +12099 -0
- data/assets/bootstrap-themes/bootstrap-litera.css +12211 -0
- data/assets/bootstrap-themes/bootstrap-lumen.css +12369 -0
- data/assets/bootstrap-themes/bootstrap-lux.css +11928 -0
- data/assets/bootstrap-themes/bootstrap-materia.css +13184 -0
- data/assets/bootstrap-themes/bootstrap-minty.css +12177 -0
- data/assets/bootstrap-themes/bootstrap-morph.css +12750 -0
- data/assets/bootstrap-themes/bootstrap-pulse.css +11890 -0
- data/assets/bootstrap-themes/bootstrap-quartz.css +12622 -0
- data/assets/bootstrap-themes/bootstrap-sandstone.css +12201 -0
- data/assets/bootstrap-themes/bootstrap-simplex.css +12186 -0
- data/assets/bootstrap-themes/bootstrap-sketchy.css +12451 -0
- data/assets/bootstrap-themes/bootstrap-slate.css +12492 -0
- data/assets/bootstrap-themes/bootstrap-solar.css +12149 -0
- data/assets/bootstrap-themes/bootstrap-spacelab.css +12266 -0
- data/assets/bootstrap-themes/bootstrap-superhero.css +12216 -0
- data/assets/bootstrap-themes/bootstrap-united.css +12077 -0
- data/assets/bootstrap-themes/bootstrap-vapor.css +12549 -0
- data/assets/bootstrap-themes/bootstrap-yeti.css +12325 -0
- data/assets/bootstrap-themes/bootstrap-zephyr.css +12283 -0
- data/assets/bootstrap-themes/bootstrap.bundle.min.js +7 -0
- data/lib/scarpe/components/asset_server.rb +219 -0
- data/lib/scarpe/components/base64.rb +23 -5
- data/lib/scarpe/components/calzini/alert.rb +49 -0
- data/lib/scarpe/components/calzini/art_drawables.rb +227 -0
- data/lib/scarpe/components/calzini/border.rb +38 -0
- data/lib/scarpe/components/calzini/button.rb +37 -0
- data/lib/scarpe/components/calzini/misc.rb +136 -0
- data/lib/scarpe/components/calzini/para.rb +237 -0
- data/lib/scarpe/components/calzini/slots.rb +109 -0
- data/lib/scarpe/components/calzini.rb +236 -0
- data/lib/scarpe/components/errors.rb +24 -0
- data/lib/scarpe/components/file_helpers.rb +1 -0
- data/lib/scarpe/components/html.rb +134 -0
- data/lib/scarpe/components/minitest_export_reporter.rb +83 -0
- data/lib/scarpe/components/minitest_import_runnable.rb +98 -0
- data/lib/scarpe/components/minitest_result.rb +127 -0
- data/lib/scarpe/components/modular_logger.rb +5 -5
- data/lib/scarpe/components/print_logger.rb +22 -3
- data/lib/scarpe/components/process_helpers.rb +37 -0
- data/lib/scarpe/components/promises.rb +14 -14
- data/lib/scarpe/components/segmented_file_loader.rb +36 -17
- data/lib/scarpe/components/string_helpers.rb +10 -0
- data/lib/scarpe/components/tiranti.rb +167 -0
- data/lib/scarpe/components/unit_test_helpers.rb +48 -6
- data/lib/scarpe/components/version.rb +2 -2
- metadata +48 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00d6fc57f20b1e43965eac4073589eba184f4acbc180265759b67c3bbb01489e
|
4
|
+
data.tar.gz: a117f69c1b5ef13bfe6de0e5c7e6d5405de9ee5de955611ea45d2ba9dc5d5b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23c7430ab9415f752d0a207879d4e76dcc61968c74257b7f0f6820332465ab701e1494c10c729fd8c75300b8d91240ec028624a07957360050d49589180d104f
|
7
|
+
data.tar.gz: 158604e9ee1b743f29a8c5bda888ebbba441a0bd7266d72bee01585b56d4f2a7ee53cc2ecc60023d424f8d63edcab7016153562f518232a4cfceaa5744622ff9
|
data/Gemfile
CHANGED
@@ -8,11 +8,14 @@ gem "lacci", path: "../lacci"
|
|
8
8
|
|
9
9
|
gem "rake", "~> 13.0"
|
10
10
|
|
11
|
-
gem "nokogiri"
|
11
|
+
#gem "nokogiri"
|
12
12
|
|
13
13
|
group :test do
|
14
14
|
gem "minitest", "~> 5.0"
|
15
15
|
gem "minitest-reporters"
|
16
|
+
|
17
|
+
# Dependencies for specific components being tested
|
18
|
+
gem "webrick"
|
16
19
|
end
|
17
20
|
|
18
21
|
group :development do
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../lacci
|
3
|
+
specs:
|
4
|
+
lacci (0.3.0)
|
5
|
+
scarpe-components
|
6
|
+
|
7
|
+
PATH
|
8
|
+
remote: .
|
9
|
+
specs:
|
10
|
+
scarpe-components (0.3.0)
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: https://rubygems.org/
|
14
|
+
specs:
|
15
|
+
ansi (1.5.0)
|
16
|
+
ast (2.4.2)
|
17
|
+
base64 (0.1.1)
|
18
|
+
builder (3.2.4)
|
19
|
+
debug (1.8.0)
|
20
|
+
irb (>= 1.5.0)
|
21
|
+
reline (>= 0.3.1)
|
22
|
+
io-console (0.6.0)
|
23
|
+
irb (1.8.0)
|
24
|
+
rdoc (~> 6.5)
|
25
|
+
reline (>= 0.3.6)
|
26
|
+
json (2.6.3)
|
27
|
+
language_server-protocol (3.17.0.3)
|
28
|
+
minitest (5.19.0)
|
29
|
+
minitest-reporters (1.6.1)
|
30
|
+
ansi
|
31
|
+
builder
|
32
|
+
minitest (>= 5.0)
|
33
|
+
ruby-progressbar
|
34
|
+
parallel (1.23.0)
|
35
|
+
parser (3.2.2.3)
|
36
|
+
ast (~> 2.4.1)
|
37
|
+
racc
|
38
|
+
psych (5.1.0)
|
39
|
+
stringio
|
40
|
+
racc (1.7.1)
|
41
|
+
rainbow (3.1.1)
|
42
|
+
rake (13.0.6)
|
43
|
+
rdoc (6.5.0)
|
44
|
+
psych (>= 4.0.0)
|
45
|
+
regexp_parser (2.8.1)
|
46
|
+
reline (0.3.8)
|
47
|
+
io-console (~> 0.5)
|
48
|
+
rexml (3.2.6)
|
49
|
+
rubocop (1.56.2)
|
50
|
+
base64 (~> 0.1.1)
|
51
|
+
json (~> 2.3)
|
52
|
+
language_server-protocol (>= 3.17.0)
|
53
|
+
parallel (~> 1.10)
|
54
|
+
parser (>= 3.2.2.3)
|
55
|
+
rainbow (>= 2.2.2, < 4.0)
|
56
|
+
regexp_parser (>= 1.8, < 3.0)
|
57
|
+
rexml (>= 3.2.5, < 4.0)
|
58
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
59
|
+
ruby-progressbar (~> 1.7)
|
60
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
61
|
+
rubocop-ast (1.29.0)
|
62
|
+
parser (>= 3.2.1.0)
|
63
|
+
rubocop-shopify (2.14.0)
|
64
|
+
rubocop (~> 1.51)
|
65
|
+
ruby-progressbar (1.13.0)
|
66
|
+
stringio (3.0.8)
|
67
|
+
unicode-display_width (2.4.2)
|
68
|
+
webrick (1.8.1)
|
69
|
+
|
70
|
+
PLATFORMS
|
71
|
+
x86_64-darwin-22
|
72
|
+
|
73
|
+
DEPENDENCIES
|
74
|
+
debug
|
75
|
+
lacci!
|
76
|
+
minitest (~> 5.0)
|
77
|
+
minitest-reporters
|
78
|
+
rake (~> 13.0)
|
79
|
+
rubocop (~> 1.21)
|
80
|
+
rubocop-shopify
|
81
|
+
scarpe-components!
|
82
|
+
webrick
|
83
|
+
|
84
|
+
BUNDLED WITH
|
85
|
+
2.4.14
|
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Scarpe is several things. We package up the Shoes API with as few implementation details as possible (called Lacci.) We have a Webview-based display library, in both local and over-a-socket (relay) versions. We have a Wasm display library (Scarpe-Wasm) in a separate gem.
|
4
4
|
|
5
|
-
And we have various default implementations of different reusable components. Scarpe's hierarchical logger isn't particularly specific to your display library or underlying GUI library
|
5
|
+
And we have various default implementations of different reusable components. Calzini is a Shoes-to-HTML renderer shared between Scarpe-Webview and Scarpe-Wasm. Scarpe's hierarchical logger isn't particularly specific to your display library or underlying GUI library and we'd like it to be usable by multiple display libs. Scarpe's default downloader, using Ruby's built-in HTTP libraries, is good in many cases but you might want to replace it (e.g. with Typhoeus for better parallel downloads or Hystrix for robustness to bad network connections) in some cases.
|
6
6
|
|
7
|
-
Part of our solution is the Scarpe-Components gem, which lives in the same repository as Scarpe
|
7
|
+
Part of our solution is the Scarpe-Components gem, which lives in the same repository as Scarpe and Lacci for now. These components can live there. Any specific display library can pick and choose what it wants or needs and handle its dependencies as it sees fit.
|
8
8
|
|
9
9
|
## Dependency Hell
|
10
10
|
|