forked from rsim/oracle-enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activerecord-oracle_enhanced-adapter.gemspec
38 lines (33 loc) · 1.24 KB
/
activerecord-oracle_enhanced-adapter.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# frozen_string_literal: true
require "rake"
version = File.read(File.expand_path("../VERSION", __FILE__)).strip
Gem::Specification.new do |s|
s.name = "activerecord-oracle_enhanced-adapter"
s.version = version
s.required_rubygems_version = ">= 1.8.11"
s.required_ruby_version = ">= 2.7.0"
s.license = "MIT"
s.authors = ["Raimonds Simanovskis"]
s.description = 'Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases.
This adapter is superset of original ActiveRecord Oracle adapter.
'
s.email = "raimonds.simanovskis@gmail.com"
s.extra_rdoc_files = [
"README.md"
]
s.files = FileList["History.md", "License.txt", "README.md", "VERSION", "lib/**/*"].exclude("lib/ojdbc*.jar")
s.homepage = "http://github.com/rsim/oracle-enhanced"
s.require_paths = ["lib"]
s.summary = "Oracle enhanced adapter for ActiveRecord"
s.test_files = Dir["spec/**/*"]
s.metadata = {
"rubygems_mfa_required" => "true"
}
s.add_runtime_dependency("activerecord", ["~> 7.1.0.alpha"])
s.add_runtime_dependency("ruby-plsql", [">= 0.6.0"])
if /java/.match?(RUBY_PLATFORM)
s.platform = Gem::Platform.new("java")
else
s.add_runtime_dependency("ruby-oci8")
end
end