rails_ui_guard 0.1.1 → 0.1.2

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: b1d3f593e10f2bf16746f51585833c1498b43a021b60a02266b4882bf03e3663
4
- data.tar.gz: 734f44236fe4bacf6ee8c0596ca5d6ca0274efe7c2688cf117fa6a31dc7ab3e6
3
+ metadata.gz: 61899138e5084d28920593b3060faaac214c2540971464404f1f604289edf1f8
4
+ data.tar.gz: d1f03018d264f07438fc58d43ff375def297f78e2c7b1029d664a2a8561f5c36
5
5
  SHA512:
6
- metadata.gz: 77118dc073830e7682eef8958f544c889ccc09cfb9e572059bbd89c39197ea68c03c04b7b6f714a0a2a3db4f1b057aaa2df07b71d83c81ada232f1f16feec8b5
7
- data.tar.gz: a759443c0ba30faab1fb4b9604541c490f76bbebf65802f78088d4f7e4a34b21d0ed1bec28d707e59d0bae67c2e352482bc2356d553da54c94449c3778129bca
6
+ metadata.gz: 5d3f1a1955f6784f541071da0f1f854557b19592ea920112055921fd2c4e6f52663fac627415496a344455887a9035f87d79e70df20f786915fbe7326776dae6
7
+ data.tar.gz: f50595925a3d524a262d217c8035c99331f5b8448677915caa7deacaedfcdf595733607e3755e9a403e77dbe1a820dd04d27bcc80d9b6cf4c80a4bda01b110fb
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ 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.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.2] - 2024-12-28
9
+
10
+ ### Fixed
11
+ - Fixed ApplicationRecord loading issue - FeatureStatus model now loads after ApplicationRecord is available
12
+ - Removed early require of FeatureStatus model from main gem file
13
+ - Model now loads via engine's config.to_prepare block
14
+
8
15
  ## [0.1.1] - 2024-12-28
9
16
 
10
17
  ### Enhanced
@@ -0,0 +1,34 @@
1
+ # Push Instructions for Rails UI Guard v0.1.1
2
+
3
+ ## Changes Made
4
+ - Enhanced overlay UI with better visual design
5
+ - Improved color-coded headers (red for locked, yellow for under work)
6
+ - Better icon display with rounded backgrounds
7
+ - Added action buttons (Go to Dashboard, Manage Access)
8
+ - Enhanced CSS animations and blur effects
9
+ - Better mobile responsiveness
10
+
11
+ ## To Push to GitHub:
12
+ ```bash
13
+ cd /tmp/rails_ui_guard_update
14
+ git push origin main
15
+ git push origin v0.1.1
16
+ ```
17
+
18
+ ## To Push to RubyGems:
19
+ ```bash
20
+ cd /tmp/rails_ui_guard_update
21
+ gem push rails_ui_guard-0.1.1.gem
22
+ ```
23
+
24
+ You will need:
25
+ - GitHub credentials (username/password or token)
26
+ - RubyGems credentials (API key from https://rubygems.org/settings/edit)
27
+
28
+ ## Files Updated:
29
+ - lib/rails_ui_guard/app/views/rails_ui_guard/shared/_module_overlay.html.erb
30
+ - lib/rails_ui_guard/version.rb (0.1.0 -> 0.1.1)
31
+ - CHANGELOG.md
32
+
33
+ ## Gem File Location:
34
+ /tmp/rails_ui_guard_update/rails_ui_guard-0.1.1.gem
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsUiGuard
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
 
@@ -19,7 +19,8 @@ end
19
19
 
20
20
  # Core pieces (required early so models can safely `include RailsUiGuard::...`)
21
21
  require_relative "rails_ui_guard/concerns/feature_statusable"
22
- require_relative "rails_ui_guard/app/models/rails_ui_guard/feature_status"
22
+ # Note: FeatureStatus model is loaded by the engine via config.to_prepare
23
+ # to ensure ApplicationRecord is available
23
24
 
24
25
  require_relative "rails_ui_guard/version"
25
26
  require_relative "rails_ui_guard/controller_helpers"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_ui_guard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kapil Dev Pal
@@ -63,6 +63,7 @@ files:
63
63
  - CHANGELOG.md
64
64
  - GEM_SETUP_COMPLETE.md
65
65
  - LICENSE.txt
66
+ - PUSH_INSTRUCTIONS.md
66
67
  - PUSH_TO_GITHUB.md
67
68
  - README.md
68
69
  - lib/generators/rails_ui_guard/install/install_generator.rb