schema_plus_views 0.4.0 → 0.4.1

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: 4ff5c6a7f05fbebbb07b6b84ec71761cc533640f3affe94d3e3153645a5599cc
4
- data.tar.gz: 8f79673795c32b02c6ca0ff80495e115cdd3c9caf24e73c8fcf7c4ade95b4923
3
+ metadata.gz: 764ef6eec1c0ff4459d83f12c562e0f05c29a3bfb69fd333184e0a7a05591c46
4
+ data.tar.gz: eb78bcad2c15b3c07a3dbbaee7e90626b914da1fb78d69c6bb478818a7b268e6
5
5
  SHA512:
6
- metadata.gz: 928a52a3e5e42e5e745754a35ad03244dba6fadb7d8681dc48b20643aaaa34675ce0e9befd4d58a6a3139bdaafab132cc5815d4f7be021f78a77eddbf8486ab8
7
- data.tar.gz: 674f0f9bcb0d7cbda52e9d32a2b21d67e3a095f9c2970a34b55db9146d8bee78379fe4e83c37f951b8aacf8c838d11159a35af12169f27bedf97b1ef6ea4adb2
6
+ metadata.gz: 89a1a4eba2cd2c3f45e831d3525e71430da8a6171891947da8fe73abf1356b12424a94b23e59a7b570e6c5ed3f63062c7c1b6993f1990aba78561753d2b7b9eb
7
+ data.tar.gz: f569fa1e50557eadefd3c5bbf4975d6d2a6c0cdde63098ca8706f1c8775d83f999a46c7435fe957031040e2d05db0d0bd6ec36c54c05b140d7b22049807cf2e3
data/README.md CHANGED
@@ -189,6 +189,7 @@ options in `env.options`
189
189
 
190
190
  ## History
191
191
 
192
+ * 0.4.1 - Corrected spacing around dumped schema
192
193
  * 0.4.0 - Added support for Rails 5.2 and materialized views in PostgreSQL
193
194
  * 0.3.1 - Upgrade schema_plus_core and schema_dev dependencies
194
195
  * 0.3.0
@@ -54,9 +54,9 @@ module SchemaPlus::Views
54
54
  extra_options = ", materialized: true" if view_type == :materialized
55
55
  heredelim = "END_VIEW_#{name.upcase}"
56
56
  stream.puts <<~ENDVIEW
57
- create_view "#{name}", <<-'#{heredelim}', :force => true#{extra_options}
58
- #{definition}
59
- #{heredelim}
57
+ create_view "#{name}", <<-'#{heredelim}', :force => true#{extra_options}
58
+ #{definition}
59
+ #{heredelim}
60
60
  ENDVIEW
61
61
 
62
62
  indexes.each do |index|
@@ -64,6 +64,7 @@ module SchemaPlus::Views
64
64
  index.assemble(stream)
65
65
  stream.puts ""
66
66
  end
67
+ stream.puts ""
67
68
  end
68
69
  end
69
70
  end
@@ -1,5 +1,5 @@
1
1
  module SchemaPlus
2
2
  module Views
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_plus_views
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel