propel_rails 0.3.1.6 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 973f752a5d7fd0ac7527861b1a2b10825b77b0f1fbd579773a453932c722b11b
4
- data.tar.gz: c7d33e541b06f8f584afffb38dfaffc18b3d7343bb74ab1323eeb3c5a21f2657
3
+ metadata.gz: 3101c0f6052e304dc4f52c6a21e51fc10744711bc09514656a11f9134b2ce147
4
+ data.tar.gz: f41e6bebbcc98e969c4dc862097a37f32c655507c41eafb7ebe882365385cc74
5
5
  SHA512:
6
- metadata.gz: 3b56f237dbbbc78c3bcc500a51660d334e75737fa33696f90ea9485eaa67c98b5f44400bc09d81f3aaee3da800a898b51f9abbb552afd7df317ab05b6af3ca8d
7
- data.tar.gz: e40315373193f661862de48e2025c5e9fb7b33d20a0b5eabcbbb217b5a4a8614cf913b10c28d07b1b62f67f02e0b76f7b1a6af54fc27beb9a31b556cbfe61bd2
6
+ metadata.gz: 27bf3602f37029cf5c3040c99ec706060734c67a7f33cc5eae3f78ce38a686643df9f1749e1bd46fca4baaa57e7ee69163dd6278e1a04c16b56762af510b3e07
7
+ data.tar.gz: 59490ca2d5cb467352193bc504b6ec1f39f0241d9e4a21b0d296acbfb93c03684d1286eeaef87e826a4295d23ac95f2cb849dcf6f8c0bf3025491353eb029409
data/CHANGELOG.md CHANGED
@@ -12,6 +12,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
  - Cross-component integration patterns
13
13
  - Advanced orchestration features
14
14
 
15
+ ## [0.3.2] - 2025-09-15
16
+
17
+ ### šŸ› Enhanced Generator Reliability
18
+ - **Improved Generator Infrastructure**: Enhanced reliability and robustness of the entire generator ecosystem
19
+ - Coordinated improvements to generator destroy/rollback functionality across all components
20
+ - Better error handling and recovery mechanisms for failed generator operations
21
+ - Enhanced cleanup procedures for incomplete generator runs
22
+ - Improved state management and tracking for complex multi-component generation
23
+
24
+ ### šŸ”§ Dependency Updates
25
+ - **PropelApi 0.3.2**: Critical generator destroy/rollback functionality fixes and infrastructure improvements
26
+ - **PropelAuthentication 0.3.2**: Version synchronization
27
+ - **PropelFacets 0.3.2**: Version synchronization
28
+
29
+ ### šŸ› ļø Framework Orchestration Improvements
30
+ - **Enhanced Component Coordination**: Better coordination of generator operations across all Propel components
31
+ - Improved error propagation and handling across component boundaries
32
+ - Enhanced cleanup coordination for multi-component generator failures
33
+ - Better state consistency across the entire framework during generator operations
34
+
15
35
  ## [0.3.1.6] - 2025-09-13
16
36
 
17
37
  ### šŸ”§ Enhanced Multi-Tenancy Orchestration
@@ -80,7 +80,7 @@ module Propel
80
80
 
81
81
  install_components(components)
82
82
  run_migrations unless options[:skip_migrations]
83
- # copy_api_explorer if components.include?(:api) # TODO: Re-enable for future release when API Explorer is ready
83
+ copy_secure_api_explorer if components.include?(:api)
84
84
  show_completion_message
85
85
  end
86
86
 
@@ -204,38 +204,44 @@ module Propel
204
204
  end
205
205
  end
206
206
 
207
- # TODO: Re-enable this method for future release when API Explorer is ready
208
- # def copy_api_explorer
209
- # say "\nšŸ“‹ Installing API Explorer...", :blue
210
- #
211
- # # Find the api-explorer source directory (in the gem root, not propel_rails subdirectory)
212
- # # __dir__ is: propel_rails/lib/generators/propel/
213
- # # We need to go up 4 levels to reach the gem root
214
- # gem_root = File.expand_path("../../../../", __dir__)
215
- # api_explorer_source = File.join(gem_root, "api-explorer")
216
- # api_explorer_dest = File.join(destination_root, "api-explorer")
217
- #
218
- # begin
219
- # if Dir.exist?(api_explorer_source)
220
- # # Use FileUtils to copy the entire directory
221
- # FileUtils.cp_r(api_explorer_source, api_explorer_dest)
222
- #
223
- # say "āœ… API Explorer installed at ./api-explorer/", :green
224
- # say "\nšŸš€ To use the API Explorer:", :cyan
225
- # say " 1. cd api-explorer", :white
226
- # say " 2. yarn install (or npm install)", :white
227
- # say " 3. yarn start (or npm start)", :white
228
- # say " 4. Open http://localhost:3000 in your browser", :white
229
- # say " 5. Configure API endpoints in api-explorer/api-cache/", :white
230
- # else
231
- # say "āš ļø API Explorer source not found at #{api_explorer_source}", :yellow
232
- # say " Skipping API Explorer installation", :yellow
233
- # end
234
- # rescue => e
235
- # say "āš ļø Could not install API Explorer: #{e.message}", :yellow
236
- # say " Please copy the api-explorer folder manually from the gem", :yellow
237
- # end
238
- # end
207
+ def copy_secure_api_explorer
208
+ say "\nšŸ”’ Installing Secure API Explorer...", :blue
209
+
210
+ # Find the gem root directory and secure distribution files
211
+ gem_root = File.expand_path("../../../..", __dir__)
212
+ dist_dir = File.join(gem_root, "dist")
213
+ api_explorer_dest = File.join(destination_root, "api-explorer")
214
+
215
+ if Dir.exist?(dist_dir)
216
+ # Create the api-explorer directory
217
+ empty_directory "api-explorer"
218
+
219
+ # Copy each file from dist to api-explorer using absolute paths
220
+ Dir.glob(File.join(dist_dir, "*")).each do |file|
221
+ if File.file?(file)
222
+ dest_file = File.join(api_explorer_dest, File.basename(file))
223
+ FileUtils.cp(file, dest_file)
224
+ say " create api-explorer/#{File.basename(file)}", :green
225
+ end
226
+ end
227
+
228
+ say " āœ… Secure API Explorer installed at ./api-explorer/", :green
229
+ show_api_explorer_usage
230
+ else
231
+ say " āš ļø Secure API Explorer distribution not found", :yellow
232
+ say " Run './scripts/build_secure_api_explorer.sh' first", :yellow
233
+ end
234
+ end
235
+
236
+ def show_api_explorer_usage
237
+ say "\nšŸš€ API Explorer Usage:", :cyan
238
+ say " 1. cd api-explorer", :white
239
+ say " 2. yarn install", :white
240
+ say " 3. yarn start", :white
241
+ say " 4. Open http://localhost:8080", :white
242
+
243
+ say "\nšŸ”’ Secure & Obfuscated", :green
244
+ end
239
245
 
240
246
  def show_completion_message
241
247
  say "\n" + "="*70, :green
data/lib/propel_rails.rb CHANGED
@@ -4,7 +4,7 @@ require "pathname"
4
4
 
5
5
  module Propel
6
6
  module Rails
7
- VERSION = "0.3.1.6"
7
+ VERSION = "0.3.2"
8
8
 
9
9
  class Error < StandardError; end
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propel_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.6
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Propel Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-09-13 00:00:00.000000000 Z
11
+ date: 2025-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler