email_template 0.6.5 → 0.6.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -138,6 +138,17 @@ In View:
138
138
  = @data.html_safe
139
139
  ```
140
140
 
141
+ ## Testing
142
+
143
+ In your test_helper.rb add
144
+ ```ruby
145
+ EmailTemplate.test_mode = true
146
+ ```
147
+
148
+ Test mode creates automatically templates by request and fills body and subject by using the field 'name'.
149
+ Please notice this by testing email sending in test mode.
150
+
151
+
141
152
  ## Contributing
142
153
 
143
154
  1. Fork it
@@ -2,8 +2,8 @@
2
2
  require File.expand_path('../lib/email-template/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Jenua Boiko"]
6
- gem.email = ["jeyboy1985@gmail.com"]
5
+ gem.authors = ['Jenua Boiko']
6
+ gem.email = ['jeyboy1985@gmail.com']
7
7
  gem.description = %Q{Allows your users to edit e-mail templates}
8
8
  gem.summary = %Q{Allows your users to edit e-mail templates. With Devise and Active Admin support (but you don't need them to start using email_template).}
9
9
  gem.homepage = "https://github.com/jeyboy/email_template"
@@ -15,6 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = EmailTemplate::VERSION
17
17
  gem.rubygems_version = %q{1.8.6}
18
+ gem.license = 'MIT'
18
19
 
19
20
  gem.add_dependency("rails", ">= 3.0.0")
20
21
  end
@@ -1,3 +1,3 @@
1
1
  module EmailTemplate
2
- VERSION = '0.6.5'
2
+ VERSION = '0.6.5.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-22 00:00:00.000000000 Z
12
+ date: 2013-08-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -60,7 +60,8 @@ files:
60
60
  - spec/helpers/mailer_helper_spec.rb
61
61
  - spec/spec_helper.rb
62
62
  homepage: https://github.com/jeyboy/email_template
63
- licenses: []
63
+ licenses:
64
+ - MIT
64
65
  post_install_message:
65
66
  rdoc_options: []
66
67
  require_paths: