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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ff3f0d1fbde9d321b9724c17b8509ee901767be
4
- data.tar.gz: 544629dc2e489f2cfab3502fe4057c5e3c44f850
3
+ metadata.gz: 5ba49c07120bd3024f94dae12f439d4b13702929
4
+ data.tar.gz: 210ea73ac2f474acea43bc4443755ca3d25a9948
5
5
  SHA512:
6
- metadata.gz: 24f64d0830c27904e64e72e015e90ef46941689362065eb4ec4b50ebb70141ad23994ad2b393d4ad5af1c89534fcfae94715f8c471592d3dd35ab4163f34437b
7
- data.tar.gz: 2fdb9d6d4ca92329e51f72a8e32d3d37f633fc83014ca9fbdc29036e48e76bdc29aabf3ca442b129e87fd2d7b1a74590448829c51d6c2c416fa2a3fa0b070b56
6
+ metadata.gz: 4faca47aab093bd2e56159c72b20cec9fa984c1057af69acaabafa842ba1d99c563643a0c89aea6ca9a86f46daba3d6c4c359b8dabfe692d1e2166ac5dcfa528
7
+ data.tar.gz: fd4b8e2d591a34e455a75c0386e2b5429d1baf11b26972ebcfd4879b33417e0f96a95a960db83f7499b03a1d38500dd8c1d0c12cdc113334f9420375ba0dde8d
data/lib/qmin/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Qmin
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
data/qmin.gemspec CHANGED
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'rake'
23
23
  spec.add_development_dependency 'rspec'
24
24
  spec.add_development_dependency 'mocha'
25
- spec.add_development_dependency 'mail'
25
+ spec.add_development_dependency 'mail', '2.5.3'
26
26
  end
@@ -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
- mail.should_not be_blank
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.9
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-15 00:00:00.000000000 Z
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: '0'
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: '0'
82
+ version: 2.5.3
83
83
  description: Simple framwork to coordinate background tasks
84
84
  email:
85
85
  - marcel.scherf@epicteams.com