viewy 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tasks/viewy_tasks.rake +1 -1
- data/lib/viewy/version.rb +1 -1
- data/lib/viewy.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2131a4a4481e70cd523aa43db9a3be81d62991f4
|
|
4
|
+
data.tar.gz: 8b143540aad962f88e4f60d0a145dc832916e6a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0af07200b730212c7aad3d55096bf7c4cd3dfdb8b7305b8a7a2ae0fdec389f221be51a20b8eb9aa2d27500c46036cd9f69aaa472cc7aa84b47bd77f21ce6f04
|
|
7
|
+
data.tar.gz: 6f0933b02568ddfbf3a024129359f423d24e28771a9cddff370488ba2e705285ce9bbc591b98572a678d1f752d5fe6e6395c186b9cb9222920ca9d10e1caed9d
|
data/lib/tasks/viewy_tasks.rake
CHANGED
|
@@ -2,7 +2,7 @@ namespace :viewy do
|
|
|
2
2
|
desc 'This task updates the dependency information view'
|
|
3
3
|
task :refresh_dependency_information, :environment do
|
|
4
4
|
puts 'Refreshing view dependency information cache...'
|
|
5
|
-
Viewy.
|
|
5
|
+
Viewy.refresh_all_dependency_information
|
|
6
6
|
puts 'View dependency information refresh complete.'
|
|
7
7
|
end
|
|
8
8
|
end
|
data/lib/viewy/version.rb
CHANGED
data/lib/viewy.rb
CHANGED
|
@@ -25,6 +25,7 @@ module Viewy
|
|
|
25
25
|
# @return [PG::Result] the result of the refresh statement on the materialized view
|
|
26
26
|
def self.refresh_all_dependency_information
|
|
27
27
|
view_refresher = Viewy::DependencyManagement::ViewRefresher.new(connection)
|
|
28
|
+
view_refresher.refresh_materialized_view('materialized_view_dependencies')
|
|
28
29
|
view_refresher.refresh_materialized_view('all_view_dependencies')
|
|
29
30
|
end
|
|
30
31
|
|