infrataster-plugin-oracledb 0.1.0 → 0.1.1

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: 4d22924ee53a9f29a111adbf9b341eb0ab1d6545
4
- data.tar.gz: cbdb7fb74a21e15b818827b6450b0505c9842d45
3
+ metadata.gz: 2dd9a6d44e4d723d7bceb3f8daf36ea5e526c7e0
4
+ data.tar.gz: a83b0ea7aff39c065e9edebffd17a71871cf9ca2
5
5
  SHA512:
6
- metadata.gz: 9742b4c6512daf208d395e3e9f3364b82f80aff0d95a99329d9efa5c2f05c62b0f3c62b682ff1154bf266cb4f9166936e9822ff9291cc909b03ec25517fa7e05
7
- data.tar.gz: d1181b85b99a023d62b13ba019deafbd2eacd2033e4c686595ab75d616275a1066907a41ece2a7e37f64f478f41ddb3ce7e2af9b09569e2dbb1aa475aa7b31f3
6
+ metadata.gz: 10a0a160114a79047202a203b6bbc7db00eb3ca2ab35c6cc7437ec6bf8aeff71304719bb8a1e5fb2ce7585744bb9c307a0f09ca68838f308d8bd896b252ad014
7
+ data.tar.gz: cc3137bef8b4c568f81d4ea0adbb73762319940da549269a9f2d555b3d98b021b678ccd856b5e7cda49ecfa75fb0cddf908dd36463746702944016968d203769
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Michitoshi Yoshida
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 CHANGED
@@ -1 +1,43 @@
1
- # infrataster-plugin-oracledb
1
+ # infrataster-plugin-oracledb
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/infrataster-plugin-oracledb.svg)](https://badge.fury.io/rb/infrataster-plugin-oracledb)
4
+
5
+ Oracle Database plugin for [Infrataster](https://github.com/ryotarai/infrataster)
6
+
7
+ ## Installation
8
+
9
+ Requires:
10
+ - [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index.html)
11
+ - [ruby-oci8](https://github.com/kubo/ruby-oci8)
12
+
13
+ Add this line to your Gemfile:
14
+
15
+ gem 'infrataster-plugin-oracledb'
16
+
17
+ And then add the following line to your spec\_helper.rb:
18
+
19
+ require 'infrataster-plugin-oracledb'
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ describe server(:orcl) do
25
+ describe oracledb_query('select name,display_value from v$parameter') do
26
+ # check db_block_size
27
+ it "initialization parameter 'db_block_size' should equal 8192" do
28
+ row = results.find { |r| r['NAME'] == 'db_block_size' }
29
+ expect(row['DISPLAY_VALUE'].to_i).to eq 8192
30
+ end
31
+ end
32
+ end
33
+ ```
34
+
35
+ You can specify database connection and credential details by options passed to `Infrataster::Server.define`:
36
+
37
+ ```ruby
38
+ Infrataster::Server.define(
39
+ :orcl,
40
+ '192.168.56.101',
41
+ oracledb: {user: 'system', password: 'oracle', service_name: 'orcl'},
42
+ )
43
+ ```
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "infrataster-plugin-oracledb"
4
- spec.version = '0.1.0'
4
+ spec.version = '0.1.1'
5
5
  spec.authors = ["Michitoshi Yoshida"]
6
6
  spec.email = ["miyosh0008@gmail.com"]
7
7
  spec.summary = %q{Oracle Database plugin for Infrataster}
8
- spec.homepage = ""
8
+ spec.homepage = "https://github.com/miyosh0008/infrataster-plugin-oracledb"
9
9
  spec.license = "MIT"
10
10
 
11
11
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infrataster-plugin-oracledb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michitoshi Yoshida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-27 00:00:00.000000000 Z
11
+ date: 2016-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: infrataster
@@ -90,6 +90,7 @@ files:
90
90
  - .gitignore
91
91
  - .rspec
92
92
  - Gemfile
93
+ - LICENSE.txt
93
94
  - README.md
94
95
  - infrataster-plugin-oracledb.gemspec
95
96
  - lib/infrataster-plugin-oracledb.rb
@@ -98,7 +99,7 @@ files:
98
99
  - lib/infrataster/resources/oracledb_query_resource.rb
99
100
  - spec/oracledb_query_spec.rb
100
101
  - spec/spec_helper.rb
101
- homepage: ''
102
+ homepage: https://github.com/miyosh0008/infrataster-plugin-oracledb
102
103
  licenses:
103
104
  - MIT
104
105
  metadata: {}