mailgun 0.5 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -3
- data/README.md +145 -124
- data/lib/mailgun.rb +1 -0
- data/lib/mailgun/base.rb +18 -13
- data/lib/mailgun/bounce.rb +14 -15
- data/lib/mailgun/complaint.rb +20 -19
- data/lib/mailgun/list.rb +14 -24
- data/lib/mailgun/list/member.rb +25 -29
- data/lib/mailgun/log.rb +6 -9
- data/lib/mailgun/mailbox.rb +20 -20
- data/lib/mailgun/{mail.rb → message.rb} +13 -5
- data/lib/mailgun/route.rb +2 -2
- data/lib/mailgun/unsubscribe.rb +13 -17
- data/mailgun.gemspec +4 -1
- data/spec/bounce_spec.rb +19 -12
- data/spec/complaint_spec.rb +70 -23
- data/spec/list/member_spec.rb +33 -22
- data/spec/list/message_spec.rb +40 -0
- data/spec/list_spec.rb +18 -18
- data/spec/log_spec.rb +6 -3
- data/spec/mailbox_spec.rb +23 -17
- data/spec/route_spec.rb +39 -16
- data/spec/unsubscribe_spec.rb +31 -21
- metadata +42 -19
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailgun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
5
|
-
prerelease:
|
4
|
+
version: '0.6'
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Akash Manohar J
|
@@ -10,38 +9,62 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rest-client
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: multimap
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '0'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rspec
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '2'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '2'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: debugger
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
45
68
|
- !ruby/object:Gem::Version
|
46
69
|
version: '0'
|
47
70
|
description: Mailgun library for Ruby
|
@@ -63,9 +86,9 @@ files:
|
|
63
86
|
- lib/mailgun/list.rb
|
64
87
|
- lib/mailgun/list/member.rb
|
65
88
|
- lib/mailgun/log.rb
|
66
|
-
- lib/mailgun/mail.rb
|
67
89
|
- lib/mailgun/mailbox.rb
|
68
90
|
- lib/mailgun/mailgun_error.rb
|
91
|
+
- lib/mailgun/message.rb
|
69
92
|
- lib/mailgun/route.rb
|
70
93
|
- lib/mailgun/unsubscribe.rb
|
71
94
|
- mailgun.gemspec
|
@@ -73,6 +96,7 @@ files:
|
|
73
96
|
- spec/bounce_spec.rb
|
74
97
|
- spec/complaint_spec.rb
|
75
98
|
- spec/list/member_spec.rb
|
99
|
+
- spec/list/message_spec.rb
|
76
100
|
- spec/list_spec.rb
|
77
101
|
- spec/log_spec.rb
|
78
102
|
- spec/mailbox_spec.rb
|
@@ -81,37 +105,36 @@ files:
|
|
81
105
|
- spec/unsubscribe_spec.rb
|
82
106
|
homepage: http://github.com/Bushido/mailgun
|
83
107
|
licenses: []
|
108
|
+
metadata: {}
|
84
109
|
post_install_message:
|
85
110
|
rdoc_options: []
|
86
111
|
require_paths:
|
87
112
|
- lib
|
88
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
114
|
requirements:
|
91
|
-
- -
|
115
|
+
- - '>='
|
92
116
|
- !ruby/object:Gem::Version
|
93
117
|
version: '0'
|
94
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
-
none: false
|
96
119
|
requirements:
|
97
|
-
- -
|
120
|
+
- - '>='
|
98
121
|
- !ruby/object:Gem::Version
|
99
122
|
version: '0'
|
100
123
|
requirements: []
|
101
124
|
rubyforge_project:
|
102
|
-
rubygems_version:
|
125
|
+
rubygems_version: 2.0.0
|
103
126
|
signing_key:
|
104
|
-
specification_version:
|
127
|
+
specification_version: 4
|
105
128
|
summary: Idiomatic library for using the mailgun API from within ruby
|
106
129
|
test_files:
|
107
130
|
- spec/base_spec.rb
|
108
131
|
- spec/bounce_spec.rb
|
109
132
|
- spec/complaint_spec.rb
|
110
133
|
- spec/list/member_spec.rb
|
134
|
+
- spec/list/message_spec.rb
|
111
135
|
- spec/list_spec.rb
|
112
136
|
- spec/log_spec.rb
|
113
137
|
- spec/mailbox_spec.rb
|
114
138
|
- spec/route_spec.rb
|
115
139
|
- spec/spec_helper.rb
|
116
140
|
- spec/unsubscribe_spec.rb
|
117
|
-
has_rdoc:
|