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 +4 -4
- data/cfdi.gemspec +2 -2
- data/examples/crear_factura.rb +1 -1
- data/lib/cfdi.rb +19 -0
- metadata +2 -2
- data/cfdi.rb +0 -20
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5228a7d4eef758b6d40c4e5263f9bc4841e5df69
         | 
| 4 | 
            +
              data.tar.gz: 613d84158d3859b0a82f04df72b60ad1eaaa8b20
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 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 ' | 
| 4 | 
            +
            require 'cfdi'
         | 
| 5 5 |  | 
| 6 6 | 
             
            Gem::Specification.new do |gem|
         | 
| 7 7 | 
             
              gem.name          = "cfdi"
         | 
    
        data/examples/crear_factura.rb
    CHANGED
    
    
    
        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. | 
| 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
         |