phraseapp-in-context-editor-ruby 2.1.1 → 2.1.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc5405ba5aa6a41f6c21d509eeaa00d6d5f62fb5bfae1578c16695b252931dcc
|
|
4
|
+
data.tar.gz: 73d0e561de9a0426dfe11b3f0f6f941af7ad1e1dba3de9695add6954eee5af5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff58eb5b36a68c9b9cc03d495f33dd86d0a831fc90b073ca52dff774a6efffe4e89e21053b25ebf20920dd0696c06148a3028204f4fd6063d53dabd234f3c62d
|
|
7
|
+
data.tar.gz: e76bc4e76e5733d8d666f9a5c1e63a6f1954a5d636b4a9237a60b9e845269c1d95120f0d1e8ba167ec3e0d455c26846a65be5b975152444d9f66c5f55424e207
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [2.1.2](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v2.1.1...v2.1.2) (2024-05-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Ruby 3.0 keyword argument error when ICE is enabled ([#79](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/79)) ([d0efad8](https://github.com/phrase/phraseapp-in-context-editor-ruby/commit/d0efad859b83b7ac78873e012aafcac2d1856481))
|
|
7
|
+
|
|
1
8
|
## [2.1.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v2.1.0...v2.1.1) (2024-04-23)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -4,7 +4,7 @@ module PhraseApp
|
|
|
4
4
|
module InContextEditor
|
|
5
5
|
module Delegate
|
|
6
6
|
class I18nDelegate < Base
|
|
7
|
-
attr_accessor :key, :display_key
|
|
7
|
+
attr_accessor :key, :display_key
|
|
8
8
|
|
|
9
9
|
def initialize(key, options = {}, original_args = nil)
|
|
10
10
|
@key = key
|
|
@@ -24,7 +24,7 @@ module PhraseApp
|
|
|
24
24
|
data.send(*args, &block)
|
|
25
25
|
else
|
|
26
26
|
self.class.log "You tried to execute the missing method ##{args.first} on key #{@key} which is not supported. Please make sure you treat your translations as strings only."
|
|
27
|
-
original_translation = ::I18n.translate_without_phraseapp(*@original_args)
|
|
27
|
+
original_translation = ::I18n.translate_without_phraseapp(*@original_args, **@options)
|
|
28
28
|
original_translation.send(*args, &block)
|
|
29
29
|
end
|
|
30
30
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: phraseapp-in-context-editor-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Phrase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|