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 +4 -4
- data/README.md +1 -1
- data/lib/scenic/adapters/oracle.rb +5 -1
- data/lib/scenic/oracle_adapter/version.rb +1 -1
- data/scenic-oracle_adapter.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 533aa27e5aab91d23478730a7330bc9d08c343ddd5de1bfa8191ed18e2ed9dd6
|
4
|
+
data.tar.gz: b8461d886bca7de8feb790fa12bdb59a550e81b5fd12f292ff5008b55e6db769
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 784827c8e18df5276b914921aded3c4b8ccb57ee5fa0993ef88eca4a1b8023df93983cb05e17b4a620e71d27dd20afb9fcf86bb31dd2b2a18ac3fb057d80aa8d
|
7
|
+
data.tar.gz: 04e19cc856521843c40fd06ca4bd0bd2e4f5e1389251bc63949a34be45e294edb64f35fb6778ffb50581ab479b96f3658e169a59c5a44e0ebefad298ef269cd1
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# scenic-oracle_adapter
|
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
|
|
@@ -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", "
|
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.
|
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:
|
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.
|
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.
|
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.
|
160
|
+
rubygems_version: 3.5.4
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Oracle adapter for thoughtbot/scenic
|