rscout 0.0.5 → 0.0.6

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: 0622e655b8e0c28ccee8389460ba14a822f6e1ce
4
- data.tar.gz: 0694c366f0ce7b05d5fcdb82f3116fc745e25ca2
3
+ metadata.gz: c71034692c4f3910e62633e47960fb9b82c45c42
4
+ data.tar.gz: 8d9ec03d7715a9d05aa43ff0608a8f12dabd981f
5
5
  SHA512:
6
- metadata.gz: b152a015415df39e8dbd70a3babb7778692ba6c30dc3f5939a0fd80ac136c26f8a43a96166b8051980214eb8354bef9d7e973aeda48c76085ab0f5d27e0819be
7
- data.tar.gz: 05a8fd8a8b6a574800fe6f1e8d61b215c5a538642a86e0646b644dda9ff79431656ee7a9fb89816253e9b6860977a9ee736d306c23adea661b41ae92e6d61fa4
6
+ metadata.gz: c80f4fc90e00622644aa8824081c3524b5f91b31b51a446a164ab61bc3b15117c3541c5aadd0be09caa00997c92b8008472db8a674c53310cb225736253a7a0b
7
+ data.tar.gz: 84e274bdea3c8e516979c21e9a6422229b2f20663d38b756da346f73dba9a8023da81aba45a40d5c8ffcb122df67b308b15a92788dc3d5e735512d144f94ae34
data/lib/rscout.rb CHANGED
@@ -109,7 +109,7 @@ module RScout
109
109
  logger.info "Sending emails alert to #{config.email}"
110
110
  begin
111
111
  mail = Mail.new do
112
- from options[:from_email]
112
+ from RScout.options[:from_email]
113
113
  to config.email
114
114
  subject "RScout Alert: Tests failing on #{config.name.to_s.humanize.titleize} (#{env})"
115
115
  add_file filename: 'results.html', content: output.html.string
@@ -135,7 +135,7 @@ module RScout
135
135
  begin
136
136
  if config.pagerduty_service_key.match(/@(.*)pagerduty.com$/)
137
137
  mail = Mail.new do
138
- from options[:from_email]
138
+ from RScout.options[:from_email]
139
139
  to config.pagerduty_service_key
140
140
  subject "DOWN alert: RScout tests failing on #{config.name.to_s.humanize.titleize} (#{env})"
141
141
  body email_body
@@ -1,3 +1,3 @@
1
1
  module Rscout
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rscout
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
  - Andrew Hammond (@andrhamm)