oci8_simple 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +12 -8
  2. data/VERSION +1 -1
  3. data/oci8_simple.gemspec +2 -2
  4. metadata +4 -4
data/README.rdoc CHANGED
@@ -1,15 +1,18 @@
1
1
  = oci8_simple
2
- The script uses a simple Ruby client wrapper around the ruby-oci8 gem. The client is intended to be used by simple
2
+ This gem is a thin wrapper around the ruby-oci8 gem. The client is intended to be used by simple
3
3
  scripts to aid automation. The code is intentionally light-weight and featureless, with very little startup time.
4
4
  It is not meant to be a Ruby ORM for Oracle - if you want that, look at the OracleEnhancedAdapter.
5
5
 
6
- The gem includes a few command-line scripts that are useful for scripting purposes:
6
+ This gem installs a few command-line scripts:
7
7
  * <code>oci8_simple</code>
8
8
  * a command to run arbitrary SQL
9
9
  * <code>describe </code>
10
10
  * a command to describe a table
11
11
 
12
- == Prerequisites:
12
+ You can also use oci8_simple in your Ruby scripts by creating an instance of <code>Oci8Simple::Client</code>
13
+ (see more below).
14
+
15
+ == Prerequisites
13
16
  * Oracle Instant Client (http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html)
14
17
  * ruby-oci8
15
18
 
@@ -33,9 +36,9 @@ an existing file into this directory if you already have one.
33
36
  == Logging
34
37
  All logging is done to <code>~/.oci8_simple/oci8_simple.log</code>.
35
38
 
36
- == Shell Examples
37
- This gem installs a bin script called oci8_simple. The script allows you to run single statements against an
38
- arbitrary Oracle schema via the command line, utilizing the power of your favorite shell.
39
+ == Command-Line Examples
40
+ This gem installs a bin script called <code>oci8_simple</code>. The script allows you to
41
+ run single statements against an arbitrary Oracle schema via the command line.
39
42
 
40
43
  Run a query against development schema
41
44
  oci8_simple "select id, name from flavors"
@@ -47,8 +50,9 @@ arbitrary Oracle schema via the command line, utilizing the power of your favori
47
50
  oci8_simple --help
48
51
 
49
52
 
50
- The gem installs a bin script called describe. This script shows a simple description of a table, including
51
- the column names (sorted), the type and size for each column, and the nullable status of the column.
53
+ <code>oci8_simple</code> also comes with a bin script called <code>describe</code>. This script
54
+ shows a simple description of a table, including the column names (sorted), the type and size for
55
+ each column, and the nullable status of the column.
52
56
 
53
57
  Show column information for a table named "holidays"
54
58
  describe holidays
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/oci8_simple.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{oci8_simple}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Billy Reisinger"]
12
- s.date = %q{2011-06-10}
12
+ s.date = %q{2011-06-11}
13
13
  s.description = %q{Run single statements against an arbitrary Oracle schema. This client is intended to be used by simple
14
14
  command-line scripts to aid automation. This is *not* meant to replace an ORM such as ActiveRecord + OracleEnhancedAdapter.
15
15
  The only prerequisite to running this code is that you have installed the ruby-oci8 gem on your machine.}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oci8_simple
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Billy Reisinger
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-10 00:00:00 -05:00
18
+ date: 2011-06-11 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency