scarpe-components 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -1
  3. data/Gemfile.lock +2 -3
  4. data/README.md +2 -2
  5. data/assets/bootstrap-themes/bootstrap-cerulean.css +12229 -0
  6. data/assets/bootstrap-themes/bootstrap-cosmo.css +11810 -0
  7. data/assets/bootstrap-themes/bootstrap-cyborg.css +12210 -0
  8. data/assets/bootstrap-themes/bootstrap-darkly.css +12153 -0
  9. data/assets/bootstrap-themes/bootstrap-flatly.css +12126 -0
  10. data/assets/bootstrap-themes/bootstrap-icons.min.css +5 -0
  11. data/assets/bootstrap-themes/bootstrap-journal.css +12099 -0
  12. data/assets/bootstrap-themes/bootstrap-litera.css +12211 -0
  13. data/assets/bootstrap-themes/bootstrap-lumen.css +12369 -0
  14. data/assets/bootstrap-themes/bootstrap-lux.css +11928 -0
  15. data/assets/bootstrap-themes/bootstrap-materia.css +13184 -0
  16. data/assets/bootstrap-themes/bootstrap-minty.css +12177 -0
  17. data/assets/bootstrap-themes/bootstrap-morph.css +12750 -0
  18. data/assets/bootstrap-themes/bootstrap-pulse.css +11890 -0
  19. data/assets/bootstrap-themes/bootstrap-quartz.css +12622 -0
  20. data/assets/bootstrap-themes/bootstrap-sandstone.css +12201 -0
  21. data/assets/bootstrap-themes/bootstrap-simplex.css +12186 -0
  22. data/assets/bootstrap-themes/bootstrap-sketchy.css +12451 -0
  23. data/assets/bootstrap-themes/bootstrap-slate.css +12492 -0
  24. data/assets/bootstrap-themes/bootstrap-solar.css +12149 -0
  25. data/assets/bootstrap-themes/bootstrap-spacelab.css +12266 -0
  26. data/assets/bootstrap-themes/bootstrap-superhero.css +12216 -0
  27. data/assets/bootstrap-themes/bootstrap-united.css +12077 -0
  28. data/assets/bootstrap-themes/bootstrap-vapor.css +12549 -0
  29. data/assets/bootstrap-themes/bootstrap-yeti.css +12325 -0
  30. data/assets/bootstrap-themes/bootstrap-zephyr.css +12283 -0
  31. data/assets/bootstrap-themes/bootstrap.bundle.min.js +7 -0
  32. data/lib/scarpe/components/asset_server.rb +219 -0
  33. data/lib/scarpe/components/base64.rb +22 -0
  34. data/lib/scarpe/components/calzini/{art_widgets.rb → art_drawables.rb} +42 -18
  35. data/lib/scarpe/components/calzini/border.rb +38 -0
  36. data/lib/scarpe/components/calzini/button.rb +6 -8
  37. data/lib/scarpe/components/calzini/misc.rb +7 -17
  38. data/lib/scarpe/components/calzini/para.rb +213 -11
  39. data/lib/scarpe/components/calzini/slots.rb +14 -60
  40. data/lib/scarpe/components/calzini.rb +88 -1
  41. data/lib/scarpe/components/errors.rb +4 -0
  42. data/lib/scarpe/components/html.rb +4 -1
  43. data/lib/scarpe/components/minitest_export_reporter.rb +11 -3
  44. data/lib/scarpe/components/minitest_result.rb +41 -0
  45. data/lib/scarpe/components/print_logger.rb +17 -2
  46. data/lib/scarpe/components/process_helpers.rb +37 -0
  47. data/lib/scarpe/components/segmented_file_loader.rb +1 -1
  48. data/lib/scarpe/components/tiranti.rb +42 -100
  49. data/lib/scarpe/components/unit_test_helpers.rb +3 -1
  50. data/lib/scarpe/components/version.rb +1 -1
  51. metadata +34 -6
  52. data/lib/scarpe/components/calzini/text_widgets.rb +0 -65
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 553966daf7d03ffd9c9b0262ea65c8ae0ac2de161b94eeb5d468c0ac5f38a51f
4
- data.tar.gz: fa7b2161160b5e49bf2bf15f73b5e991ad463a5bbed129cc4efa16d95ced77f6
3
+ metadata.gz: 00d6fc57f20b1e43965eac4073589eba184f4acbc180265759b67c3bbb01489e
4
+ data.tar.gz: a117f69c1b5ef13bfe6de0e5c7e6d5405de9ee5de955611ea45d2ba9dc5d5b2f
5
5
  SHA512:
6
- metadata.gz: cfe8b66b552128271fea15b7df830b680b12ce833e79725198804bd224394b6fd00dcada10dcd03ecb4f6d9c67b6cb87d8ede6e71d6277b8d181f5d2b985e9ef
7
- data.tar.gz: b531fe0af1d193f73a7e201afbde322152d659987bad14f51c8af65b65c823ebe330ffc1848f272dca169814dc10105672e3d0bfb617c723a9eb723ef556d44b
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 CHANGED
@@ -31,8 +31,6 @@ GEM
31
31
  builder
32
32
  minitest (>= 5.0)
33
33
  ruby-progressbar
34
- nokogiri (1.15.4-x86_64-darwin)
35
- racc (~> 1.4)
36
34
  parallel (1.23.0)
37
35
  parser (3.2.2.3)
38
36
  ast (~> 2.4.1)
@@ -67,6 +65,7 @@ GEM
67
65
  ruby-progressbar (1.13.0)
68
66
  stringio (3.0.8)
69
67
  unicode-display_width (2.4.2)
68
+ webrick (1.8.1)
70
69
 
71
70
  PLATFORMS
72
71
  x86_64-darwin-22
@@ -76,11 +75,11 @@ DEPENDENCIES
76
75
  lacci!
77
76
  minitest (~> 5.0)
78
77
  minitest-reporters
79
- nokogiri
80
78
  rake (~> 13.0)
81
79
  rubocop (~> 1.21)
82
80
  rubocop-shopify
83
81
  scarpe-components!
82
+ webrick
84
83
 
85
84
  BUNDLED WITH
86
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, but we'd like it to be usable by multiple display libs. CatsCradle is only useful if you're trying to fix up an impedance mismatch between Ruby and an evented under-layer, but it's not really specific to Webview. 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.
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 (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.
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