cfdi 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 9f817ca5a0b899f9d7eb858a4093065851a97076
4
- data.tar.gz: f3ec315d75256251637af8ba492042dbd00bd322
3
+ metadata.gz: 5228a7d4eef758b6d40c4e5263f9bc4841e5df69
4
+ data.tar.gz: 613d84158d3859b0a82f04df72b60ad1eaaa8b20
5
5
  SHA512:
6
- metadata.gz: 4818dd7e9c79070fc32fc3ba853898ec2c48430e4f82718673a9509a4a533141d3f6f2e19001ed0d7ffcf492ef27dedc38b29df9891c80674133ad0610633fdb
7
- data.tar.gz: 875fdf5ec3adb21f7a49b16f5cf30abf654a5a9dccc1704f601844791b906e418dc07209dfaf1a4cb725323dcaef0bef393155cf2425e69e4acd8c771420000f
6
+ metadata.gz: 7bf92fd3fcb3c0a8bca831890e69db32a632a7f538755a92199cde0c3b519488dbf4481326c67100774d158d850904ae90453ff85d26c135c7aea40df06edc59
7
+ data.tar.gz: 6db10003d3ecaa921fe1c88de4c6b46ac2f76dd80b5440bd8eda369ca9cc138f9f38a496190cc38b4fae53122e88a3b75d6d67f36ac2c02f92ad0745417b4ff6
data/cfdi.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('lib', __FILE__)
2
+ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require './cfdi.rb'
4
+ require 'cfdi'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "cfdi"
@@ -1,4 +1,4 @@
1
- require_relative '../cfdi.rb'
1
+ require_relative 'cfdi'
2
2
  require 'json'
3
3
  require 'time'
4
4
 
data/lib/cfdi.rb ADDED
@@ -0,0 +1,19 @@
1
+ # encoding: utf-8
2
+ gem 'nokogiri', '< 1.6', '>= 1.4.0'
3
+
4
+ require_relative 'comun.rb'
5
+ require_relative 'comprobante.rb'
6
+ require_relative 'entidad.rb'
7
+ require_relative 'concepto.rb'
8
+ require_relative 'certificado.rb'
9
+ require_relative 'key.rb'
10
+
11
+ module CFDI
12
+
13
+ require 'nokogiri'
14
+ require 'time'
15
+ require 'base64'
16
+
17
+ VERSION = '0.0.3'
18
+
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfdi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Hidalgo
@@ -36,10 +36,10 @@ files:
36
36
  - LICENSE.txt
37
37
  - Rakefile
38
38
  - cfdi.gemspec
39
- - cfdi.rb
40
39
  - examples/crear_factura.rb
41
40
  - examples/data/_empty
42
41
  - lib/certificado.rb
42
+ - lib/cfdi.rb
43
43
  - lib/comprobante.rb
44
44
  - lib/comun.rb
45
45
  - lib/concepto.rb
data/cfdi.rb DELETED
@@ -1,20 +0,0 @@
1
- # encoding: utf-8
2
- gem 'nokogiri', '< 1.6', '>= 1.4.0'
3
-
4
- require_relative 'lib/comun.rb'
5
- require_relative 'lib/comprobante.rb'
6
- require_relative 'lib/entidad.rb'
7
- require_relative 'lib/concepto.rb'
8
- require_relative 'lib/certificado.rb'
9
- require_relative 'lib/key.rb'
10
-
11
- module CFDI
12
-
13
- require 'nokogiri'
14
- require 'time'
15
- require 'openssl'
16
- require 'base64'
17
-
18
- VERSION = '0.0.2'
19
-
20
- end