rails_map 1.1.0 → 1.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 +30 -22
- data/lib/rails_map/version.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: d05313cead9a321ab471d6732ef4bda483d19d84e85c1f0b89df54de78a73923
|
|
4
|
+
data.tar.gz: 55e1770e212c073d23a7cc4e7d6a621d30cff0b27eedb1a698953c23cc480101
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45b4aa87d511bb5465f6aad25c283f6102798498181326fe76f91d94f4cf72d1fe1ad6a6e9d22dcaaf51d4523a82d863604e88a158d1aec8c2ab9da3935b0ab3
|
|
7
|
+
data.tar.gz: 3e12e56d5b06dd8ddce1c18881fdda137022359a8eb39715ca1b73d1bd7481e0c55188a23ca53edd779e869d78b9a82772ca49d77539850cc1c1e9146611ef0a
|
data/CHANGELOG.md
CHANGED
|
@@ -5,22 +5,30 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [1.1.1] - 2026-02-12
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
12
|
- API parameter detection and display for all routes
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- Controller action analysis to extract permitted parameters
|
|
13
|
+
- Automatic extraction of path parameters (e.g., `:id`, `:user_id`)
|
|
14
|
+
- Query parameter detection for GET and DELETE requests
|
|
15
|
+
- Request body parameter detection for POST, PUT, and PATCH requests
|
|
16
|
+
- Intelligent type inference (string, integer, boolean, datetime, email, url, decimal, etc.)
|
|
17
|
+
- Required/optional parameter indication
|
|
18
|
+
- Parameter location display (path, query, or body)
|
|
19
|
+
- Expandable parameter details in routes and controller views
|
|
20
|
+
- Controller action analysis to extract permitted parameters from code
|
|
21
21
|
- Support for strong parameters pattern (`params.require().permit()`)
|
|
22
|
+
- Support for simple permit pattern (`params.permit()`)
|
|
23
|
+
- Support for direct parameter access pattern (`params[:key]`)
|
|
22
24
|
- Parameter documentation in both live and static HTML documentation
|
|
23
25
|
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Routes page now displays "Parameters" column instead of "Route Name" column
|
|
29
|
+
- Controller page now displays "Parameters" column instead of "Constraints" column
|
|
30
|
+
- Enhanced user experience with expandable parameter details
|
|
31
|
+
|
|
24
32
|
## [1.1.0] - 2026-02-10
|
|
25
33
|
|
|
26
34
|
### Added
|
|
@@ -28,12 +36,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
28
36
|
- Live documentation via Rails Engine mounting at `/api-doc`
|
|
29
37
|
- Built-in authentication system (no Devise required) with `RailsMap::User` model
|
|
30
38
|
- Generator for easy installation: `rails g rails_map:install [--skip-auth]`
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
- Authentication enabled by default for security
|
|
40
|
+
- `--skip-auth` flag to disable authentication
|
|
41
|
+
- Automatic configuration file creation
|
|
42
|
+
- Automatic engine mounting in routes
|
|
43
|
+
- Automatic user migration creation (unless `--skip-auth`)
|
|
44
|
+
- Automatic addition of `/doc/api` to `.gitignore`
|
|
37
45
|
- Authentication support with `authenticate_with` configuration option
|
|
38
46
|
- `RailsMap::Auth` helper module for authentication
|
|
39
47
|
- Example configuration file with authentication examples
|
|
@@ -61,13 +69,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
61
69
|
- Model parsing with columns, associations, validations, and scopes
|
|
62
70
|
- HTML documentation generation with responsive design
|
|
63
71
|
- Rake tasks: `doc:generate`, `doc:open`, `doc:clean`
|
|
64
|
-
- Customizable configuration options
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
- Customizable configuration options
|
|
73
|
+
- `output_dir` - Output directory for generated documentation
|
|
74
|
+
- `app_name` - Application name displayed in documentation
|
|
75
|
+
- `theme_color` - Theme color for UI customization
|
|
76
|
+
- `include_timestamps` - Toggle timestamp columns in model docs
|
|
77
|
+
- `include_validations` - Toggle validations in model docs
|
|
78
|
+
- `include_scopes` - Toggle scopes in model docs
|
|
71
79
|
- Color-coded HTTP method badges (GET, POST, PUT, PATCH, DELETE)
|
|
72
80
|
- Association type badges (belongs_to, has_many, has_one, has_and_belongs_to_many)
|
|
73
81
|
- Statistics dashboard with controller, route, and model counts
|
data/lib/rails_map/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_map
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arshdeep Singh
|
|
@@ -117,7 +117,7 @@ licenses:
|
|
|
117
117
|
metadata:
|
|
118
118
|
homepage_uri: https://rails-map.netlify.app
|
|
119
119
|
source_code_uri: https://github.com/ArshdeepGrover/rails-map
|
|
120
|
-
changelog_uri: https://github.com/ArshdeepGrover/rails-map/blob/
|
|
120
|
+
changelog_uri: https://github.com/ArshdeepGrover/rails-map/blob/release/deploy/CHANGELOG.md
|
|
121
121
|
bug_tracker_uri: https://github.com/ArshdeepGrover/rails-map/issues
|
|
122
122
|
documentation_uri: https://rails-map.netlify.app
|
|
123
123
|
rubygems_mfa_required: 'true'
|