regolith 0.1.22 → 0.1.23

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fa276472ded40f3c9b79460cc8c603063bba90b2c9f3fe678b96671c519e2e5
4
- data.tar.gz: 05a30e0848e755bc2e55d4e83dcdca7b81593ab6c9ecb7a3d5b26baaa086fc31
3
+ metadata.gz: 41ea8405c6a144230c7f4be3a1e2605cc2f80f05524850bad3e680e37d4187b4
4
+ data.tar.gz: c4ba815538da010c8f3b23b3b27b2c84b107d1d3ad64c267a7d0efe5c6ce4487
5
5
  SHA512:
6
- metadata.gz: 57a83ef606eace382435a56faaa26c2dff33319d4bf32a2e0822c7192f8b31f80517e202f48d7964d95b6706e1b595a1d267f2b3fe8fa6ef3d5c5a767af1aa4f
7
- data.tar.gz: f8a8f96681e5453b855d1b4158f59bb5de2646c8b28e7231a7d83476dfaba2a70dcadc5f8d2114475b9abd588ef9295617fd62136ad57870874788637a3928e2
6
+ metadata.gz: d2b4ca0d0e63b168706b29a54cb5344b7fe1a83cbc184773f848eafd73155aba7ed0748177ae22fab09c9e0c9df6c55ab0bf685e27104d9713831290fa1fe7d8
7
+ data.tar.gz: 757cf66d57106245541095029d9aea8f24b43aaae2a231afabc715dc3546308509c6f5077c631fe7722ed066150f9f586dc21a1bbba17a5a1bb7b0fd622bd1d6
data/lib/regolith/cli.rb CHANGED
@@ -116,6 +116,10 @@ module Regolith
116
116
  exit 1
117
117
  end
118
118
 
119
+ # Fix bootsnap issue IMMEDIATELY after rails new
120
+ puts "🔧 Making bootsnap optional..."
121
+ make_bootsnap_optional(service_dir)
122
+
119
123
  # Overwrite Gemfile before bundle install
120
124
  puts "🔧 Overwriting Gemfile to remove sqlite3 and other defaults..."
121
125
 
@@ -172,7 +176,7 @@ module Regolith
172
176
  puts "→ Next: regolith generate service <another_service> or regolith server"
173
177
  end
174
178
 
175
- # --- New helper to make Bootsnap optional ---
179
+ # --- Helper to make Bootsnap optional ---
176
180
  def make_bootsnap_optional(service_dir)
177
181
  boot_rb_path = File.join(service_dir, "config", "boot.rb")
178
182
  return unless File.exist?(boot_rb_path)
@@ -200,9 +204,6 @@ module Regolith
200
204
  File.write("#{initializer_dir}/regolith.rb", generate_regolith_initializer(service_name))
201
205
  File.write("#{service_dir}/Dockerfile", generate_dockerfile)
202
206
 
203
- # Call the Bootsnap patcher here
204
- make_bootsnap_optional(service_dir)
205
-
206
207
  app_rb_path = "#{service_dir}/config/application.rb"
207
208
  app_rb_content = File.read(app_rb_path)
208
209
 
@@ -1,4 +1,4 @@
1
1
  # lib/regolith/version.rb
2
2
  module Regolith
3
- VERSION = "0.1.22"
3
+ VERSION = "0.1.23"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regolith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Regolith Team