ip21 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/ip21.gemspec +4 -4
  4. data/lib/ip21.rb +1 -0
  5. metadata +15 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fbb73a85eb53e17c61432e0d94904568d53d7cbfeee5c48abb9d2ed6a7e3cf23
4
- data.tar.gz: 9e0b6d1955fa28224aec3f04b6760d6f4153b70bff972eda1abd35e2fc787784
3
+ metadata.gz: a8d4ac24d383e2c349ece94689263d7a9b805cb523a287a3a08f627e9e77067d
4
+ data.tar.gz: a3d8fd3621a0367f53ea32966174248d51cd07c4abe35b623f093cd633d76c20
5
5
  SHA512:
6
- metadata.gz: 9dfc536359a8a0271d5dd62912552baadfa868d9971c9e4ddede4f020c48d326f72389bfb4e4229ee5ee0cfd6d3165eadefbce9da26ccb994e5389561f3bd0a8
7
- data.tar.gz: 0a4c7584a81241d5f70faba12a5416b1ec7df11f0967b03737006aea3744c767b59805166a2678235260f57552b6fa70ee7a72ea714d3377ecf5ab340ae606ea
6
+ metadata.gz: 6981aa92d3635aa716f19644660d5e1ea676e6cb21e389116a07a09d5f48d785b68a9b60b1b7b5d61d79f9b5d74bd6539f05cd1dac121c6ec456aa2fbcf498c9
7
+ data.tar.gz: 2ffcc26a10fa07aaca18a619244ccec717f6e3501e7fbcd8826847dd67edc74fdb90f90d1a724a26805d84e33289ffd40c76fc657aa39fa1ebf180a7e290c54c
data/README.md CHANGED
@@ -20,7 +20,7 @@ gem 'ip21'
20
20
  And use the class in your code to execute queries:
21
21
 
22
22
  ```ruby
23
- require 'ip21' # If you are using Ruby. Don't need rrequire if you use Rails
23
+ require 'ip21' # If you are using Ruby. Don't need require if you use Rails
24
24
 
25
25
  IP21.new(
26
26
  auth: {
@@ -3,16 +3,16 @@ Gem::Specification.new do |s|
3
3
  s.summary = 'Aspentech IP21 Adapter for Ruby'
4
4
  s.description = 'Aspentech IP21 Adapter for executing queries using SQLPlus' \
5
5
  'WebService or REST API'
6
- s.version = '0.0.4'
6
+ s.version = '0.0.5'
7
7
  s.date = Time.now.strftime('%Y-%m-%d')
8
8
  s.author = 'Rhuan Barreto'
9
9
  s.email = 'rhuan@rhuan.com.br'
10
10
  s.homepage = 'http://rubygems.org/gems/ip21'
11
11
  s.platform = Gem::Platform::RUBY
12
12
  s.license = 'MIT'
13
- s.add_dependency 'ruby-ntlm'
14
- s.add_dependency 'rubyntlm'
15
- s.add_dependency 'savon'
13
+ s.add_dependency 'ruby-ntlm', '~>0.0'
14
+ s.add_dependency 'rubyntlm', '~>0.6'
15
+ s.add_dependency 'savon', '~>2.12'
16
16
  s.files = Dir.glob('{docs,bin,lib,spec,templates,benchmarks}/**/*') +
17
17
  ['LICENSE', 'README.md', '.yardopts', __FILE__]
18
18
  s.require_path = 'lib'
@@ -80,6 +80,7 @@ class IP21
80
80
 
81
81
  def parse_rest(response)
82
82
  if response.code == '200'
83
+ require 'json'
83
84
  JSON.parse(response.body)
84
85
  else
85
86
  {
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ip21
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rhuan Barreto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-05 00:00:00.000000000 Z
11
+ date: 2019-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-ntlm
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '0.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '0.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubyntlm
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: savon
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '2.12'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '2.12'
55
55
  description: Aspentech IP21 Adapter for executing queries using SQLPlusWebService
56
56
  or REST API
57
57
  email: rhuan@rhuan.com.br
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.0.2
86
+ rubygems_version: 3.0.3
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: Aspentech IP21 Adapter for Ruby