summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml9
-rw-r--r--lib/axlsx/drawing/bar_series.rb1
-rw-r--r--test/benchmark.rb1
3 files changed, 0 insertions, 11 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 817fdd67..26b70dfc 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -47,15 +47,6 @@ Layout/ClosingParenthesisIndentation:
Layout/EmptyLineAfterGuardClause:
Enabled: false
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: empty_lines, no_empty_lines
-Layout/EmptyLinesAroundBlockBody:
- Exclude:
- - 'lib/axlsx/drawing/bar_series.rb'
- - 'test/benchmark.rb'
-
# Offense count: 285
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
diff --git a/lib/axlsx/drawing/bar_series.rb b/lib/axlsx/drawing/bar_series.rb
index e90a2818..2ee40488 100644
--- a/lib/axlsx/drawing/bar_series.rb
+++ b/lib/axlsx/drawing/bar_series.rb
@@ -59,7 +59,6 @@ module Axlsx
# @return [String]
def to_xml_string(str = '')
super(str) do
-
colors.each_with_index do |c, index|
str << '<c:dPt>'
str << ('<c:idx val="' << index.to_s << '"/>')
diff --git a/test/benchmark.rb b/test/benchmark.rb
index 8d90cdf5..e9f6c22b 100644
--- a/test/benchmark.rb
+++ b/test/benchmark.rb
@@ -9,7 +9,6 @@ input = (32..126).to_a.pack('U*').chars.to_a
20.times { row << input.shuffle.join}
times = 3000
Benchmark.bmbm(30) do |x|
-
x.report('axlsx_noautowidth') {
p = Axlsx::Package.new
p.workbook do |wb|