pony 0.4.1 → 0.5
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.
- data/README.rdoc +6 -2
- data/lib/pony.rb +2 -1
- data/pony.gemspec +1 -1
- data/spec/pony_spec.rb +7 -0
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -27,7 +27,7 @@ You can also specify options for SMTP:
|
|
27
27
|
:host => 'smtp.yourserver.com',
|
28
28
|
:port => '25',
|
29
29
|
:user => 'user',
|
30
|
-
:
|
30
|
+
:password => 'password',
|
31
31
|
:auth => :plain # :plain, :login, :cram_md5, no auth by default
|
32
32
|
:domain => "localhost.localdomain" # the HELO domain provided by the client to the server
|
33
33
|
}
|
@@ -41,7 +41,7 @@ With smtp transport it also possible to use TLS/SSL:
|
|
41
41
|
:port => '587',
|
42
42
|
:tls => true,
|
43
43
|
:user => 'user',
|
44
|
-
:
|
44
|
+
:password => 'password',
|
45
45
|
:auth => :plain # :plain, :login, :cram_md5, no auth by default
|
46
46
|
:domain => "localhost.localdomain" # the HELO domain provided by the client to the server
|
47
47
|
})
|
@@ -69,6 +69,10 @@ http://github.com/benprew/pony
|
|
69
69
|
|
70
70
|
== Releases
|
71
71
|
|
72
|
+
0.5
|
73
|
+
* default location of sendmail to /usr/sbin/sendmail if sendmail not in path
|
74
|
+
* fix bug: README not showing password option (listed as pass)
|
75
|
+
|
72
76
|
0.4.1
|
73
77
|
* Add :cc capability
|
74
78
|
* fix bug: resolve body not displaying when attachments sent
|
data/lib/pony.rb
CHANGED
data/pony.gemspec
CHANGED
data/spec/pony_spec.rb
CHANGED
@@ -159,4 +159,11 @@ Y29udGVudCBvZiBmb28ucGRm
|
|
159
159
|
end
|
160
160
|
end
|
161
161
|
|
162
|
+
describe "sendmail binary location" do
|
163
|
+
it "should default to /usr/sbin/sendmail if not in path" do
|
164
|
+
Pony.stub!(:'`').and_return('')
|
165
|
+
Pony.sendmail_binary.should == '/usr/sbin/sendmail'
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
162
169
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: "0.5"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Wiggins
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-11-
|
13
|
+
date: 2009-11-26 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|