mumuki-sqlite-runner 3.3.2 → 3.3.3

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: 4b25152c9fd36bed95d9ca16275446be2051c19cdf3c82dd4a3947bdcb8d1374
4
- data.tar.gz: e38baeeeb4df27d0d61afc08edf59f8dbb7b391f0d30f2e72abc36d459649b06
3
+ metadata.gz: d47ec94e08c7d9c855d17bfedc35b1a7709d5d0e22682a2b129ad5425e14d17e
4
+ data.tar.gz: 4ffe138556f5a890a71e3cdcd816fdf596917a40527472a07d15907013abac6c
5
5
  SHA512:
6
- metadata.gz: b108d2e67211448a23b53a67c17f0c13479d9ab4b7cea0fa744762a03d4760fea5e155fade026957bf1e9e446055bf9b1292df20fd78f5fca7356604eeb8cf41
7
- data.tar.gz: 60a3a18d2959835184fcee8713b8d529da138ef20c57ab006186541487ccb50d01caac4c2f93965683d0cf9e230f669fbb52f41d2288d42a20c3752fc17422c2
6
+ metadata.gz: 558a62973b1078fc23e3ad1ddeb668cc1738d5560229b3c76c2d8b775a659df22192dd8534054a3ad7db50a49d208b5075b3f610c1b41459e5cc34a8041717e2
7
+ data.tar.gz: '0187ab08320aa59793522521a3063f7aeb75ea18cc41684782d847249c11771d7aa28c452131b4562e3efbdef991c13ae07bc98088e2b84c1cb5d435782f91b1'
data/lib/dataset.rb CHANGED
@@ -35,7 +35,7 @@ module Sqlite
35
35
  end
36
36
 
37
37
  def same_header(other_header)
38
- @header.eql? other_header
38
+ @header.map(&:downcase).eql? other_header.map(&:downcase)
39
39
  end
40
40
 
41
41
  def same_rows(other_rows)
@@ -0,0 +1,24 @@
1
+ es:
2
+ dataset: "Set de datos %{number}"
3
+ default_table_name: 'Resultado'
4
+ expected: 'Se esperaba:'
5
+ obtained: 'Se obtuvo:'
6
+ message:
7
+ success:
8
+ query: '¡Consulta correcta!'
9
+ show_query: 'La consulta `%{query}` devolvió:'
10
+ failure:
11
+ show_query: 'Se esperaba que la consulta `%{query}` devolviera:'
12
+ semicolon_ending: 'Tienes que terminar cada sentencia SQL con punto y coma (;)'
13
+ columns: 'Las columnas no coinciden'
14
+ rows: 'Las filas no coinciden'
15
+ query: 'Las consultas no coinciden'
16
+ tests:
17
+ lint: "¡Tests inválidos! No tienen el formato YAML correcto. Puedes probar en este validador http://www.yamllint.com/"
18
+ type: "tienes que declarar el campo type:"
19
+ types: "El test type '%{type}' no está soportado. Tienes que usar uno de éstos: datasets, query, display, final_dataset"
20
+ fields:
21
+ query: "Para el type:query deberías usar ÚNICAMENTE estos campos: type (requerido), seed (opcional), expected (requerido)"
22
+ datasets: "Para el type:datasets deberías usar ÚNICAMENTE estos campos: type (requerido), seed (opcional), expected (requerido)"
23
+ final_dataset: "Para el type:final_dataset, deberías usar ÚNICAMENTE estos campos: type (requerido), seed (opcional), final (requerido), expected (requerido)"
24
+ display: "Para el type:display deberías usar ÚNICAMENTE estos campos: type (requerido), seed (opcional), query (requerido)"
data/lib/version_hook.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SqliteVersionHook
2
- VERSION = '3.3.2'
2
+ VERSION = '3.3.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-sqlite-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Di Lorenzo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-27 00:00:00.000000000 Z
11
+ date: 2021-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.7'
61
+ version: '2.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.7'
68
+ version: '2.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -177,6 +177,7 @@ files:
177
177
  - lib/helpers.rb
178
178
  - lib/html_renderer.rb
179
179
  - lib/locales/en.yml
180
+ - lib/locales/es-CL.yml
180
181
  - lib/locales/es.yml
181
182
  - lib/metadata_hook.rb
182
183
  - lib/multiple_executions_runner.rb
@@ -210,8 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
211
  - !ruby/object:Gem::Version
211
212
  version: '0'
212
213
  requirements: []
213
- rubyforge_project:
214
- rubygems_version: 2.7.6
214
+ rubygems_version: 3.0.3
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: SQLite Runner for Mumuki