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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -22
  3. data/lib/rails_map/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4df0308c2e2f34c47e8b9979ee52effe81267e74e2ac4dbaf626e830791f239f
4
- data.tar.gz: '0306782d5ef8379eeb5699c53903df2bf9f1b08f24e5e55bd84770bf9302ef7c'
3
+ metadata.gz: d05313cead9a321ab471d6732ef4bda483d19d84e85c1f0b89df54de78a73923
4
+ data.tar.gz: 55e1770e212c073d23a7cc4e7d6a621d30cff0b27eedb1a698953c23cc480101
5
5
  SHA512:
6
- metadata.gz: fb076b72fb3b392e0c772dd089ffe5c12f2c0846a88cddaa933d15d7bc629ad6df383378eb5a74cd01c740bc71ae8c4d24ba2fbd6a49688d0aae7b1efba8fb05
7
- data.tar.gz: 92a0a50c1ef9739ce4220c351dc01af2e2d8e38af041b8041f56ae63eb8c45ef336b7f6aee1ffee47b10ac8c6472b4681a19f3b89a30e48a2cac81253b48c5e9
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
- ## [Unreleased]
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
- - 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, 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
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
- - Authentication enabled by default for security
32
- - Use `--skip-auth` flag to disable authentication
33
- - Automatically creates configuration file
34
- - Automatically mounts engine in routes
35
- - Automatically creates user migration (unless `--skip-auth`)
36
- - Automatically adds `/doc/api` to `.gitignore`
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
- - `output_dir` - Output directory for generated documentation
66
- - `app_name` - Application name displayed in documentation
67
- - `theme_color` - Theme color for UI customization
68
- - `include_timestamps` - Toggle timestamp columns in model docs
69
- - `include_validations` - Toggle validations in model docs
70
- - `include_scopes` - Toggle scopes in model docs
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsMap
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
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.0
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/main/CHANGELOG.md
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'