tormenta20 0.2.15 → 0.2.16
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 +4 -4
- data/.rubocop.yml +1 -1
- data/README.md +14 -2
- data/Rakefile +2 -1
- data/db/tormenta20.sqlite3 +0 -0
- data/src/ruby/tormenta20/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b0c4be501539a03f4817d055c4add97a8d35640aa7326ff705cdc22715697ac
|
|
4
|
+
data.tar.gz: d969d67ac78ac78976a9a1842cfd66d9f8ea2a52346d3d20254c2d1efd5958ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6db0547fa91860d7e099d6c291684e3c2b8e5e6ce61657696659fa733798ad1e1ae13e2c4bbc04dd88fb7da0e43944b435a2a875a55a7effa1ce166608830de0
|
|
7
|
+
data.tar.gz: 71e7e605ef9e397b06eb508d357dae846c63ab615885a3f99c09ad0f913f74fede6afff0c53d1cecef0e6ec4ebadac6eea92e8bd5fc7cc0856c7a82eda69cf71
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
|
@@ -268,7 +268,7 @@ bundle install
|
|
|
268
268
|
|
|
269
269
|
### Construir o Banco de Dados
|
|
270
270
|
|
|
271
|
-
O
|
|
271
|
+
O arquivo `db/tormenta20.sqlite3` é **gerado** a partir dos JSONs em `src/json/` e não está versionado no repositório. É necessário gerá-lo antes de rodar os specs ou a gem localmente:
|
|
272
272
|
|
|
273
273
|
```bash
|
|
274
274
|
# Construir apenas o banco
|
|
@@ -278,6 +278,8 @@ rake build_db
|
|
|
278
278
|
rake build
|
|
279
279
|
```
|
|
280
280
|
|
|
281
|
+
Os specs (`rake spec` / `rake`) também executam `build_db` automaticamente antes de rodar.
|
|
282
|
+
|
|
281
283
|
### Estrutura do Projeto
|
|
282
284
|
|
|
283
285
|
```
|
|
@@ -316,7 +318,17 @@ tormenta20/
|
|
|
316
318
|
### Testes
|
|
317
319
|
|
|
318
320
|
```bash
|
|
319
|
-
|
|
321
|
+
bin/test
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
Ou individualmente:
|
|
325
|
+
|
|
326
|
+
```bash
|
|
327
|
+
# Apenas specs
|
|
328
|
+
bundle exec rspec
|
|
329
|
+
|
|
330
|
+
# Suite completa (build_db + specs + rubocop + jsonlint)
|
|
331
|
+
bin/ci
|
|
320
332
|
```
|
|
321
333
|
|
|
322
334
|
### Linting
|
data/Rakefile
CHANGED
data/db/tormenta20.sqlite3
CHANGED
|
Binary file
|