~singpolyma/sgx-jmp

ab95e3bfb9ad44dc33478821d25d75c8dc758de1 — Stephen Paul Weber 1 year, 6 months ago 0e62b91
Bad XML parser produces hash for one element, array for >1
2 files changed, 4 insertions(+), 0 deletions(-)

M .rubocop.yml
M lib/bandwidth_iris_patch.rb
M .rubocop.yml => .rubocop.yml +3 -0
@@ 73,6 73,9 @@ Layout/MultilineMethodCallIndentation:
Style/AccessModifierDeclarations:
  Enabled: false

Style/ArrayCoercion:
  Enabled: false

Style/StringLiterals:
  EnforcedStyle: double_quotes


M lib/bandwidth_iris_patch.rb => lib/bandwidth_iris_patch.rb +1 -0
@@ 21,6 21,7 @@ module BandwidthIris
		attr_reader :errors

		def initialize(errors)
			errors = [errors] unless errors.is_a?(Array)
			super(errors.map { |e| e[:description] }.join("\n"))
			@errors = errors
		end