padrino-support 0.18.5 → 0.18.7

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: 143179d3bff0c3e87883f913c3b3fd902d50cf28d5063aa30137092b17cba7f2
4
- data.tar.gz: d56e4b0bc18fd071dbc8bf311bdedd471ad7af417e79f9b3c6f16ede56b9ad11
3
+ metadata.gz: 1902f552852def0ca2a5afc3281b0c76234e3de043b250d7c8652f4c8cc92960
4
+ data.tar.gz: 372b46aede273802b1bf595fd10bb92166de50b6242061cf65554c5153c74a43
5
5
  SHA512:
6
- metadata.gz: 2d03429421ed77c0e0cae0157bdba81307d7779b96978ea2e850d6282fdcd03a933d56bbb0a4301dd8e8c61e01f07410c0daf06cbcf5e5ce5958ac9a3de0f071
7
- data.tar.gz: 7872a4992a7e143a5b03a95bbeeaec804f119868d16966ea6f9e64438b67c5d3fca618e5b72b0f7fffb036e8b1a7dd39bd330c4fa24fc68a236fb2da96b12dbb
6
+ metadata.gz: 13a3921c2d8f58d13452c95d14c5fd11cf2310075ace6424a5df18e80cbd5b9298583673adf7bdbc45ed462c225e82fa22d0e06f959e92ae9f2d21527731816c
7
+ data.tar.gz: d62e91e90555c288d8fd541d0855a7c5c93b1cc5edf3e6837ad2309b065b6dee21098e76796a92aa19b9b8e0c287e6e7a5ca920d4a36712d808b2c4a1cf1f2a5
@@ -0,0 +1,7 @@
1
+ ##
2
+ # Loads our locale configuration files
3
+ #
4
+ unless defined?(PADRINO_I18N_LOCALE)
5
+ PADRINO_I18N_LOCALE = true
6
+ I18n.load_path += Dir["#{__dir__}/locale/*.yml"]
7
+ end
@@ -22,13 +22,8 @@ if ENV['AS_VERSION']
22
22
  end
23
23
  end
24
24
 
25
- ##
26
- # Loads our locale configuration files
27
- #
28
- if defined?(I18n) && !defined?(PADRINO_I18N_LOCALE)
29
- PADRINO_I18N_LOCALE = true
30
- I18n.load_path += Dir["#{__dir__}/padrino-support/locale/*.yml"]
31
- end
25
+ # padrino-helpers requires this again once it has loaded I18n.
26
+ require 'padrino-support/locale' if defined?(I18n)
32
27
 
33
28
  ##
34
29
  # Make sure we can always use the class name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.5
4
+ version: 0.18.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2026-11-06 00:00:00.000000000 Z
15
+ date: 2026-11-24 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: A number of support methods and extensions for Padrino framework
18
18
  email: padrinorb@gmail.com
@@ -30,6 +30,7 @@ files:
30
30
  - lib/padrino-support/default_inflections.rb
31
31
  - lib/padrino-support/file_set.rb
32
32
  - lib/padrino-support/inflections.rb
33
+ - lib/padrino-support/locale.rb
33
34
  - lib/padrino-support/locale/cs.yml
34
35
  - lib/padrino-support/locale/da.yml
35
36
  - lib/padrino-support/locale/de.yml