foobara-empty-ruby-project-generator 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd5f3abf20ebbba6c8992ce1dc1c067ae0d8de8a7276f74ae73c5ec79cfbece6
4
- data.tar.gz: 646bdadb5c7141d9cad72e4f69ea45145308a2fe7789817f81d63cd799b3c112
3
+ metadata.gz: 511690daf88b4369b190598fb63478db5059bc0df80c6a40f25ba6219b2a72ea
4
+ data.tar.gz: d23c679146acaa4e4aaf90ef10a4f0ebea3b697fbef3130799822c4a611aa868
5
5
  SHA512:
6
- metadata.gz: bc75f4eaab12aa6b8028d801fa1df1bfc47139b1da6598ffb5b4d9e1f5fe54f261d2a464f0abfe7d6fe5939ae78a09d60a56fb59e071d93b82dab26873bb61ae
7
- data.tar.gz: 203ce72b26e8159e66acbd9200545a320cd02154d6bac38a1dab5f8021141b01129d4ff44ba6c999232b6d6ec2213180af4056f432f21cd2bf021074aa7293a3
6
+ metadata.gz: 33bb941557c4326f521e9ba018f5a89f68ec6b5a5f5711354179a582f9af546476b87f395e98f4841fdf62c6e8ccbcc57b2d27fdf336724f7fa6c402859ec9ea
7
+ data.tar.gz: 82ae3272770a534837ef82923b92e0bd65253c60c2092f25ae6bb7f4ca84386479a6f031ccab678f9d9f19d1c3b376668ef0c23608a3ffb2efcab3844c8a569c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.0.2] - 2024-06-19
2
+
3
+ - Add missing templates to gem
4
+ - Don't assume Bundle is loaded
5
+
1
6
  ## [0.0.1] - 2024-06-17
2
7
 
3
8
  - Add Apache-2.0 license
@@ -58,7 +58,7 @@ module Foobara
58
58
 
59
59
  def bundle_install
60
60
  puts "bundling..."
61
- Bundler.with_unbundled_env do
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.1
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-17 00:00:00.000000000 Z
11
+ date: 2024-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara