qmin 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qmin/version.rb +1 -1
- data/qmin.gemspec +1 -1
- data/spec/qmin/reporting/mail/mail_builder_spec.rb +2 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ba49c07120bd3024f94dae12f439d4b13702929
|
4
|
+
data.tar.gz: 210ea73ac2f474acea43bc4443755ca3d25a9948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4faca47aab093bd2e56159c72b20cec9fa984c1057af69acaabafa842ba1d99c563643a0c89aea6ca9a86f46daba3d6c4c359b8dabfe692d1e2166ac5dcfa528
|
7
|
+
data.tar.gz: fd4b8e2d591a34e455a75c0386e2b5429d1baf11b26972ebcfd4879b33417e0f96a95a960db83f7499b03a1d38500dd8c1d0c12cdc113334f9420375ba0dde8d
|
data/lib/qmin/version.rb
CHANGED
data/qmin.gemspec
CHANGED
@@ -3,17 +3,16 @@ require File.expand_path '../../../../lib/qmin', File.dirname(__FILE__)
|
|
3
3
|
|
4
4
|
describe 'Qmin::Reporting::MailBuilder' do
|
5
5
|
|
6
|
-
|
7
6
|
let(:message) { 'Exceptional' }
|
8
7
|
let(:backtrace) { ['Line 1', 'Line 2'] }
|
9
8
|
let(:exception) { err = StandardError.new(message); err.set_backtrace(backtrace); err }
|
9
|
+
|
10
10
|
let(:mail_to) { 'receiver@example.com' }
|
11
11
|
let(:mail_from) { 'notifier@example.com' }
|
12
12
|
|
13
13
|
it 'builds mail' do
|
14
14
|
mail = Qmin::Reporting::MailBuilder.new(exception, mail_to, mail_from).build
|
15
|
-
|
16
|
-
mail.should be_kind_of(Mail::Message)
|
15
|
+
|
17
16
|
mail.subject.should match(%r/#{message}$/)
|
18
17
|
mail.body.should include(backtrace.join("\n"))
|
19
18
|
mail.to.should eql [mail_to]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qmin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- the-architect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: mail
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - '
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 2.5.3
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 2.5.3
|
83
83
|
description: Simple framwork to coordinate background tasks
|
84
84
|
email:
|
85
85
|
- marcel.scherf@epicteams.com
|