mumuki-qsim-runner 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 480cb87550e38dddd05b4d6080ccd894d6576098
4
- data.tar.gz: db3a0e50c5b7046f25ff880cbc6ac21812ae81a6
3
+ metadata.gz: 079017d67d9727f4e5b9254b2a2e9650c2ea6ead
4
+ data.tar.gz: 250ad7275089849027cab37208a0b55ac4170f3a
5
5
  SHA512:
6
- metadata.gz: accc4c01e7b76ed6bc9e944167fbb68d67557cb5fbe33e53dadb88976c0c8c46c65b4880e9a523d0d009b673f50dce40f9b3f06b22f74631c39f7042ca65d80a
7
- data.tar.gz: 52e07236fd148facdf657e63fc0dfc02232983874aabb319c833095655e753b93030a73b3749fdf3a88e5675158e56c63b15ac3307c7616e3b5f227b75b32652
6
+ metadata.gz: 8dd8c9fb0278a5169b776014a559ccc0aff025afb8475177de8a74eb6438829473f896781a9ace9e47b9255ae557a1369ce9a82a0d1b727cc487057d07293831
7
+ data.tar.gz: c646587d123053b75251902e21496ed8e57a8283a7559fcae1813fc5199a0f125295c13a20037e2523cedde7c5f05ef33f358e9e1d90b316230481bc507684a9
@@ -0,0 +1,3 @@
1
+ en:
2
+ records: 'Records'
3
+ check_equal_failure: "<b>%{record}</b> should be <b>%{expected}</b>, but was <b>%{actual}</b>"
@@ -0,0 +1,3 @@
1
+ es:
2
+ records: 'Registros'
3
+ check_equal_failure: "<b>%{record}</b> debería contener el valor <b>%{expected}</b>, pero se encontró <b>%{actual}</b>"
data/lib/qsim_runner.rb CHANGED
@@ -1,9 +1,7 @@
1
- require 'i18n'
2
- require 'mumukit'
3
1
  require 'mumukit'
4
2
  require 'erb'
5
3
 
6
- I18n.load_path += Dir[File.join('.', 'locales', '*.yml')]
4
+ I18n.load_translations_path File.join(__dir__, 'locales', '*.yml')
7
5
 
8
6
  Mumukit.runner_name = 'qsim'
9
7
  Mumukit.configure do |config|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-qsim-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.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: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2016-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.5'
19
+ version: '2.6'
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: '2.5'
26
+ version: '2.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -103,6 +103,8 @@ extra_rdoc_files: []
103
103
  files:
104
104
  - lib/checker.rb
105
105
  - lib/html_renderer.rb
106
+ - lib/locales/en.yml
107
+ - lib/locales/es.yml
106
108
  - lib/metadata_hook.rb
107
109
  - lib/qsim_runner.rb
108
110
  - lib/records.html.erb