ruby-oci8 2.2.10-x64-mingw-ucrt
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 +7 -0
- data/.yardopts +14 -0
- data/COPYING +30 -0
- data/COPYING_old +64 -0
- data/ChangeLog +3826 -0
- data/Makefile +92 -0
- data/NEWS +1209 -0
- data/README.md +66 -0
- data/dist-files +112 -0
- data/docs/bind-array-to-in_cond.md +38 -0
- data/docs/conflicts-local-connections-and-processes.md +98 -0
- data/docs/hanging-after-inactivity.md +63 -0
- data/docs/install-binary-package.md +44 -0
- data/docs/install-full-client.md +111 -0
- data/docs/install-instant-client.md +194 -0
- data/docs/install-on-osx.md +46 -0
- data/docs/ldap-auth-and-function-interposition.md +123 -0
- data/docs/number-type-mapping.md +79 -0
- data/docs/platform-specific-issues.md +164 -0
- data/docs/report-installation-issue.md +50 -0
- data/docs/timeout-parameters.md +94 -0
- data/lib/.document +1 -0
- data/lib/dbd/OCI8.rb +591 -0
- data/lib/oci8/.document +8 -0
- data/lib/oci8/bindtype.rb +333 -0
- data/lib/oci8/check_load_error.rb +146 -0
- data/lib/oci8/compat.rb +117 -0
- data/lib/oci8/connection_pool.rb +179 -0
- data/lib/oci8/cursor.rb +605 -0
- data/lib/oci8/datetime.rb +605 -0
- data/lib/oci8/encoding-init.rb +45 -0
- data/lib/oci8/encoding.yml +537 -0
- data/lib/oci8/metadata.rb +2148 -0
- data/lib/oci8/object.rb +641 -0
- data/lib/oci8/oci8.rb +756 -0
- data/lib/oci8/ocihandle.rb +591 -0
- data/lib/oci8/oracle_version.rb +153 -0
- data/lib/oci8/properties.rb +196 -0
- data/lib/oci8/version.rb +3 -0
- data/lib/oci8.rb +190 -0
- data/lib/oci8lib_310.so +0 -0
- data/lib/ruby-oci8.rb +1 -0
- data/metaconfig +142 -0
- data/pre-distclean.rb +7 -0
- data/ruby-oci8.gemspec +85 -0
- data/setup.rb +1342 -0
- data/test/README.md +37 -0
- data/test/config.rb +201 -0
- data/test/setup_test_object.sql +199 -0
- data/test/setup_test_package.sql +59 -0
- data/test/test_all.rb +56 -0
- data/test/test_appinfo.rb +62 -0
- data/test/test_array_dml.rb +332 -0
- data/test/test_bind_array.rb +70 -0
- data/test/test_bind_boolean.rb +99 -0
- data/test/test_bind_integer.rb +47 -0
- data/test/test_bind_raw.rb +45 -0
- data/test/test_bind_string.rb +105 -0
- data/test/test_bind_time.rb +177 -0
- data/test/test_break.rb +125 -0
- data/test/test_clob.rb +85 -0
- data/test/test_connection_pool.rb +124 -0
- data/test/test_connstr.rb +220 -0
- data/test/test_datetime.rb +585 -0
- data/test/test_dbi.rb +365 -0
- data/test/test_dbi_clob.rb +53 -0
- data/test/test_encoding.rb +103 -0
- data/test/test_error.rb +87 -0
- data/test/test_metadata.rb +2674 -0
- data/test/test_object.rb +546 -0
- data/test/test_oci8.rb +624 -0
- data/test/test_oracle_version.rb +68 -0
- data/test/test_oradate.rb +255 -0
- data/test/test_oranumber.rb +792 -0
- data/test/test_package_type.rb +981 -0
- data/test/test_properties.rb +17 -0
- data/test/test_rowid.rb +32 -0
- metadata +123 -0
data/Makefile
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
VERSION = `$(RUBY) -I. -rlib/oci8/version.rb -e "print OCI8::VERSION"`
|
2
|
+
RUBY = ruby -w
|
3
|
+
|
4
|
+
all: build
|
5
|
+
|
6
|
+
config.save:
|
7
|
+
$(RUBY) setup.rb config
|
8
|
+
|
9
|
+
build: config.save
|
10
|
+
$(RUBY) setup.rb setup
|
11
|
+
|
12
|
+
check: build
|
13
|
+
$(RUBY) setup.rb test
|
14
|
+
|
15
|
+
clean:
|
16
|
+
$(RUBY) setup.rb clean
|
17
|
+
|
18
|
+
distclean:
|
19
|
+
$(RUBY) setup.rb distclean
|
20
|
+
|
21
|
+
install:
|
22
|
+
$(RUBY) setup.rb install
|
23
|
+
|
24
|
+
site-install:
|
25
|
+
$(RUBY) setup.rb install
|
26
|
+
|
27
|
+
format_c_source:
|
28
|
+
astyle --options=none --style=linux --indent=spaces=4 --brackets=linux --suffix=none ext/oci8/*.[ch]
|
29
|
+
|
30
|
+
# internal use only
|
31
|
+
.PHONY: dist dist-check doc copy-doc
|
32
|
+
|
33
|
+
doc:
|
34
|
+
rm -rf doc
|
35
|
+
TZ= yard
|
36
|
+
echo DirectoryIndex frames.html > doc/.htaccess
|
37
|
+
|
38
|
+
copy-doc: doc
|
39
|
+
rsync -avz doc/ rubyforge.org:/var/www/gforge-projects/ruby-oci8/en
|
40
|
+
|
41
|
+
dist:
|
42
|
+
-rm -rf ruby-oci8-$(VERSION)
|
43
|
+
mkdir ruby-oci8-$(VERSION)
|
44
|
+
tar cf - `cat dist-files` | (cd ruby-oci8-$(VERSION); tar xf - )
|
45
|
+
tar cfz ruby-oci8-$(VERSION).tar.gz ruby-oci8-$(VERSION)
|
46
|
+
|
47
|
+
dist-check: dist
|
48
|
+
cd ruby-oci8-$(VERSION) && $(MAKE) RUBY="$(RUBY)"
|
49
|
+
cd ruby-oci8-$(VERSION) && $(MAKE) RUBY="$(RUBY)" check
|
50
|
+
cd ruby-oci8-$(VERSION)/src && $(MAKE) RUBY="$(RUBY)" sitearchdir=../work sitelibdir=../work site-install
|
51
|
+
cd ruby-oci8-$(VERSION)/test && $(RUBY) -I../work -I../support test_all.rb
|
52
|
+
|
53
|
+
#
|
54
|
+
# for Windows
|
55
|
+
#
|
56
|
+
RUBY_18 = c:\ruby
|
57
|
+
RUBY_191 = c:\ruby-1.9.1
|
58
|
+
GEMPKG = ruby-oci8-2.0.3-x86-mswin32-60.gem
|
59
|
+
|
60
|
+
ext\oci8\oci8lib_18.so:
|
61
|
+
$(RUBY_18)\bin\ruby -r fileutils -e "FileUtils.rm_rf('ruby18')"
|
62
|
+
md ruby18
|
63
|
+
cd ruby18
|
64
|
+
$(RUBY_18)\bin\ruby ..\setup.rb config -- --with-runtime-check
|
65
|
+
$(RUBY_18)\bin\ruby ..\setup.rb setup
|
66
|
+
rem $(RUBY_18)\bin\ruby ..\setup.rb test
|
67
|
+
cd ..
|
68
|
+
copy ruby18\ext\oci8\oci8lib_18.so ext\oci8\oci8lib_18.so
|
69
|
+
|
70
|
+
ext\oci8\oci8lib_191.so:
|
71
|
+
$(RUBY_191)\bin\ruby -r fileutils -e "FileUtils.rm_rf('ruby191')"
|
72
|
+
md ruby191
|
73
|
+
cd ruby191
|
74
|
+
$(RUBY_191)\bin\ruby ..\setup.rb config -- --with-runtime-check
|
75
|
+
$(RUBY_191)\bin\ruby ..\setup.rb setup
|
76
|
+
rem $(RUBY_191)\bin\ruby ..\setup.rb test
|
77
|
+
cd ..
|
78
|
+
copy ruby191\ext\oci8\oci8lib_191.so ext\oci8\oci8lib_191.so
|
79
|
+
copy ruby191\lib\oci8.rb lib\oci8.rb
|
80
|
+
|
81
|
+
$(GEMPKG): ext\oci8\oci8lib_18.so ext\oci8\oci8lib_191.so ruby-oci8.gemspec
|
82
|
+
$(RUBY_191)\bin\gem build ruby-oci8.gemspec -- current
|
83
|
+
|
84
|
+
test-win32-ruby18: $(GEMPKG)
|
85
|
+
$(RUBY_18)\bin\gem install $(GEMPKG) --no-rdoc --no-ri --local
|
86
|
+
$(RUBY_18)\bin\ruby -rubygems test\test_all.rb
|
87
|
+
|
88
|
+
test-win32-ruby191: $(GEMPKG)
|
89
|
+
$(RUBY_191)\bin\gem install $(GEMPKG) --no-rdoc --no-ri --local
|
90
|
+
$(RUBY_191)\bin\ruby test\test_all.rb
|
91
|
+
|
92
|
+
test-win32: test-win32-ruby18 test-win32-ruby191
|