carioca 2.0.12 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +7 -1
  3. data/Gemfile +1 -0
  4. data/Gemfile.lock +10 -1
  5. data/LICENSE.txt +21 -0
  6. data/README.md +562 -9
  7. data/Rakefile +5 -0
  8. data/VERSION +1 -1
  9. data/assets/images/carioca_output_emoji_colors.PNG +0 -0
  10. data/assets/images/carioca_output_emoji_no_colors.PNG +0 -0
  11. data/assets/images/carioca_output_no_emoji_colors.PNG +0 -0
  12. data/assets/images/carioca_output_no_emoji_no_colors.PNG +0 -0
  13. data/assets/images/description_carioca.png +0 -0
  14. data/assets/images/description_configuration_carioca.png +0 -0
  15. data/assets/images/description_container_carioca.png +0 -0
  16. data/assets/images/description_registry_carioca.png +0 -0
  17. data/assets/images/description_services_carioca.png +0 -0
  18. data/assets/images/logo_carioca_full_large.png +0 -0
  19. data/assets/images/logo_carioca_full_small.png +0 -0
  20. data/assets/images/logo_carioca_light_small.png +0 -0
  21. data/carioca.gemspec +2 -0
  22. data/config/locales/en.yml +34 -0
  23. data/config/locales/fr.yml +35 -1
  24. data/lib/carioca/configuration.rb +6 -2
  25. data/lib/carioca/constants.rb +38 -1
  26. data/lib/carioca/dependencies.rb +13 -0
  27. data/lib/carioca/services/config.rb +1 -1
  28. data/lib/carioca/services/finisher.rb +121 -0
  29. data/lib/carioca/services/sanitycheck.rb +140 -0
  30. data/lib/carioca/services/securestore.rb +81 -0
  31. data/lib/carioca/services/setup.rb +83 -0
  32. data/lib/carioca/services/toolbox.rb +104 -0
  33. data/samples/config/carioca.registry +0 -15
  34. data/samples/config/locales/en.yml +2 -1
  35. data/samples/config/settings.yml +29 -6
  36. data/samples/test.rb +111 -11
  37. metadata +48 -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: d0b4832b1cbdafeac7017a9e8c8a599c9b09c29aeab25671c81ca4a4aebbd7e5
4
+ data.tar.gz: 9991488a07f4332fb73cde45f5d2f7b47a560f1d3a87a5c71e730ba49cd2639f
5
5
  SHA512:
6
- metadata.gz: 70ed6eefae775cf2052d2755b38c535fc131886ca4dfe450946c65bb060eb9a816b386df03bdb022a45b0efe68444e9a44f0a0738dd791fa724b8f4d1d37257e
7
- data.tar.gz: 21fca522348969a80829fe47d19fec7bf2db7c6801d181f41125f4cf0429ccead8ec2fa796f652cb78ce183e366b78b07fe9cc268ce9d03742706be2cd36461e
6
+ metadata.gz: 4c45ba7ae9eec0793b5a2efbd28619539750b51f46a18d7d160d2b03beb0f9eed924f3feba75b5d6b28597bd889df9edb0cf0ea49be39719eed9163bd0e2d378
7
+ data.tar.gz: d270dd201a8e867532872d2b4482da4819f1c64a4dfd831c44683a39385a8b6f796cce861e853e9cdd5a3ef66a1cbf4072b42d91bff10456fea1211fa97ce6ec
@@ -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.0.12)
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,6 +14,11 @@ 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
23
  concurrent-ruby (1.1.10)
18
24
  deep_merge (1.2.2)
@@ -26,6 +32,7 @@ GEM
26
32
  ast (~> 2.4.1)
27
33
  pastel (0.8.0)
28
34
  tty-color (~> 0.5)
35
+ ps-ruby (0.0.4)
29
36
  rainbow (3.1.1)
30
37
  rake (13.0.6)
31
38
  regexp_parser (2.5.0)
@@ -56,6 +63,7 @@ GEM
56
63
  rubocop-ast (1.19.1)
57
64
  parser (>= 3.1.1.0)
58
65
  ruby-progressbar (1.11.0)
66
+ thor (1.2.2)
59
67
  tty-color (0.6.0)
60
68
  tty-cursor (0.7.1)
61
69
  tty-prompt (0.23.1)
@@ -80,6 +88,7 @@ PLATFORMS
80
88
  ruby
81
89
 
82
90
  DEPENDENCIES
91
+ bundle-audit (~> 0.1.0)
83
92
  carioca!
84
93
  code_statistics (~> 0.2.13)
85
94
  rake (~> 13.0)
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.