padrino-mailer 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,23 +1,12 @@
1
- = padrino-mailer
1
+ = Simple Mailer Support (padrino-mailer)
2
+
3
+ === Overview
2
4
 
3
5
  This component uses an enhanced version of the excellent <tt>pony</tt> library (vendored) for a powerful but simple
4
6
  mailer system within Padrino (and Sinatra). There is full support for using an html content type as well as for file attachments.
5
7
  The MailerPlugin has many similarities to ActionMailer but is much lighterweight and (arguably) easier to use.
6
8
 
7
- == Installation
8
-
9
- To install the 'full-stack' padrino framework, simply grab the latest version from gemcutter:
10
-
11
- $ sudo gem install padrino --source http://gemcutter.org
12
-
13
- This will install the necessary padrino gems to get you started.
14
- Now you are ready to use this gem to enhance your existing Sinatra projects or build new Padrino applications.
15
-
16
- You can also install only the padrino-mailer gem for more fine-grained use:
17
-
18
- $ sudo gem install padrino-mailer --source http://gemcutter.org
19
-
20
- == Usage
9
+ === Usage
21
10
 
22
11
  Let's take a look at using the MailerPlugin in an application. By default, MailerPlugin uses the built-in sendmail
23
12
  functionality on the server. However, smtp is also supported using the following configuration:
@@ -94,4 +83,4 @@ See the wiki article for additional information: <...WIKI...>
94
83
 
95
84
  == Copyright
96
85
 
97
- Copyright (c) 2010 Padrino. See LICENSE for details.
86
+ Copyright (c) 2010 Padrino. See LICENSE for details.
data/Rakefile CHANGED
@@ -48,7 +48,7 @@ rescue LoadError
48
48
  end
49
49
  end
50
50
 
51
- task :test => :check_dependencies
51
+ # task :test => :check_dependencies
52
52
 
53
53
  task :default => :test
54
54
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -1,5 +1,6 @@
1
1
  require 'tilt'
2
2
  require 'padrino-core/support_lite'
3
+
3
4
  Dir[File.dirname(__FILE__) + '/padrino-mailer/**/*.rb'].each { |file| require file }
4
5
 
5
6
  module Padrino
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{padrino-mailer}
8
- s.version = "0.6.1"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
48
48
 
49
49
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
50
50
  s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
51
- s.add_runtime_dependency(%q<padrino-core>, ["= 0.6.1"])
51
+ s.add_runtime_dependency(%q<padrino-core>, ["= 0.6.2"])
52
52
  s.add_runtime_dependency(%q<tilt>, [">= 0.2"])
53
53
  s.add_runtime_dependency(%q<tmail>, [">= 1.2"])
54
54
  s.add_development_dependency(%q<shoulda>, [">= 0"])
@@ -58,7 +58,7 @@ Gem::Specification.new do |s|
58
58
  s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
59
59
  else
60
60
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
61
- s.add_dependency(%q<padrino-core>, ["= 0.6.1"])
61
+ s.add_dependency(%q<padrino-core>, ["= 0.6.2"])
62
62
  s.add_dependency(%q<tilt>, [">= 0.2"])
63
63
  s.add_dependency(%q<tmail>, [">= 1.2"])
64
64
  s.add_dependency(%q<shoulda>, [">= 0"])
@@ -69,7 +69,7 @@ Gem::Specification.new do |s|
69
69
  end
70
70
  else
71
71
  s.add_dependency(%q<sinatra>, [">= 0.9.2"])
72
- s.add_dependency(%q<padrino-core>, ["= 0.6.1"])
72
+ s.add_dependency(%q<padrino-core>, ["= 0.6.2"])
73
73
  s.add_dependency(%q<tilt>, [">= 0.2"])
74
74
  s.add_dependency(%q<tmail>, [">= 1.2"])
75
75
  s.add_dependency(%q<shoulda>, [">= 0"])
data/test/helper.rb CHANGED
@@ -5,6 +5,13 @@ require 'mocha'
5
5
  require 'rack/test'
6
6
  require 'webrat'
7
7
 
8
+ # We try to load the vendored padrino-core if exist
9
+ %w(core).each do |gem|
10
+ if File.exist?(File.dirname(__FILE__) + "/../../padrino-#{gem}/lib")
11
+ $LOAD_PATH.unshift File.dirname(__FILE__) + "/../../padrino-#{gem}/lib"
12
+ end
13
+ end
14
+
8
15
  require 'padrino-mailer'
9
16
 
10
17
  class Test::Unit::TestCase
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -33,7 +33,7 @@ dependencies:
33
33
  requirements:
34
34
  - - "="
35
35
  - !ruby/object:Gem::Version
36
- version: 0.6.1
36
+ version: 0.6.2
37
37
  version:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: tilt