database_cleaner 0.6.3 → 0.6.4
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/History.txt +5 -0
- data/VERSION.yml +1 -1
- data/lib/database_cleaner/data_mapper/truncation.rb +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/VERSION.yml
CHANGED
@@ -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:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
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-
|
18
|
+
date: 2011-02-21 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|