rumbster 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -2
- data/Gemfile.lock +7 -7
- data/{README.rdoc → README.md} +9 -5
- data/VERSION +1 -1
- data/rumbster.gemspec +7 -10
- metadata +79 -101
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,22 +2,23 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
git (1.2.5)
|
5
|
-
i18n (0.6.
|
5
|
+
i18n (0.6.1)
|
6
6
|
jeweler (1.6.2)
|
7
7
|
bundler (~> 1.0)
|
8
8
|
git (>= 1.2.5)
|
9
9
|
rake
|
10
|
-
mail (2.3
|
10
|
+
mail (2.5.3)
|
11
11
|
i18n (>= 0.4.0)
|
12
12
|
mime-types (~> 1.16)
|
13
13
|
treetop (~> 1.4.8)
|
14
|
-
mime-types (1.
|
15
|
-
polyglot (0.3.
|
14
|
+
mime-types (1.19)
|
15
|
+
polyglot (0.3.3)
|
16
16
|
rake (0.9.2)
|
17
17
|
rcov (0.9.9)
|
18
18
|
rcov (0.9.9-java)
|
19
19
|
rdoc (3.6.1)
|
20
|
-
treetop (1.4.
|
20
|
+
treetop (1.4.12)
|
21
|
+
polyglot
|
21
22
|
polyglot (>= 0.3.1)
|
22
23
|
|
23
24
|
PLATFORMS
|
@@ -25,8 +26,7 @@ PLATFORMS
|
|
25
26
|
ruby
|
26
27
|
|
27
28
|
DEPENDENCIES
|
28
|
-
bundler (~> 1.0.0)
|
29
29
|
jeweler (~> 1.6.2)
|
30
|
-
mail
|
30
|
+
mail (= 2.5.3)
|
31
31
|
rcov
|
32
32
|
rdoc
|
data/{README.rdoc → README.md}
RENAMED
@@ -1,17 +1,20 @@
|
|
1
|
-
|
1
|
+
# rumbster
|
2
2
|
|
3
3
|
Rumbster is a fake smtp server for email testing in Ruby.
|
4
4
|
Rumbster was developed to as a way to acceptance test email sending applications.
|
5
5
|
|
6
|
-
|
6
|
+
[![Build Status](https://secure.travis-ci.org/aesterline/rumbster.png)](http://travis-ci.org/aesterline/rumbster)
|
7
|
+
|
8
|
+
## Requirements
|
7
9
|
|
8
10
|
* Ruby 1.8.7 or later (may work with earlier versions)
|
9
11
|
|
10
|
-
|
12
|
+
## Usage
|
11
13
|
|
12
14
|
A good source for usage information is the unit tests in the
|
13
15
|
test directory. Below is an example of the usage.
|
14
16
|
|
17
|
+
```ruby
|
15
18
|
class TestEmails < Test::Unit::TestCase
|
16
19
|
def setup
|
17
20
|
@rumbster = Rumbster.new(port)
|
@@ -33,8 +36,9 @@ test directory. Below is an example of the usage.
|
|
33
36
|
assert_equal 'junk@junk.com', @message_observer.messages.first.to
|
34
37
|
end
|
35
38
|
end
|
39
|
+
```
|
36
40
|
|
37
|
-
|
41
|
+
## Contributing to rumbster
|
38
42
|
|
39
43
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
40
44
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
@@ -44,7 +48,7 @@ test directory. Below is an example of the usage.
|
|
44
48
|
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
45
49
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
46
50
|
|
47
|
-
|
51
|
+
## Copyright
|
48
52
|
|
49
53
|
Copyright (c) 2011 Adam Esterline. See LICENSE.txt for
|
50
54
|
further details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/rumbster.gemspec
CHANGED
@@ -5,16 +5,16 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "rumbster"
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Adam Esterline"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-01-02"
|
13
13
|
s.description = "Rumbster is a simple SMTP server that receives email sent from a SMTP client. Received emails are published to observers that have registered with Rumbster. There are currently two observers; FileMailObserver and MailMessageObserver."
|
14
14
|
s.email = "adam@esterlines.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
|
-
"README.
|
17
|
+
"README.md"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".autotest",
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
"Gemfile",
|
23
23
|
"Gemfile.lock",
|
24
24
|
"LICENSE.txt",
|
25
|
-
"README.
|
25
|
+
"README.md",
|
26
26
|
"Rakefile",
|
27
27
|
"VERSION",
|
28
28
|
"lib/message_observers.rb",
|
@@ -45,21 +45,18 @@ Gem::Specification.new do |s|
|
|
45
45
|
s.specification_version = 3
|
46
46
|
|
47
47
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
48
|
-
s.add_runtime_dependency(%q<mail>, ["
|
49
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
48
|
+
s.add_runtime_dependency(%q<mail>, ["= 2.5.3"])
|
50
49
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
51
50
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
52
51
|
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
53
52
|
else
|
54
|
-
s.add_dependency(%q<mail>, ["
|
55
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
53
|
+
s.add_dependency(%q<mail>, ["= 2.5.3"])
|
56
54
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
57
55
|
s.add_dependency(%q<rcov>, [">= 0"])
|
58
56
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
59
57
|
end
|
60
58
|
else
|
61
|
-
s.add_dependency(%q<mail>, ["
|
62
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
59
|
+
s.add_dependency(%q<mail>, ["= 2.5.3"])
|
63
60
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
64
61
|
s.add_dependency(%q<rcov>, [">= 0"])
|
65
62
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
metadata
CHANGED
@@ -1,112 +1,96 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumbster
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Adam Esterline
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
22
|
-
none: false
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 3
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
version: "0"
|
30
|
-
prerelease: false
|
31
|
-
type: :runtime
|
12
|
+
date: 2013-01-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
32
15
|
name: mail
|
33
|
-
requirement:
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
36
17
|
none: false
|
37
|
-
requirements:
|
38
|
-
- -
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
|
41
|
-
|
42
|
-
- 1
|
43
|
-
- 0
|
44
|
-
- 0
|
45
|
-
version: 1.0.0
|
18
|
+
requirements:
|
19
|
+
- - '='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.5.3
|
22
|
+
type: :runtime
|
46
23
|
prerelease: false
|
47
|
-
|
48
|
-
name: bundler
|
49
|
-
requirement: *id002
|
50
|
-
- !ruby/object:Gem::Dependency
|
51
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
25
|
none: false
|
53
|
-
requirements:
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.5.3
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: jeweler
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
54
35
|
- - ~>
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
hash: 11
|
57
|
-
segments:
|
58
|
-
- 1
|
59
|
-
- 6
|
60
|
-
- 2
|
36
|
+
- !ruby/object:Gem::Version
|
61
37
|
version: 1.6.2
|
62
|
-
prerelease: false
|
63
38
|
type: :development
|
64
|
-
name: jeweler
|
65
|
-
requirement: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
hash: 3
|
73
|
-
segments:
|
74
|
-
- 0
|
75
|
-
version: "0"
|
76
39
|
prerelease: false
|
77
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.6.2
|
46
|
+
- !ruby/object:Gem::Dependency
|
78
47
|
name: rcov
|
79
|
-
requirement:
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
82
49
|
none: false
|
83
|
-
requirements:
|
84
|
-
- -
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
version: "0"
|
90
|
-
prerelease: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
91
54
|
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
92
63
|
name: rdoc
|
93
|
-
requirement:
|
94
|
-
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
description: Rumbster is a simple SMTP server that receives email sent from a SMTP
|
79
|
+
client. Received emails are published to observers that have registered with Rumbster.
|
80
|
+
There are currently two observers; FileMailObserver and MailMessageObserver.
|
95
81
|
email: adam@esterlines.com
|
96
82
|
executables: []
|
97
|
-
|
98
83
|
extensions: []
|
99
|
-
|
100
|
-
extra_rdoc_files:
|
84
|
+
extra_rdoc_files:
|
101
85
|
- LICENSE.txt
|
102
|
-
- README.
|
103
|
-
files:
|
86
|
+
- README.md
|
87
|
+
files:
|
104
88
|
- .autotest
|
105
89
|
- .travis.yml
|
106
90
|
- Gemfile
|
107
91
|
- Gemfile.lock
|
108
92
|
- LICENSE.txt
|
109
|
-
- README.
|
93
|
+
- README.md
|
110
94
|
- Rakefile
|
111
95
|
- VERSION
|
112
96
|
- lib/message_observers.rb
|
@@ -119,37 +103,31 @@ files:
|
|
119
103
|
- test/test_smtp_protocol.rb
|
120
104
|
- test/test_smtp_states.rb
|
121
105
|
homepage: http://github.com/aesterline/rumbster
|
122
|
-
licenses:
|
106
|
+
licenses:
|
123
107
|
- Apache 2.0
|
124
108
|
post_install_message:
|
125
109
|
rdoc_options: []
|
126
|
-
|
127
|
-
require_paths:
|
110
|
+
require_paths:
|
128
111
|
- lib
|
129
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
113
|
none: false
|
131
|
-
requirements:
|
132
|
-
- -
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
|
135
|
-
segments:
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
segments:
|
136
119
|
- 0
|
137
|
-
|
138
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
hash: -2195383530871150813
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
122
|
none: false
|
140
|
-
requirements:
|
141
|
-
- -
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
|
144
|
-
segments:
|
145
|
-
- 0
|
146
|
-
version: "0"
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
147
127
|
requirements: []
|
148
|
-
|
149
128
|
rubyforge_project:
|
150
129
|
rubygems_version: 1.8.24
|
151
130
|
signing_key:
|
152
131
|
specification_version: 3
|
153
132
|
summary: Rumbster is a testing SMTP server.
|
154
133
|
test_files: []
|
155
|
-
|