mumuki-text-runner 1.5.0 → 1.6.1

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: 5b6cf60acdbbbea2a93591a35f6798f31e97138768b7f715f9be0b5fdd945901
4
- data.tar.gz: 38891926782f7edb4d5a40928162ae66e507727c7dda9b35cd72840e33853239
3
+ metadata.gz: 3dbe19c7c4e7bbe0d6e304ea87a0aecf337720d68639ab87763fe79eb5e91928
4
+ data.tar.gz: ff490d42241360115e086adfb86978f38023a7f0b3d5f6b394b18d7be259ae97
5
5
  SHA512:
6
- metadata.gz: d8f03d8e82ebf3bd9e72aef871e5aa2e429d022c0d332a3f59cd6e6067346618dc1b43d850fa096d803fd97b22a8e037ce60ecec581c094ed35b0cf8bea9de5e
7
- data.tar.gz: 5515417742c30efe5b90b2b3675ce565950d8056ee51b0c3e84bc5f08a0533628144a1f265b2dce6d6f95e04af7a6e5a2dba13fa929071f58d3f73da356fd024
6
+ metadata.gz: 4b6b672545868f6aec4d9d0eb8a304e108b44b9b3157611fbab10e5718a12382e70cc51572e846827a3713c0bc64aa6c28d38108f557e3eefb053931f12585a1
7
+ data.tar.gz: 228613cf86c35b94da9a5ee6b8d1a54398c83ed81fd6519a30a1aad37ae06ce2602f3a1b115ce97bbb77da5f4740f4bab23fcaf39885be976743d9f4447faefe
data/lib/locales/en.yml CHANGED
@@ -4,6 +4,6 @@ en:
4
4
  contain:
5
5
  failure: '**%{actual}** does not contain the right value.'
6
6
  expression:
7
- failure: '**%{actual}** does not match the expected expression.'
7
+ failure: '**%{actual}** does not match the expected expression.'
8
8
  valid_ip:
9
9
  failure: '**%{actual}** is not a valid IP address.'
@@ -0,0 +1,9 @@
1
+ pt:
2
+ equality:
3
+ failure: '**%{actual}** não é o valor correto.'
4
+ contain:
5
+ failure: '**%{actual}** não contém o valor correto.'
6
+ expression:
7
+ failure: '**%{actual}** não corresponde à expressão correta.'
8
+ valid_ip:
9
+ failure: '**%{actual}** não é um endereço IP válido.'
@@ -1,5 +1,5 @@
1
1
  module TextChecker::Multiline
2
2
  def self.apply(text)
3
- text.gsub("\r\n", "\n")
3
+ text.gsub("\r\n", "\n").chomp
4
4
  end
5
5
  end
data/lib/version_hook.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TextVersionHook
2
- VERSION = '1.5.0'
2
+ VERSION = '1.6.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-text-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-29 00:00:00.000000000 Z
11
+ date: 2022-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -123,6 +123,7 @@ files:
123
123
  - lib/comparators/valid_ip_comparator.rb
124
124
  - lib/locales/en.yml
125
125
  - lib/locales/es.yml
126
+ - lib/locales/pt.yml
126
127
  - lib/metadata_hook.rb
127
128
  - lib/options/ignore_case.rb
128
129
  - lib/options/ignore_whitespace.rb