activerecord-redshift-adapter 0.9.8 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2013, Fiksu, Inc.
1
+ Copyright (c) 2010-2014, Fiksu, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -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-12-14'
10
+ s.date = '2014-01-28'
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"]
@@ -250,6 +250,7 @@ module ActiveRecord
250
250
 
251
251
  NATIVE_DATABASE_TYPES = {
252
252
  :primary_key => "bigint primary key",
253
+ :identity => "bigint identity primary key",
253
254
  :string => { :name => "character varying", :limit => 255 },
254
255
  :text => { :name => "text" },
255
256
  :integer => { :name => "integer" },
@@ -51,8 +51,8 @@ module ActiverecordRedshift
51
51
  return "#{schema_name}.#{base_table_name}"
52
52
  end
53
53
 
54
- def drop_table(cascade = false)
55
- @connection.execute("drop table #{table_name}#{' cascade' if cascade}")
54
+ def drop_table
55
+ @connection.execute("drop table #{table_name}")
56
56
  end
57
57
 
58
58
  def duplicate_table(options = {})
@@ -1,4 +1,4 @@
1
1
  module ActiverecordRedshiftAdapter
2
2
  # the current version of this gem
3
- VERSION = "0.9.8"
3
+ VERSION = "0.9.10"
4
4
  end
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.8
4
+ version: 0.9.10
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-14 00:00:00.000000000 Z
12
+ date: 2014-01-28 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.24
137
+ rubygems_version: 1.8.25
138
138
  signing_key:
139
139
  specification_version: 3
140
140
  summary: Rails 3 database adapter support for AWS RedShift.