anaf-web_services 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: dbb6803beb07e38bdf3d1a7870b8219543d01568b820f0d88449afaa01b334a7
4
+ data.tar.gz: 9e31b78f24994b33461401024d2be5fe2c86796f72bc2b60660f4ba0c4f20712
5
+ SHA512:
6
+ metadata.gz: a53f707197b2c0b790d1fb0abcf80c30a51b72c5ff5805ba068f33d43f8f9d8fb2bd1aa329558a9f1cedb6a190a6f5fbd878b0bc5ceca1907eda4ee781427739
7
+ data.tar.gz: 0e038d9928c8a6f3b554da4ec55f327cfbc995f1fe6648838b1e571721a28b8dd6dbe1dc6a4f7d1d26b5894e9ab186a358d54da604c35489d95de21eb9d3807b
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,29 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.7
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ Enabled: true
9
+ EnforcedStyle: double_quotes
10
+
11
+
12
+ # ====================================================
13
+ # Layout Cops
14
+ # ====================================================
15
+ Layout/LineLength:
16
+ Max: 120
17
+
18
+ Layout/IndentationConsistency:
19
+ Enabled: true
20
+ EnforcedStyle: indented_internal_methods
21
+
22
+ # ====================================================
23
+ # Metrics Cops
24
+ # ====================================================
25
+ Metrics/BlockLength:
26
+ Enabled: true
27
+ Exclude:
28
+ - spec/**/*
29
+ - Guardfile
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at TODO: Write your email address. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in anaf-web_services.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+
10
+ gem 'rspec', '~> 3.0'
11
+
12
+ gem 'rubocop', '~> 1.21'
13
+
14
+ group :development do
15
+ gem 'guard-rspec', require: false
16
+ end
17
+
18
+ group :test do
19
+ gem 'webmock', '~> 3.18', '>= 3.18.1'
20
+ end
21
+
22
+ group :development, :test do
23
+ gem 'byebug'
24
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,112 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ anaf-web_services (0.1.0)
5
+ faraday (>= 1.0.0, < 3.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
+ ast (2.4.2)
13
+ byebug (11.1.3)
14
+ coderay (1.1.3)
15
+ crack (0.4.5)
16
+ rexml
17
+ diff-lcs (1.5.0)
18
+ faraday (2.5.2)
19
+ faraday-net_http (>= 2.0, < 3.1)
20
+ ruby2_keywords (>= 0.0.4)
21
+ faraday-net_http (3.0.0)
22
+ ffi (1.15.5)
23
+ formatador (1.1.0)
24
+ guard (2.18.0)
25
+ formatador (>= 0.2.4)
26
+ listen (>= 2.7, < 4.0)
27
+ lumberjack (>= 1.0.12, < 2.0)
28
+ nenv (~> 0.1)
29
+ notiffany (~> 0.0)
30
+ pry (>= 0.13.0)
31
+ shellany (~> 0.0)
32
+ thor (>= 0.18.1)
33
+ guard-compat (1.2.1)
34
+ guard-rspec (4.7.3)
35
+ guard (~> 2.1)
36
+ guard-compat (~> 1.1)
37
+ rspec (>= 2.99.0, < 4.0)
38
+ hashdiff (1.0.1)
39
+ json (2.6.2)
40
+ listen (3.7.1)
41
+ rb-fsevent (~> 0.10, >= 0.10.3)
42
+ rb-inotify (~> 0.9, >= 0.9.10)
43
+ lumberjack (1.2.8)
44
+ method_source (1.0.0)
45
+ nenv (0.3.0)
46
+ notiffany (0.1.3)
47
+ nenv (~> 0.1)
48
+ shellany (~> 0.0)
49
+ parallel (1.22.1)
50
+ parser (3.1.2.1)
51
+ ast (~> 2.4.1)
52
+ pry (0.14.1)
53
+ coderay (~> 1.1)
54
+ method_source (~> 1.0)
55
+ public_suffix (5.0.0)
56
+ rainbow (3.1.1)
57
+ rake (13.0.6)
58
+ rb-fsevent (0.11.2)
59
+ rb-inotify (0.10.1)
60
+ ffi (~> 1.0)
61
+ regexp_parser (2.5.0)
62
+ rexml (3.2.5)
63
+ rspec (3.11.0)
64
+ rspec-core (~> 3.11.0)
65
+ rspec-expectations (~> 3.11.0)
66
+ rspec-mocks (~> 3.11.0)
67
+ rspec-core (3.11.0)
68
+ rspec-support (~> 3.11.0)
69
+ rspec-expectations (3.11.1)
70
+ diff-lcs (>= 1.2.0, < 2.0)
71
+ rspec-support (~> 3.11.0)
72
+ rspec-mocks (3.11.1)
73
+ diff-lcs (>= 1.2.0, < 2.0)
74
+ rspec-support (~> 3.11.0)
75
+ rspec-support (3.11.1)
76
+ rubocop (1.36.0)
77
+ json (~> 2.3)
78
+ parallel (~> 1.10)
79
+ parser (>= 3.1.2.1)
80
+ rainbow (>= 2.2.2, < 4.0)
81
+ regexp_parser (>= 1.8, < 3.0)
82
+ rexml (>= 3.2.5, < 4.0)
83
+ rubocop-ast (>= 1.20.1, < 2.0)
84
+ ruby-progressbar (~> 1.7)
85
+ unicode-display_width (>= 1.4.0, < 3.0)
86
+ rubocop-ast (1.21.0)
87
+ parser (>= 3.1.1.0)
88
+ ruby-progressbar (1.11.0)
89
+ ruby2_keywords (0.0.5)
90
+ shellany (0.0.1)
91
+ thor (1.2.1)
92
+ unicode-display_width (2.3.0)
93
+ webmock (3.18.1)
94
+ addressable (>= 2.8.0)
95
+ crack (>= 0.3.2)
96
+ hashdiff (>= 0.4.0, < 2.0.0)
97
+
98
+ PLATFORMS
99
+ x86_64-darwin-21
100
+ x86_64-linux
101
+
102
+ DEPENDENCIES
103
+ anaf-web_services!
104
+ byebug
105
+ guard-rspec
106
+ rake (~> 13.0)
107
+ rspec (~> 3.0)
108
+ rubocop (~> 1.21)
109
+ webmock (~> 3.18, >= 3.18.1)
110
+
111
+ BUNDLED WITH
112
+ 2.2.32
data/Guardfile ADDED
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ # A sample Guardfile
4
+ # More info at https://github.com/guard/guard#readme
5
+
6
+ ## Uncomment and set this to only include directories you want to watch
7
+ # directories %w(app lib config test spec features) \
8
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
9
+
10
+ ## Note: if you are using the `directories` clause above and you are not
11
+ ## watching the project directory ('.'), then you will want to move
12
+ ## the Guardfile to a watched dir and symlink it back, e.g.
13
+ #
14
+ # $ mkdir config
15
+ # $ mv Guardfile config/
16
+ # $ ln -s config/Guardfile .
17
+ #
18
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
19
+
20
+ # NOTE: The cmd option is now required due to the increasing number of ways
21
+ # rspec may be run, below are examples of the most common uses.
22
+ # * bundler: 'bundle exec rspec'
23
+ # * bundler binstubs: 'bin/rspec'
24
+ # * spring: 'bin/rspec' (This will use spring if running and you have
25
+ # installed the spring binstubs per the docs)
26
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
27
+ # * 'just' rspec: 'rspec'
28
+
29
+ guard :rspec, cmd: 'bundle exec rspec' do
30
+ require 'guard/rspec/dsl'
31
+ dsl = Guard::RSpec::Dsl.new(self)
32
+
33
+ # Feel free to open issues for suggestions and improvements
34
+
35
+ # RSpec files
36
+ rspec = dsl.rspec
37
+ watch(rspec.spec_helper) { rspec.spec_dir }
38
+ watch(rspec.spec_support) { rspec.spec_dir }
39
+ watch(rspec.spec_files)
40
+
41
+ # Ruby files
42
+ ruby = dsl.ruby
43
+ dsl.watch_spec_files_for(ruby.lib_files)
44
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 TODO: Write your name
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,80 @@
1
+ # ANAF WebServices API [UNOFFICIAL]
2
+
3
+ ![Build](https://github.com/siklodi-mariusz/anaf-web_services/actions/workflows/main.yml/badge.svg)
4
+
5
+ Unofficial Ruby client library for some of the Web API Services provided by Romanian ANAF.
6
+
7
+ ANAF is an acronym for *"Agenția Națională de Administrare Fiscală"* which translates to *National Agency of Fiscal Administration*.
8
+
9
+ You get the idea, ANAF is the Romanian governmental institution that makes sure everybody is paying their taxes.
10
+
11
+ ## Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'anaf-web_services'
17
+ ```
18
+
19
+ Install the gem and add to the application's Gemfile by executing:
20
+
21
+ ```bash
22
+ bundle add anaf-web_services
23
+ ```
24
+
25
+ If bundler is not being used to manage dependencies, install the gem by executing:
26
+
27
+ ```bash
28
+ gem install anaf-web_services
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ Some terminology clarifications.
34
+
35
+ ANAF identifies companies by a number called **CUI**, again an acronym for *"Cod Unic de Inregistrare/Identificare"* = "Unique identification code"
36
+
37
+ The APIs operate based on this **CUI** number.
38
+
39
+ ### VAT Registry API
40
+
41
+ This API returns some information about the companies but is mainly focused on the VAT status of the company, if it's VAT liable or not.
42
+
43
+ For more details about the underlying API see [here](https://static.anaf.ro/static/10/Anaf/Informatii_R/doc_WS_V6.txt) the official documentation but it's only in Romanian.
44
+
45
+ #### Get a company by CUI
46
+
47
+ ```ruby
48
+ ANAF.get_company(123456)
49
+ =>
50
+ {"cui"=>123456, "data"=>"2022-09-26", "denumire"=>"Example 123456", ... }
51
+ ```
52
+
53
+ #### Get multiple companies
54
+
55
+ ```ruby
56
+ ANAF.get_companies([123456, 654321])
57
+ =>
58
+ [
59
+ {"cui"=>123456, "data"=>"2022-09-26", "denumire"=>"Example 123456", ... },
60
+ {"cui"=>654321, "data"=>"2022-09-26", "denumire"=>"Example 654321", ... }
61
+ ]
62
+ ```
63
+
64
+ ## Development
65
+
66
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
67
+
68
+ 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).
69
+
70
+ ## Contributing
71
+
72
+ Bug reports and pull requests are welcome on GitHub at https://github.com/siklodi-mariusz/anaf-web_services. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/siklodi-mariusz/anaf-web_services/blob/main/CODE_OF_CONDUCT.md).
73
+
74
+ ## License
75
+
76
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
77
+
78
+ ## Code of Conduct
79
+
80
+ Everyone interacting in the ANAF::WebServices project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/siklodi-mariusz/anaf-web_services/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/anaf/web_services/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'anaf-web_services'
7
+ spec.version = ANAF::WebServices::VERSION
8
+ spec.authors = ['Mariusz Siklodi']
9
+ spec.summary = 'Ruby Client library for ANAF API'
10
+ spec.description = ''
11
+ spec.homepage = 'https://github.com/siklodi-mariusz/anaf-web_services'
12
+ spec.license = 'MIT'
13
+ spec.required_ruby_version = '>= 2.7.0'
14
+
15
+ spec.metadata['homepage_uri'] = spec.homepage
16
+ spec.metadata['source_code_uri'] = 'https://github.com/siklodi-mariusz/anaf-web_services'
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(__dir__) do
21
+ `git ls-files -z`.split("\x0").reject do |f|
22
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
23
+ end
24
+ end
25
+ spec.bindir = 'exe'
26
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ['lib']
28
+
29
+ # Uncomment to register a new dependency of your gem
30
+ spec.add_dependency 'faraday', '>= 1.0.0', '< 3.0'
31
+
32
+ # For more information and examples about making a new gem, check out our
33
+ # guide at: https://bundler.io/guides/creating_gem.html
34
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday'
4
+
5
+ module ANAF
6
+ module WebServices
7
+ class VatRegistry # :nodoc:
8
+ BASE_URL = 'https://webservicesp.anaf.ro'
9
+ PATH = '/PlatitorTvaRest/api/v6/ws/tva'
10
+
11
+ attr_reader :ids
12
+
13
+ def initialize(ids)
14
+ @ids = ids
15
+ end
16
+
17
+ def call
18
+ return [] if request_body.empty?
19
+
20
+ response = conn.post(PATH, request_body)
21
+ body = JSON.parse(response.body)
22
+
23
+ return body['found'] if response.success? && body['cod'] == 200
24
+
25
+ raise InvalidRequest, body['message']
26
+ rescue JSON::ParserError
27
+ raise InvalidRequest, response.body
28
+ end
29
+
30
+ def request_body
31
+ @request_body ||= ids.map { |id| { cui: id, data: date } }
32
+ end
33
+
34
+ private
35
+
36
+ def conn
37
+ @conn ||= Faraday.new(BASE_URL, request: { timeout: 5 }) do |f|
38
+ f.request :json
39
+ end
40
+ end
41
+
42
+ def date
43
+ @date ||= Date.today.to_s
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ANAF
4
+ module WebServices
5
+ VERSION = '0.1.0'
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'web_services/vat_registry'
4
+
5
+ module ANAF
6
+ module WebServices
7
+ class InvalidRequest < StandardError; end
8
+ end
9
+ end
data/lib/anaf.rb ADDED
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'anaf/web_services/version'
4
+ require_relative 'anaf/web_services'
5
+
6
+ module ANAF # :nodoc:
7
+ class << self
8
+ def get_company(cui)
9
+ WebServices::VatRegistry.new([cui]).call.first
10
+ rescue WebServices::InvalidRequest
11
+ nil
12
+ end
13
+
14
+ def get_companies(cuis)
15
+ WebServices::VatRegistry.new(cuis).call.first
16
+ rescue WebServices::InvalidRequest
17
+ []
18
+ end
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: anaf-web_services
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mariusz Siklodi
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
33
+ description: ''
34
+ email:
35
+ executables: []
36
+ extensions: []
37
+ extra_rdoc_files: []
38
+ files:
39
+ - ".rspec"
40
+ - ".rubocop.yml"
41
+ - CODE_OF_CONDUCT.md
42
+ - Gemfile
43
+ - Gemfile.lock
44
+ - Guardfile
45
+ - LICENSE.txt
46
+ - README.md
47
+ - Rakefile
48
+ - anaf-web_services.gemspec
49
+ - lib/anaf.rb
50
+ - lib/anaf/web_services.rb
51
+ - lib/anaf/web_services/vat_registry.rb
52
+ - lib/anaf/web_services/version.rb
53
+ homepage: https://github.com/siklodi-mariusz/anaf-web_services
54
+ licenses:
55
+ - MIT
56
+ metadata:
57
+ homepage_uri: https://github.com/siklodi-mariusz/anaf-web_services
58
+ source_code_uri: https://github.com/siklodi-mariusz/anaf-web_services
59
+ post_install_message:
60
+ rdoc_options: []
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 2.7.0
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ requirements: []
74
+ rubygems_version: 3.2.32
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: Ruby Client library for ANAF API
78
+ test_files: []