foobara-empty-ruby-project-generator 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/src/write_empty_ruby_project_to_disk.rb +9 -1
- data/templates/Gemfile +1 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bde633360413402d76c5d34c001001f151ad69c756c73c4a7607301dbbffa24
|
4
|
+
data.tar.gz: 0d4cf4293321cb4fdb7ac90443068fdd0e49f9771bce85245708528dba6665ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b3bd67a3603723731eab3155843d860a02c9368ca11b11dcb656e3c53681d38eb531ecdef5cc6fc64f9ef61cc9ffdc38578b83f8c2581739b0052d90bc2840
|
7
|
+
data.tar.gz: 8a0c33f9ab979326378d44c02cc12c7732aa37525d590e4bf5308ea2faf80697a8854e00b1c7ab4972c58fb239b642482d2458d869c530de18af05041e66efc1
|
data/CHANGELOG.md
CHANGED
@@ -58,7 +58,7 @@ module Foobara
|
|
58
58
|
|
59
59
|
def bundle_install
|
60
60
|
puts "bundling..."
|
61
|
-
|
61
|
+
do_it = proc do
|
62
62
|
Open3.popen3("bundle install") do |_stdin, _stdout, stderr, wait_thr|
|
63
63
|
exit_status = wait_thr.value
|
64
64
|
unless exit_status.success?
|
@@ -68,6 +68,14 @@ module Foobara
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
71
|
+
|
72
|
+
if Bundler.respond_to?(:with_unbundled_env)
|
73
|
+
Bundler.with_unbundled_env(&do_it)
|
74
|
+
else
|
75
|
+
# :nocov:
|
76
|
+
do_it.call
|
77
|
+
# :nocov:
|
78
|
+
end
|
71
79
|
end
|
72
80
|
|
73
81
|
def rubocop_autocorrect
|
data/templates/Gemfile
CHANGED
@@ -3,20 +3,13 @@ ruby File.read("#{__dir__}/.ruby-version")
|
|
3
3
|
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
gem "foobara-dotenv-loader"
|
6
|
+
gem "foobara-dotenv-loader"
|
7
7
|
|
8
8
|
gem "rake"
|
9
9
|
|
10
10
|
group :development do
|
11
|
-
gem "foobara-command-generator", github: "foobara/command-generator"
|
12
|
-
gem "foobara-domain-generator", github: "foobara/domain-generator"
|
13
|
-
gem "foobara-empty-ruby-project-generator", github: "foobara/empty-ruby-project-generator"
|
14
|
-
gem "foobara-files-generator", github: "foobara/files-generator"
|
15
|
-
# TODO: only need this one once everything is published gems and we can use .gemspec for this
|
16
11
|
gem "foob"
|
17
|
-
gem "foobara-organization-generator", github: "foobara/organization-generator"
|
18
12
|
gem "foobara-rubocop-rules"
|
19
|
-
gem "foobara-sh-cli-connector", github: "foobara/sh-cli-connector"
|
20
13
|
gem "guard-rspec"
|
21
14
|
gem "rubocop-rake"
|
22
15
|
gem "rubocop-rspec"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara-empty-ruby-project-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foobara
|