l10n 2.0.0 → 2.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd3f8a0bc047817f4a774f48cb0584f7179b7b9e5b9857fbe4b56aa8bd4ca6c2
|
4
|
+
data.tar.gz: f1bbab93ef1b9553cfd81575d5f06fb51ac6334fb9437c2e2de1c8a43caf626a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23839e9b5e634487d88f31831d5c418e5695beaf7885f3f313fafa3d1a7ccd4b666fd2b7baee8530411d0f7114ab99221cd183f33c03e06a6d8a6d17a45bd529
|
7
|
+
data.tar.gz: fbc6874864dc62627c13d146137342cde276ef76b10bfe25a9549286c609c10c140830ebf971dac1076eb1fea492bdf9eab637a13d382d62254d7d740e078a9d
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
module L10n
|
2
2
|
module CoreExtensions
|
3
3
|
module StringExt
|
4
|
-
def translate(*args)
|
5
|
-
I18n.t(self, *args)
|
4
|
+
def translate(*args, **kwargs, &block)
|
5
|
+
I18n.t(self, *args, **kwargs, &block)
|
6
6
|
end
|
7
7
|
alias :t :translate
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
String.
|
12
|
+
String.include L10n::CoreExtensions::StringExt
|
@@ -1,12 +1,12 @@
|
|
1
1
|
module L10n
|
2
2
|
module CoreExtensions
|
3
3
|
module SymbolExt
|
4
|
-
def translate(*args)
|
5
|
-
I18n.t(self, *args)
|
4
|
+
def translate(*args, **kwargs, &block)
|
5
|
+
I18n.t(self, *args, **kwargs, &block)
|
6
6
|
end
|
7
7
|
alias :t :translate
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
Symbol.
|
12
|
+
Symbol.include L10n::CoreExtensions::SymbolExt
|
data/lib/l10n/version.rb
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: l10n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthias Grosser
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-04-29 00:00:00.000000000 Z
|
@@ -136,7 +136,7 @@ homepage: https://github.com/mtgrosser/l10n
|
|
136
136
|
licenses:
|
137
137
|
- MIT
|
138
138
|
metadata: {}
|
139
|
-
post_install_message:
|
139
|
+
post_install_message:
|
140
140
|
rdoc_options: []
|
141
141
|
require_paths:
|
142
142
|
- lib
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubygems_version: 3.1.4
|
155
|
-
signing_key:
|
155
|
+
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Make I18n roar again
|
158
158
|
test_files: []
|