carioca 2.0.12 → 2.1.1

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.debride_withelist +49 -0
  3. data/.github/workflows/main.yml +7 -1
  4. data/Gemfile +1 -0
  5. data/Gemfile.lock +44 -4
  6. data/LICENSE.txt +21 -0
  7. data/README.md +651 -16
  8. data/Rakefile +15 -0
  9. data/VERSION +1 -1
  10. data/assets/images/carioca_output_emoji_colors.PNG +0 -0
  11. data/assets/images/carioca_output_emoji_no_colors.PNG +0 -0
  12. data/assets/images/carioca_output_no_emoji_colors.PNG +0 -0
  13. data/assets/images/carioca_output_no_emoji_no_colors.PNG +0 -0
  14. data/assets/images/description_carioca.png +0 -0
  15. data/assets/images/description_configuration_carioca.png +0 -0
  16. data/assets/images/description_container_carioca.png +0 -0
  17. data/assets/images/description_registry_carioca.png +0 -0
  18. data/assets/images/description_services_carioca.png +0 -0
  19. data/assets/images/logo_carioca_full_large.png +0 -0
  20. data/assets/images/logo_carioca_full_small.png +0 -0
  21. data/assets/images/logo_carioca_light_small.png +0 -0
  22. data/bom.xml +746 -0
  23. data/carioca.gemspec +3 -0
  24. data/config/locales/en.yml +34 -0
  25. data/config/locales/fr.yml +35 -1
  26. data/lib/carioca/configuration.rb +6 -2
  27. data/lib/carioca/constants.rb +38 -1
  28. data/lib/carioca/dependencies.rb +13 -0
  29. data/lib/carioca/services/config.rb +1 -1
  30. data/lib/carioca/services/finisher.rb +121 -0
  31. data/lib/carioca/services/sanitycheck.rb +143 -0
  32. data/lib/carioca/services/securestore.rb +81 -0
  33. data/lib/carioca/services/setup.rb +87 -0
  34. data/lib/carioca/services/toolbox.rb +104 -0
  35. data/samples/config/carioca.registry +0 -15
  36. data/samples/config/locales/en.yml +2 -1
  37. data/samples/config/settings.yml +29 -6
  38. data/samples/test.rb +111 -11
  39. metadata +64 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40e63536046fcd8d20fac9c1a212748fe192b6b76a5e836688fb7210ae3c4b08
4
- data.tar.gz: adaa387f7909f2d455cb4203ca9e59de29eaf3e8cbd1d11dfec0699406b29901
3
+ metadata.gz: efd32c21848d7ab53724150ebbee9a3347662416fe0ee84ae46f3dd8f80cf4ac
4
+ data.tar.gz: 5a34be69f6405a4eae679b26117872f3be4f74181fd188e455044181c2b2b1a3
5
5
  SHA512:
6
- metadata.gz: 70ed6eefae775cf2052d2755b38c535fc131886ca4dfe450946c65bb060eb9a816b386df03bdb022a45b0efe68444e9a44f0a0738dd791fa724b8f4d1d37257e
7
- data.tar.gz: 21fca522348969a80829fe47d19fec7bf2db7c6801d181f41125f4cf0429ccead8ec2fa796f652cb78ce183e366b78b07fe9cc268ce9d03742706be2cd36461e
6
+ metadata.gz: e9cc6b8643cfc08f0bdb0066dfa1c7344be07474f1138bb2dec79710a2dac2b2f0a828fae2e236196b5137f01e66fc3e3a0693035ad2b1330ef265966c9309e4
7
+ data.tar.gz: 8963f1b087355b09c8b364d359d2757c17b561db2f0e9e04d93fc84dd6684bac11ffe533757124ebe44bc7c35616b61c3187f21a4e0bf50f142c5dfd23d3a1e9
@@ -0,0 +1,49 @@
1
+ builtins=
2
+ config_file
3
+ environment
4
+ locales_availables
5
+ locales_load_path=
6
+ log_target=
7
+ master_key_file=
8
+ name=
9
+ output_colors?
10
+ output_emoji?
11
+ output_mode
12
+ output_target
13
+ output_target=
14
+ secure_store_file=
15
+ supported_environments=
16
+ user_config_path
17
+ user_config_path=
18
+ register
19
+ active_services=
20
+ services=
21
+ altered=
22
+ validated=
23
+ data=
24
+ settings=
25
+ config_file
26
+ refresh
27
+ stage
28
+ stage=
29
+ terminate
30
+ system_locale
31
+ add_alias
32
+ emoji
33
+ generate_session
34
+ level
35
+ map_color
36
+ map_emoji
37
+ target
38
+ target=
39
+ verify_file
40
+ verify_link
41
+ verify_service
42
+ data=
43
+ install_file
44
+ make_link
45
+ get_processes
46
+ group_root
47
+ is_root?
48
+ extended
49
+ method_missing
@@ -11,8 +11,14 @@ jobs:
11
11
  uses: ruby/setup-ruby@v1
12
12
  with:
