database_cleaner 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,5 +1,10 @@
1
1
  == 0.6.x (in git)
2
2
 
3
+ == 0.6.4 2011-02-21
4
+
5
+ === Bugfixes
6
+ * Avoids trying to drop views in Postgres. (Bernerd Schaefer)
7
+
3
8
  == 0.6.3 2011-02-09
4
9
 
5
10
  === New Features
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 3
2
+ :patch: 4
3
3
  :major: 0
4
4
  :build:
5
5
  :minor: 6
@@ -101,7 +101,7 @@ module DataMapper
101
101
  def storage_names(repository = :default)
102
102
  sql = <<-SQL.compress_lines
103
103
  SELECT table_name FROM "information_schema"."tables"
104
- WHERE table_schema = current_schema()
104
+ WHERE table_schema = current_schema() and table_type = 'BASE TABLE'
105
105
  SQL
106
106
  select(sql)
107
107
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_cleaner
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 3
10
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Mabey
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-09 00:00:00 -07:00
18
+ date: 2011-02-21 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21