brillo 1.3.0 → 1.3.1.pre1

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: ed51adc58208694cd352025dbd773637176c70f8
4
- data.tar.gz: 0556c7bad489affaccba0e9341af4863240d4b28
3
+ metadata.gz: 0dba523b692e35196b5e1e33d8d6e1aadaebb70a
4
+ data.tar.gz: bcc30c6f309b5fb194fa64b20876e26aac23c3b0
5
5
  SHA512:
6
- metadata.gz: 45accea61c2b9cd61dee2a4b4d95e82a353ed6e2c3ed146dc9445462f7afc33bb327c003895aa4b4f6300df3a19d7d6e503691f0c092259e48f6a31d3889c985
7
- data.tar.gz: fa0b361deb1ff96feeede5a1068bcd475182f93ecec877c07e68b81ebdd07e82c7b39519e89f30616804fcec19d0f3ba7fc8fe43d0da76c89a185f8fb709dbd9
6
+ metadata.gz: bcc9b255555778431a855faa1f80dc65dec6f09672b6628e6a7f4abcfed40145c3098b94fa98e6c6f126300e6d70ba15eebafe1abb311a8be7cb206ba831fe54
7
+ data.tar.gz: 98b124926ff5f0f4b8cc4b8998e1d45cce9a7d6524f134ff4c592baee0f1bfbc34325c51ec90294976c2d96595d8547999489abb2af98ed69f59d2e35d8cef6f
@@ -74,8 +74,10 @@ module Brillo
74
74
  def explore_class(klass, tactic_or_ids, associations)
75
75
  ids = tactic_or_ids.is_a?(Symbol) ? TACTICS.fetch(tactic_or_ids).call(klass) : tactic_or_ids
76
76
  logger.info("Scrubbing #{ids.length} #{klass} rows with associations #{associations}")
77
- Polo.explore(klass, ids, associations).each do |row|
78
- yield "#{row};"
77
+ ActiveRecord::Base.connection.uncached do
78
+ Polo.explore(klass, ids, associations).each do |row|
79
+ yield "#{row};"
80
+ end
79
81
  end
80
82
  end
81
83
 
@@ -1,3 +1,3 @@
1
1
  module Brillo
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1.pre1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brillo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Bessey
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-22 00:00:00.000000000 Z
11
+ date: 2017-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -220,9 +220,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
220
  version: '0'
221
221
  required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  requirements:
223
- - - ">="
223
+ - - ">"
224
224
  - !ruby/object:Gem::Version
225
- version: '0'
225
+ version: 1.3.1
226
226
  requirements: []
227
227
  rubyforge_project:
228
228
  rubygems_version: 2.5.2