bddgenx 0.1.11 → 0.1.13

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: af60771edb97be73190b73c21b31b4eee47b165b9d8d7532d3edb9416c7518d6
4
- data.tar.gz: 62b5ceee7e6b0eb13788accf3029bb3d03209b0b7570a8d8dc2f88c3c833c311
3
+ metadata.gz: 063cc589906d3a3caef2e42e654878a91c500965a4471e5e24b159052d973736
4
+ data.tar.gz: 53fbe77aa4c1998340f9d91d9ebdb44c1eb6441cc5adaca218d015a88e43b1db
5
5
  SHA512:
6
- metadata.gz: 952f0c4f63dbffa3bf27ae47916a2eac46584ae3cb644237cea75c2397d7f5a22e534a5a8b7a8cc0367e30b76e70673f382027d16fc8b593356b84064e25f5dd
7
- data.tar.gz: 3360a6b972cf82d6891c9c323d2ccc5f1dc05298cd3ee771e0e891fd02c3559391dcfc4e1d84b9070d993be0144e86447f4bfae905bd09705c6149153189f16b
6
+ metadata.gz: ebcfa55296ff8a48bb25a7c0397e59a7ecbfb50e586a51db56f3a96029b4d95e81c61f1e7c0e17888e3ec5202391d5b551365ccbcb84a76d67277e5b9b1c125a
7
+ data.tar.gz: a1b23a726f8f94c1b9fe87d38c81a5a6ac51981ffde74e543257d1d3629a1d553b6c9309071af5829b345aabd93f799ed8e67b4f75782e0ef9a1a6a4646b6b13
@@ -1,3 +1,3 @@
1
1
  module Bddgenx
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.13"
3
3
  end
data/lib/bddgenx.rb CHANGED
@@ -15,26 +15,26 @@ cont_steps = 0
15
15
  cont_ignorados = 0
16
16
 
17
17
  # Exibe menu inicial e pergunta quais arquivos processar
18
- arquivos = CLI.selecionar_arquivos_txt('input')
18
+ arquivos = Bddgenx::Cli.selecionar_arquivos_txt('input')
19
19
 
20
20
  arquivos.each do |arquivo_path|
21
21
  puts "\n🔍 Processando: #{arquivo_path}"
22
22
 
23
23
  historia = Bddgenx::Parser.ler_historia(arquivo_path)
24
24
 
25
- unless Validator.validar(historia)
25
+ unless Bddgenx::Validator.validar(historia)
26
26
  cont_ignorados += 1
27
27
  puts "❌ Arquivo inválido: #{arquivo_path}"
28
28
  next
29
29
  end
30
30
 
31
- nome_feature, conteudo_feature = Generator.gerar_feature(historia)
31
+ nome_feature, conteudo_feature = Bddgenx::Generator.gerar_feature(historia)
32
32
 
33
- Backup.salvar_versao_antiga(nome_feature)
34
- cont_features += 1 if Generator.salvar_feature(nome_feature, conteudo_feature)
35
- cont_steps += 1 if StepsGenerator.gerar_passos(historia, nome_feature)
33
+ Bddgenx::Backup.salvar_versao_antiga(nome_feature)
34
+ cont_features += 1 if Bddgenx::Generator.salvar_feature(nome_feature, conteudo_feature)
35
+ cont_steps += 1 if Bddgenx::StepsGenerator.gerar_passos(historia, nome_feature)
36
36
 
37
- Tracer.adicionar_entrada(historia, nome_feature)
37
+ Bddgenx::Tracer.adicionar_entrada(historia, nome_feature)
38
38
  Bddgenx::PDFExporter.exportar_todos
39
39
  end
40
40
  puts "\n✅ Processamento finalizado. Arquivos gerados em: features/, steps/, output/"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bddgenx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Nascimento