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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/bin/hephaestus +27 -37
- data/lib/hephaestus/engine.rb +2 -1
- data/lib/hephaestus/generators/app_generator.rb +181 -90
- data/lib/hephaestus/generators/base.rb +0 -9
- data/lib/hephaestus/version.rb +1 -1
- data/lib/hephaestus.rb +2 -10
- data/templates/bin/bundle +1 -1
- data/templates/hephaestus_github/dependabot.yml +27 -0
- data/templates/hephaestus_github/workflows/automerge.yml +14 -0
- data/templates/hephaestus_github/workflows/deploy.yml +30 -0
- data/templates/hephaestus_github/workflows/licenses.yml +17 -0
- data/templates/hephaestus_github/workflows/lint.yml +17 -0
- data/templates/hephaestus_github/workflows/security.yml +19 -0
- data/templates/hephaestus_github/workflows/sorbet.yml +19 -0
- data/templates/hephaestus_github/workflows/test.yml.tt +21 -0
- data/templates/hephaestus_github/workflows/updater.yml +18 -0
- data/templates/hephaestus_vscode/extensions.json +9 -0
- data/templates/hephaestus_vscode/launch.json +13 -0
- data/templates/hephaestus_vscode/settings.json +58 -0
- data/templates/{Gemfile → root/Gemfile} +0 -4
- data/templates/root/compose.yml +5 -0
- data/templates/root/hephaestus_dockerignore +43 -0
- data/templates/root/hephaestus_env.sample +12 -0
- data/templates/root/hephaestus_gitattributes +5 -0
- data/templates/root/hephaestus_licensed.yml +56 -0
- data/templates/root/hephaestus_rubocop.yml +5 -0
- data/templates/root/hephaestus_ruby-version +1 -0
- metadata +27 -19
- data/lib/hephaestus/app_builder.rb +0 -79
- data/lib/hephaestus/exit_on_failure.rb +0 -22
- data/lib/hephaestus/generators/config_generator.rb +0 -18
- data/lib/hephaestus/generators/core_generator.rb +0 -38
- data/lib/hephaestus/generators/db_generator.rb +0 -12
- data/lib/hephaestus/generators/deployment_generator.rb +0 -25
- data/lib/hephaestus/generators/lib_generator.rb +0 -12
- data/lib/hephaestus/generators/license_generator.rb +0 -19
- data/lib/hephaestus/generators/rubocop_generator.rb +0 -18
- data/lib/hephaestus/generators/sorbet_generator.rb +0 -17
- data/lib/version.rb +0 -6
- /data/templates/{Dockerfile → root/Dockerfile} +0 -0
- /data/templates/{Procfile → root/Procfile} +0 -0
- /data/templates/{README.md.erb → root/README.md.tt} +0 -0
- /data/templates/{config.ru → root/config.ru} +0 -0
- /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
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|