scenic-oracle_adapter 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a6654ada5f4a3b75d1a5539be516cbd673f9db9d19a267984d0262ad0909a4d
4
- data.tar.gz: 306b5811810f316b451312e5a86428469fa2348fcf9ef3a13a1503519b9c4e2d
3
+ metadata.gz: 2713f9db4be8d67b73304c18771acb45c8d6fe15d4e3ddd33653aa9ef2a80a8f
4
+ data.tar.gz: 99370e306d93f6c345d36035e8df417d782704463a0746dce9e75d7d1f643de6
5
5
  SHA512:
6
- metadata.gz: 918aa48ce7550cc4452c60bef6690661ddf09ad1a54f64ede2d523063b182fbe1ab807d300b9f31b212add47d87b952098ce362334f42a34b56c4a4dbb60f2af
7
- data.tar.gz: 57c3671d477de89604300cf17462cf411f63b8b465cfd923d3bfefee44be82ff871cc967292b91f6ec1fcac2630ebcb5e6f81e4894541400e931ea6c6127ba2c
6
+ metadata.gz: 636f8568e918f15b50b881ae8d58c9821911730720226e9dcd469e4d2c74085730d12f43436bb22ea787a06cd65d2122fc4645a630d527a25c665118ab7155a1
7
+ data.tar.gz: 9e890f9b05c340b0a4b456755d61a0c4122428d9e82b86268ce23e97e86af911789f6655962d0ef8feea21ed17f42d6b4ed26b30dfc241d3c927b4105a772e57
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:latest
1
+ FROM --platform=linux/amd64 ruby:latest
2
2
 
3
3
  RUN curl -sLO 'https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-basic-linux.x64-19.6.0.0.0dbru.zip' && \
4
4
  curl -sLO 'https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-sdk-linux.x64-19.6.0.0.0dbru.zip' && \
data/docker-compose.yml CHANGED
@@ -1,11 +1,14 @@
1
1
  version: '3'
2
2
  services:
3
3
  db:
4
- image: store/oracle/database-enterprise:12.2.0.1
4
+ image: container-registry.oracle.com/database/express:latest
5
5
  volumes:
6
- - db:/ORCL
6
+ - db:/opt/oracle/oradata
7
+ environment:
8
+ - ORACLE_PWD=thisisonlyusedlocally
7
9
  ports:
8
- - 1521:1521
10
+ - "127.0.0.1:1521:1521"
11
+ - "127.0.0.1:5500:5500"
9
12
  gem:
10
13
  build: .
11
14
  volumes:
@@ -8,7 +8,11 @@ module Scenic
8
8
  class Oracle
9
9
  class Railtie < Rails::Railtie
10
10
  ActiveSupport.on_load(:active_record) do
11
- ActiveRecord::ConnectionAdapters::OracleEnhanced::SchemaDumper.prepend Scenic::SchemaDumper
11
+ if defined?(ActiveRecord::ConnectionAdapters::OracleEnhancedSchemaDumper)
12
+ ActiveRecord::ConnectionAdapters::OracleEnhancedSchemaDumper.prepend Scenic::SchemaDumper
13
+ else
14
+ ActiveRecord::ConnectionAdapters::OracleEnhanced::SchemaDumper.prepend Scenic::SchemaDumper
15
+ end
12
16
  end
13
17
  end
14
18
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Scenic
4
4
  module OracleAdapter
5
- VERSION = "1.1.0"
5
+ VERSION = "1.2.0"
6
6
  end
7
7
  end
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "scenic", "~> 1.5.4"
25
+ spec.add_dependency "scenic", "~> 1.7.0"
26
26
  spec.add_dependency "activerecord-oracle_enhanced-adapter", ">= 1.5.0"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 2.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scenic-oracle_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Dinger
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-24 00:00:00.000000000 Z
11
+ date: 2022-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scenic
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.5.4
19
+ version: 1.7.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.5.4
26
+ version: 1.7.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activerecord-oracle_enhanced-adapter
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2.2'
111
- description:
111
+ description:
112
112
  email:
113
113
  - chris@houseofding.com
114
114
  executables: []
@@ -142,7 +142,7 @@ homepage: https://github.com/cdinger/scenic-oracle_adapter
142
142
  licenses:
143
143
  - MIT
144
144
  metadata: {}
145
- post_install_message:
145
+ post_install_message:
146
146
  rdoc_options: []
147
147
  require_paths:
148
148
  - lib
@@ -157,8 +157,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubygems_version: 3.1.2
161
- signing_key:
160
+ rubygems_version: 3.3.26
161
+ signing_key:
162
162
  specification_version: 4
163
163
  summary: Oracle adapter for thoughtbot/scenic
164
164
  test_files: []