padrino-mailer 0.12.8.1 → 0.12.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b90ae2ee168578f0fed8e1642750c1fe068eabb2
4
- data.tar.gz: 59fae12b73833ef3f5eef1e171f7a84bf18137d6
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODZkNTBlY2Y3NzVjZWQ3NTA2N2Q4ZjI1ZGNiZmQwYjA4OWVhOGI1Zg==
5
+ data.tar.gz: !binary |-
6
+ NzJjZDhiYzFlN2U5ZTI0NjFmMzJlMzQzZjk2ZjMzYWNiNjc1NmZkZA==
5
7
  SHA512:
6
- metadata.gz: be5e58d901ec184944c3314f746fc7be4631c1cd9183fa4bcf09f25c8119b575e56c002d9a857452c2fc71101b22e502c7b73a4593d8fe0746f5cf112f944b50
7
- data.tar.gz: 22750696f54b2391f56f9638bec986e7b6670676675461bdac7b8cf608ec50a25306369310fe224775677e7416c2c1a761b3b7b94e0c69817e96ae116777c393
8
+ metadata.gz: !binary |-
9
+ OWNlOWUxYmUxZmI3Njc4OWUyZDJmMTZhNTU1Yjc0M2M0OWNkYWFiZmQzODRj
10
+ ZmVkNDc2NGEzYWJmYTU4YWVlMjAwZGEzNTAxOGZiOWQ5ZjkyM2I4YzA2ZmY5
11
+ YjVhOTE5MzgyMTljMDU3OTZiMTBkNDVkNzk3ODBjMGY3NWE5ODA=
12
+ data.tar.gz: !binary |-
13
+ MTVhMTViOGZjNmM0YTc3MjM4MGM0Mzc0NjMwY2VlNDZiZTJiYzhjNTNiNTJi
14
+ MTEzODQxNDBhZDEzMGNhNjBmMmU1OThjOTY5YmNlZmE3YjE4ODVjYTUxYTNm
15
+ MThhYmIyOTgxNzgxNjc2NmIwM2RjN2E4OTk5Yjk2YjYzOGJkMzI=
data/Rakefile CHANGED
@@ -1,5 +1 @@
1
- # encoding: utf-8
2
- RAKE_ROOT = __FILE__
3
-
4
- require 'rubygems'
5
1
  require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')
@@ -84,6 +84,8 @@ module Padrino
84
84
  raise "The email '#{name}' is already defined" if self.messages[name].present?
