ez-email 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3af53e9fb99ff0c5fc63dbb652bf200b95fd492b
4
+ data.tar.gz: fc45aba1258bd8a82c1d4fc6a17fcc7f1c4b5633
5
+ SHA512:
6
+ metadata.gz: bc065b1effb64b76002c7c6c5b8b446e0314a2a726f7c19794c763b3f908ce6e96a669239a00bea4c068ee04f73533ac3e474812d038f21b98611704a5cc1909
7
+ data.tar.gz: f746c2c9c4417956fa9b5d43b3162b183a8ad394f59b7d0f2e6d7f65d25dd743b5b4097f9bcda6b46bdf15622535af76ffa36e645eeac9c34534d6e5e03ca592
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.1.4 - 8-Nov-2014
2
+ * Minor updates to gemspec and Rakefile.
3
+
1
4
  == 0.1.3 - 9-Jan-2013
2
5
  * Fixed a bug where the default 'from' value was not actually being set
3
6
  if it wasn't explicitly specified.
data/README CHANGED
@@ -8,10 +8,10 @@
8
8
  require 'ez/email'
9
9
 
10
10
  EZ::Email.deliver(
11
- :to => 'your_friend@hotstuff.com',
12
- :from => 'you@blah.com',
13
- :subject => 'Hello',
14
- :body => 'How are you?'
11
+ :to => 'your_friend@hotstuff.com',
12
+ :from => 'you@blah.com',
13
+ :subject => 'Hello',
14
+ :body => 'How are you?'
15
15
  )
16
16
 
17
17
  = Rationale
@@ -19,7 +19,7 @@
19
19
  for sending email, or are extremely cumbersome, have lousy interfaces,
20
20
  or are no longer maintained.
21
21
 
22
- I just want to sent a flippin' email! This library scratched that itch.
22
+ I just want to send a flippin' email! This library scratched that itch.
23
23
  Hopefully you will find its simplicity useful, too.
24
24
 
25
25
  = Bugs
@@ -30,7 +30,7 @@
30
30
  Artistic 2.0
31
31
 
32
32
  = Copyright
33
- (C) 2009-2013, Daniel J. Berger, All Rights Reserved
33
+ (C) 2009-2014, Daniel J. Berger, All Rights Reserved
34
34
 
35
35
  = Author
36
36
  Daniel Berger
data/Rakefile CHANGED
@@ -8,13 +8,18 @@ namespace :gem do
8
8
  desc 'Build the ez-email gem'
9
9
  task :create => [:clean] do
10
10
  spec = eval(IO.read('ez-email.gemspec'))
11
- Gem::Builder.new(spec).build
11
+ if Gem::VERSION < "2.0"
12
+ Gem::Builder.new(spec).build
13
+ else
14
+ require 'rubygems/package'
15
+ Gem::Package.build(spec)
16
+ end
12
17
  end
13
18
 
14
19
  desc "Install the ez-email package as a gem"
15
20
  task :install => [:create] do
16
21
  file = Dir["*.gem"].first
17
- sh "gem install #{file}"
22
+ sh "gem install -l #{file}"
18
23
  end
19
24
  end
20
25
 
data/ez-email.gemspec CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ez-email'
5
- s.version = '0.1.3'
5
+ s.version = '0.1.4'
6
6
  s.license = 'Artistic 2.0'
7
7
  s.summary = 'Really easy emails'
8
8
  s.description = 'A very simple interface for sending email'
@@ -12,7 +12,6 @@ Gem::Specification.new do |s|
12
12
  s.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
13
  s.test_file = 'test/test_ez_email.rb'
14
14
 
15
- s.rubyforge_project = 'shards'
16
15
  s.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
17
16
 
18
17
  s.add_development_dependency('test-unit')
data/lib/ez/email.rb CHANGED
@@ -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.1.3'
13
+ VERSION = '0.1.4'
14
14
 
15
15
  begin
16
16
  @@mail_host = Resolv.getaddress('mailhost')
@@ -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.1.3', EZ::Email::VERSION)
28
+ assert_equal('0.1.4', EZ::Email::VERSION)
29
29
  end
30
30
 
31
31
  test "to getter method basic functionality" do
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ez-email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
5
- prerelease:
4
+ version: 0.1.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Daniel Berger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-09 00:00:00.000000000 Z
11
+ date: 2014-11-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: test-unit
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description: A very simple interface for sending email
@@ -37,36 +34,35 @@ extra_rdoc_files:
37
34
  - MANIFEST
38
35
  files:
39
36
  - CHANGES
40
- - ez-email.gemspec
41
- - lib/ez/email.rb
42
37
  - MANIFEST
43
- - Rakefile
44
38
  - README
39
+ - Rakefile
40
+ - ez-email.gemspec
41
+ - lib/ez/email.rb
45
42
  - test/test_ez_email.rb
46
43
  homepage: https://github.com/djberg96/ez-email
47
44
  licenses:
48
45
  - Artistic 2.0
46
+ metadata: {}
49
47
  post_install_message:
50
48
  rdoc_options: []
51
49
  require_paths:
52
50
  - lib
53
51
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
52
  requirements:
56
- - - ! '>='
53
+ - - ">="
57
54
  - !ruby/object:Gem::Version
58
55
  version: '0'
59
56
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
57
  requirements:
62
- - - ! '>='
58
+ - - ">="
63
59
  - !ruby/object:Gem::Version
64
60
  version: '0'
65
61
  requirements: []
66
- rubyforge_project: shards
67
- rubygems_version: 1.8.24
62
+ rubyforge_project:
63
+ rubygems_version: 2.2.2
68
64
  signing_key:
69
- specification_version: 3
65
+ specification_version: 4
70
66
  summary: Really easy emails
71
67
  test_files:
72
68
  - test/test_ez_email.rb