sefaz 0.2.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e50954f984ef9cb4488133faf08624b78e856bfd3a530cbce6ce3416312ea4b9
4
+ data.tar.gz: e73a3ee6ac1e31057dc006e0a75bfafab3a1b120e54f3ac02456bf93ad601126
5
+ SHA512:
6
+ metadata.gz: 704b0d73e868cfcfdf04ca0686f01eb20ded426e9b62933b1e19358cbc195e54c4967fb813801565f89215e9e257db0386450de1e9c713be2884f0113dcef440
7
+ data.tar.gz: 1eceaf647e0821e8b7564676a5a9e484c5002e790544c514fe97883403158d114865a9e89a094911d40d0218e9205fa94aaf483d13722f38871dc728806f62b2
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.2.0] - 2023-01-10
4
+
5
+ - Adding savon gem
6
+
7
+ ## [0.1.0] - 2023-01-10
8
+
9
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in sefaz.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "minitest", "~> 5.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sefaz (0.2.0)
5
+ savon (~> 2.13.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.1)
11
+ public_suffix (>= 2.0.2, < 6.0)
12
+ akami (1.3.1)
13
+ gyoku (>= 0.4.0)
14
+ nokogiri
15
+ builder (3.2.4)
16
+ date (3.3.3)
17
+ gyoku (1.4.0)
18
+ builder (>= 2.1.2)
19
+ rexml (~> 3.0)
20
+ httpi (3.0.1)
21
+ rack
22
+ mail (2.8.0)
23
+ mini_mime (>= 0.1.1)
24
+ net-imap
25
+ net-pop
26
+ net-smtp
27
+ mini_mime (1.1.2)
28
+ minitest (5.15.0)
29
+ net-imap (0.3.4)
30
+ date
31
+ net-protocol
32
+ net-pop (0.1.2)
33
+ net-protocol
34
+ net-protocol (0.2.1)
35
+ timeout
36
+ net-smtp (0.3.3)
37
+ net-protocol
38
+ nokogiri (1.13.10-x86_64-linux)
39
+ racc (~> 1.4)
40
+ nori (2.6.0)
41
+ public_suffix (5.0.1)
42
+ racc (1.6.2)
43
+ rack (3.0.3)
44
+ rake (13.0.6)
45
+ rexml (3.2.5)
46
+ savon (2.13.1)
47
+ akami (~> 1.2)
48
+ builder (>= 2.1.2)
49
+ gyoku (~> 1.2)
50
+ httpi (>= 2.4.5)
51
+ mail (~> 2.5)
52
+ nokogiri (>= 1.8.1)
53
+ nori (~> 2.4)
54
+ wasabi (~> 3.4)
55
+ timeout (0.3.1)
56
+ wasabi (3.8.0)
57
+ addressable
58
+ httpi (~> 3.0)
59
+ nokogiri (>= 1.4.2)
60
+
61
+ PLATFORMS
62
+ x86_64-linux
63
+
64
+ DEPENDENCIES
65
+ minitest (~> 5.0)
66
+ rake (~> 13.0)
67
+ sefaz!
68
+
69
+ BUNDLED WITH
70
+ 2.3.26
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Henrique Shiraishi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # Sefaz
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sefaz`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add sefaz
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install sefaz
16
+
17
+ ## Usage
18
+
19
+ TODO: Write usage instructions here
20
+
21
+ ## Development
22
+
23
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
24
+
25
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
26
+
27
+ ## Contributing
28
+
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/henriqueshiraishi/ruby-sefaz.
30
+
31
+ ## License
32
+
33
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/test_*.rb"]
10
+ end
11
+
12
+ task default: :test
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SEFAZ
4
+ VERSION = "0.2.0"
5
+ end
data/lib/sefaz.rb ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'savon'
4
+
5
+ require_relative "sefaz/version"
6
+
7
+ module SEFAZ
8
+ class Error < StandardError; end
9
+ # Your code goes here...
10
+ end
data/sefaz.gemspec ADDED
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/sefaz/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "sefaz"
7
+ spec.version = SEFAZ::VERSION
8
+ spec.authors = ["Henrique Shiraishi"]
9
+ spec.email = ["henriqueashiraishi@gmail.com"]
10
+
11
+ spec.summary = "Módulo de serviços da SEFAZ"
12
+ spec.description = "Biblioteca de cálculos, serviços e transmissão da SEFAZ"
13
+ spec.homepage = "https://github.com/henriqueshiraishi/ruby-sefaz"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 2.6.0"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = "https://github.com/henriqueshiraishi/ruby-sefaz"
19
+ spec.metadata["changelog_uri"] = "https://github.com/henriqueshiraishi/ruby-sefaz/blob/main/CHANGELOG.md"
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(__dir__) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
+ end
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ spec.add_dependency "savon", "~> 2.13.0"
34
+
35
+ # For more information and examples about making a new gem, check out our
36
+ # guide at: https://bundler.io/guides/creating_gem.html
37
+ end
data/sig/sefaz.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module SEFAZ
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sefaz
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Henrique Shiraishi
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-01-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: savon
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.13.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.13.0
27
+ description: Biblioteca de cálculos, serviços e transmissão da SEFAZ
28
+ email:
29
+ - henriqueashiraishi@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - CHANGELOG.md
35
+ - Gemfile
36
+ - Gemfile.lock
37
+ - LICENSE.txt
38
+ - README.md
39
+ - Rakefile
40
+ - lib/sefaz.rb
41
+ - lib/sefaz/version.rb
42
+ - sefaz.gemspec
43
+ - sig/sefaz.rbs
44
+ homepage: https://github.com/henriqueshiraishi/ruby-sefaz
45
+ licenses:
46
+ - MIT
47
+ metadata:
48
+ homepage_uri: https://github.com/henriqueshiraishi/ruby-sefaz
49
+ source_code_uri: https://github.com/henriqueshiraishi/ruby-sefaz
50
+ changelog_uri: https://github.com/henriqueshiraishi/ruby-sefaz/blob/main/CHANGELOG.md
51
+ post_install_message:
52
+ rdoc_options: []
53
+ require_paths:
54
+ - lib
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: 2.6.0
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ requirements: []
66
+ rubygems_version: 3.3.26
67
+ signing_key:
68
+ specification_version: 4
69
+ summary: Módulo de serviços da SEFAZ
70
+ test_files: []