cnpq_ws 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5de2c1569220a3900cb489a3ed63d195966144d3
4
- data.tar.gz: 76f5209043a13d624d0bcd5c4592ea951b969794
3
+ metadata.gz: d578e137b83659f9b4c5ccffe6d024844da8a22b
4
+ data.tar.gz: 0931fdc6db7af2fc8b493334fc31c8be27d98057
5
5
  SHA512:
6
- metadata.gz: 933fc79c4ca09c2ae0966ff697cd1df34e7b307332901449f409989c4d463614687169e57187aa8b6fb3b16aeedec40229470ea62eb58b1bda03964ac1a37b8b
7
- data.tar.gz: da10ab8c795698045a982ef66298fcb955822247bd564c1065f3ff0c75b563e823918b0a77172811d5d47c6e55dc8d3fd12e229a409143e9940a3715ffd28027
6
+ metadata.gz: 264ac40cd52b55cb03f63c23ccd2dc1b8279758c2a3435a85a8569b3e85d844e2b19132aaedaac4a47f508c3a76d374f20a9371fb451f23e831fe1433a115e2e
7
+ data.tar.gz: 2530c5be80aceaefc09cc1e8b2c27b30b214388303c810fc26f90034b32b9fe679720ccdd052e216eb7de2f25c0313af2daa36cfbd35592a1a146cc04546d2c5
data/.gitignore ADDED
@@ -0,0 +1,14 @@
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 ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in cnpq_ws.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
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 ADDED
@@ -0,0 +1,31 @@
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 ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/cnpq_ws.gemspec ADDED
@@ -0,0 +1,26 @@
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")
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
@@ -0,0 +1,3 @@
1
+ module CnpqWs
2
+ VERSION = "0.0.4"
3
+ end
data/lib/cnpq_ws.rb ADDED
@@ -0,0 +1,23 @@
1
+ require "cnpq_ws/version"
2
+ require "cnpq_ws/railtie" if defined?(Rails)
3
+ require "cnpq_ws/curriculo_lattes"
4
+
5
+ module CnpqWs
6
+ def self.setup
7
+ yield self
8
+ end
9
+
10
+ def tem_curriculo_lattes
11
+ include CurriculoLattes
12
+ end
13
+
14
+ mattr_accessor :cnpq_login
15
+ @@cnpq_login = nil
16
+
17
+ mattr_accessor :curriculo_end_point
18
+ @@curriculo_end_point = "http://servicosweb.cnpq.br/srvcurriculo/WSCurriculo"
19
+
20
+ mattr_accessor :curriculo_wsdl
21
+ @@curriculo_wsdl = "https://servicosweb.cnpq.br/srvcurriculo/WSCurriculo?wsdl"
22
+
23
+ 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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renato Carvalho de Souza
@@ -84,7 +84,15 @@ email:
84
84
  executables: []
85
85
  extensions: []
86
86
  extra_rdoc_files: []
87
- files: []
87
+ files:
88
+ - ".gitignore"
89
+ - Gemfile
90
+ - LICENSE.txt
91
+ - README.md
92
+ - Rakefile
93
+ - cnpq_ws.gemspec
94
+ - lib/cnpq_ws.rb
95
+ - lib/cnpq_ws/version.rb
88
96
  homepage: ''
89
97
  licenses:
90
98
  - MIT