oracle_raw 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +4 -3
  2. data/VERSION +1 -1
  3. metadata +2 -2
data/README.rdoc CHANGED
@@ -11,7 +11,7 @@ Tests are not comprehensive at the moment.
11
11
 
12
12
  == Installation:
13
13
 
14
- gem install ruby_oracle_interface
14
+ gem install oracle_raw
15
15
 
16
16
  == Usage:
17
17
 
@@ -31,8 +31,9 @@ Tests are not comprehensive at the moment.
31
31
  puts result[:data].class # => Time
32
32
 
33
33
  students_sql = 'select * from students where last_name = :last_name and first_name = :first_name'
34
- result = db.query(students_sql, [[:last_name, 'Kruskal-Wallis', String], [:first_name, 'Lucy', String]], {:item_format => :hash, :amount => :first_row, :metadata => :all})
35
- puts result[:columns] # => ['first_name', 'last_name', 'address', 'city']
34
+ result = db.query(students_sql, [[:last_name, 'Kruskal-Wallis', String], [:first_name, 'Lucy', String]],
35
+ {:item_format => :hash, :amount => :first_row, :metadata => :all})
36
+ puts result[:columns] # => ['first_name', 'last_name', 'age', 'address', 'city']
36
37
  puts result[:data]['FIRST_NAME'] # => 'Lucy'
37
38
 
38
39
  db.close
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: oracle_raw
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.5
5
+ version: 0.1.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - opiskelijarekisteri-devel
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- hash: -1612676651096789768
113
+ hash: 4539384040906102851
114
114
  segments:
115
115
  - 0
116
116
  version: "0"