hubbado-policy 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bae8f5de291d165b188ec93876c8de9ba6a977d3137411df9bcc8529b7bc9347
4
- data.tar.gz: 7702e0686f9bb660596608e1191a28b0db5fa913e174ac4b37501e2a5634c4c8
3
+ metadata.gz: 92b2d2ebfeca29045209e9ac790024cfe3be4d6646be7ace9f3678684808cad6
4
+ data.tar.gz: 88b9eb114f043c6b8f948fb780446566bf4a73771aabc96a9becfb670374a701
5
5
  SHA512:
6
- metadata.gz: 27efa98093df93083e47dda2f457634602e356a7448a61fd18a0cd0939eb531bfec567ba57ee397e7126f822e7cf174adc6b7b805e15905bdac16ec4bcb5a1fd
7
- data.tar.gz: 1bd2be57259ca1df1a6602305e0d81e2800fff493f72798ae98a64500f87f65e4eb0f3acf5d268fe69adfb87b06944883fe6477a9b58b004946f8b0c6fed8969
6
+ metadata.gz: b28dc471aa7bcbee6db421e41cb4664423a6c58d31ab17e6deb2ae55d0a53fbf1b8c00e5a2ef96c34bd46d325fac68b5fb77fe0c88e59f0ca28eb2359affac28
7
+ data.tar.gz: 29670f1bb98582426e288fd290091d20ac8bf7ee9606a61f6de6b20a869794342c7646bc630c41bea8c0af1217033612c5455ea32b04aee05c8aa082546455e7
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ 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
+ ## [1.1.1] - 2025-05-26
9
+
10
+ ### Fixed
11
+ - Railtie is corrected with an initializer to load I18n locales correctly.
12
+
8
13
  ## [1.1.0] - 2025-05-20
9
14
 
10
15
  ### Added
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "hubbado-policy"
3
- s.version = "1.1.0"
3
+ s.version = "1.1.1"
4
4
  s.summary = "A lightweight, flexible policy framework for Ruby applications"
5
5
 
6
6
  s.authors = ["Hubbado Devs"]
@@ -1,7 +1,9 @@
1
1
  module Hubbado
2
2
  module Policy
3
3
  class Railtie < ::Rails::Railtie
4
- ::I18n.load_path << ::File.expand_path("../../../../config/locales/en.yml", __FILE__)
4
+ initializer "hubbado-policy.initialized" do |app|
5
+ ::I18n.load_path << ::File.expand_path("../../../../config/locales/en.yml", __FILE__)
6
+ end
5
7
  end
6
8
  end
7
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubbado-policy
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
  - Hubbado Devs