ruby-oci8 2.2.0-x86-mingw32 → 2.2.0.2-x86-mingw32
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.
- data/.yardopts +1 -0
- data/ChangeLog +30 -0
- data/NEWS +18 -1
- data/README.md +7 -6
- data/dist-files +2 -0
- data/docs/install-on-osx.md +132 -0
- data/docs/osx-install-dev-tools.png +0 -0
- data/lib/oci8/version.rb +1 -1
- data/lib/oci8lib_191.so +0 -0
- data/lib/oci8lib_200.so +0 -0
- data/lib/oci8lib_210.so +0 -0
- data/lib/oci8lib_220.so +0 -0
- data/ruby-oci8.gemspec +3 -3
- metadata +8 -5
data/.yardopts
CHANGED
data/ChangeLog
CHANGED
@@ -1,3 +1,33 @@
|
|
1
|
+
2015-10-12 Kubo Takehiro <kubo@jiubao.org>
|
2
|
+
* lib/oci8/version.rb: Update the version to 2.2.0.2 to
|
3
|
+
release binary gems for mingw32.
|
4
|
+
|
5
|
+
2015-10-11 Kubo Takehiro <kubo@jiubao.org>
|
6
|
+
* NEWS: Add changes between 2.2.0 and 2.2.0.1.
|
7
|
+
* docs/install-on-osx.md: Fix indent width.
|
8
|
+
* lib/oci8/version.rb: update to 2.2.0.1.
|
9
|
+
|
10
|
+
2015-10-11 Kubo Takehiro <kubo@jiubao.org>
|
11
|
+
* docs/osx-install-dev-tools.png: added.
|
12
|
+
* docs/install-on-osx.md: fix "Install C compiler."
|
13
|
+
* README.md: Use documents in rubydoc.info as homepage.
|
14
|
+
|
15
|
+
2015-10-10 Kubo Takehiro <kubo@jiubao.org>
|
16
|
+
* ruby-oci8.gemspec: Change the required_ruby_version from '>= 1.8.0'
|
17
|
+
to '>= 1.9.1'.
|
18
|
+
(github issue #96)
|
19
|
+
|
20
|
+
2015-10-06 Kubo Takehiro <kubo@jiubao.org>
|
21
|
+
* README.md: Add notice that ruby 1.8 is not supported.
|
22
|
+
* README.md, ext/oci8/oraconf.rb: Change links to ruby-oci8 documents.
|
23
|
+
They had referred docs generated from the latest gem. They were
|
24
|
+
updated only when a new version was released. Now they refers
|
25
|
+
to docs generated from the latest github repository. They are
|
26
|
+
updated for each commits.
|
27
|
+
|
28
|
+
2015-10-05 Kubo Takehiro <kubo@jiubao.org>
|
29
|
+
* docs/install-on-osx.md: Merge GH-97: Fix small typo in NEWS file.
|
30
|
+
|
1
31
|
2015-10-04 Kubo Takehiro <kubo@jiubao.org>
|
2
32
|
* NEWS: Add changes between 2.1.8 and 2.2.0.
|
3
33
|
|
data/NEWS
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# @markup markdown
|
2
2
|
|
3
|
+
2.2.0.1
|
4
|
+
=======
|
5
|
+
|
6
|
+
If ruby-oci8 2.2.0 is installed, you have no need to update it to
|
7
|
+
2.2.0.1. Source code itself was not chaned between 2.2.0 and 2.2.0.1.
|
8
|
+
|
9
|
+
### Change the required ruby version in the ruby-oci8 gem
|
10
|
+
|
11
|
+
It was '>= 1.8.0' in ruby-oci8 2.2.0 even though ruby 1.8 support was
|
12
|
+
dropped.
|
13
|
+
|
14
|
+
### Change the URLs displayed on installation failure
|
15
|
+
|
16
|
+
Ruby-oci8 2.2.0 documents had not been generated in rubydoc.info
|
17
|
+
though the URLs are displayed on installation failure. They were
|
18
|
+
changed to documents generated by the latest github repository.
|
19
|
+
|
3
20
|
2.2.0
|
4
21
|
=====
|
5
22
|
|
@@ -19,7 +36,7 @@ New Features
|
|
19
36
|
### Fix to install ruby-oci8 on OS X 10.11 El Capitan.
|
20
37
|
|
21
38
|
`DYLD_LIBRARY_PATH` is unset for security reasons on OS X 10.11.
|
22
|
-
The
|
39
|
+
The installation script was changed to work without `DYLD_LIBRARY_PATH`
|
23
40
|
and check the environment variable `OCI_DIR` also to tell instant
|
24
41
|
client directory.
|
25
42
|
|
data/README.md
CHANGED
@@ -7,6 +7,9 @@ Instant Client.
|
|
7
7
|
|
8
8
|
Use ruby-oci8 2.0.6 for Oracle 8 or use ruby-oci8 2.1.8 for Oracle 9i.
|
9
9
|
|
10
|
+
Note that ruby 1.8 support was dropped in ruby-oci8 2.2.0.
|
11
|
+
Use ruby-2.1.8 for ruby 1.8.
|
12
|
+
|
10
13
|
What's new
|
11
14
|
==========
|
12
15
|
|
@@ -19,12 +22,10 @@ Connect to scott/tiger, select `emp` and print as CSV format.
|
|
19
22
|
|
20
23
|
ruby -r oci8 -e "OCI8.new('scott', 'tiger').exec('select * from emp') do |r| puts r.join(','); end"
|
21
24
|
|
22
|
-
|
23
|
-
|
24
|
-
Documentation
|
25
|
-
=============
|
25
|
+
Homepage
|
26
|
+
========
|
26
27
|
|
27
|
-
* http://rubydoc.info/
|
28
|
+
* http://www.rubydoc.info/github/kubo/ruby-oci8
|
28
29
|
|
29
30
|
Installation
|
30
31
|
============
|
@@ -37,7 +38,7 @@ Installation
|
|
37
38
|
Report issues
|
38
39
|
=============
|
39
40
|
|
40
|
-
* {file:docs/report-installation-issue.md}
|
41
|
+
* {file:docs/report-installation-issue.md Report Installation Issues}
|
41
42
|
* [The issues page on github](https://github.com/kubo/ruby-oci8/issues)
|
42
43
|
|
43
44
|
License
|
data/dist-files
CHANGED
@@ -13,6 +13,8 @@ setup.rb
|
|
13
13
|
docs/install-binary-package.md
|
14
14
|
docs/install-full-client.md
|
15
15
|
docs/install-instant-client.md
|
16
|
+
docs/install-on-osx.md
|
17
|
+
docs/osx-install-dev-tools.png
|
16
18
|
docs/platform-specific-issues.md
|
17
19
|
docs/report-installation-issue.md
|
18
20
|
ext/oci8/.document
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# @title Install ruby-oci8 on OS X
|
2
|
+
|
3
|
+
This page explains the way to install ruby-oci8 os OS X.
|
4
|
+
|
5
|
+
Look at {file:docs/install-full-client.md}, {file:docs/install-instant-client.md}
|
6
|
+
or {file:docs/install-binary-package.md} for other platforms.
|
7
|
+
|
8
|
+
Install C compiler
|
9
|
+
==================
|
10
|
+
|
11
|
+
You need to install the command line developer tools or the Xcode.
|
12
|
+
(The latter includes the former.)
|
13
|
+
|
14
|
+
Run `"cc --version"` in a terminal to check whether they are installed.
|
15
|
+
|
16
|
+
If the cc version is printed, the tools are installed.
|
17
|
+
|
18
|
+
If the follwoing dialog is displayed, click its Install button to
|
19
|
+
install the tools.
|
20
|
+
You have no need to install the Xcode to compile ruby-oci8.
|
21
|
+
It requires command line tools, not an IDE such as the Xcode.
|
22
|
+
|
23
|
+

|
24
|
+
|
25
|
+
If `"Agreeing to the Xcode/iOS license requires admin privileges,
|
26
|
+
please re-run as root via sudo."` is printed, you need to run
|
27
|
+
`"sudo cc --version"`, enter your password, look at the license
|
28
|
+
and type `"agree"`.
|
29
|
+
|
30
|
+
Install Oracle Instant Client Packages
|
31
|
+
======================================
|
32
|
+
|
33
|
+
Download Oracle Instant Client Packages
|
34
|
+
--------------------------------
|
35
|
+
|
36
|
+
Download the following packages from [Oracle Technology Network][]
|
37
|
+
|
38
|
+
* Instant Client Package - Basic or Basic Lite
|
39
|
+
* Instant Client Package - SDK
|
40
|
+
* Instant Client Package - SQL*Plus (optionally)
|
41
|
+
|
42
|
+
Install Oracle Instant Client Packages via Homebrew
|
43
|
+
---------------------------------------------------
|
44
|
+
|
45
|
+
To install `Oracle Instant Client Basic Lite` via [Homebrew][]
|
46
|
+
|
47
|
+
* Download two instant client packages: `Basic Lite` and `SDK` and put them
|
48
|
+
in `/Library/Caches/Homebrew` (if the environment variable `HOMEBREW_CACHE`
|
49
|
+
is not set and `$HOME/Library/Caches/Homebrew` doesn't exist.)
|
50
|
+
* Run the followining commands:
|
51
|
+
|
52
|
+
brew install InstantClientTap/instantclient/instantclient-basiclite
|
53
|
+
brew install InstantClientTap/instantclient/instantclient-sdk
|
54
|
+
|
55
|
+
To install `Oracle Instant Client Basic` via [Homebrew][]
|
56
|
+
|
57
|
+
* Download *three* instant client packages: `Basic`, `Basic Lite` and `SDK`
|
58
|
+
and put them in `/Library/Caches/Homebrew` (if the environment variable
|
59
|
+
`HOMEBREW_CACHE` is not set and `$HOME/Library/Caches/Homebrew` doesn't exist.)
|
60
|
+
* Run the followining commands:
|
61
|
+
|
62
|
+
brew install InstantClientTap/instantclient/instantclient-basic
|
63
|
+
brew install InstantClientTap/instantclient/instantclient-sdk
|
64
|
+
|
65
|
+
* Set the environment variable OCI_DIR while performing the following installation steps
|
66
|
+
if Homebrew is installed outside `/usr/local`.
|
67
|
+
|
68
|
+
export OCI_DIR=$(brew --prefix)/lib
|
69
|
+
|
70
|
+
Install Oracle Instant Client Manually
|
71
|
+
---------------------
|
72
|
+
|
73
|
+
If you don't use [Homebrew][], do the following:
|
74
|
+
|
75
|
+
Unzip the packages as follows:
|
76
|
+
|
77
|
+
mkdir /opt
|
78
|
+
mkdir /opt/oracle
|
79
|
+
cd /opt/oracle
|
80
|
+
|
81
|
+
Copy downloaded files to /opt/oracle before running the following commands.
|
82
|
+
|
83
|
+
unzip instantclient-basic-macos.x64-11.2.0.4.0.zip
|
84
|
+
unzip instantclient-sdk-macos.x64-11.2.0.4.0.zip
|
85
|
+
unzip instantclient-sqlplus-macos.x64-11.2.0.4.0.zip
|
86
|
+
|
87
|
+
Make a symbolic link to link the library.
|
88
|
+
|
89
|
+
cd /opt/oracle/instantclient11_2
|
90
|
+
ln -s libclntsh.dylib.11.1 libclntsh.dylib
|
91
|
+
|
92
|
+
Fix the library install and identification names using [fix_oralib][] to make them work
|
93
|
+
without `DYLD_LIBRARY_PATH`.
|
94
|
+
|
95
|
+
cd /opt/oracle/instantclient11_2
|
96
|
+
curl -O https://raw.githubusercontent.com/kubo/fix_oralib_osx/master/fix_oralib.rb
|
97
|
+
ruby fix_oralib.rb
|
98
|
+
|
99
|
+
Set the environment variable OCI_DIR while performing the following installation steps.
|
100
|
+
|
101
|
+
export OCI_DIR=/opt/oracle/instantclient11_2
|
102
|
+
|
103
|
+
Installation
|
104
|
+
============
|
105
|
+
|
106
|
+
If you get a problem in the following steps, look at {file:docs/report-installation-issue.md}.
|
107
|
+
|
108
|
+
gem package
|
109
|
+
-----------
|
110
|
+
|
111
|
+
Run the following command.
|
112
|
+
|
113
|
+
gem install ruby-oci8
|
114
|
+
|
115
|
+
tar.gz package
|
116
|
+
--------------
|
117
|
+
|
118
|
+
### Download the source code
|
119
|
+
|
120
|
+
Download the latest tar.gz package from [download page][].
|
121
|
+
|
122
|
+
### Run make and install
|
123
|
+
|
124
|
+
tar xvfz ruby-oci8-VERSION.tar.gz
|
125
|
+
cd ruby-oci8-VERSION
|
126
|
+
make
|
127
|
+
make install
|
128
|
+
|
129
|
+
[download page]: https://bintray.com/kubo/generic/ruby-oci8
|
130
|
+
[Homebrew]: http://brew.sh/
|
131
|
+
[fix_oralib]: https://github.com/kubo/fix_oralib_osx
|
132
|
+
[Oracle Technology Network]: http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html
|
Binary file
|
data/lib/oci8/version.rb
CHANGED
data/lib/oci8lib_191.so
CHANGED
Binary file
|
data/lib/oci8lib_200.so
CHANGED
Binary file
|
data/lib/oci8lib_210.so
CHANGED
Binary file
|
data/lib/oci8lib_220.so
CHANGED
Binary file
|
data/ruby-oci8.gemspec
CHANGED
@@ -30,9 +30,9 @@ spec = Gem::Specification.new do |s|
|
|
30
30
|
s.version = oci8_version
|
31
31
|
s.summary = 'Ruby interface for Oracle using OCI8 API'
|
32
32
|
s.email = 'kubo@jiubao.org'
|
33
|
-
s.homepage = '
|
33
|
+
s.homepage = 'http://www.rubydoc.info/github/kubo/ruby-oci8'
|
34
34
|
s.description = <<EOS
|
35
|
-
ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available with
|
35
|
+
ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available with Oracle 10g or later including Oracle Instant Client.
|
36
36
|
EOS
|
37
37
|
s.has_rdoc = 'yard'
|
38
38
|
s.authors = ['Kubo Takehiro']
|
@@ -41,7 +41,7 @@ EOS
|
|
41
41
|
files = File.read('dist-files').split("\n")
|
42
42
|
if gem_platform == Gem::Platform::RUBY
|
43
43
|
s.extensions << 'ext/oci8/extconf.rb'
|
44
|
-
s.required_ruby_version = '>= 1.
|
44
|
+
s.required_ruby_version = '>= 1.9.1'
|
45
45
|
else
|
46
46
|
so_files = Dir.glob('ext/oci8/oci8lib_*.so')
|
47
47
|
so_vers = so_files.collect do |file|
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-oci8
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 123
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
9
|
- 0
|
10
|
-
|
10
|
+
- 2
|
11
|
+
version: 2.2.0.2
|
11
12
|
platform: x86-mingw32
|
12
13
|
authors:
|
13
14
|
- Kubo Takehiro
|
@@ -15,12 +16,12 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2015-10-
|
19
|
+
date: 2015-10-12 00:00:00 +09:00
|
19
20
|
default_executable:
|
20
21
|
dependencies: []
|
21
22
|
|
22
23
|
description: |
|
23
|
-
ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available with
|
24
|
+
ruby-oci8 is a ruby interface for Oracle using OCI8 API. It is available with Oracle 10g or later including Oracle Instant Client.
|
24
25
|
|
25
26
|
email: kubo@jiubao.org
|
26
27
|
executables: []
|
@@ -45,6 +46,8 @@ files:
|
|
45
46
|
- docs/install-binary-package.md
|
46
47
|
- docs/install-full-client.md
|
47
48
|
- docs/install-instant-client.md
|
49
|
+
- docs/install-on-osx.md
|
50
|
+
- docs/osx-install-dev-tools.png
|
48
51
|
- docs/platform-specific-issues.md
|
49
52
|
- docs/report-installation-issue.md
|
50
53
|
- lib/.document
|
@@ -97,7 +100,7 @@ files:
|
|
97
100
|
- lib/oci8lib_200.so
|
98
101
|
- lib/oci8lib_210.so
|
99
102
|
has_rdoc: true
|
100
|
-
homepage:
|
103
|
+
homepage: http://www.rubydoc.info/github/kubo/ruby-oci8
|
101
104
|
licenses:
|
102
105
|
- 2-clause BSD-style license
|
103
106
|
post_install_message:
|