85
85
  self.messages[name] = Proc.new { |*attrs|
86
86
  message = app.settings._padrino_mailer::Message.new(self.app)
87
+ message.mailer_name = mailer_name
88
+ message.message_name = name
87
89
  message.defaults = self.defaults if self.defaults.any?
88
90
  message.delivery_method(*delivery_settings)
89
91
  message.instance_exec(*attrs, &block)
@@ -1,8 +1,12 @@
1
+ require 'mail'
2
+
1
3
  module Mail # @private
2
4
  class Message # @private
3
5
  include Sinatra::Templates
4
6
  include Padrino::Rendering if defined?(Padrino::Rendering)
7
+ include Padrino::Helpers::RenderHelpers if defined? Padrino::Helpers::RenderHelpers
5
8
  attr_reader :template_cache
9
+ attr_accessor :mailer_name, :message_name
6
10
 
7
11
  def initialize_with_app(*args, &block)
8
12
  @template_cache = Tilt::Cache.new
@@ -20,7 +24,8 @@ module Mail # @private
20
24
 
21
25
  initialize_without_app(*args, &block)
22
26
  end
23
- alias_method_chain :initialize, :app
27
+ alias_method :initialize_without_app, :initialize
28
+ alias_method :initialize, :initialize_with_app
24
29
 
25
30
  ##
26
31
  # Setup like in Sinatra/Padrino apps content_type and template lookup.
@@ -115,7 +120,10 @@ module Mail # @private
115
120
  encoded.each_line { |line| logger << (" " + line.strip) } if logger.debug?
116
121
  do_delivery_without_logging
117
122
  end
118
- alias_method_chain :do_delivery, :logging if Padrino.respond_to?(:logger)
123
+ if Padrino.respond_to?(:logger)
124
+ alias_method :do_delivery_without_logging, :do_delivery
125
+ alias_method :do_delivery, :do_delivery_with_logging
126
+ end
119
127
 
120
128
  ##
121
129
  # Sinatra and Padrino compatibility.
@@ -238,17 +246,25 @@ module Mail # @private
238
246
  mime = content_type_without_symbol(value)
239
247
  Padrino::Mailer::Mime.mime_type(mime)
240
248
  end
241
- alias_method_chain :content_type, :symbol
249
+ alias_method :content_type_without_symbol, :content_type
250
+ alias_method :content_type, :content_type_with_symbol
242
251
 
243
252
  private
244
253
 
245
254
  ##
246
255
  # Defines the render for the mailer utilizing the padrino 'rendering' module
247
256
  #
248
- def render(engine, data=nil, options={}, locals={}, &block)
257
+ def render(engine=nil, data=nil, options={}, locals={}, &block)
249
258
  locals = @_locals if options[:locals].blank? && locals.blank?
250
259
  @template_cache.clear if settings.reload_templates?
251
260
 
261
+ engine ||= message_name
262
+
263
+ if mailer_name && !engine.to_s.index('/')
264
+ settings.views += "/#{mailer_name}"
265
+ engine = engine.to_s.sub(%r{^#{mailer_name}/}, '')
266
+ end
267
+
252
268
  provides.each do |format|
253
269
  part do |p|
254
270
  p.content_type(format)
@@ -260,6 +276,12 @@ module Mail # @private
260
276
  self.body = super(engine, data, options, locals, &block) if provides.empty?
261
277
  end
262
278
 
279
+ alias_method :original_partial, :partial if instance_methods.include?(:partial)
280
+ def partial(template, options={}, &block)
281
+ raise "gem 'padrino-helpers' is required to render partials" unless respond_to?(:original_partial)
282
+ self.body = original_partial(template, options, &block)
283
+ end
284
+
263
285
  ##
264
286
  # Register all special template configurations Padrino has to our fake settings object.
265
287
  #
@@ -106,7 +106,9 @@ module Padrino
106
106
  # deliver(:example, :message, "John")
107
107
  #
108
108
  def deliver(mailer_name, message_name, *attributes)
109
- message = registered_mailers[mailer_name].messages[message_name].call(*attributes)
109
+ mailer = registered_mailers[mailer_name] or fail "mailer '#{mailer_name}' is not registered"
110
+ message = mailer.messages[message_name] or fail "mailer '#{mailer_name}' has no message '#{message_name}'"
111
+ message = message.call(*attributes)
110
112
  message.delivery_method(*delivery_settings)
111
113
  message.deliver
112
114
  end
@@ -36,7 +36,7 @@ module Padrino
36
36
  #
37
37
  # You can add your own mime types like:
38
38
  #
39
- # Padrino::Mailer::MIME_TYPES.merge!("text/xml" => :xml)
39
+ # Padrino::Mailer::Mime::MIME_TYPES.merge!("text/xml" => :xml)
40
40
  #
41
41
  MIME_TYPES = {
42
42
  "text/html" => :html,
@@ -42,7 +42,6 @@ module Padrino
42
42
  require 'padrino-mailer/mime'
43
43
  # This lazily loads the mail gem, due to its long require time.
44
44
  app.set :_padrino_mailer, proc {
45
- require 'mail'
46
45
  require 'padrino-mailer/ext'
47
46
  app._padrino_mailer = Mail
48
47
  }
@@ -45,6 +45,35 @@ class PadrinoApp < Padrino::Application
45
45
  render 'sample/helper_message'
46
46
  end
47
47
 
48
+ message :default_mailer_name do |name|
49
+ subject "Welcome Helper!"
50
+ to 'jim@fake.com'
51
+ from 'noreply@custom.com'
52
+ locals :name => name
53
+ via :test
54
+ render 'default_mailer_name'
55
+ end
56
+
57
+ message :default_mailer_email_name do |name|
58
+ subject "Welcome Helper!"
59
+ to 'jim@fake.com'
60
+ from 'noreply@custom.com'
61
+ locals :name => name
62
+ via :test
63
+ render
64
+ end
65
+
66
+ message :external do |name|
67
+ subject "Welcome Message!"
68
+ to 'john@fake.com'
69
+ from 'noreply@custom.com'
70
+ locals :name => name
71
+ via :test
72
+ render 'demo/sample_mail'
73
+ end
74
+ end
75
+
76
+ mailer :nonexistant do
48
77
  end
49
78
 
50
79
  post "/deliver/inline" do
@@ -72,6 +101,28 @@ class PadrinoApp < Padrino::Application
72
101
  result ? "mail delivered" : 'mail not delivered'
73
102
  end
74
103
 
104
+ post "/deliver/failing_mailer" do
105
+ deliver(:nonregistered, :mailer, "hey")
106
+ end
107
+
108
+ post "/deliver/failing_message" do
109
+ deliver(:nonexistant, :message, "hey")
110
+ end
111
+
112
+ post "/deliver/default_mailer_name" do
113
+ result = deliver(:sample, :default_mailer_name, "Jim")
114
+ result ? "mail delivered" : 'mail not delivered'
115
+ end
116
+
117
+ post "/deliver/default_mailer_email_name" do
118
+ result = deliver(:sample, :default_mailer_email_name, "Jim")
119
+ result ? "mail delivered" : 'mail not delivered'
120
+ end
121
+
122
+ post "/deliver/external" do
123
+ result = deliver(:sample, :external, "Joey")
124
+ result ? "mail delivered" : 'mail not delivered'
125
+ end
75
126
  end
76
127
 
77
128
  Padrino.mount("PadrinoApp").to("/")
@@ -0,0 +1 @@
1
+ Object <%= object %><br>
data/test/helper.rb CHANGED
@@ -1,16 +1,17 @@
1
1
  ENV['RACK_ENV'] = 'test'
2
2
  PADRINO_ROOT = File.dirname(__FILE__) unless defined? PADRINO_ROOT
3
3
 
4
- require File.expand_path('../../../load_paths', __FILE__)
5
4
  require 'minitest/autorun'
6
5
  require 'minitest/pride'
7
6
  require 'rack/test'
8
7
  require 'padrino-core'
9
8
  require 'padrino-helpers'
10
- require 'mail'
9
+ require 'padrino/rendering'
11
10
  require 'padrino-mailer/ext'
12
11
  require 'padrino-mailer'
13
12
 
13
+ require 'ext/rack-test-methods'
14
+
14
15
  class MiniTest::Spec
15
16
  include Rack::Test::Methods
16
17
 
@@ -34,28 +35,14 @@ class MiniTest::Spec
34
35
  mail_message = Mail::TestMailer.deliveries.last
35
36
  raise "No mail message has been sent!" unless mail_message.present?
36
37
  delivery_attributes = mail_attributes
37
- delivery_attributes = { :to => Array(mail_attributes[:to]), :from => Array(mail_attributes[:from]) }
38
- delivery_attributes.each_pair do |k, v|
39
- unless mail_message.method(k).call == v
40
- raise "Mail failure (#{k}): #{mail_message.attributes.inspect} does not match #{delivery_attributes.inspect}"
41
- end
38
+ delivery_attributes.update(:to => Array(mail_attributes[:to]), :from => Array(mail_attributes[:from]))
39
+ delivery_attributes.each_pair do |key, expected|
40
+ next unless mail_message.respond_to?(key)
41
+ actual = mail_message.send(key)
42
+ actual = actual.to_s.chomp if key == :body
43
+ actual = mail_message.content_type_without_symbol.split(';').first if key == :content_type
44
+ assert_equal expected, actual, "Mail failure at field '#{key}'"
42
45
  end
43
46
  Mail::TestMailer.deliveries.clear
44
47
  end
45
-
46
- # Asserts that a file matches the pattern
47
- def assert_match_in_file(pattern, file)
48
- assert File.exist?(file), "File '#{file}' does not exist!"
49
- assert_match pattern, File.read(file)
50
- end
51
-
52
- # Delegate other missing methods to response.
53
- def method_missing(name, *args, &block)
54
- if response && response.respond_to?(name)
55
- response.send(name, *args, &block)
56
- else
57
- super(name, *args, &block)
58
- end
59
- end
60
- alias :response :last_response
61
48
  end
data/test/test_message.rb CHANGED
@@ -152,5 +152,18 @@ describe "Message" do
152
152
  message.encoded
153
153
  assert_equal :plain, message.content_type
154
154
  end
155
+
156
+ it 'should render partials' do
157
+ objects = [1,2,'<evil>','<good>'.html_safe]
158
+ message = Mail::Message.new do
159
+ from 'padrino@me.com'
160
+ to 'padrino@you.com'
161
+ subject 'Hello there Padrino'
162
+ views File.dirname(__FILE__) + '/fixtures/views/mailers'
163
+ partial 'partial/object', :collection => objects
164
+ end
165
+
166
+ assert_equal "Object 1<br>\nObject 2<br>\nObject &lt;evil&gt;<br>\nObject <good><br>", message.body.to_s.chomp
167
+ end
155
168
  end
156
169
  end
@@ -12,8 +12,7 @@ describe "PadrinoMailer" do
12
12
  assert_email_sent(:to => 'john@apple.com',
13
13
  :from => 'joe@smith.com',
14
14
  :subject => 'Test Email',
15
- :body => 'Test Body',
16
- :delivery_method => @app.delivery_method)
15
+ :body => 'Test Body')
17
16
  end
18
17
 
19
18
  it 'should be able to deliver plain text emails' do
@@ -21,7 +20,6 @@ describe "PadrinoMailer" do
21
20
  assert_equal 'mail delivered', body
22
21
  assert_email_sent(:to => 'john@fake.com',
23
22
  :from => 'noreply@birthday.com',
24
- :delivery_method => @app.delivery_method,
25
23
  :subject => "Happy Birthday!",
26
24
  :body => "Happy Birthday Joey!\nYou are turning 21")
27
25
  end
@@ -32,7 +30,6 @@ describe "PadrinoMailer" do
32
30
  assert_email_sent(:template => 'mailers/sample/foo_message',
33
31
  :to => 'john@fake.com',
34
32
  :from => 'noreply@custom.com',
35
- :delivery_method => @app.delivery_method,
36
33
  :subject => 'Welcome Message!',
37
34
  :body => 'Hello to Bobby')
38
35
  end
@@ -43,9 +40,8 @@ describe "PadrinoMailer" do
43
40
  assert_email_sent(:to => 'julie@fake.com',
44
41
  :from => 'noreply@anniversary.com',
45
42
  :content_type => 'text/html',
46
- :delivery_method => @app.delivery_method,
47
43
  :subject => 'Happy anniversary!',
48
- :body => "<p>Yay Joey & Charlotte!</p>\n<p>You have been married 16 years</p>")
44
+ :body => "<p>Yay Joey &amp; Charlotte!</p>\n<p>You have been married 16 years</p>")
49
45
  end
50
46
 
51
47
  it 'should be able to deliver a basic email using app settings' do
@@ -53,8 +49,7 @@ describe "PadrinoMailer" do
53
49
  :subject => 'Test Email', :body => 'Test Body',
54
50
  :via => :test)
55
51
  assert_email_sent(:to => 'john@apple.com', :from => 'joe@smith.com',
56
- :subject => 'Test Email', :body => 'Test Body',
57
- :delivery_method => @app.delivery_method)
52
+ :subject => 'Test Email', :body => 'Test Body')
58
53
  end
