active_record-sql_analyzer 0.0.5 → 0.0.6

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: c308697640f8e1b52266458db9604bb83dfbcaea
4
- data.tar.gz: 2b443a18b3e8a34f535026507fec5c5f3e6faef0
3
+ metadata.gz: 6c82d43db3028f9c593d113b9b78c9cbf2d9b144
4
+ data.tar.gz: c9fdbf5b69d296f36e25307388e58c3a17a4e7c3
5
5
  SHA512:
6
- metadata.gz: 00b1339eb5736b31d2d35a7f83f92c028df35d73a519a998524dc23e016e81288541c0bfc5b571f123412fab15513ba812a2683fccdcf44ece06a5b01729ab23
7
- data.tar.gz: 06c705ab6bdb08fda317fda3e82a86e4055b881583531508890fc47bd9b2ba3e339fc8137431975bdec0016d7e8a201752bee9649cb18104ac0ae16417610706
6
+ metadata.gz: a4587d84adb818984808c88a3e4f3d11ef71323812420208dd3d158fa1f414eb27f918712233f174f05b9749978f8d9e955eda267a1cd05610377b9980bed4fe
7
+ data.tar.gz: 22150ab73c5b89668e0c86bed36e0248d8c0f403379a56363971d937ee21b60c583ceeae0750661f60b97faf3b4ffaf1b5e51a953ef99364c783c4b51e017dd6
@@ -10,11 +10,11 @@ module ActiveRecord
10
10
  end
11
11
 
12
12
  config[:backtrace_redactors].each do |redactor|
13
- event[:caller].gsub!(redactor.search, redactor.replace)
13
+ event[:caller].gsub!(redactor.search, redactor.replace) if event[:caller]
14
14
  end
15
15
 
16
16
  config[:sql_redactors].each do |redactor|
17
- event[:sql].gsub!(redactor.search, redactor.replace)
17
+ event[:sql].gsub!(redactor.search, redactor.replace) if event[:sql]
18
18
  end
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module SqlAnalyzer
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record-sql_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Anker
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-12 00:00:00.000000000 Z
12
+ date: 2016-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.4.5.1
113
+ rubygems_version: 2.4.8
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Logs a subset of ActiveRecord queries and dumps them for analyses.
@@ -127,3 +127,4 @@ test_files:
127
127
  - spec/support/stub_logger.rb
128
128
  - spec/support/stub_rails.rb
129
129
  - spec/support/wait_for_pop.rb
130
+ has_rdoc: