olek-libcraigscrape 1.1.0.2 → 1.1.0.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.
Files changed (2) hide show
  1. data/bin/craigwatch +2 -2
  2. metadata +1 -1
@@ -393,7 +393,7 @@ parser = Kwalify::Yaml::Parser.new(
393
393
  )
394
394
 
395
395
  report_definition_file_content = ERB.new(File.read(report_definition_file)).result
396
- craig_report = parser.parse(report_definition_file_content, report_definition_file)
396
+ craig_report = parser.parse(report_definition_file_content, filename: report_definition_file)
397
397
 
398
398
  parser.errors.each do |e|
399
399
  puts "Definition Validation Error (line #{e.linenum}, char #{e.column}): #{e.message}"
@@ -403,7 +403,7 @@ end and exit if parser.errors.length > 0
403
403
  ActionMailer::Base.prepend_view_path(File.dirname(__FILE__))
404
404
  ActionMailer::Base.logger = Logger.new STDERR if craig_report.debug_mailer?
405
405
  if craig_report.smtp_settings
406
- ActionMailer::Base.smtp_settings = craig_report.smtp_settings
406
+ ActionMailer::Base.smtp_settings = craig_report.smtp_settings.symbolize_keys
407
407
  ActionMailer::Base.delivery_method = :smtp
408
408
  else
409
409
  ActionMailer::Base.delivery_method = :sendmail
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olek-libcraigscrape
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.2
4
+ version: 1.1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: