mulang 6.11.1 → 6.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mulang +0 -0
- data/lib/mulang/expectation/i18n.rb +2 -2
- data/lib/mulang/version.rb +2 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49e60a38c7b414d34b67f77030d164f7776a1b9c4d3b73a3edd3e6fdc35fba62
|
4
|
+
data.tar.gz: 8f329f6fa0d70d0c5a898bb956ffdad15066f0d5f747bc14a862ca8faa38e0d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c82a58a92ed4657fe6e46950dec671d4fedc8a2011605b9011823609654a2dc7b9d07ad02c9565b67b0d8ff645c7ebd452eb3d06ba1c497e05fb2564b68cb5d
|
7
|
+
data.tar.gz: 304187274fbd3271ec7e241371821e69418433c0f23601c2059aa087a1ab2095f817b4fd929e9ceb999edbb9f8f403b463da174d5cab31e27720c4e86651bcf2
|
data/bin/mulang
CHANGED
Binary file
|
@@ -9,7 +9,7 @@ module Mulang::Expectation::I18n
|
|
9
9
|
def translate!(e, tokens = nil)
|
10
10
|
e = e.as_v2
|
11
11
|
key = key_for e.binding, e.inspection
|
12
|
-
::I18n.t
|
12
|
+
::I18n.t(key, **translation_params(e, tokens))
|
13
13
|
end
|
14
14
|
|
15
15
|
alias t translate
|
@@ -41,7 +41,7 @@ module Mulang::Expectation::I18n
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def t_matching(tokens, parsed)
|
44
|
-
::I18n.t("mulang.expectation.#{parsed.matcher.type}", with_tokens(tokens, value: parsed.matcher.value)) if parsed.matcher
|
44
|
+
::I18n.t("mulang.expectation.#{parsed.matcher.type}", **with_tokens(tokens, value: parsed.matcher.value)) if parsed.matcher
|
45
45
|
end
|
46
46
|
|
47
47
|
def with_tokens(tokens, params)
|
data/lib/mulang/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mulang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.20'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.20'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: codeclimate-test-reporter
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,16 +42,22 @@ dependencies:
|
|
42
42
|
name: activesupport
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '6.0'
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '8'
|
48
51
|
type: :development
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
|
-
- - "
|
55
|
+
- - ">="
|
53
56
|
- !ruby/object:Gem::Version
|
54
57
|
version: '6.0'
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '8'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rake
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
140
|
requirements:
|
135
141
|
- - ">="
|
136
142
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
143
|
+
version: '3.0'
|
138
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
145
|
requirements:
|
140
146
|
- - ">="
|