border-patrol 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c52c55d2899f320db74a66568d45a142b3e1731a
4
- data.tar.gz: c924877709d0071194faad3a3e9e22c25b3dcb32
3
+ metadata.gz: 4828c5b657a93fd8b3cd562b5f0180ded2474933
4
+ data.tar.gz: 2f32c76acfab51a7d3d18afe6cbdf303252e17db
5
5
  SHA512:
6
- metadata.gz: 09552d7149ab19242c610951e884f613a6f4972ba233023ec7340a0cf4ed4a67e395ddcb3707c622e86db2b7602f2691614d014df5d52229ca2751c67bf1e635
7
- data.tar.gz: db38665670efc91b12006ad88700a2f40fdd612aad9591e83de6cf2c745b57cf64941c18d2449f980d5a6b2cfc0663b21e8eceb333df8f20659f5c49836ba4b1
6
+ metadata.gz: 46976d72b3351b6e1a8a6a87ea5514189db8eb150d7769cf69bcd0b67e1835e17f1f7aa260105802556fb9c93116d0514ae4aa87bb1bac96d92d9547a61ef7c7
7
+ data.tar.gz: ddd7b6ab9bca0dda8a6291644f1d293535125ad1c7cb5e90da734830783ec52f04f7158f4d94863d0d3cd9a78273a7199bfd34bb89d141952d7ded476eff7183
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- border-patrol (0.1.2)
4
+ border-patrol (0.1.3)
5
5
  rails (>= 3)
6
6
  timers
7
7
 
data/lib/border-patrol.rb CHANGED
@@ -31,10 +31,12 @@ module BorderPatrol
31
31
 
32
32
  private
33
33
  def pending_migrations
34
- if ActiveRecord::Migrator.respond_to?(:open)
35
- ActiveRecord::Migrator.open(ActiveRecord::Migrator.migrations_paths).pending_migrations
36
- else
37
- ActiveRecord::Migrator.new(:up, ActiveRecord::Migrator.migrations_paths).pending_migrations
34
+ Rails.logger.quietly do
35
+ if ActiveRecord::Migrator.respond_to?(:open)
36
+ ActiveRecord::Migrator.open(ActiveRecord::Migrator.migrations_paths).pending_migrations
37
+ else
38
+ ActiveRecord::Migrator.new(:up, ActiveRecord::Migrator.migrations_paths).pending_migrations
39
+ end
38
40
  end
39
41
  end
40
42
 
@@ -1,3 +1,3 @@
1
1
  module BorderPatrol
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: border-patrol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Beder