activerecord-redshift-adapter 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.name = 'activerecord-redshift-adapter'
|
8
8
|
s.version = ActiverecordRedshiftAdapter::VERSION
|
9
9
|
s.license = 'New BSD License'
|
10
|
-
s.date = '2013-
|
10
|
+
s.date = '2013-12-14'
|
11
11
|
s.summary = "Rails 3 database adapter support for AWS RedShift."
|
12
12
|
s.description = "This gem provides the Rails 3 with database adapter for AWS RedShift."
|
13
13
|
s.authors = ["Keith Gabryelski"]
|
@@ -51,8 +51,8 @@ module ActiverecordRedshift
|
|
51
51
|
return "#{schema_name}.#{base_table_name}"
|
52
52
|
end
|
53
53
|
|
54
|
-
def drop_table
|
55
|
-
@connection.execute("drop table #{table_name}")
|
54
|
+
def drop_table(cascade = false)
|
55
|
+
@connection.execute("drop table #{table_name}#{' cascade' if cascade}")
|
56
56
|
end
|
57
57
|
|
58
58
|
def duplicate_table(options = {})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-redshift-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 1.8.
|
137
|
+
rubygems_version: 1.8.24
|
138
138
|
signing_key:
|
139
139
|
specification_version: 3
|
140
140
|
summary: Rails 3 database adapter support for AWS RedShift.
|
@@ -143,4 +143,3 @@ test_files:
|
|
143
143
|
- spec/active_record/connection_adapters/redshift_adapter_spec.rb
|
144
144
|
- spec/dummy/config/database.example.yml
|
145
145
|
- spec/spec_helper.rb
|
146
|
-
has_rdoc:
|