ruby-plsql 0.8.0 → 0.9.0
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 +4 -4
- data/History.txt +2 -0
- data/VERSION +1 -1
- data/lib/plsql/connection.rb +14 -14
- data/lib/plsql/helpers.rb +3 -3
- data/lib/plsql/jdbc_connection.rb +3 -3
- data/lib/plsql/oci_connection.rb +8 -4
- data/lib/plsql/package.rb +3 -3
- data/lib/plsql/procedure.rb +32 -17
- data/lib/plsql/procedure_call.rb +15 -15
- data/lib/plsql/schema.rb +13 -9
- data/lib/plsql/sequence.rb +2 -2
- data/lib/plsql/table.rb +6 -6
- data/lib/plsql/type.rb +7 -7
- data/lib/plsql/variable.rb +4 -4
- data/lib/plsql/version.rb +1 -1
- data/lib/plsql/view.rb +2 -2
- metadata +13 -138
- data/.github/stale.yml +0 -37
- data/.github/workflows/rubocop.yml +0 -37
- data/.github/workflows/test.yml +0 -69
- data/.rubocop.yml +0 -147
- data/.travis/oracle/download.sh +0 -15
- data/.travis/oracle/install.sh +0 -32
- data/.travis/setup_accounts.sh +0 -9
- data/.travis.yml +0 -88
- data/Gemfile +0 -24
- data/Rakefile +0 -53
- data/Vagrantfile +0 -38
- data/ci/network/admin/tnsnames.ora +0 -7
- data/ci/setup_accounts.sh +0 -9
- data/gemfiles/Gemfile.activerecord-5.0 +0 -21
- data/gemfiles/Gemfile.activerecord-5.1 +0 -21
- data/gemfiles/Gemfile.activerecord-5.2 +0 -21
- data/gemfiles/Gemfile.activerecord-6.0 +0 -21
- data/gemfiles/Gemfile.activerecord-6.1 +0 -21
- data/gemfiles/Gemfile.activerecord-main +0 -21
- data/ruby-plsql.gemspec +0 -114
- data/spec/plsql/connection_spec.rb +0 -505
- data/spec/plsql/package_spec.rb +0 -172
- data/spec/plsql/procedure_spec.rb +0 -2390
- data/spec/plsql/schema_spec.rb +0 -364
- data/spec/plsql/sequence_spec.rb +0 -67
- data/spec/plsql/sql_statements_spec.rb +0 -91
- data/spec/plsql/table_spec.rb +0 -376
- data/spec/plsql/type_spec.rb +0 -299
- data/spec/plsql/variable_spec.rb +0 -497
- data/spec/plsql/version_spec.rb +0 -8
- data/spec/plsql/view_spec.rb +0 -264
- data/spec/spec.opts +0 -6
- data/spec/spec_helper.rb +0 -121
- data/spec/support/create_arunit_user.sql +0 -2
- data/spec/support/custom_config.rb.sample +0 -14
- data/spec/support/file_check_script.sh +0 -9
- data/spec/support/test_db.rb +0 -149
- data/spec/support/unlock_and_setup_hr_user.sql +0 -2
data/.travis.yml
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
dist: xenial
|
|
2
|
-
sudo: required
|
|
3
|
-
|
|
4
|
-
jdk:
|
|
5
|
-
- openjdk8
|
|
6
|
-
env:
|
|
7
|
-
global:
|
|
8
|
-
- ORACLE_COOKIE=sqldev
|
|
9
|
-
- ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
|
|
10
|
-
- ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
|
|
11
|
-
- NLS_LANG=AMERICAN_AMERICA.AL32UTF8
|
|
12
|
-
- ORACLE_BASE=/u01/app/oracle
|
|
13
|
-
- LD_LIBRARY_PATH=$ORACLE_HOME/lib
|
|
14
|
-
- PATH=$PATH:$ORACLE_HOME/jdbc/lib
|
|
15
|
-
- DATABASE_VERSION=11.2.0.2
|
|
16
|
-
- ORACLE_SID=XE
|
|
17
|
-
- DATABASE_NAME=XE
|
|
18
|
-
- ORA_SDTZ='Europe/London' #Needed as a client parameter
|
|
19
|
-
- TZ='Europe/London' #Needed as a DB Server parameter
|
|
20
|
-
|
|
21
|
-
before_install:
|
|
22
|
-
- chmod +x .travis/oracle/download.sh
|
|
23
|
-
- chmod +x .travis/oracle/install.sh
|
|
24
|
-
- chmod +x .travis/setup_accounts.sh
|
|
25
|
-
- 'gem install bundler || gem install bundler -v 1.17.3'
|
|
26
|
-
|
|
27
|
-
install:
|
|
28
|
-
- .travis/oracle/download.sh
|
|
29
|
-
- .travis/oracle/install.sh
|
|
30
|
-
- .travis/setup_accounts.sh
|
|
31
|
-
- bundle install --without=development
|
|
32
|
-
|
|
33
|
-
language: ruby
|
|
34
|
-
rvm:
|
|
35
|
-
- 3.0.2
|
|
36
|
-
- 2.7.4
|
|
37
|
-
- 2.6.8
|
|
38
|
-
- 2.5.9
|
|
39
|
-
- 2.4.10
|
|
40
|
-
- 2.3.8
|
|
41
|
-
- jruby-9.2.17.0
|
|
42
|
-
- ruby-head
|
|
43
|
-
- jruby-head
|
|
44
|
-
|
|
45
|
-
gemfile:
|
|
46
|
-
- Gemfile
|
|
47
|
-
- gemfiles/Gemfile.activerecord-5.0
|
|
48
|
-
- gemfiles/Gemfile.activerecord-5.1
|
|
49
|
-
- gemfiles/Gemfile.activerecord-5.2
|
|
50
|
-
- gemfiles/Gemfile.activerecord-6.0
|
|
51
|
-
- gemfiles/Gemfile.activerecord-6.1
|
|
52
|
-
- gemfiles/Gemfile.activerecord-main
|
|
53
|
-
|
|
54
|
-
matrix:
|
|
55
|
-
exclude:
|
|
56
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
57
|
-
rvm: jruby-head
|
|
58
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
59
|
-
rvm: jruby-9.2.17.0
|
|
60
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
61
|
-
rvm: 2.6.8
|
|
62
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
63
|
-
rvm: 2.5.9
|
|
64
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
65
|
-
rvm: 2.4.10
|
|
66
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
67
|
-
rvm: 2.3.8
|
|
68
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
69
|
-
rvm: 2.2.10
|
|
70
|
-
- gemfile: gemfiles/Gemfile.activerecord-6.0
|
|
71
|
-
rvm: 2.4.10
|
|
72
|
-
- gemfile: gemfiles/Gemfile.activerecord-6.0
|
|
73
|
-
rvm: 2.3.8
|
|
74
|
-
- gemfile: gemfiles/Gemfile.activerecord-6.0
|
|
75
|
-
rvm: 2.2.10
|
|
76
|
-
- gemfile: gemfiles/Gemfile.activerecord-6.1
|
|
77
|
-
rvm: 2.4.10
|
|
78
|
-
- gemfile: gemfiles/Gemfile.activerecord-6.1
|
|
79
|
-
rvm: 2.3.8
|
|
80
|
-
- gemfile: gemfiles/Gemfile.activerecord-6.1
|
|
81
|
-
rvm: 2.2.10
|
|
82
|
-
allow_failures:
|
|
83
|
-
- rvm: ruby-head
|
|
84
|
-
- rvm: jruby-head
|
|
85
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
86
|
-
rvm: 3.0.2
|
|
87
|
-
- gemfile: gemfiles/Gemfile.activerecord-main
|
|
88
|
-
rvm: 2.7.4
|
data/Gemfile
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
source "http://rubygems.org"
|
|
2
|
-
|
|
3
|
-
group :development do
|
|
4
|
-
gem "juwelier", "~> 2.0"
|
|
5
|
-
gem "rspec_junit_formatter"
|
|
6
|
-
gem "rubocop", "0.81", require: false
|
|
7
|
-
gem "rubocop-performance", require: false
|
|
8
|
-
gem "rubocop-rails", require: false
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
group :test, :development do
|
|
12
|
-
gem "rake", ">= 10.0"
|
|
13
|
-
gem "rspec", "~> 3.1"
|
|
14
|
-
|
|
15
|
-
unless ENV["NO_ACTIVERECORD"]
|
|
16
|
-
gem "activerecord", "~> 5.0"
|
|
17
|
-
gem "activerecord-oracle_enhanced-adapter", "~> 1.7"
|
|
18
|
-
gem "simplecov", ">= 0"
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
platforms :ruby, :mswin, :mingw do
|
|
22
|
-
gem "ruby-oci8", "~> 2.1"
|
|
23
|
-
end
|
|
24
|
-
end
|
data/Rakefile
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
require "rubygems"
|
|
2
|
-
require "bundler"
|
|
3
|
-
begin
|
|
4
|
-
Bundler.setup(:default, :development)
|
|
5
|
-
rescue Bundler::BundlerError => e
|
|
6
|
-
$stderr.puts e.message
|
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
|
8
|
-
exit e.status_code
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
require "rake"
|
|
12
|
-
|
|
13
|
-
begin
|
|
14
|
-
require "juwelier"
|
|
15
|
-
Juwelier::Tasks.new do |gem|
|
|
16
|
-
gem.name = "ruby-plsql"
|
|
17
|
-
gem.summary = "Ruby API for calling Oracle PL/SQL procedures."
|
|
18
|
-
gem.description = <<-EOS
|
|
19
|
-
ruby-plsql gem provides simple Ruby API for calling Oracle PL/SQL procedures.
|
|
20
|
-
It could be used both for accessing Oracle PL/SQL API procedures in legacy applications
|
|
21
|
-
as well as it could be used to create PL/SQL unit tests using Ruby testing libraries.
|
|
22
|
-
EOS
|
|
23
|
-
gem.email = "raimonds.simanovskis@gmail.com"
|
|
24
|
-
gem.homepage = "http://github.com/rsim/ruby-plsql"
|
|
25
|
-
gem.license = "MIT".freeze
|
|
26
|
-
gem.authors = ["Raimonds Simanovskis"]
|
|
27
|
-
gem.extra_rdoc_files = ["README.md"]
|
|
28
|
-
end
|
|
29
|
-
Juwelier::RubygemsDotOrgTasks.new
|
|
30
|
-
rescue LoadError
|
|
31
|
-
# juwelier not installed
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
require "rspec/core/rake_task"
|
|
35
|
-
RSpec::Core::RakeTask.new(:spec)
|
|
36
|
-
|
|
37
|
-
desc "Code coverage detail"
|
|
38
|
-
task :simplecov do
|
|
39
|
-
ENV["COVERAGE"] = "true"
|
|
40
|
-
Rake::Task["spec"].execute
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
task default: :spec
|
|
44
|
-
|
|
45
|
-
require "rdoc/task"
|
|
46
|
-
Rake::RDocTask.new do |rdoc|
|
|
47
|
-
version = File.exist?("VERSION") ? File.read("VERSION") : ""
|
|
48
|
-
|
|
49
|
-
rdoc.rdoc_dir = "doc"
|
|
50
|
-
rdoc.title = "ruby-plsql #{version}"
|
|
51
|
-
rdoc.rdoc_files.include("README*")
|
|
52
|
-
rdoc.rdoc_files.include("lib/**/*.rb")
|
|
53
|
-
end
|
data/Vagrantfile
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
|
|
2
|
-
VAGRANTFILE_API_VERSION = "2"
|
|
3
|
-
|
|
4
|
-
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
5
|
-
|
|
6
|
-
# Every Vagrant virtual environment requires a box to build off of.
|
|
7
|
-
config.vm.box = "boxcutter/centos72"
|
|
8
|
-
config.vm.hostname = "vagrant.oracle"
|
|
9
|
-
config.vm.network :forwarded_port, guest: 1521, host: 1521
|
|
10
|
-
|
|
11
|
-
config.vm.provider :virtualbox do |vb|
|
|
12
|
-
vb.name = "Ruby-PLSQL Oracle XE box"
|
|
13
|
-
# Speed up network
|
|
14
|
-
# http://serverfault.com/a/453260/105586
|
|
15
|
-
# http://serverfault.com/a/595010/105586
|
|
16
|
-
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
|
|
17
|
-
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
# Check for Oracle XE installation file
|
|
21
|
-
config.vm.provision :shell, path: "./spec/support/file_check_script.sh"
|
|
22
|
-
|
|
23
|
-
config.vm.provision :shell, inline: "yum update -y"
|
|
24
|
-
config.vm.provision :shell, inline: "yum install -y libaio bc flex unzip"
|
|
25
|
-
config.vm.provision :shell, inline: "mkdir -p /opt/oracle"
|
|
26
|
-
config.vm.provision :shell, inline: "unzip -o -q -d /opt/oracle /vagrant/oracle-xe-11.2.0-1.0.x86_64.rpm.zip"
|
|
27
|
-
config.vm.provision :shell, inline: "cd /opt/oracle/Disk1 && rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm"
|
|
28
|
-
config.vm.provision :shell, inline: 'sed -i -E "s/<value required>/oracle/" /opt/oracle/Disk1/response/xe.rsp'
|
|
29
|
-
config.vm.provision :shell, inline: "/etc/init.d/oracle-xe configure responseFile=/opt/oracle/Disk1/response/xe.rsp >> /opt/oracle/XEsilentinstall.log"
|
|
30
|
-
config.vm.provision :shell, inline: ". /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh"
|
|
31
|
-
config.vm.provision :shell, inline: "touch /etc/profile.d/oracle_profile.sh && cat /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh >> /etc/profile.d/oracle_profile.sh"
|
|
32
|
-
config.vm.provision :shell, inline: 'sed -i -E "s/HOST = [^)]+/HOST = $HOSTNAME/g" /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora'
|
|
33
|
-
config.vm.provision :shell, inline: %q{sed -i -E "s/<ORACLE_BASE>/\/u01\/app\/oracle/" /u01/app/oracle/product/11.2.0/xe/dbs/init.ora}
|
|
34
|
-
|
|
35
|
-
# Change password for Oracle user
|
|
36
|
-
config.vm.provision :shell, inline: "echo -e \"oracle\noracle\" | passwd oracle"
|
|
37
|
-
|
|
38
|
-
end
|
data/ci/setup_accounts.sh
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
source 'http://rubygems.org'
|
|
2
|
-
|
|
3
|
-
group :development do
|
|
4
|
-
gem 'juwelier', '~> 2.0'
|
|
5
|
-
gem 'rspec_junit_formatter'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
group :test, :development do
|
|
9
|
-
gem 'rake', '>= 10.0'
|
|
10
|
-
gem 'rspec', '~> 3.1'
|
|
11
|
-
|
|
12
|
-
unless ENV['NO_ACTIVERECORD']
|
|
13
|
-
gem 'activerecord', '~> 5.0.0'
|
|
14
|
-
gem 'activerecord-oracle_enhanced-adapter', '~> 1.7.0'
|
|
15
|
-
gem 'simplecov', '>= 0'
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
platforms :ruby, :mswin, :mingw do
|
|
19
|
-
gem 'ruby-oci8', '~> 2.1'
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
source 'http://rubygems.org'
|
|
2
|
-
|
|
3
|
-
group :development do
|
|
4
|
-
gem 'juwelier', '~> 2.0'
|
|
5
|
-
gem 'rspec_junit_formatter'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
group :test, :development do
|
|
9
|
-
gem 'rake', '>= 10.0'
|
|
10
|
-
gem 'rspec', '~> 3.1'
|
|
11
|
-
|
|
12
|
-
unless ENV['NO_ACTIVERECORD']
|
|
13
|
-
gem 'activerecord', '~> 5.1.0'
|
|
14
|
-
gem 'activerecord-oracle_enhanced-adapter', '~> 1.8.0'
|
|
15
|
-
gem 'simplecov', '>= 0'
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
platforms :ruby, :mswin, :mingw do
|
|
19
|
-
gem 'ruby-oci8', '~> 2.1'
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
source 'http://rubygems.org'
|
|
2
|
-
|
|
3
|
-
group :development do
|
|
4
|
-
gem 'juwelier', '~> 2.0'
|
|
5
|
-
gem 'rspec_junit_formatter'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
group :test, :development do
|
|
9
|
-
gem 'rake', '>= 10.0'
|
|
10
|
-
gem 'rspec', '~> 3.1'
|
|
11
|
-
|
|
12
|
-
unless ENV['NO_ACTIVERECORD']
|
|
13
|
-
gem 'activerecord', '~> 5.2.0.beta'
|
|
14
|
-
gem 'activerecord-oracle_enhanced-adapter', '~> 5.2.0.beta'
|
|
15
|
-
gem 'simplecov', '>= 0'
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
platforms :ruby, :mswin, :mingw do
|
|
19
|
-
gem 'ruby-oci8', '~> 2.1'
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
source 'http://rubygems.org'
|
|
2
|
-
|
|
3
|
-
group :development do
|
|
4
|
-
gem 'juwelier', '~> 2.0'
|
|
5
|
-
gem 'rspec_junit_formatter'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
group :test, :development do
|
|
9
|
-
gem 'rake', '>= 10.0'
|
|
10
|
-
gem 'rspec', '~> 3.1'
|
|
11
|
-
|
|
12
|
-
unless ENV['NO_ACTIVERECORD']
|
|
13
|
-
gem 'activerecord', '~> 6.0.0.rc1'
|
|
14
|
-
gem 'activerecord-oracle_enhanced-adapter', '~>6.0.0.rc1'
|
|
15
|
-
gem 'simplecov', '>= 0'
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
platforms :ruby, :mswin, :mingw do
|
|
19
|
-
gem 'ruby-oci8', '~> 2.1'
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
source 'http://rubygems.org'
|
|
2
|
-
|
|
3
|
-
group :development do
|
|
4
|
-
gem 'juwelier', '~> 2.0'
|
|
5
|
-
gem 'rspec_junit_formatter'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
group :test, :development do
|
|
9
|
-
gem 'rake', '>= 10.0'
|
|
10
|
-
gem 'rspec', '~> 3.1'
|
|
11
|
-
|
|
12
|
-
unless ENV['NO_ACTIVERECORD']
|
|
13
|
-
gem 'activerecord', '~> 6.1.0'
|
|
14
|
-
gem 'activerecord-oracle_enhanced-adapter', '~>6.1.0'
|
|
15
|
-
gem 'simplecov', '>= 0'
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
platforms :ruby, :mswin, :mingw do
|
|
19
|
-
gem 'ruby-oci8', '~> 2.1'
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
source 'http://rubygems.org'
|
|
2
|
-
|
|
3
|
-
group :development do
|
|
4
|
-
gem 'juwelier', '~> 2.0'
|
|
5
|
-
gem 'rspec_junit_formatter'
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
group :test, :development do
|
|
9
|
-
gem 'rake', '>= 10.0'
|
|
10
|
-
gem 'rspec', '~> 3.1'
|
|
11
|
-
|
|
12
|
-
unless ENV['NO_ACTIVERECORD']
|
|
13
|
-
gem 'activerecord', github: 'rails/rails', branch: 'main'
|
|
14
|
-
gem 'activerecord-oracle_enhanced-adapter', github: 'rsim/oracle-enhanced', branch: 'master'
|
|
15
|
-
gem 'simplecov', '>= 0'
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
platforms :ruby, :mswin, :mingw do
|
|
19
|
-
gem 'ruby-oci8', '~> 2.1'
|
|
20
|
-
end
|
|
21
|
-
end
|
data/ruby-plsql.gemspec
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
# Generated by juwelier
|
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
-
# -*- encoding: utf-8 -*-
|
|
5
|
-
|
|
6
|
-
# stub: ruby-plsql 0.8.0 ruby lib
|
|
7
|
-
|
|
8
|
-
Gem::Specification.new do |s|
|
|
9
|
-
s.name = "ruby-plsql".freeze
|
|
10
|
-
s.version = "0.8.0"
|
|
11
|
-
|
|
12
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
13
|
-
s.require_paths = ["lib".freeze]
|
|
14
|
-
s.authors = ["Raimonds Simanovskis".freeze]
|
|
15
|
-
s.date = "2018-09-03"
|
|
16
|
-
s.description = " ruby-plsql gem provides simple Ruby API for calling Oracle PL/SQL procedures.\n It could be used both for accessing Oracle PL/SQL API procedures in legacy applications\n as well as it could be used to create PL/SQL unit tests using Ruby testing libraries.\n".freeze
|
|
17
|
-
s.email = "raimonds.simanovskis@gmail.com".freeze
|
|
18
|
-
s.extra_rdoc_files = [
|
|
19
|
-
"README.md"
|
|
20
|
-
]
|
|
21
|
-
s.files = [
|
|
22
|
-
".codeclimate.yml",
|
|
23
|
-
".github/stale.yml",
|
|
24
|
-
".rubocop.yml",
|
|
25
|
-
".travis.yml",
|
|
26
|
-
".travis/oracle/download.sh",
|
|
27
|
-
".travis/oracle/install.sh",
|
|
28
|
-
".travis/setup_accounts.sh",
|
|
29
|
-
"Gemfile",
|
|
30
|
-
"History.txt",
|
|
31
|
-
"License.txt",
|
|
32
|
-
"README.md",
|
|
33
|
-
"Rakefile",
|
|
34
|
-
"VERSION",
|
|
35
|
-
"Vagrantfile",
|
|
36
|
-
"gemfiles/Gemfile.activerecord-5.0",
|
|
37
|
-
"gemfiles/Gemfile.activerecord-5.1",
|
|
38
|
-
"gemfiles/Gemfile.activerecord-5.2",
|
|
39
|
-
"lib/plsql/connection.rb",
|
|
40
|
-
"lib/plsql/helpers.rb",
|
|
41
|
-
"lib/plsql/jdbc_connection.rb",
|
|
42
|
-
"lib/plsql/oci8_patches.rb",
|
|
43
|
-
"lib/plsql/oci_connection.rb",
|
|
44
|
-
"lib/plsql/package.rb",
|
|
45
|
-
"lib/plsql/procedure.rb",
|
|
46
|
-
"lib/plsql/procedure_call.rb",
|
|
47
|
-
"lib/plsql/schema.rb",
|
|
48
|
-
"lib/plsql/sequence.rb",
|
|
49
|
-
"lib/plsql/sql_statements.rb",
|
|
50
|
-
"lib/plsql/table.rb",
|
|
51
|
-
"lib/plsql/type.rb",
|
|
52
|
-
"lib/plsql/variable.rb",
|
|
53
|
-
"lib/plsql/version.rb",
|
|
54
|
-
"lib/plsql/view.rb",
|
|
55
|
-
"lib/ruby-plsql.rb",
|
|
56
|
-
"lib/ruby_plsql.rb",
|
|
57
|
-
"ruby-plsql.gemspec",
|
|
58
|
-
"spec/plsql/connection_spec.rb",
|
|
59
|
-
"spec/plsql/package_spec.rb",
|
|
60
|
-
"spec/plsql/procedure_spec.rb",
|
|
61
|
-
"spec/plsql/schema_spec.rb",
|
|
62
|
-
"spec/plsql/sequence_spec.rb",
|
|
63
|
-
"spec/plsql/sql_statements_spec.rb",
|
|
64
|
-
"spec/plsql/table_spec.rb",
|
|
65
|
-
"spec/plsql/type_spec.rb",
|
|
66
|
-
"spec/plsql/variable_spec.rb",
|
|
67
|
-
"spec/plsql/version_spec.rb",
|
|
68
|
-
"spec/plsql/view_spec.rb",
|
|
69
|
-
"spec/spec.opts",
|
|
70
|
-
"spec/spec_helper.rb",
|
|
71
|
-
"spec/support/create_arunit_user.sql",
|
|
72
|
-
"spec/support/custom_config.rb.sample",
|
|
73
|
-
"spec/support/file_check_script.sh",
|
|
74
|
-
"spec/support/test_db.rb",
|
|
75
|
-
"spec/support/unlock_and_setup_hr_user.sql"
|
|
76
|
-
]
|
|
77
|
-
s.homepage = "http://github.com/rsim/ruby-plsql".freeze
|
|
78
|
-
s.licenses = ["MIT".freeze]
|
|
79
|
-
s.rubygems_version = "2.7.7".freeze
|
|
80
|
-
s.summary = "Ruby API for calling Oracle PL/SQL procedures.".freeze
|
|
81
|
-
|
|
82
|
-
if s.respond_to? :specification_version then
|
|
83
|
-
s.specification_version = 4
|
|
84
|
-
|
|
85
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new("1.2.0") then
|
|
86
|
-
s.add_development_dependency("juwelier".freeze, ["~> 2.0"])
|
|
87
|
-
s.add_development_dependency("rspec_junit_formatter".freeze, [">= 0"])
|
|
88
|
-
s.add_development_dependency("rake".freeze, [">= 10.0"])
|
|
89
|
-
s.add_development_dependency("rspec".freeze, ["~> 3.1"])
|
|
90
|
-
s.add_development_dependency("activerecord".freeze, ["~> 5.0"])
|
|
91
|
-
s.add_development_dependency("activerecord-oracle_enhanced-adapter".freeze, ["~> 1.7"])
|
|
92
|
-
s.add_development_dependency("simplecov".freeze, [">= 0"])
|
|
93
|
-
s.add_development_dependency("ruby-oci8".freeze, ["~> 2.1"])
|
|
94
|
-
else
|
|
95
|
-
s.add_dependency("juwelier".freeze, ["~> 2.0"])
|
|
96
|
-
s.add_dependency("rspec_junit_formatter".freeze, [">= 0"])
|
|
97
|
-
s.add_dependency("rake".freeze, [">= 10.0"])
|
|
98
|
-
s.add_dependency("rspec".freeze, ["~> 3.1"])
|
|
99
|
-
s.add_dependency("activerecord".freeze, ["~> 5.0"])
|
|
100
|
-
s.add_dependency("activerecord-oracle_enhanced-adapter".freeze, ["~> 1.7"])
|
|
101
|
-
s.add_dependency("simplecov".freeze, [">= 0"])
|
|
102
|
-
s.add_dependency("ruby-oci8".freeze, ["~> 2.1"])
|
|
103
|
-
end
|
|
104
|
-
else
|
|
105
|
-
s.add_dependency("juwelier".freeze, ["~> 2.0"])
|
|
106
|
-
s.add_dependency("rspec_junit_formatter".freeze, [">= 0"])
|
|
107
|
-
s.add_dependency("rake".freeze, [">= 10.0"])
|
|
108
|
-
s.add_dependency("rspec".freeze, ["~> 3.1"])
|
|
109
|
-
s.add_dependency("activerecord".freeze, ["~> 5.0"])
|
|
110
|
-
s.add_dependency("activerecord-oracle_enhanced-adapter".freeze, ["~> 1.7"])
|
|
111
|
-
s.add_dependency("simplecov".freeze, [">= 0"])
|
|
112
|
-
s.add_dependency("ruby-oci8".freeze, ["~> 2.1"])
|
|
113
|
-
end
|
|
114
|
-
end
|