blue-shift 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/lib/blueshift.rb +1 -0
- data/lib/blueshift/railtie.rb +10 -0
- data/lib/blueshift/version.rb +1 -1
- data/lib/sequel/adapters/redshift.rb +6 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9541a96cc11b59a2d3d4f0186f3149be133b7137
|
4
|
+
data.tar.gz: 77ac01b0820cd0f28405ee87a0e73d4fec88597f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb4e2f82e887ed74b4dc01e5ef8f88361fea131def1747176e321b340d397f356af27c1ba080c8a199d6f04d9b48544811468dd2d64d87ca39e5d5fbed4abf34
|
7
|
+
data.tar.gz: 60cd4af5dbe206989acc7724edf066bc947e289a1acdbef4dff0cb58e9946d66b8f7a3d9ed93640cd844901e54eadb4d379c93ddcdae508c22e4d3e909210f7a
|
data/Gemfile
CHANGED
data/lib/blueshift.rb
CHANGED
data/lib/blueshift/version.rb
CHANGED
@@ -30,11 +30,12 @@ module Sequel
|
|
30
30
|
|
31
31
|
def create_table_sql(name, generator, options)
|
32
32
|
validate_options!(options)
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
33
|
+
sql = super
|
34
|
+
sql += diststyle_sql(options)
|
35
|
+
sql += distkey_sql(options)
|
36
|
+
sql += sortstyle_sql(options)
|
37
|
+
|
38
|
+
sql
|
38
39
|
end
|
39
40
|
|
40
41
|
def diststyle_sql(options)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blue-shift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Mansour
|
@@ -116,6 +116,7 @@ files:
|
|
116
116
|
- blueshift.gemspec
|
117
117
|
- lib/blueshift.rb
|
118
118
|
- lib/blueshift/migration.rb
|
119
|
+
- lib/blueshift/railtie.rb
|
119
120
|
- lib/blueshift/uuid.rb
|
120
121
|
- lib/blueshift/version.rb
|
121
122
|
- lib/sequel/adapters/postgres_ext.rb
|
@@ -142,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
143
|
version: '0'
|
143
144
|
requirements: []
|
144
145
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
146
|
+
rubygems_version: 2.5.1
|
146
147
|
signing_key:
|
147
148
|
specification_version: 4
|
148
149
|
summary: Amazon Redshift adapter for Sequel
|