pg_power 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pg_power/schema_dumper/view_methods.rb +3 -1
- data/lib/pg_power/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bc5cdc4d3ee736de7e1f82f6d9164168224d6b8
|
4
|
+
data.tar.gz: eeda8d911f75eec13c987c7a93a597f8499e0ca7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23ab7d95bc743b2ec46c2092c2b4a22831c50399bebb2707e6934a5aa49ac8d03b94e9ca08d92629509bed8be01a701cdfc90d1f0faedc6b965385d0d7df10b6
|
7
|
+
data.tar.gz: 07647a5495ce01fb2632effca9f92fff8c4bec02c1939d2d5d43d8a191b46b8702e2757a9324c06ed3689207ac66020e9e106dac715d412f95f76bab3e82069d
|
@@ -23,7 +23,9 @@ module PgPower::SchemaDumper::ViewMethods
|
|
23
23
|
|
24
24
|
# Generates code to create view.
|
25
25
|
def write_view_definition(stream, table_schema, table_name, view_definition)
|
26
|
-
stream << " create_view \"#{table_schema}.#{table_name}\", \"
|
26
|
+
stream << " create_view \"#{table_schema}.#{table_name}\", <<-SQL\n" \
|
27
|
+
" #{view_definition}\n" \
|
28
|
+
" SQL\n"
|
27
29
|
end
|
28
30
|
private :write_view_definition
|
29
31
|
|
data/lib/pg_power/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_power
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Potapov Sergey
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2014-03-
|
15
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: pg
|
@@ -99,7 +99,7 @@ dependencies:
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
|
-
name:
|
102
|
+
name: debugger
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
105
|
- - ">="
|