activerecord_snapshot_view 0.11.5 → 0.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.5
1
+ 0.11.6
@@ -1,2 +1,3 @@
1
+ require 'rubygems'
1
2
  require 'active_record'
2
3
  require 'activerecord_snapshot_view/snapshot_view'
@@ -145,7 +145,7 @@ module ActiveRecord
145
145
  suffixed_table_names.each do |stn|
146
146
  connection.execute( "drop table if exists #{stn}" )
147
147
  end
148
- connection.execute( "drop table #{switch_table_name}" )
148
+ connection.execute( "drop table if exists #{switch_table_name}" )
149
149
  end
150
150
 
151
151
  def ensure_version_table(name)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_snapshot_view
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 11
9
- - 5
10
- version: 0.11.5
9
+ - 6
10
+ version: 0.11.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - mccraig mccraig of the clan mccraig