propel_rails 0.3.0 ā 0.3.1.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 +35 -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: fdab2ad42e81030d9b3f0f2ca48a07bf950953f4bac3b97bec053edf21e753e0
|
4
|
+
data.tar.gz: effc8e760e6b08ca7504183d3248c9e37e57b3a60416465f8d915e6653c7761e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0105456d744ce713e02a4ffec7721c9a8b6a75cb45ec85486376ecff624ae3874b16dc1c7673c55b08e85a8a49bb95f388b7c7f217f9fc256824f03f6ce7c4b
|
7
|
+
data.tar.gz: f2614f05d68d33734b12ed4165c981f3f9a2e26d7ea2bcd7972f009acf3c6ccbdb7f057c855c6b5b3cd1f89d79e26a0edc3d19c107df64e2a272f4bc2e8b0289
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,41 @@ 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.1] - 2025-09-11
|
16
|
+
|
17
|
+
### š Bug Fixes
|
18
|
+
- **PostgreSQL Migration Compatibility**: Fixed migration generation issues affecting PostgreSQL databases across all Propel gems
|
19
|
+
- Enhanced coordination of PostgreSQL-compatible migration generation
|
20
|
+
- Improved error handling for PostgreSQL foreign key constraints
|
21
|
+
- Better orchestration of database-specific migration templates
|
22
|
+
|
23
|
+
### š§ Dependency Updates
|
24
|
+
- **PropelApi 0.3.1.1**: PostgreSQL migration generation fixes
|
25
|
+
- **PropelAuthentication 0.3.1.1**: PostgreSQL migration template improvements
|
26
|
+
- **PropelFacets 0.3.1.1**: Enhanced PostgreSQL database support
|
27
|
+
|
28
|
+
## [0.3.1] - 2025-09-11
|
29
|
+
|
30
|
+
### šļø Enhanced Architecture Support
|
31
|
+
- **Full-Stack and API-Only Rails App Support**: Improved install generator with better architecture detection
|
32
|
+
- Enhanced orchestration for different Rails application types
|
33
|
+
- Better coordination with PropelApi's new dedicated controller architectures
|
34
|
+
- Improved installation flow for full-stack vs API-only applications
|
35
|
+
- **Installation Process Improvements**: Enhanced main install generator with better error handling
|
36
|
+
- Better component availability validation
|
37
|
+
- Improved installation workflow coordination
|
38
|
+
- Enhanced completion messaging and guidance
|
39
|
+
|
40
|
+
### š§ Dependency Updates
|
41
|
+
- **PropelApi 0.3.1**: Enhanced polymorphic support and full-stack/API-only architecture
|
42
|
+
- **PropelAuthentication 0.3.1**: Improved tenancy configuration and installation robustness
|
43
|
+
- **PropelFacets 0.3.1**: Enhanced application architecture support and polymorphic associations
|
44
|
+
|
45
|
+
### š ļø Generator Orchestration Enhancements
|
46
|
+
- **Component Coordination**: Better coordination between gem installations
|
47
|
+
- **Error Handling**: Improved error detection and recovery across component installations
|
48
|
+
- **Version Synchronization**: Maintained version consistency across all Propel gems
|
49
|
+
|
15
50
|
## [0.3.0] - 2025-01-15
|
16
51
|
|
17
52
|
### š 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
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.
|
4
|
+
version: 0.3.1.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
|