foobara-empty-ruby-project-generator 0.0.17 → 0.0.18
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/src/write_empty_ruby_project_to_disk.rb +7 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0190193d8a49786ffa2ee0cc7ff63787362e773f2c7e2e51870ecd85e77218fd'
|
4
|
+
data.tar.gz: 1e1ae9ed57e19826eeb06e55cba9b2696ef860f7ee73c58d7163012ed4db1b7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6766ad0bb750177b7c0d7b7e74399c062a34facbd957b2b2a23842e707db889e5f3f04cb364979e1130bb22a50274b96bdf72514efeed59b55eb0e9f99d3152
|
7
|
+
data.tar.gz: c115a6dcf2b04d50792a6e5a11dc14adc00e6cbb365cf982b457df21f1b51e1387bcb86a840f47b880ee530b5e89bd410882e34b8a95f176e26a375c619189f8
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
## [0.0.
|
1
|
+
## [0.0.18] - 2025-04-23
|
2
|
+
|
3
|
+
- Improve interface a bit to be more intuitive re: extracting code from another repo
|
4
|
+
|
5
|
+
## [0.0.17] - 2025-04-15
|
2
6
|
|
3
7
|
- Fix bug preventing rubocop from running if it's not available in the outer environment
|
4
8
|
|
@@ -15,7 +15,9 @@ module Foobara
|
|
15
15
|
depends_on GenerateEmptyRubyProject, ::ExtractRepo
|
16
16
|
|
17
17
|
inputs do
|
18
|
-
|
18
|
+
extract_from_repo :string
|
19
|
+
paths_to_extract [:string]
|
20
|
+
delete_extracted :boolean, default: true
|
19
21
|
project_config ProjectConfig, :required
|
20
22
|
# TODO: should be able to delete this and inherit it
|
21
23
|
output_directory :string
|
@@ -38,15 +40,15 @@ module Foobara
|
|
38
40
|
end
|
39
41
|
|
40
42
|
def extract_from_another_repo?
|
41
|
-
!!
|
43
|
+
!!extract_from_repo
|
42
44
|
end
|
43
45
|
|
44
46
|
def extract_from_another_repo
|
45
47
|
run_subcommand!(
|
46
48
|
ExtractRepo,
|
47
|
-
repo_url_or_path:
|
48
|
-
paths:
|
49
|
-
delete_extracted
|
49
|
+
repo_url_or_path: extract_from_repo,
|
50
|
+
paths: paths_to_extract,
|
51
|
+
delete_extracted:,
|
50
52
|
output_path: output_directory
|
51
53
|
)
|
52
54
|
end
|