hephaestus 0.8.12 → 0.8.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/README.md +1 -1
  4. data/bin/hephaestus +27 -37
  5. data/lib/hephaestus/engine.rb +2 -1
  6. data/lib/hephaestus/generators/app_generator.rb +181 -90
  7. data/lib/hephaestus/generators/base.rb +0 -9
  8. data/lib/hephaestus/version.rb +1 -1
  9. data/lib/hephaestus.rb +2 -10
  10. data/templates/bin/bundle +1 -1
  11. data/templates/hephaestus_github/dependabot.yml +27 -0
  12. data/templates/hephaestus_github/workflows/automerge.yml +14 -0
  13. data/templates/hephaestus_github/workflows/deploy.yml +30 -0
  14. data/templates/hephaestus_github/workflows/licenses.yml +17 -0
  15. data/templates/hephaestus_github/workflows/lint.yml +17 -0
  16. data/templates/hephaestus_github/workflows/security.yml +19 -0
  17. data/templates/hephaestus_github/workflows/sorbet.yml +19 -0
  18. data/templates/hephaestus_github/workflows/test.yml.tt +21 -0
  19. data/templates/hephaestus_github/workflows/updater.yml +18 -0
  20. data/templates/hephaestus_vscode/extensions.json +9 -0
  21. data/templates/hephaestus_vscode/launch.json +13 -0
  22. data/templates/hephaestus_vscode/settings.json +58 -0
  23. data/templates/{Gemfile → root/Gemfile} +0 -4
  24. data/templates/root/compose.yml +5 -0
  25. data/templates/root/hephaestus_dockerignore +43 -0
  26. data/templates/root/hephaestus_env.sample +12 -0
  27. data/templates/root/hephaestus_gitattributes +5 -0
  28. data/templates/root/hephaestus_licensed.yml +56 -0
  29. data/templates/root/hephaestus_rubocop.yml +5 -0
  30. data/templates/root/hephaestus_ruby-version +1 -0
  31. metadata +27 -19
  32. data/lib/hephaestus/app_builder.rb +0 -79
  33. data/lib/hephaestus/exit_on_failure.rb +0 -22
  34. data/lib/hephaestus/generators/config_generator.rb +0 -18
  35. data/lib/hephaestus/generators/core_generator.rb +0 -38
  36. data/lib/hephaestus/generators/db_generator.rb +0 -12
  37. data/lib/hephaestus/generators/deployment_generator.rb +0 -25
  38. data/lib/hephaestus/generators/lib_generator.rb +0 -12
  39. data/lib/hephaestus/generators/license_generator.rb +0 -19
  40. data/lib/hephaestus/generators/rubocop_generator.rb +0 -18
  41. data/lib/hephaestus/generators/sorbet_generator.rb +0 -17
  42. data/lib/version.rb +0 -6
  43. /data/templates/{Dockerfile → root/Dockerfile} +0 -0
  44. /data/templates/{Procfile → root/Procfile} +0 -0
  45. /data/templates/{README.md.erb → root/README.md.tt} +0 -0
  46. /data/templates/{config.ru → root/config.ru} +0 -0
  47. /data/templates/{hephaestus_gitignore → root/hephaestus_gitignore} +0 -0
@@ -1,19 +0,0 @@
1
- # typed: false
2
- # frozen_string_literal: true
3
-
4
- require_relative "base"
5
-
6
- module Hephaestus
7
- class LicenseGenerator < Generators::Base
8
- def licensed
9
- copy_file(".licensed.yml", ".licensed.yml")
10
- end
11
-
12
- def generate_licenses
13
- unless run("script/licenses --update", abort_on_failure: false)
14
- say(set_color("Error generating licenses. When this is all over, run `script/licenses --update`.", :red))
15
- sleep(3)
16
- end
17
- end
18
- end
19
- end
@@ -1,18 +0,0 @@
1
- # typed: false
2
- # frozen_string_literal: true
3
-
4
- require_relative "base"
5
-
6
- module Hephaestus
7
- class RubocopGenerator < Generators::Base
8
- def rubocop
9
- copy_file(".rubocop.yml", ".rubocop.yml", force: true)
10
- end
11
-
12
- def lint
13
- Bundler.with_unbundled_env do
14
- run("bundle exec rubocop -A", abort_on_failure: false)
15
- end
16
- end
17
- end
18
- end
@@ -1,17 +0,0 @@
1
- # typed: false
2
- # frozen_string_literal: true
3
-
4
- require_relative "base"
5
-
6
- module Hephaestus
7
- class SorbetGenerator < Generators::Base
8
- def sorbet
9
- copy_file("sorbet/custom.rbi", "sorbet/custom.rbi")
10
- Bundler.with_unbundled_env do
11
- run("bundle exec tapioca init")
12
- run("bundle exec tapioca require")
13
- run("script/sorbet --update")
14
- end
15
- end
16
- end
17
- end
data/lib/version.rb DELETED
@@ -1,6 +0,0 @@
1
- # typed: false
2
- # frozen_string_literal: true
3
-
4
- module Hephaestus
5
- VERSION = "0.1.0"
6
- end
File without changes
File without changes
File without changes
File without changes