59
54
  end
60
55
 
@@ -65,7 +60,7 @@ describe "PadrinoMailer" do
65
60
  post '/deliver/inline'
66
61
  assert_equal 'mail delivered', body
67
62
  assert_email_sent(:to => 'john@apple.com', :from => 'joe@smith.com',
68
- :delivery_method => @app.delivery_method, :subject => 'Test Email',
63
+ :subject => 'Test Email',
69
64
  :body => 'Test Body')
70
65
  end
71
66
 
@@ -73,7 +68,7 @@ describe "PadrinoMailer" do
73
68
  post '/deliver/plain'
74
69
  assert_equal 'mail delivered', body
75
70
  assert_email_sent(:to => 'john@fake.com', :from => 'noreply@birthday.com',
76
- :delivery_method => @app.delivery_method, :subject => "Happy Birthday!",
71
+ :subject => "Happy Birthday!",
77
72
  :body => "Happy Birthday Joey!\nYou are turning 21")
78
73
  end
79
74
 
@@ -81,7 +76,7 @@ describe "PadrinoMailer" do
81
76
  post '/deliver/custom'
82
77
  assert_equal 'mail delivered', body
83
78
  assert_email_sent(:template => 'mailers/sample/foo_message', :to => 'john@fake.com',
84
- :from => 'noreply@custom.com', :delivery_method => @app.delivery_method,
79
+ :from => 'noreply@custom.com',
85
80
  :subject => 'Welcome Message!', :body => 'Hello to Bobby')
