rodauth-select-account 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1268790cfe1720860c39c93bced3253c0cb1bf83dacec424d21cf7facd2f0a3
4
- data.tar.gz: d161bade62b8e1b935fb192ebec45d3641b546b4cf52896cccc3f225a01450ca
3
+ metadata.gz: 0b3ae1b644a42cc9fd9b6cd06937820f93dba507756668480ba0c3cb3b77d072
4
+ data.tar.gz: c96c9d556acaa1d4f6af1dea63544773edcf8ca2e4538fbab7ce867c64be59c8
5
5
  SHA512:
6
- metadata.gz: cd003394cba3aaad1c103ffae1dd008cea6e3788cb9cd96636074021854891a20d2c9d43f83351ba938cd78b923fab171de7d31609d32638a18a0c2202b139d0
7
- data.tar.gz: c489337600b4e06912ecf4e650dcf4b58b2ad69524d9acbe6cbe45df6ab8a1c75faa8b23481456eac12b6d4d42fb19779f2b22934e2ac175a84db597b61a687a
6
+ metadata.gz: 5166fbda42b1e662b34664c7860efc77c3f15f9f976d6668a1b1fcefb744b7b5a8840567a24d8a695305171adc1f05c31c1357b13f87363e7e268bc672e002c8
7
+ data.tar.gz: 5f3be74d4dfb774a878f9b6e45421777ca1dfec9c117ef864ffb8183b96fde9c8c33ceda0a2ec75cbf0b020143060f382c244064c7d5e3db24ab032db5b397d4
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.1.1
6
+
7
+ Updating integration with `rodauth-i18n`, which changed the setup for `v0.2.0`.
8
+
5
9
  ## 0.1.0
6
10
 
7
11
  Support for internationalization (I18n) by hooking up with [rodauth-i18n](https://github.com/janko/rodauth-i18n). Shipping translation for english under `locales/` dir.
@@ -83,6 +83,11 @@ module Rodauth
83
83
  true
84
84
  end
85
85
 
86
+ def post_configure
87
+ super
88
+ i18n_register(File.expand_path(File.join(__dir__, "..", "..", "..", "locales"))) if features.include?(:i18n)
89
+ end
90
+
86
91
  private
87
92
 
88
93
  # when selecting an account and requiring login, you'll want the user to go back to where it was
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rodauth
4
4
  module SelectAccount
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
@@ -3,5 +3,3 @@
3
3
  require "rodauth"
4
4
 
5
5
  require "rodauth/select-account/version"
6
-
7
- Rodauth::I18n.directories << File.expand_path(File.join(__dir__, "..", "..", "locales")) if defined?(Rodauth::I18n)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodauth-select-account
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tiago Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-02 00:00:00.000000000 Z
11
+ date: 2021-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rodauth