mumukit-inspection 2.0.0 → 2.1.0

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
  SHA1:
3
- metadata.gz: 862d0aaea9f5338ca16507bc3f564870f093ecf4
4
- data.tar.gz: bb8724791a6303e935aaef57cfa6fe1ba79ee589
3
+ metadata.gz: f1e09e4d0a2a11eea0dc89aede0e014d041a683b
4
+ data.tar.gz: 0a475fd225243653e5fa628282feef74646e60ad
5
5
  SHA512:
6
- metadata.gz: 2c47373f1be4e7b0b4324d0c5e0f9b50a861b9b3e825fcb0422276744fec26a8a40d8b9ef076ace3ad5654019a847fa75b85df289760e6365c875f2d8faa76bd
7
- data.tar.gz: 5db7fe22cbf62ce8a682de124b213362456e67b79081927863d69396961ad4beb4ac105a0aeeec189cfc718350e06d790ca5c374c15f9f6fb7be33024658e9db
6
+ metadata.gz: 1de055a1e527deaebdcd0e629f71a8e1db8c3a0b9a84748d5cc04de6bd0997560c1e1c9f19f30d979ab010604f2a18811844b445ad663b372cd5a717cdb14029
7
+ data.tar.gz: 094bf81020295e3464dc7310c4485a3db35d5de98075d96cb049ff58a2b2fa98302ba7db539213231760507a77c59666570634203954a8066a9d4181c5677437
data/lib/locales/en.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  ---
2
2
  en:
3
+ expectation_Assigns: '%{binding} %{must} perform assignments'
4
+ expectation_Assigns_except: '%{binding} %{must} assign something distinct from %{target}'
5
+ expectation_Assigns_like: '%{binding} %{must} assign something similar to %{target}'
6
+ expectation_Assigns_named: '%{binding} %{must} assign %{target}'
3
7
  expectation_Declares: '%{binding} %{must} contain declarations'
4
8
  expectation_Declares_except: '%{binding} %{must} contain declarations distinct from %{target}'
5
9
  expectation_Declares_like: '%{binding} %{must} declare an identifier similar to %{target}'
data/lib/locales/es.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  ---
2
2
  es:
3
+ expectation_Assigns: '%{binding} %{must} realizar asignaciones'
4
+ expectation_Assigns_except: '%{binding} %{must} asignar a algo diferente a %{target}'
5
+ expectation_Assigns_like: '%{binding} %{must} asignar algo parecido a %{target}'
6
+ expectation_Assigns_named: '%{binding} %{must} asignar %{target}'
3
7
  expectation_Declares: '%{binding} %{must} contener declaraciones'
4
8
  expectation_Declares_except: '%{binding} %{must} contener declaraciones distintas a %{target}'
5
9
  expectation_Declares_like: '%{binding} %{must} declarar un identificador parecido a %{target}'
@@ -7,8 +7,8 @@ class Mumukit::Inspection::Expectation
7
7
  end
8
8
 
9
9
  def check!
10
- raise "Wrong binding #{binding}" unless binding?
11
- raise "Wrong inspection #{inspection}" unless inspection?
10
+ raise "Wrong binding in #{to_h}" unless binding?
11
+ raise "Wrong inspection #{to_h}" unless inspection?
12
12
  end
13
13
 
14
14
  def translate
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  class Inspection
3
- VERSION = '2.0.0'
3
+ VERSION = '2.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-inspection
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
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: 2017-07-10 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit-core