scenic-oracle_adapter 1.2.2 → 1.3.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: f01bd1470b251d8a09ce793abe0fe5cd65d8c0009b77e91d24ea90cca4e9b0e0
4
- data.tar.gz: 3b20468c050212c306d41b2b3a5d87c503e9d21227d0fcef1f438ee8a6ad2cd1
3
+ metadata.gz: 533aa27e5aab91d23478730a7330bc9d08c343ddd5de1bfa8191ed18e2ed9dd6
4
+ data.tar.gz: b8461d886bca7de8feb790fa12bdb59a550e81b5fd12f292ff5008b55e6db769
5
5
  SHA512:
6
- metadata.gz: 65d6dbd15912e620c490e6b42e84082178a4a5fa915c77b09d4bd3eef986427799b5d55d9f8e40ddeca15ff178a4743cd82e9beb2acf013ec94727a0a2ad9d8c
7
- data.tar.gz: a94d451afef4a0abb8570c25690fbe06565015f2b2f33d465649e30dbf45c128ca5265e8ebd8edcdd56f71e95d2286806beedaf20f1aac86e956c553b850dfc2
6
+ metadata.gz: 784827c8e18df5276b914921aded3c4b8ccb57ee5fa0993ef88eca4a1b8023df93983cb05e17b4a620e71d27dd20afb9fcf86bb31dd2b2a18ac3fb057d80aa8d
7
+ data.tar.gz: 04e19cc856521843c40fd06ca4bd0bd2e4f5e1389251bc63949a34be45e294edb64f35fb6778ffb50581ab479b96f3658e169a59c5a44e0ebefad298ef269cd1
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # scenic-oracle_adapter [![Build Status](https://github.com/cdinger/scenic-oracle_adapter/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/cdinger/scenic-oracle_adapter/actions/workflows/ci.yml?query=branch%3Amaster)
1
+ # scenic-oracle_adapter
2
2
 
3
3
  An Oracle adapter for the [scenic](https://github.com/scenic-views/scenic) rubygem.
4
4
 
@@ -58,8 +58,12 @@ module Scenic
58
58
  EOSQL
59
59
  end
60
60
 
61
+ def populated?(name)
62
+ !select_value("select last_refresh_date from user_mviews where mview_name = '#{name.upcase}'").nil?
63
+ end
64
+
61
65
  delegate :connection, to: :@connectable
62
- delegate :select_all, :execute, :quote_table_name, to: :connection
66
+ delegate :select_all, :select_value, :execute, :quote_table_name, to: :connection
63
67
 
64
68
  private
65
69
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Scenic
4
4
  module OracleAdapter
5
- VERSION = "1.2.2"
5
+ VERSION = "1.3.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.7.0"
25
+ spec.add_dependency "scenic", ">= 1.8.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,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scenic-oracle_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Dinger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-27 00:00:00.000000000 Z
11
+ date: 2024-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scenic
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.7.0
19
+ version: 1.8.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.7.0
26
+ version: 1.8.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.3.7
160
+ rubygems_version: 3.5.4
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Oracle adapter for thoughtbot/scenic