86
81
  end
87
82
 
@@ -89,8 +84,13 @@ describe "PadrinoMailer" do
89
84
  post '/deliver/html'
90
85
  assert_equal 'mail delivered', body
91
86
  assert_email_sent(:to => 'julie@fake.com', :from => 'noreply@anniversary.com',
92
- :content_type => 'text/html', :delivery_method => @app.delivery_method,
93
- :subject => 'Happy anniversary!', :body => "<p>Yay Joey & Charlotte!</p>\n<p>You have been married 16 years</p>")
87
+ :content_type => 'text/html',
88
+ :subject => 'Happy anniversary!', :body => "<p>Yay Joey &amp; Charlotte!</p>\n<p>You have been married 16 years</p>")
89
+ end
90
+
91
+ it 'should be able to deliver emails with views in custom-named folders' do
92
+ post '/deliver/external'
93
+ assert_equal 'mail delivered', body
94
94
  end
95
95
 
96
96
  it 'should be able to deliver a basic email using app settings' do
@@ -98,8 +98,7 @@ describe "PadrinoMailer" do
98
98
  :subject => 'Test Email', :body => 'Test Body',
99
99
  :via => :test)
100
100
  assert_email_sent(:to => 'john@apple.com', :from => 'joe@smith.com',
101
- :subject => 'Test Email', :body => 'Test Body',
102
- :delivery_method => @app.delivery_method)
101
+ :subject => 'Test Email', :body => 'Test Body')
103
102
  end
104
103
 
105
104
  it 'should be able to deliver a basic email using Padrino::Helpers' do
@@ -107,8 +106,36 @@ describe "PadrinoMailer" do
107
106
  post '/deliver/helper'
108
107
  assert_equal 'mail delivered', body
109
108
  assert_email_sent(:to => 'jim@fake.com', :from => 'noreply@custom.com',
110
- :content_type => 'text/html', :delivery_method => @app.delivery_method,
109
+ :content_type => 'text/html',
111
110
  :subject => 'Welcome Helper!', :body => "<a href=\"#\">jim</a>")
112
111
  end
112
+
113
+ it 'should fail with proper message if mailer is not registered' do
114
+ error = assert_raises RuntimeError do
115
+ post '/deliver/failing_mailer'
116
+ end
117
+ assert_match /is not registered/, error.message
118
+ end
119
+
120
+ it 'should fail with proper message if message does not exist' do
121
+ error = assert_raises RuntimeError do
122
+ post '/deliver/failing_message'
123
+ end
124
+ assert_match /has no message/, error.message
125
+ end
126
+
127
+ it 'should be able to render default mailer names' do
128
+ post '/deliver/default_mailer_name'
129
+ assert_equal 'mail delivered', body
130
+ assert_email_sent(:to => 'jim@fake.com', :from => 'noreply@custom.com',
131
+ :content_type => 'text/plain', :body => "dmn")
132
+ end
133
+
134
+ it 'should be able to render default mailer email names' do
135
+ post '/deliver/default_mailer_email_name'
136
+ assert_equal 'mail delivered', body
137
+ assert_email_sent(:to => 'jim@fake.com', :from => 'noreply@custom.com',
138
+ :content_type => 'text/plain', :body => "dmen")
139
+ end
113
140
  end
114
141
  end
data/test/test_part.rb CHANGED
@@ -33,7 +33,6 @@ describe "Part" do
33
33
  assert_equal 'other', message.parts[2].body.decoded
34
34
 
35
35
  assert_equal 'This is a foo message in mailers/sample dir', message.html_part.body.decoded.chomp
36
- assert_equal 'plain text', message.text_part.body.decoded
37
36
  end
38
37
 
39
38
  it 'should works with multipart templates' do
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.12.8.1
4
+ version: 0.12.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Padrino Team
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-09-06 00:00:00.000000000 Z
14
+ date: 2018-02-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: padrino-core
@@ -19,42 +19,46 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.12.8.1
22
+ version: 0.12.9
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.8.1
29
+ version: 0.12.9
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: mime-types
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - "<"
34
+ - - <
35
35
  - !ruby/object:Gem::Version
36
- version: '3'
36
+ version: !binary |-
37
+ Mw==
37
38
  type: :runtime
38
39
  prerelease: false
39
40
  version_requirements: !ruby/object:Gem::Requirement
40
41
  requirements:
41
- - - "<"
42
+ - - <
42
43
  - !ruby/object:Gem::Version
43
- version: '3'
44
+ version: !binary |-
45
+ Mw==
44
46
  - !ruby/object:Gem::Dependency
45
47
  name: mail
46
48
  requirement: !ruby/object:Gem::Requirement
47
49
  requirements:
48
- - - "~>"
50
+ - - ~>
49
51
  - !ruby/object:Gem::Version
50
- version: '2.5'
52
+ version: !binary |-
53
+ Mi41
51
54
  type: :runtime
52
55
  prerelease: false
53
56
  version_requirements: !ruby/object:Gem::Requirement
54
57
  requirements:
55
- - - "~>"
58
+ - - ~>
56
59
  - !ruby/object:Gem::Version
57
- version: '2.5'
60
+ version: !binary |-
61
+ Mi41
58
62
  description: Mailer system for padrino allowing easy delivery of application emails
59
63
  email: padrinorb@gmail.com
60
64
  executables: []
@@ -62,9 +66,9 @@ extensions: []
62
66
  extra_rdoc_files:
63
67
  - README.rdoc
64
68
  files:
65
- - ".document"
66
- - ".gitignore"
67
- - ".yardopts"
69
+ - .document
70
+ - .gitignore
71
+ - .yardopts
68
72
  - LICENSE.txt
69
73
  - README.rdoc
70
74
  - Rakefile
@@ -80,6 +84,8 @@ files:
80
84
  - test/fixtures/padrino_app/views/mailers/demo/sample_mail.erb
81
85
  - test/fixtures/padrino_app/views/mailers/sample/anniversary.erb
82
86
  - test/fixtures/padrino_app/views/mailers/sample/birthday.erb
87
+ - test/fixtures/padrino_app/views/mailers/sample/default_mailer_email_name.erb
88
+ - test/fixtures/padrino_app/views/mailers/sample/default_mailer_name.erb
83
89
  - test/fixtures/padrino_app/views/mailers/sample/foo_message.erb
84
90
  - test/fixtures/padrino_app/views/mailers/sample/helper_message.erb
85
91
  - test/fixtures/sinatra_app/app.rb
@@ -94,6 +100,7 @@ files:
94
100
  - test/fixtures/views/mailers/layouts/sample.erb
95
101
  - test/fixtures/views/mailers/multipart/basic.html.erb
96
102
  - test/fixtures/views/mailers/multipart/basic.plain.erb
103
+ - test/fixtures/views/mailers/partial/_object.erb
97
104
  - test/fixtures/views/mailers/sample/foo.erb
98
105
  - test/helper.rb
99
106
  - test/test_email.rb
@@ -106,22 +113,22 @@ licenses:
106
113
  metadata: {}
107
114
  post_install_message:
108
115
  rdoc_options:
109
- - "--charset=UTF-8"
116
+ - --charset=UTF-8
110
117
  require_paths:
111
118
  - lib
112
119
  required_ruby_version: !ruby/object:Gem::Requirement
113
120
  requirements:
114
- - - ">="
121
+ - - ! '>='
115
122
  - !ruby/object:Gem::Version
116
123
  version: '0'
117
124
  required_rubygems_version: !ruby/object:Gem::Requirement
118
125
  requirements:
119
- - - ">="
126
+ - - ! '>='
120
127
  - !ruby/object:Gem::Version
121
128
  version: 1.3.6
122
129
  requirements: []
123
130
  rubyforge_project: padrino-mailer
124
- rubygems_version: 2.5.1
131
+ rubygems_version: 2.6.14
125
132
  signing_key:
126
133
  specification_version: 4
127
134
  summary: Mailer system for padrino