foobara-empty-ruby-project-generator 0.0.1 → 0.0.2
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 -0
- data/src/write_empty_ruby_project_to_disk.rb +7 -1
- 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: 511690daf88b4369b190598fb63478db5059bc0df80c6a40f25ba6219b2a72ea
|
|
4
|
+
data.tar.gz: d23c679146acaa4e4aaf90ef10a4f0ebea3b697fbef3130799822c4a611aa868
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33bb941557c4326f521e9ba018f5a89f68ec6b5a5f5711354179a582f9af546476b87f395e98f4841fdf62c6e8ccbcc57b2d27fdf336724f7fa6c402859ec9ea
|
|
7
|
+
data.tar.gz: 82ae3272770a534837ef82923b92e0bd65253c60c2092f25ae6bb7f4ca84386479a6f031ccab678f9d9f19d1c3b376668ef0c23608a3ffb2efcab3844c8a569c
|
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,12 @@ 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
|
+
do_it.call
|
|
76
|
+
end
|
|
71
77
|
end
|
|
72
78
|
|
|
73
79
|
def rubocop_autocorrect
|
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.2
|
|
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-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: foobara
|