cnes 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: ce5afbbda19f5b37f8ea12aa9033d4c37c1e014501cc0b1b9a31e776157a81ba
4
+ data.tar.gz: e0e4954ea9c4f9b7c9a30422b3a7118a1deb4c9dc0a5398c9922057ef331c202
5
+ SHA512:
6
+ metadata.gz: aff7ae88b7d71a8714aef8f3da5ab2ed3bdd1a9154999d9a1423edf94996dd40c254ae6e3febbdcd36c42c513307943db00beaa8208dc5a36d23a7cb3295921f
7
+ data.tar.gz: aebf9824cb192b25f7d415df80aac6856c8cfac82cf3c293b491998929dfbbd21e24ab1d2fd7acfcd1ba042f2a0e739fdd1d4372e812c3a4529aefb0de287d92
data/.project.vim ADDED
@@ -0,0 +1,24 @@
1
+ autocmd FileType ruby nnoremap <buffer> <leader>T <esc>:call RunTestFile()<cr>
2
+ autocmd FileType ruby nnoremap <buffer> <leader>t <esc>:call RunTestFileFilteredByLine()<cr>
3
+ autocmd FileType ruby nnoremap <buffer> <leader>at <esc>:call RunAllTests()<cr>
4
+ autocmd FileType ruby nnoremap <buffer> <leader>cs <esc>:call LintFile()<cr>
5
+
6
+ function! RunTestFileFilteredByLine()
7
+ let command = "run_test " . expand('%') . " --line=" . line(".")
8
+ call ClearEchoAndExecute(command)
9
+ endfunction
10
+
11
+ function! RunTestFile()
12
+ let command = "run_test " . expand('%')
13
+ call ClearEchoAndExecute(command)
14
+ endfunction
15
+
16
+ function! RunAllTests()
17
+ let command = "run_test " . expand('%') . " --all"
18
+ call ClearEchoAndExecute(command)
19
+ endfunction
20
+
21
+ function! LintFile()
22
+ let rubocop = "bundle exec rubocop -A " . expand('%')
23
+ call ClearEchoAndExecute(rubocop)
24
+ endfunction
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,85 @@
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rspec
4
+ - rubocop-rake
5
+
6
+ Metrics/BlockLength:
7
+ Exclude:
8
+ - 'spec/**/*'
9
+
10
+ Layout/LineLength:
11
+ Max: 100
12
+ Exclude:
13
+ - cnes.gemspec
14
+
15
+ Style/AccessorGrouping:
16
+ Enabled: false
17
+
18
+ Style/ClassAndModuleChildren:
19
+ Enabled: false
20
+
21
+ Style/Documentation:
22
+ Enabled: false
23
+
24
+ Style/GuardClause:
25
+ Enabled: false
26
+
27
+ Style/IfUnlessModifier:
28
+ Enabled: false
29
+
30
+ Layout/MultilineMethodCallIndentation:
31
+ EnforcedStyle: indented
32
+
33
+ Layout/MultilineOperationIndentation:
34
+ Enabled: true
35
+ EnforcedStyle: indented
36
+
37
+ Layout/FirstArrayElementIndentation:
38
+ EnforcedStyle: consistent
39
+
40
+ Lint/MissingSuper:
41
+ Enabled: false
42
+
43
+ Naming/RescuedExceptionsVariableName:
44
+ PreferredName: 'exception'
45
+
46
+ Naming/PredicateName:
47
+ Enabled: false
48
+
49
+ Style/FormatStringToken:
50
+ EnforcedStyle: template
51
+
52
+ RSpec:
53
+ Exclude:
54
+ - 'spec/factories/**/*'
55
+
56
+ RSpec/ExampleLength:
57
+ Enabled: false
58
+
59
+ RSpec/ExpectChange:
60
+ Enabled: false
61
+
62
+ RSpec/MultipleExpectations:
63
+ Enabled: false
64
+
65
+ RSpec/NestedGroups:
66
+ Max: 4
67
+
68
+ # while that is a good rule, AR objects can't be properly instance_double'd
69
+ RSpec/VerifiedDoubles:
70
+ Enabled: false
71
+
72
+ AllCops:
73
+ NewCops: enable
74
+ Exclude:
75
+ - 'tmp/**/*'
76
+ - 'node_modules/**/*'
77
+ - 'script/**/*'
78
+ - 'log/**/*'
79
+ - 'docker/**/*'
80
+ - 'doc/**/*'
81
+ - 'bin/**/*'
82
+ - 'Rakefile'
83
+ - 'config.ru'
84
+ - 'config/**/*'
85
+ - 'vendor/**/*'
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.0.4
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-07-24
4
+
5
+ - Initial release
@@ -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 marcelo.jacobus@gmail.com. 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,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in cnes.gemspec
6
+ gemspec
7
+
8
+ gem 'awesome_print'
9
+ gem 'koine-test_runner'
10
+ gem 'rake', '~> 13.0'
11
+ gem 'rspec', '~> 3.0'
12
+ gem 'rubocop', '~> 1.21'
13
+ gem 'rubocop-performance'
14
+ gem 'rubocop-rake'
15
+ gem 'rubocop-rspec'
16
+ gem 'simplecov', require: false
17
+ gem 'simplecov-lcov', require: false
18
+ gem 'vcr'
19
+ gem 'webmock'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Marcelo Jacobus
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,57 @@
1
+ # Cnes
2
+
3
+ [![Ruby](https://github.com/mjacobus/cnes/actions/workflows/main.yml/badge.svg)](https://github.com/mjacobus/cnes/actions/workflows/main.yml)
4
+ [![Maintainability](https://api.codeclimate.com/v1/badges/34d8d7c160ea1a9946ce/maintainability)](https://codeclimate.com/github/mjacobus/cnes/maintainability)
5
+ [![Coverage Status](https://coveralls.io/repos/github/mjacobus/cnes/badge.svg?branch=main)](https://coveralls.io/github/mjacobus/cnes?branch=main)
6
+
7
+ ## Installation
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add cnes
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install cnes
16
+
17
+ ## Usage
18
+
19
+
20
+ ```ruby
21
+ require "cnes"
22
+
23
+ profissionais = Cnes::Servicos::ProfissionaisFactory.new.create
24
+
25
+ resultados = profissionais.listar(
26
+ estado: 'RIO GRANDE DO SUL',
27
+ cidade: 'PORTO ALEGRE',
28
+ estabelecimento: 'SANTA CASA'
29
+ )
30
+ ```
31
+
32
+ ## Development
33
+
34
+ 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.
35
+
36
+ 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).
37
+
38
+ ## Links úteis
39
+
40
+ - https://dados.gov.br/dataset/cadastro-nacional-de-estabelecimentos-de-saude-cnes1
41
+ - API
42
+ - [Tipos de Unidades](https://apidadosabertos.saude.gov.br/cnes/tipounidades)
43
+ - [Tipos de Unidade](https://apidadosabertos.saude.gov.br/cnes/tipounidades/80)
44
+ - [Estabelecimentos](https://apidadosabertos.saude.gov.br/cnes/estabelecimentos?codigo_tipo_unidade=80&estabelecimento_possui_centro_cirurgico=0&estabelecimento_possui_centro_obstetrico=0&limit=20&offset=2)
45
+ - [Estabelecimento pelo código CNES](https://apidadosabertos.saude.gov.br/cnes/estabelecimentos/124)
46
+
47
+ ## Contributing
48
+
49
+ Bug reports and pull requests are welcome on GitHub at https://github.com/mjacobus/cnes. 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/mjacobus/cnes/blob/main/CODE_OF_CONDUCT.md).
50
+
51
+ ## License
52
+
53
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
54
+
55
+ ## Code of Conduct
56
+
57
+ Everyone interacting in the Cnes project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/mjacobus/cnes/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]
data/cnes.gemspec ADDED
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/cnes/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'cnes'
7
+ spec.version = Cnes::VERSION
8
+ spec.authors = ['Marcelo Jacobus']
9
+ spec.email = ['marcelo.jacobus@gmail.com']
10
+
11
+ spec.summary = 'Cliente HTTP do Cadastro Nacional de Estabelecimentos de Saúde'
12
+ spec.description = 'Cliente HTTP do Cadastro Nacional de Estabelecimentos de Saúde'
13
+ spec.homepage = 'https://github.com/mjacobus/cnes'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 3.0'
16
+
17
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
18
+
19
+ spec.metadata['homepage_uri'] = spec.homepage
20
+ spec.metadata['source_code_uri'] = spec.homepage
21
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/CHANGELOG.md"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
+ spec.files = Dir.chdir(__dir__) do
26
+ `git ls-files -z`.split("\x0").reject do |f|
27
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
+ end
29
+ end
30
+ spec.bindir = 'exe'
31
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ['lib']
33
+
34
+ # Uncomment to register a new dependency of your gem
35
+ spec.add_dependency 'koine-rest_client'
36
+
37
+ # For more information and examples about making a new gem, check out our
38
+ # guide at: https://bundler.io/guides/creating_gem.html
39
+ spec.metadata['rubygems_mfa_required'] = 'true'
40
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Cnes
4
+ class HttpClient
5
+ def initialize(cnes:, dados_abertos:)
6
+ @cnes = cnes
7
+ @dados_abertos = dados_abertos
8
+ end
9
+
10
+ def estabelecimentos(params = {})
11
+ params = params(
12
+ params,
13
+ municipio: nil,
14
+ nome: nil,
15
+ limit: 20,
16
+ offset: 0
17
+ )
18
+
19
+ @cnes.get('/services/estabelecimentos', params)
20
+ end
21
+
22
+ def estabelecimento(cnes_id)
23
+ @dados_abertos.get("/cnes/estabelecimentos/#{cnes_id}")
24
+ end
25
+
26
+ def tipos_de_unidades
27
+ @dados_abertos.get('/cnes/tipounidades')
28
+ end
29
+
30
+ def tipo_de_unidade(id)
31
+ @dados_abertos.get("/cnes/tipounidades/#{id}")
32
+ end
33
+
34
+ def profissionais(id)
35
+ @cnes.get("/services/estabelecimentos-profissionais/#{id}")
36
+ end
37
+
38
+ def estados
39
+ @cnes.get('/services/estados')
40
+ end
41
+
42
+ def cidades(estado_id)
43
+ @cnes.get('/services/municipios', estado: estado_id)
44
+ end
45
+
46
+ private
47
+
48
+ def params(params, default_params = {})
49
+ default_params.merge(params.compact).compact
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Cnes
4
+ class HttpClientFactory
5
+ def create
6
+ request = Koine::RestClient::Request.new(
7
+ base_url: 'http://cnes.datasus.gov.br',
8
+ headers: { 'Referer' => 'http://cnes.datasus.gov.br' }
9
+ )
10
+
11
+ cnes = Koine::RestClient::Client.new(base_request: request)
12
+
13
+ request = Koine::RestClient::Request.new(
14
+ base_url: 'https://apidadosabertos.saude.gov.br/'
15
+ )
16
+
17
+ dados_abertos = Koine::RestClient::Client.new(base_request: request)
18
+
19
+ HttpClient.new(cnes: cnes, dados_abertos: dados_abertos)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Cnes
4
+ module Servicos
5
+ class Profissionais
6
+ def initialize(client:)
7
+ @client = client
8
+ end
9
+
10
+ def listar(estado:, cidade:, estabelecimento:)
11
+ id = estado_id(estado)
12
+ id = cidade_id(cidade, estado_id: id)
13
+ id = estabelecimento_id(estabelecimento, cidade_id: id)
14
+ @client.profissionais(id)
15
+ end
16
+
17
+ private
18
+
19
+ def estado_id(estado)
20
+ @client.estados.each do |key, value|
21
+ if estado.casecmp(value).zero?
22
+ return key
23
+ end
24
+ end
25
+
26
+ raise "Estado não encontado: #{estado}"
27
+ end
28
+
29
+ def cidade_id(cidade, estado_id:)
30
+ @client.cidades(estado_id).each do |key, value|
31
+ if cidade.casecmp(value).zero?
32
+ return key
33
+ end
34
+ end
35
+
36
+ raise "Cidade não encontada: #{cidade}"
37
+ end
38
+
39
+ def estabelecimento_id(estabelecimento, cidade_id:)
40
+ results = @client.estabelecimentos(municipio: cidade_id, nome: estabelecimento)
41
+ first = results.first || {}
42
+ first.fetch('id') { raise "Estabelecimento não encontrado: #{estabelecimento}" }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Cnes
4
+ module Servicos
5
+ class ProfissionaisFactory
6
+ def create
7
+ client = HttpClientFactory.new.create
8
+
9
+ Profissionais.new(client: client)
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Cnes
4
+ VERSION = '0.1.0'
5
+ end
data/lib/cnes.rb ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'cnes/version'
4
+ require 'koine/rest_client'
5
+ require_relative 'cnes/http_client'
6
+ require_relative 'cnes/http_client_factory'
7
+ require_relative 'cnes/servicos/profissionais'
8
+ require_relative 'cnes/servicos/profissionais_factory'
9
+
10
+ module Cnes
11
+ class Error < StandardError; end
12
+ # Your code goes here...
13
+ end
data/sig/cnes.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Cnes
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cnes
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Marcelo Jacobus
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-07-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: koine-rest_client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: Cliente HTTP do Cadastro Nacional de Estabelecimentos de Saúde
28
+ email:
29
+ - marcelo.jacobus@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".project.vim"
35
+ - ".rspec"
36
+ - ".rubocop.yml"
37
+ - ".tool-versions"
38
+ - CHANGELOG.md
39
+ - CODE_OF_CONDUCT.md
40
+ - Gemfile
41
+ - LICENSE.txt
42
+ - README.md
43
+ - Rakefile
44
+ - cnes.gemspec
45
+ - lib/cnes.rb
46
+ - lib/cnes/http_client.rb
47
+ - lib/cnes/http_client_factory.rb
48
+ - lib/cnes/servicos/profissionais.rb
49
+ - lib/cnes/servicos/profissionais_factory.rb
50
+ - lib/cnes/version.rb
51
+ - sig/cnes.rbs
52
+ homepage: https://github.com/mjacobus/cnes
53
+ licenses:
54
+ - MIT
55
+ metadata:
56
+ allowed_push_host: https://rubygems.org
57
+ homepage_uri: https://github.com/mjacobus/cnes
58
+ source_code_uri: https://github.com/mjacobus/cnes
59
+ changelog_uri: https://github.com/mjacobus/cnes/CHANGELOG.md
60
+ rubygems_mfa_required: 'true'
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ requirements: []
76
+ rubygems_version: 3.2.33
77
+ signing_key:
78
+ specification_version: 4
79
+ summary: Cliente HTTP do Cadastro Nacional de Estabelecimentos de Saúde
80
+ test_files: []