ez-email 0.2.1 → 0.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5271a5ec723de38f562e97cc2f49e3f30d9f230072856fc2820d9bffe72ff80
4
- data.tar.gz: e8c8a28d1e6e8975fd1b9347f3ca8788b780eaac392d506c205d8103c8ab73dd
3
+ metadata.gz: a5b839b7d0ac396082469090ad98e7d9b2954b0c4dcb1cb2cc8cb81e67d3020c
4
+ data.tar.gz: 600749723b6e24831befe266f209b68372a2ba367284dfcb59a0065bd45ad998
5
5
  SHA512:
6
- metadata.gz: b81042453b535a6f0313ac46cc4bc248a625f97b3de5330420a9b58f6cde505bf817750144e4fa7642bcebbd23463696d846edc0ae75964d1da9cd32b062762f
7
- data.tar.gz: 696fe533fd9ae5621a4a9162716afa5de920a6acf6c56afa5c388be3189bd3ea490de905508722016b4979fa218542cc4ca0456e33b50795c26503aa81c40000
6
+ metadata.gz: 8c47ad3b37aa37b3e4b825daee056a2a37b0262f8d6bc593f89cd32b8ccd6a71655ba64552d084cf5ccc3b42d1730b275e91f086cba579817430d65cf100ec9d
7
+ data.tar.gz: a8eda9d72ae00fc67e6e084f01c9f0361cdca89808e9af5ab592a1c48bf6eff8bde3bd7c0a4db632c793f1ff53fdd0cec9a2703e52ce886adb490e0244498327
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,39 @@
1
+ ## 0.2.2 - 3-Aug-2020
2
+ - Switch README, CHANGES and MANIFEST files to markdown format.
3
+
4
+ ## 0.2.1 - 1-Jun-2020
5
+ - Added a LICENSE file to the distro as required by the Apache-2.0 license.
6
+
7
+ ## 0.2.0 - 28-Jan-2019
8
+ - Changed license to Apache-2.0.
9
+ - Fixed a bug where it was blowing up on a single "to" argument.
10
+ - The VERSION constant is now frozen.
11
+ - Added the ez-mail.rb file for convenience.
12
+ - Modified code internally to use singletons instead of class variables.
13
+ - Updated cert, should be good for about 10 years.
14
+ - Added metadata to the gemspec.
15
+
16
+ ## 0.1.5 - 12-Dec-2015
17
+ - This gem is now signed.
18
+ - Updates to Rakefile and gemspec for gem signing.
19
+
20
+ ## 0.1.4 - 8-Nov-2014
21
+ - Minor updates to gemspec and Rakefile.
22
+
23
+ ## 0.1.3 - 9-Jan-2013
24
+ - Fixed a bug where the default 'from' value was not actually being set
25
+ if it wasn't explicitly specified.
26
+ - Refactored the tests and use test-unit 2 instead.
27
+
28
+ ## 0.1.2 - 31-Aug-2011
29
+ - Refactored the Rakefile. Removed the old install task, added a clean
30
+ task, added a default task, and reorganized the gem tasks.
31
+
32
+ ## 0.1.1 - 27-Sep-2009
33
+ - Changed license to Artistic 2.0.
34
+ - The mail host now defaults to localhost if the mailhost cannot be resolved.
35
+ - Added the 'gem' Rake task.
36
+ - Some gemspec updates.
37
+
38
+ ## 0.1.0 - 23-Jan-2009
39
+ - Initial release
@@ -0,0 +1,10 @@
1
+ - CHANGES.md
2
+ - LICENSE
3
+ - MANIFEST.md
4
+ - README.md
5
+ - Rakefile
6
+ - ez-email.gemspec
7
+ - certs/djberg96_pub.pem
8
+ - lib/ez-email.rb
9
+ - lib/ez/email.rb
10
+ - test/test_ez_email.rb
@@ -0,0 +1,44 @@
1
+ ### Description
2
+ A very easy interface for sending simple text based emails.
3
+
4
+ ### Installation
5
+ gem install ez-email
6
+
7
+ ### Synopsis
8
+ ```
9
+ require 'ez-email'
10
+
11
+ EZ::Email.deliver(
12
+ :to => 'your_friend@hotstuff.com',
13
+ :from => 'you@blah.com',
14
+ :subject => 'Hello',
15
+ :body => 'How are you?'
16
+ )
17
+ ```
18
+
19
+ ### Rationale
20
+
21
+ When I originally created this library the existing list of email handling
22
+ libraries were either not designed for sending email, were extremely cumbersome,
23
+ had lousy interfaces, or were no longer maintained.
24
+
25
+ I just wanted to send a flippin' email! This library scratched that itch.
26
+ Hopefully you will find its simplicity useful, too.
27
+
28
+ ### Bugs
29
+
30
+ None that I'm aware of. Please log any bug reports on the project page at
31
+
32
+ https://github.com/djberg96/ez-email.
33
+
34
+ ### License
35
+
36
+ Apache-2.0
37
+
38
+ ### Copyright
39
+
40
+ (C) 2009-2020, Daniel J. Berger, All Rights Reserved
41
+
42
+ ### Author
43
+
44
+ Daniel Berger
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'ez-email'
5
- spec.version = '0.2.1'
5
+ spec.version = '0.2.2'
6
6
  spec.license = 'Apache-2.0'
7
7
  spec.summary = 'Really easy emails'
8
8
  spec.description = 'A very simple interface for sending email'
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
14
14
  spec.cert_chain = Dir['certs/*']
