ntq_tools 0.4.6 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ntq_tools/translations/translation_tool.rb +4 -4
- data/lib/ntq_tools/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 111455a759e2c13adadb7e7aebb4a563fad2dbe264800e68e9b7761b30e1b3b2
|
4
|
+
data.tar.gz: edf585820c221424e5681a028622fed413b0824ce87752541bb5d39ed4d86ad5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93503e87fcbdf84bb7e29f98754a281ed8685d4f84337035036affe91caa43978713e37d4f9a5feec8dd0614be1a417ef17df6a0b1cc9f80cd966db9ffb775a8
|
7
|
+
data.tar.gz: 2fa8e0c4916d1f95aa1921e99c37c6064a6ec28bbe35301b801c13f6de34bf1562277de01c5f6a6c351cbb4105e39929e03b4bad06aef02fa314b1689150d658
|
@@ -63,14 +63,14 @@ module NtqTools
|
|
63
63
|
config_folder = "#{::Rails.root}/config/locales/*.yml"
|
64
64
|
file_pathnames = Dir[config_folder]
|
65
65
|
return unless file_pathnames && file_pathnames.size > 0
|
66
|
-
|
67
|
-
load_files(file_pathnames)
|
68
|
-
|
66
|
+
|
67
|
+
load_files(file_pathnames)
|
68
|
+
|
69
69
|
available_locales = I18n.available_locales.map(&:to_s)
|
70
70
|
|
71
71
|
default_scope = search_key_for_locale(I18n.default_locale, key)&.filename
|
72
72
|
default_scope = "" unless default_scope
|
73
|
-
|
73
|
+
|
74
74
|
values.each do |locale, v|
|
75
75
|
next unless available_locales.include?(locale.to_s) || v.blank?
|
76
76
|
|
data/lib/ntq_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ntq_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -82,7 +82,7 @@ metadata:
|
|
82
82
|
homepage_uri: https://github.com
|
83
83
|
source_code_uri: https://github.com
|
84
84
|
changelog_uri: https://github.com
|
85
|
-
post_install_message:
|
85
|
+
post_install_message:
|
86
86
|
rdoc_options: []
|
87
87
|
require_paths:
|
88
88
|
- lib
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubygems_version: 3.3.7
|
101
|
-
signing_key:
|
101
|
+
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Toolkit 9tq
|
104
104
|
test_files: []
|