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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90cced87a95b6ccb71157a1c48cb6853807b8056e63f162a9bb029ca395ca2e9
4
- data.tar.gz: 4f8622335a56bb5790762bf157bedc80fa36f63273b8f7231397b10d44dfd1f3
3
+ metadata.gz: f01bd1470b251d8a09ce793abe0fe5cd65d8c0009b77e91d24ea90cca4e9b0e0
4
+ data.tar.gz: 3b20468c050212c306d41b2b3a5d87c503e9d21227d0fcef1f438ee8a6ad2cd1
5
5
  SHA512:
6
- metadata.gz: cb32bae31161bb72aa561fd637702ee9b64a1d148dbc0129ded0eda8cf6fd6412879d2d9611fbd1073fc849e859c10efadf104c3a4193d4ac95ea2f522a84ad1
7
- data.tar.gz: 44c8b878d942b249fbfb444068ad493b7b678cb56c60305c6551ec60699048bb92d2ad6dfd59b9c890ea64cc1d4bec4737b6f0adc11dc7c699c46e7b5c7b9e5e
6
+ metadata.gz: 65d6dbd15912e620c490e6b42e84082178a4a5fa915c77b09d4bd3eef986427799b5d55d9f8e40ddeca15ff178a4743cd82e9beb2acf013ec94727a0a2ad9d8c
7
+ data.tar.gz: a94d451afef4a0abb8570c25690fbe06565015f2b2f33d465649e30dbf45c128ca5265e8ebd8edcdd56f71e95d2286806beedaf20f1aac86e956c553b850dfc2
@@ -1,6 +1,8 @@
1
1
  name: CI
2
2
 
3
- on: [push]
3
+ on:
4
+ push:
5
+ pull_request:
4
6
 
5
7
  jobs:
6
8
 
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:
@@ -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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Scenic
4
4
  module OracleAdapter
5
- VERSION = "1.1.1"
5
+ VERSION = "1.2.2"
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.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: 2021-09-10 00:00:00.000000000 Z
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.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
@@ -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.2.15
160
+ rubygems_version: 3.3.7
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Oracle adapter for thoughtbot/scenic