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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd5f3abf20ebbba6c8992ce1dc1c067ae0d8de8a7276f74ae73c5ec79cfbece6
4
- data.tar.gz: 646bdadb5c7141d9cad72e4f69ea45145308a2fe7789817f81d63cd799b3c112
3
+ metadata.gz: 8bde633360413402d76c5d34c001001f151ad69c756c73c4a7607301dbbffa24
4
+ data.tar.gz: 0d4cf4293321cb4fdb7ac90443068fdd0e49f9771bce85245708528dba6665ff
5
5
  SHA512:
6
- metadata.gz: bc75f4eaab12aa6b8028d801fa1df1bfc47139b1da6598ffb5b4d9e1f5fe54f261d2a464f0abfe7d6fe5939ae78a09d60a56fb59e071d93b82dab26873bb61ae
7
- data.tar.gz: 203ce72b26e8159e66acbd9200545a320cd02154d6bac38a1dab5f8021141b01129d4ff44ba6c999232b6d6ec2213180af4056f432f21cd2bf021074aa7293a3
6
+ metadata.gz: 80b3bd67a3603723731eab3155843d860a02c9368ca11b11dcb656e3c53681d38eb531ecdef5cc6fc64f9ef61cc9ffdc38578b83f8c2581739b0052d90bc2840
7
+ data.tar.gz: 8a0c33f9ab979326378d44c02cc12c7732aa37525d590e4bf5308ea2faf80697a8854e00b1c7ab4972c58fb239b642482d2458d869c530de18af05041e66efc1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.0.3] - 2024-06-23
2
+
3
+ - Remove a bunch of unnecessary gems from templates/Gemfile
4
+
5
+ ## [0.0.2] - 2024-06-19
6
+
7
+ - Add missing templates to gem
8
+ - Don't assume Bundle is loaded
9
+
1
10
  ## [0.0.1] - 2024-06-17
2
11
 
3
12
  - 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,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", github: "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.1
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-17 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara