padrino-mailer 0.9.29 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,6 @@
1
- # -*- encoding: utf-8 -*-
1
+ #!/usr/bin/env gem build
2
+ # encoding: utf-8
3
+
2
4
  require File.expand_path("../../padrino-core/lib/padrino-core/version.rb", __FILE__)
3
5
 
4
6
  Gem::Specification.new do |s|
@@ -21,6 +23,6 @@ Gem::Specification.new do |s|
21
23
  s.rdoc_options = ["--charset=UTF-8"]
22
24
 
23
25
  s.add_dependency("padrino-core", Padrino.version)
24
- s.add_dependency("mail", ">= 2.2.0")
26
+ s.add_dependency("mail", "~> 2.3.0")
25
27
  s.add_dependency("tlsmail") if RUBY_VERSION == "1.8.6"
26
28
  end
@@ -2,6 +2,7 @@ ENV['PADRINO_ENV'] = 'test'
2
2
  PADRINO_ROOT = File.dirname(__FILE__) unless defined? PADRINO_ROOT
3
3
 
4
4
  class PadrinoApp < Padrino::Application
5
+ register Padrino::Rendering
5
6
  register Padrino::Helpers
6
7
  register Padrino::Mailer
7
8
 
@@ -35,7 +36,7 @@ class PadrinoApp < Padrino::Application
35
36
  via :test
36
37
  render 'sample/foo_message'
37
38
  end
38
-
39
+
39
40
  message :helper do |name|
40
41
  subject "Welcome Helper!"
41
42
  to 'jim@fake.com'
@@ -44,7 +45,7 @@ class PadrinoApp < Padrino::Application
44
45
  via :test
45
46
  render 'sample/helper_message'
46
47
  end
47
-
48
+
48
49
  end
49
50
 
50
51
  post "/deliver/inline" do
@@ -66,12 +67,12 @@ class PadrinoApp < Padrino::Application
66
67
  result = deliver(:sample, :welcome, "Bobby")
67
68
  result ? "mail delivered" : 'mail not delivered'
68
69
  end
69
-
70
+
70
71
  post "/deliver/helper" do
71
72
  result = deliver(:sample, :helper, "Jim")
72
73
  result ? "mail delivered" : 'mail not delivered'
73
74
  end
74
-
75
+
75
76
  end
76
77
 
77
78
  Padrino.mount("PadrinoApp").to("/")
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: padrino-mailer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.29
5
+ version: 0.10.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Padrino Team
@@ -13,7 +13,8 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-05-23 00:00:00 Z
16
+ date: 2011-07-07 00:00:00 -07:00
17
+ default_executable:
17
18
  dependencies:
18
19
  - !ruby/object:Gem::Dependency
19
20
  name: padrino-core
@@ -23,7 +24,7 @@ dependencies:
23
24
  requirements:
24
25
  - - "="
25
26
  - !ruby/object:Gem::Version
26
- version: 0.9.29
27
+ version: 0.10.0
27
28
  type: :runtime
28
29
  version_requirements: *id001
29
30
  - !ruby/object:Gem::Dependency
@@ -32,9 +33,9 @@ dependencies:
32
33
  requirement: &id002 !ruby/object:Gem::Requirement
33
34
  none: false
34
35
  requirements:
35
- - - ">="
36
+ - - ~>
36
37
  - !ruby/object:Gem::Version
37
- version: 2.2.0
38
+ version: 2.3.0
38
39
  type: :runtime
39
40
  version_requirements: *id002
40
41
  description: Mailer system for padrino allowing easy delivery of application emails
@@ -83,6 +84,7 @@ files:
83
84
  - test/test_message.rb
84
85
  - test/test_padrino_mailer.rb
85
86
  - test/test_part.rb
87
+ has_rdoc: true
86
88
  homepage: http://www.padrinorb.com
87
89
  licenses: []
88
90
 
@@ -106,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
108
  requirements: []
107
109
 
108
110
  rubyforge_project: padrino-mailer
109
- rubygems_version: 1.7.2
111
+ rubygems_version: 1.6.2
110
112
  signing_key:
111
113
  specification_version: 3
112
114
  summary: Mailer system for padrino