propel_rails 0.2.1 ā 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 +4 -4
- data/CHANGELOG.md +42 -0
- data/lib/generators/propel/install_generator.rb +34 -0
- data/lib/propel_rails.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a72ae07c118f5985fa68df6994adbd42f4e9b2be6c3ee2e56ed16c305bd61016
|
4
|
+
data.tar.gz: 1d5edec0081ace79512557f123257135f2b8aaa2c1ebf135306e4e8ddc5cdcaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a059dd48c744922307ee58a4894dc6b94c582bd743fa77e8254ec089d32999ac10d283d647ea6af9015cd1ac7bd125e5c9552beed9cd5962d094973b752281c0
|
7
|
+
data.tar.gz: 4f5033b114043d3d5550cc7a392bf75aecca0a3ace7ff347ad1c2bb1c95e24561832345f2091d4ff37d3c2a33b077004ec0c663847f99b393e4b0d87a245d740
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,48 @@ 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
|
+
|
37
|
+
## [0.3.0] - 2025-01-15
|
38
|
+
|
39
|
+
### š Major Release: Polymorphic Association Support
|
40
|
+
|
41
|
+
This release introduces comprehensive polymorphic association support across the entire Propel Rails ecosystem.
|
42
|
+
|
43
|
+
### š§ Dependency Updates
|
44
|
+
- **PropelApi 0.3.0**: Full polymorphic association support with new `--parents` option
|
45
|
+
- **PropelAuthentication 0.3.0**: Updated for compatibility with enhanced generator features
|
46
|
+
- **PropelFacets 0.3.0**: Enhanced polymorphic association serialization support
|
47
|
+
|
48
|
+
### š¦ Ecosystem Improvements
|
49
|
+
- **Version Synchronization**: All gems now maintain consistent version numbers for easier dependency management
|
50
|
+
- **Enhanced Documentation**: Comprehensive guides for polymorphic association usage
|
51
|
+
- **Breaking Change Management**: Clear migration paths from 0.2.x to 0.3.0
|
52
|
+
|
53
|
+
### ā ļø Breaking Changes
|
54
|
+
- **PropelApi**: New polymorphic syntax requires `--parents` option for polymorphic associations
|
55
|
+
- **Generator Commands**: Old polymorphic syntax (`field:references{polymorphic}`) deprecated in favor of `field:polymorphic`
|
56
|
+
|
15
57
|
## [0.2.1] - 2025-01-14
|
16
58
|
|
17
59
|
### Changed
|
@@ -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
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.
|
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-
|
11
|
+
date: 2025-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|