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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 676c6fafe184d064d651bc3d758943ef0576fc0bc73ccd4cabfd66594298355b
4
- data.tar.gz: e544927c2bec8c24d0ecc36bfb256414797003de7f86247191c6c8e43869fe0e
3
+ metadata.gz: 49e60a38c7b414d34b67f77030d164f7776a1b9c4d3b73a3edd3e6fdc35fba62
4
+ data.tar.gz: 8f329f6fa0d70d0c5a898bb956ffdad15066f0d5f747bc14a862ca8faa38e0d2
5
5
  SHA512:
6
- metadata.gz: fadbe6188379beb3d2c0c2a67001221e0d2a204c67583f01615f7ad9aaf03215b067d650826e52759fa211dcbcf291b8f9494732b0a5f8d305737cd4beddfc06
7
- data.tar.gz: 47037f9787d1079ee6c215b11e6d7f884fc478a81fd8cabb3286e805848952f493a74ac0ba20e847a55de5b76b513c047f30560115f2a35e896455f486a0e756
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 key, translation_params(e, tokens)
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)
@@ -1,4 +1,4 @@
1
1
  module Mulang
2
- VERSION = "6.11.1"
3
- MULANG_VERSION = "6.11.1"
2
+ VERSION = "6.12.0"
3
+ MULANG_VERSION = "6.12.0"
4
4
  end
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.11.1
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-05 00:00:00.000000000 Z
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'
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.19'
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: '2.3'
143
+ version: '3.0'
138
144
  required_rubygems_version: !ruby/object:Gem::Requirement
139
145
  requirements:
140
146
  - - ">="