exibe_dados 0.0.1 → 0.0.2

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: cbde50e638fc7e14d69b33de3e25b230503cc0ffb2de59178dcafd670f22e273
4
- data.tar.gz: 8b9e370ef63df9bfd56b1d67eed5131c14994edc2f6c72c3a551b1568089dcc1
3
+ metadata.gz: 7e85c575bb0894c613156fc332ee7e2d5b62ad313117d7e821e1843e27bb371b
4
+ data.tar.gz: 007460ae289b1fd59a97ec3fc8def880eafc11b378747dceee4aca3e1088e855
5
5
  SHA512:
6
- metadata.gz: 2e366722a422245355931b553c28afd3f4d64048ab208cba2eca9ce17075696b43f4dc930fd3be31c79b32e52fc638403931704402c3f05df107f9c13f634698
7
- data.tar.gz: 411189c7c1934a7f1973de18db76fe012959bf0086bbec7f2a660b59714568c81acd8cddd4efb8aeb552145cbe994cb2daf49010e54326d50083810c758b60bf
6
+ metadata.gz: 751424bc8c012cb8e871e0e976eca86d8187cfcf4fecd90aa7dc05ebde06c9d5814af648c1875038aa8406847d29a037ec96a01ddb4cabef399c6faca6c762ca
7
+ data.tar.gz: 960d02594a55065d67de3824e0c2758f1cd94d5a224303d697ad9a3380b23dee6e6bdcbb3c0d399b1a661f61773517cc61ed1198be0cc1d03536f3f580baa78c
data/README.rdoc CHANGED
@@ -1,15 +1,13 @@
1
- = Gem exibe_dados
1
+ = Gem exibe_dados
2
2
  Gem desenvolvida para gerar numeros fake de documentos pt-br
3
3
 
4
4
  = Instalação
5
5
  gem install exibe_dados
6
6
 
7
7
  = Usando
8
-
9
8
  obj = ExibeDados::Dados.new
10
- puts obj.exibir_cpf
11
- puts obj.exibir_cnpj
12
- print obj.exibir_titulo
13
-
9
+ puts "CPF: #{obj.exibir_cpf}"
10
+ puts "CNPJ: #{obj.exibir_cnpj}"
11
+ print "Titulo: #{obj.exibir_titulo}"
14
12
  = Contribuição
15
- email@example.com
13
+ email@example.com
data/exibe_dados.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  require_relative 'lib/exibe_dados/version'
2
2
 
3
3
  Gem::Specification.new do |s|
4
- s.name = "exibe_dados"
5
- s.version = ExibeDados::VERSION
4
+ s.name = "exibe_dados"
5
+ s.version = ExibeDados::VERSION
6
6
  s.description = "Gem utilizada para gerar documentos fakes pt-br"
7
- s.summary = "Exibe Dados"
8
- s.author = "Artur Camelo"
9
- s.files = Dir["{lib/**/*.rb,README.rdoc,test/**/*.rb,Rakefile,*.gemspec}"]
10
- s.license = "MIT"
11
- s.homepage = ""
7
+ s.summary = "Exibe Dados"
8
+ s.author = "Artur Camelo"
9
+ s.files = Dir["{lib/**/*.rb,README.rdoc,test/**/*.rb,Rakefile,*.gemspec}"]
10
+ s.license = "MIT"
11
+ s.homepage = ""
12
12
  s.add_dependency "cpf_utils", "1.3.1"
13
13
  s.add_dependency "documentos_br", "1.1.0"
14
- end
14
+ end
data/lib/exibe_dados.rb CHANGED
@@ -14,8 +14,8 @@ module ExibeDados
14
14
  return DocumentosBr.cnpj_formatted
15
15
  end
16
16
  #Metodo que cria e mostra um titulo de eleitor
17
- def exibir_titulo
17
+ def exibir_titulo
18
18
  return DocumentosBr.titulo_eleitor_formatted
19
- end
19
+ end
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module ExibeDados
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exibe_dados
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artur Camelo