ip21 0.0.1 → 0.0.2
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 +4 -4
- data/LICENSE +18 -4
- data/README.md +6 -4
- data/ip21.gemspec +1 -1
- data/lib/ip21.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8e20c9c86321d912191d3249a65104a8db3c384bf1faac80e2dfe4c2e86df86
|
4
|
+
data.tar.gz: 6288965af8857910fc57cdeb451e4b5d330c7ac4934a8975c7d6873e4ff36b72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e70486ed58b7789697b5fdab7e84749c9f5cd22696ad5a96635bb05e4d78ad122d42149b236ba19b1f1731647df4442527ae8592d59b93b7ac7654613fe3d24
|
7
|
+
data.tar.gz: 8b901ca7b515e2d41c7dfdc5e6ecc531622118b97c9b8e091e73c33b64bb15be94374b7fd4719168f51fb1b2da237cf6ca459e2d2b331a71f241ef3de37d0fc4
|
data/LICENSE
CHANGED
@@ -1,7 +1,21 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
|
3
|
+
Copyright (c) 2019 Rhuan Barreto
|
4
4
|
|
5
|
-
|
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:
|
6
11
|
|
7
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -20,11 +20,13 @@ 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
|
24
|
+
|
23
25
|
IP21.new(
|
24
26
|
auth: {
|
25
|
-
|
26
|
-
|
27
|
-
|
27
|
+
account: 'john.doe',
|
28
|
+
domain: 'contoso.com',
|
29
|
+
password: 'set_your_own_password'
|
28
30
|
},
|
29
31
|
sqlplus_address: '127.0.0.1',
|
30
32
|
ip21_address: '127.0.0.1',
|
@@ -40,7 +42,7 @@ IP21.new(
|
|
40
42
|
|
41
43
|
This gem uses Windows authentication to connect to SQLPlus, so don't forget to set your credentials correctly.
|
42
44
|
|
43
|
-
On domain you can use the
|
45
|
+
On domain you can use the NETBIOS name (CONTOSO) or the normal domain name (contoso.com)
|
44
46
|
|
45
47
|
# Changelog
|
46
48
|
See the [commit page](https://github.com/rhuanbarreto/ip21-ruby/commits) for a list of changes.
|
data/ip21.gemspec
CHANGED
@@ -3,7 +3,7 @@ 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.
|
6
|
+
s.version = '0.0.2'
|
7
7
|
s.date = Time.now.strftime('%Y-%m-%d')
|
8
8
|
s.author = 'Rhuan Barreto'
|
9
9
|
s.email = 'rhuan@rhuan.com.br'
|
data/lib/ip21.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ip21
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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-03
|
11
|
+
date: 2019-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-ntlm
|