13
13
  ruby-version: 3.0.0
14
- - name: Run the default task
14
+ - name: Getting dependencies (Bundle)
15
15
  run: |
16
16
  gem install bundler -v 2.2.3
17
17
  bundle install
18
+ - name: Running test Rspec
19
+ run: |
18
20
  bundle exec rake
21
+ - name: Running CVE security audit
22
+ run: |
23
+ bundle exec rake audit
24
+
data/Gemfile CHANGED
@@ -3,3 +3,4 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carioca (2.0.4)
4
+ carioca (2.1.0)
5
5
  deep_merge (~> 1.2)
6
6
  i18n (~> 1.10)
7
7
  locale (~> 2.1)
8
8
  pastel (~> 0.8.0)
9
+ ps-ruby (~> 0.0.4)
9
10
  tty-prompt (~> 0.23.1)
10
11
  version (~> 1.1)
11
12
 
@@ -13,22 +14,55 @@ GEM
13
14
  remote: https://rubygems.org/
14
15
  specs:
15
16
  ast (2.4.2)
17
+ bundle-audit (0.1.0)
18
+ bundler-audit
19
+ bundler-audit (0.9.1)
20
+ bundler (>= 1.2.0, < 3)
21
+ thor (~> 1.0)
16
22
  code_statistics (0.2.13)
17
- concurrent-ruby (1.1.10)
23
+ concurrent-ruby (1.2.2)
24
+ cyclonedx-ruby (1.1.0)
25
+ json (~> 2.2)
26
+ nokogiri (~> 1.8)
27
+ ostruct (~> 0.1)
28
+ rest-client (~> 2.0)
18
29
  deep_merge (1.2.2)
19
30
  diff-lcs (1.5.0)
20
- i18n (1.12.0)
31
+ domain_name (0.5.20190701)
32
+ unf (>= 0.0.5, < 1.0.0)
33
+ http-accept (1.7.0)
34
+ http-cookie (1.0.5)
35
+ domain_name (~> 0.5)
36
+ i18n (1.14.1)
21
37
  concurrent-ruby (~> 1.0)
22
38
  json (2.6.2)
23
39
  locale (2.1.3)
40
+ mime-types (3.4.1)
41
+ mime-types-data (~> 3.2015)
42
+ mime-types-data (3.2023.0218.1)
43
+ mini_portile2 (2.8.2)
44
+ netrc (0.11.0)
45
+ nokogiri (1.15.2)
46
+ mini_portile2 (~> 2.8.2)
47
+ racc (~> 1.4)
48
+ nokogiri (1.15.2-arm64-darwin)
49
+ racc (~> 1.4)
50
+ ostruct (0.5.5)
24
51
  parallel (1.22.1)
25
52
  parser (3.1.2.0)
26
53
  ast (~> 2.4.1)
27
54
  pastel (0.8.0)
28
55
  tty-color (~> 0.5)
56
+ ps-ruby (0.0.4)
57
+ racc (1.7.1)
29
58
  rainbow (3.1.1)
30
59
  rake (13.0.6)
31
60
  regexp_parser (2.5.0)
61
+ rest-client (2.1.0)
62
+ http-accept (>= 1.7.0, < 2.0)
63
+ http-cookie (>= 1.0.2, < 2.0)
64
+ mime-types (>= 1.16, < 4.0)
65
+ netrc (~> 0.8)
32
66
  rexml (3.2.5)
33
67
  rspec (3.9.0)
34
68
  rspec-core (~> 3.9.0)
@@ -56,6 +90,7 @@ GEM
56
90
  rubocop-ast (1.19.1)
57
91
  parser (>= 3.1.1.0)
58
92
  ruby-progressbar (1.11.0)
93
+ thor (1.2.2)
59
94
  tty-color (0.6.0)
60
95
  tty-cursor (0.7.1)
61
96
  tty-prompt (0.23.1)
@@ -66,6 +101,9 @@ GEM
66
101
  tty-screen (~> 0.8)
67
102
  wisper (~> 2.0)
68
103
  tty-screen (0.8.1)
104
+ unf (0.1.4)
105
+ unf_ext
106
+ unf_ext (0.0.8.2)
69
107
  unicode-display_width (2.2.0)
70
108
  version (1.1.1)
71
109
  webrick (1.7.0)
@@ -80,8 +118,10 @@ PLATFORMS
80
118
  ruby
81
119
 
82
120
  DEPENDENCIES
121
+ bundle-audit (~> 0.1.0)
83
122
  carioca!
84
123
  code_statistics (~> 0.2.13)
124
+ cyclonedx-ruby (~> 1.1)
85
125
  rake (~> 13.0)
86
126
  rspec (~> 3.0)
87
127
  rubocop (~> 1.32)
@@ -89,4 +129,4 @@ DEPENDENCIES
89
129
  yard-rspec (~> 0.1)
90
130
 
91
131
  BUNDLED WITH
92
- 2.2.3
132
+ 2.3.24
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Romain GEORGES
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.