Sha256: 6dcce45c9fee901d70a78ec0a4ff9e7de772dfde6e9ab24e39a07f1d81ea9d26

Contents?: true

Size: 810 Bytes

Versions: 53

Compression:

Stored size: 810 Bytes

Contents

Before runing unit test:

1. connect to Oracle as system:

    $ sqlplus system/<password_of_system>

2. create user ruby:

    SQL> CREATE USER ruby IDENTIFIED BY oci8;

   or

    SQL> CREATE USER ruby IDENTIFIED BY oci8
       2 DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;

3. grant the privilege to connect and execute.

    SQL> GRANT connect, resource, create view TO ruby;

4. connect to Oracle as sys

    $ sqlplus 'sys/<password_of_sys> as sysdba'

5. grant privileges

    SQL> GRANT EXECUTE ON dbms_lock TO ruby;
    SQL> GRANT CREATE VIEW TO ruby;

6. connect as ruby user.

    $ sqlplus ruby/oci8

7. Create object types

    SQL> @test/setup_test_object.sql

8. change $dbname if the database 

Then you can run:
  $ make check
or
  $ nmake check   (If your compiler is MS Visual C++.)

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
ruby-oci8-2.2.6.1 test/README
ruby-oci8-2.2.6.1-x86-mingw32 test/README
ruby-oci8-2.2.6.1-x64-mingw32 test/README
ruby-oci8-2.2.6 test/README
ruby-oci8-2.2.6-x86-mingw32 test/README
ruby-oci8-2.2.6-x64-mingw32 test/README
ruby-oci8-2.2.5.1-x86-mingw32 test/README
ruby-oci8-2.2.5.1-x64-mingw32 test/README
ruby-oci8-2.2.5.1 test/README
ruby-oci8-2.2.5 test/README
ruby-oci8-2.2.5-x86-mingw32 test/README
ruby-oci8-2.2.5-x64-mingw32 test/README
ruby-oci8-2.2.4.1-x86-mingw32 test/README
ruby-oci8-2.2.4.1-x64-mingw32 test/README
ruby-oci8-2.2.4.1 test/README
ruby-oci8-2.2.4 test/README
ruby-oci8-2.2.4-x86-mingw32 test/README
ruby-oci8-2.2.4-x64-mingw32 test/README
ruby-oci8-2.2.3 test/README
ruby-oci8-2.2.3-x86-mingw32 test/README