scenic-oracle_adapter 1.1.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +3 -1
- data/Dockerfile +1 -1
- data/docker-compose.yml +6 -3
- data/lib/scenic/adapters/oracle.rb +2 -2
- data/lib/scenic/oracle_adapter/version.rb +1 -1
- data/scenic-oracle_adapter.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f01bd1470b251d8a09ce793abe0fe5cd65d8c0009b77e91d24ea90cca4e9b0e0
|
4
|
+
data.tar.gz: 3b20468c050212c306d41b2b3a5d87c503e9d21227d0fcef1f438ee8a6ad2cd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65d6dbd15912e620c490e6b42e84082178a4a5fa915c77b09d4bd3eef986427799b5d55d9f8e40ddeca15ff178a4743cd82e9beb2acf013ec94727a0a2ad9d8c
|
7
|
+
data.tar.gz: a94d451afef4a0abb8570c25690fbe06565015f2b2f33d465649e30dbf45c128ca5265e8ebd8edcdd56f71e95d2286806beedaf20f1aac86e956c553b850dfc2
|
data/.github/workflows/ci.yml
CHANGED
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:
|
4
|
+
image: container-registry.oracle.com/database/express:latest
|
5
5
|
volumes:
|
6
|
-
- db:/
|
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:
|
@@ -36,10 +36,10 @@ module Scenic
|
|
36
36
|
execute("create materialized view #{quote_table_name(name)} #{'build deferred' if no_data} as #{definition}")
|
37
37
|
end
|
38
38
|
|
39
|
-
def update_materialized_view(name, definition)
|
39
|
+
def update_materialized_view(name, definition, no_data: false)
|
40
40
|
IndexReapplication.new(connection: connection).on(name) do
|
41
41
|
drop_materialized_view(name)
|
42
|
-
create_materialized_view(name, definition)
|
42
|
+
create_materialized_view(name, definition, no_data: no_data)
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
@@ -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.
|
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.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Dinger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-27 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.
|
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.
|
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
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
|
-
rubygems_version: 3.
|
160
|
+
rubygems_version: 3.3.7
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Oracle adapter for thoughtbot/scenic
|