cnpq_ws 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3022b1c9859531b603b89cb0214f881e906bc527
4
- data.tar.gz: e8928b0ba11d99ce0d6997877c466be398e1f634
3
+ metadata.gz: b4e5489e5240a0c5c9efb70cec92f125cde8f327
4
+ data.tar.gz: 1df9f3302662008d87622b2b82f4f954baa4d3a0
5
5
  SHA512:
6
- metadata.gz: 4baa57a5381b09a3969b6f71e698bdc84eb3fcc3e8691200d539c624b6b2c3db1c8a53b89274fc608941945660852833c3f1c2a40398200c1b6e12d1c5f94bdc
7
- data.tar.gz: 225f41759bd9e60f9c24175cc7c9fce06b964e41dbe1f36c89987d79de9abbf7407c403d843f2a224ca7e1f525b170d72660ef9ce6e211a1568a8042691cdf19
6
+ metadata.gz: a1c4aac3834e741e0277561aa2657d02ff9d85dd2af4685742429ece618a71a272ee82e8ae0832106cb6f9797b5c4c9b76b68a55e14fbd4e4387b317b5d098c6
7
+ data.tar.gz: 8e21665ef7e6c9f4692c95708402dca66a9ba10909e19e4bd9567396d4c02b90127345626dfcbcd48bc3b1f6919b6250902f31d684fdb103592e102c117efecb
@@ -30,6 +30,7 @@ module CnpqWs
30
30
  projects
31
31
  end
32
32
 
33
+ private
33
34
 
34
35
  def get_curriculo_compactado
35
36
  client = Savon.client(endpoint: CnpqWs.curriculo_end_point, wsdl: CnpqWs.curriculo_wsdl, ssl_verify_mode: :none)
@@ -1,3 +1,3 @@
1
1
  module CnpqWs
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -1,5 +1,10 @@
1
1
  CnpqWs.setup do |config|
2
+ # Login cadastrado no momento da requisição de acesso ao webservice CNPq
2
3
  config.cnpq_login = 'cnpq_login'
4
+
5
+ # Endereco ENDPOINT
3
6
  config.curriculo_end_point = 'curriculo_end_point'
7
+
8
+ # WSDL
4
9
  config.curriculo_wsdl = 'curriculo_wsdl'
5
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cnpq_ws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renato Carvalho de Souza
@@ -85,12 +85,6 @@ executables: []
85
85
  extensions: []
86
86
  extra_rdoc_files: []
87
87
  files:
88
- - ".gitignore"
89
- - Gemfile
90
- - LICENSE.txt
91
- - README.md
92
- - Rakefile
93
- - cnpq_ws.gemspec
94
88
  - lib/cnpq_ws.rb
95
89
  - lib/cnpq_ws/curriculo_lattes.rb
96
90
  - lib/cnpq_ws/financiador.rb
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in cnpq_ws.gemspec
4
- gemspec
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2015 Renato Carvalho de Souza
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,31 +0,0 @@
1
- # CnpqWs
2
-
3
- Gem de apoio a respostas do serviço web do CPNq.
4
-
5
- ## Installation
6
-
7
- Adicione no Gemfile:
8
-
9
- ```ruby
10
- gem 'cnpq_ws'
11
- ```
12
-
13
- E execute:
14
-
15
- $ bundle install
16
-
17
- Ou instale diretamente:
18
-
19
- $ gem install cnpq_ws
20
-
21
- ## Usage
22
-
23
- TODO: Write usage instructions here
24
-
25
- ## Contributing
26
-
27
- 1. Fork it ( https://github.com/[my-github-username]/cnpq_ws/fork )
28
- 2. Create your feature branch (`git checkout -b my-new-feature`)
29
- 3. Commit your changes (`git commit -am 'Add some feature'`)
30
- 4. Push to the branch (`git push origin my-new-feature`)
31
- 5. Create a new Pull Request
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
data/cnpq_ws.gemspec DELETED
@@ -1,26 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'cnpq_ws/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "cnpq_ws"
8
- spec.version = CnpqWs::VERSION
9
- spec.authors = ["Renato Carvalho de Souza"]
10
- spec.email = ["renato.souza@ifb.edu.br"]
11
- spec.summary = %q{Gem de suporte a respostas do serviço web do CNPq.}
12
- spec.description = %q{Write a longer description. Optional.}
13
- spec.homepage = ""
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files -z`.split("\x0") + Dir.glob("{lib}/**/*")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
-
21
- spec.add_development_dependency "bundler", "~> 1.7"
22
- spec.add_development_dependency "rake", "~> 10.0"
23
-
24
- spec.add_runtime_dependency 'rubyzip', '~> 1.1', '>= 1.1.7'
25
- spec.add_runtime_dependency 'savon', '~> 2.10', '>= 2.10.1'
26
- end