15
15
 
16
- spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
16
+ spec.extra_rdoc_files = ['README.md', 'CHANGES.md', 'MANIFEST.md']
17
17
 
18
18
  spec.add_development_dependency('test-unit')
19
19
 
@@ -10,7 +10,7 @@ module EZ
10
10
  # used to send simple emails.
11
11
  class Email
12
12
  # The version of the ez-email library
13
- VERSION = '0.2.1'.freeze
13
+ VERSION = '0.2.2'.freeze
14
14
 
15
15
  class << self
16
16
  attr_writer :mail_host
@@ -25,7 +25,7 @@ class TC_EZ_Email < Test::Unit::TestCase
25
25
  end
26
26
 
27
27
  test "version is set to expected value" do
28
- assert_equal('0.2.1', EZ::Email::VERSION)
28
+ assert_equal('0.2.2', EZ::Email::VERSION)
29
29
  assert_true(EZ::Email::VERSION.frozen?)
30
30
  end
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ez-email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Berger
@@ -56,24 +56,24 @@ email: djberg96@gmail.com
56
56
  executables: []
57
57
  extensions: []
58
58
  extra_rdoc_files:
59
- - README
60
- - CHANGES
61
- - MANIFEST
59
+ - README.md
60
+ - CHANGES.md
61
+ - MANIFEST.md
62
62
  files:
63
63
  - LICENSE
64
64
  - test
65
65
  - test/test_ez_email.rb
66
- - CHANGES
67
- - MANIFEST
68
66
  - ez-email.gemspec
69
- - README
67
+ - README.md
70
68
  - Rakefile
69
+ - MANIFEST.md
71
70
  - certs
72
71
  - certs/djberg96_pub.pem
73
72
  - lib
74
73
  - lib/ez-email.rb
75
74
  - lib/ez
76
75
  - lib/ez/email.rb
76
+ - CHANGES.md
77
77
  homepage: https://github.com/djberg96/ez-email
78
78
  licenses:
79
79
  - Apache-2.0
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  requirements: []
102
- rubygems_version: 3.0.8
102
+ rubygems_version: 3.0.3
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: Really easy emails
metadata.gz.sig CHANGED
Binary file
data/CHANGES DELETED
@@ -1,36 +0,0 @@
1
- == 0.2.1 - 1-Jun-2020
2
- * Added a LICENSE file to the distro as required by the Apache-2.0 license.
3
-
4
- == 0.2.0 - 28-Jan-2019
5
- * Changed license to Apache-2.0.
6
- * Fixed a bug where it was blowing up on a single "to" argument.
7
- * The VERSION constant is now frozen.
8
- * Added the ez-mail.rb file for convenience.
9
- * Modified code internally to use singletons instead of class variables.
10
- * Updated cert, should be good for about 10 years.
11
- * Added metadata to the gemspec.
12
-
13
- == 0.1.5 - 12-Dec-2015
14
- * This gem is now signed.
15
- * Updates to Rakefile and gemspec for gem signing.
16
-
17
- == 0.1.4 - 8-Nov-2014
18
- * Minor updates to gemspec and Rakefile.
19
-
20
- == 0.1.3 - 9-Jan-2013
21
- * Fixed a bug where the default 'from' value was not actually being set
22
- if it wasn't explicitly specified.
23
- * Refactored the tests and use test-unit 2 instead.
24
-
25
- == 0.1.2 - 31-Aug-2011
26
- * Refactored the Rakefile. Removed the old install task, added a clean
27
- task, added a default task, and reorganized the gem tasks.
28
-
29
- == 0.1.1 - 27-Sep-2009
30
- * Changed license to Artistic 2.0.
31
- * The mail host now defaults to localhost if the mailhost cannot be resolved.
32
- * Added the 'gem' Rake task.
33
- * Some gemspec updates.
34
-
35
- == 0.1.0 - 23-Jan-2009
36
- * Initial release
data/MANIFEST DELETED
@@ -1,10 +0,0 @@
1
- * CHANGES
2
- * LICENSE
3
- * MANIFEST
4
- * README
5
- * Rakefile
6
- * ez-email.gemspec
7
- * certs/djberg96_pub.pem
8
- * lib/ez-email.rb
9
- * lib/ez/email.rb
10
- * test/test_ez_email.rb
data/README DELETED
@@ -1,36 +0,0 @@
1
- = Description
2
- A very easy interface for sending simple text based emails.
3
-
4
- = Installation
5
- gem install ez-email
6
-
7
- = Synopsis
8
- require 'ez-email'
9
-
10
- EZ::Email.deliver(
11
- :to => 'your_friend@hotstuff.com',
12
- :from => 'you@blah.com',
13
- :subject => 'Hello',
14
- :body => 'How are you?'
15
- )
16
-
17
- = Rationale
18
- When I originally created this library the existing list of email handling
19
- libraries were either not designed for sending email, were extremely cumbersome,
20
- had lousy interfaces, or were no longer maintained.
21
-
22
- I just wanted to send a flippin' email! This library scratched that itch.
23
- Hopefully you will find its simplicity useful, too.
24
-
25
- = Bugs
26
- None that I'm aware of. Please log any bug reports on the project page at
27
- https://github.com/djberg96/ez-email.
28
-
29
- = License
30
- Apache-2.0
31
-
32
- = Copyright
33
- (C) 2009-2019, Daniel J. Berger, All Rights Reserved
34
-
35
- = Author
36
- Daniel Berger