database_rewinder 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/database_rewinder.gemspec +1 -1
- data/lib/database_rewinder.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c47567783cdab6281ee56872e11563b7a9095572
|
4
|
+
data.tar.gz: 71abedfc4e450c23262c177731cc4272c9472ef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf0af7dc646dc374111fd2bfc0e718352ac0fefff315d41eaca483784b379744e3363200cf1f82e8b9d727ed5182362df2697216c2b954982cbd83c2387114cd
|
7
|
+
data.tar.gz: 40164642aabc77c15749c70e752f87881440fe87cdbdc91b621db0e48aa15cda0e2130ef7197a6f4b39a1391d0fa9157c9747a90a771af72f3f403772e5bcb3d
|
data/database_rewinder.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "database_rewinder"
|
7
|
-
spec.version = '0.6.
|
7
|
+
spec.version = '0.6.4'
|
8
8
|
spec.authors = ["Akira Matsuda"]
|
9
9
|
spec.email = ["ronnie@dio.jp"]
|
10
10
|
spec.description = "A minimalist's tiny and ultra-fast database cleaner"
|
data/lib/database_rewinder.rb
CHANGED
@@ -73,7 +73,7 @@ module DatabaseRewinder
|
|
73
73
|
def all_table_names(connection)
|
74
74
|
db = connection.pool.spec.config[:database]
|
75
75
|
#NOTE connection.tables warns on AR 5 with some adapters
|
76
|
-
tables =
|
76
|
+
tables = ActiveSupport::Deprecation.silence { connection.tables }
|
77
77
|
@table_names_cache[db] ||= tables.reject do |t|
|
78
78
|
(t == ActiveRecord::Migrator.schema_migrations_table_name) ||
|
79
79
|
(ActiveRecord::Base.respond_to?(:internal_metadata_table_name) && (t == ActiveRecord::Base.internal_metadata_table_name))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: database_rewinder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akira Matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|