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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c7028623a6fd17b7d6badc9203dd48468278a15
4
- data.tar.gz: 69dd0c5d66908f6e780580ee3675d32fb64db0e3
3
+ metadata.gz: c47567783cdab6281ee56872e11563b7a9095572
4
+ data.tar.gz: 71abedfc4e450c23262c177731cc4272c9472ef1
5
5
  SHA512:
6
- metadata.gz: a77f0ee23ab3b06b1d7d3998474732ec23f4e8d372c2b353bb68a2d5905facfe8925f5fe43932df763f2866170b48af87dd323b693903874c989696f2e6c8c13
7
- data.tar.gz: 6151852cdd95247b417a17b370d25a9287a227a6d35556441a86f6f6493d859f5fe3914ca878b4ea7773773e5cf3a145b3b072a8365ea431624de5aad374863a
6
+ metadata.gz: bf0af7dc646dc374111fd2bfc0e718352ac0fefff315d41eaca483784b379744e3363200cf1f82e8b9d727ed5182362df2697216c2b954982cbd83c2387114cd
7
+ data.tar.gz: 40164642aabc77c15749c70e752f87881440fe87cdbdc91b621db0e48aa15cda0e2130ef7197a6f4b39a1391d0fa9157c9747a90a771af72f3f403772e5bcb3d
@@ -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.3'
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"
@@ -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 = ActiveRecord::Base.logger.silence { connection.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.3
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-15 00:00:00.000000000 Z
11
+ date: 2016-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler