propel_rails 0.3.0 → 0.3.1

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: d4ec9a83de161d8dc1f3e5e21f73170c27d923204adff67f1cdb424a50daf2c9
4
- data.tar.gz: dfc289362da3212725db46b4ec76428a127fce82d687985361210d20ac17abf9
3
+ metadata.gz: a72ae07c118f5985fa68df6994adbd42f4e9b2be6c3ee2e56ed16c305bd61016
4
+ data.tar.gz: 1d5edec0081ace79512557f123257135f2b8aaa2c1ebf135306e4e8ddc5cdcaf
5
5
  SHA512:
6
- metadata.gz: e2b3af4f3e4ad2001fc40a49f6cb8974446cfdec2c5456b0ccf366b3c2cf2c503805e9cee05dbbea2b5bce272f477d920c2418fbfa4f3cf45cd746443e09fc15
7
- data.tar.gz: 385a04202bd67da97d92a9203aead3ac88f7f2560ed74e102835cf857b0c37db160fd33d9e44e7164b18e4ed57d4a1849a11263cde5bbb5f95f495b6f208a504
6
+ metadata.gz: a059dd48c744922307ee58a4894dc6b94c582bd743fa77e8254ec089d32999ac10d283d647ea6af9015cd1ac7bd125e5c9552beed9cd5962d094973b752281c0
7
+ data.tar.gz: 4f5033b114043d3d5550cc7a392bf75aecca0a3ace7ff347ad1c2bb1c95e24561832345f2091d4ff37d3c2a33b077004ec0c663847f99b393e4b0d87a245d740
data/CHANGELOG.md CHANGED
@@ -12,6 +12,28 @@ 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.1] - 2025-09-11
16
+
17
+ ### šŸ—ļø Enhanced Architecture Support
18
+ - **Full-Stack and API-Only Rails App Support**: Improved install generator with better architecture detection
19
+ - Enhanced orchestration for different Rails application types
20
+ - Better coordination with PropelApi's new dedicated controller architectures
21
+ - Improved installation flow for full-stack vs API-only applications
22
+ - **Installation Process Improvements**: Enhanced main install generator with better error handling
23
+ - Better component availability validation
24
+ - Improved installation workflow coordination
25
+ - Enhanced completion messaging and guidance
26
+
27
+ ### šŸ”§ Dependency Updates
28
+ - **PropelApi 0.3.1**: Enhanced polymorphic support and full-stack/API-only architecture
29
+ - **PropelAuthentication 0.3.1**: Improved tenancy configuration and installation robustness
30
+ - **PropelFacets 0.3.1**: Enhanced application architecture support and polymorphic associations
31
+
32
+ ### šŸ› ļø Generator Orchestration Enhancements
33
+ - **Component Coordination**: Better coordination between gem installations
34
+ - **Error Handling**: Improved error detection and recovery across component installations
35
+ - **Version Synchronization**: Maintained version consistency across all Propel gems
36
+
15
37
  ## [0.3.0] - 2025-01-15
16
38
 
17
39
  ### šŸŽ‰ Major Release: Polymorphic Association Support
@@ -80,6 +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
84
  show_completion_message
84
85
  end
85
86
 
@@ -203,6 +204,39 @@ module Propel
203
204
  end
204
205
  end
205
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
239
+
206
240
  def show_completion_message
207
241
  say "\n" + "="*70, :green
208
242
  say "šŸŽ‰ Propel Installation Complete!", :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.0"
7
+ VERSION = "0.3.1"
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.0
4
+ version: 0.3.1
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-10 00:00:00.000000000 Z
11
+ date: 2025-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler