twelvefactor-mailer 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 71009536aea3c2ad3eccfb3a3081b298ebf9df27
4
+ data.tar.gz: f35a89d5ad005b887f27cf256cf4338479b21910
5
+ SHA512:
6
+ metadata.gz: bcebcaf30785fb5a683cce35d879388cc55f7d782aee8681fba4782e8c4ad95dab2115b86301651bd86cfb2ee8ce2be4d6984f7cd670270492ac42eaa05e956a
7
+ data.tar.gz: 7d8c22fe3a0bab691c470eb5fca33f134857731b643ca5eb187237900f72d71dd1fa585e0f9b7d35a9d03af7bf7319c9de41372077a8118fbe264cff471802d5
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /*.gem
@@ -0,0 +1,3 @@
1
+ ruby:
2
+ config_file: .rubocop.yml
3
+ fail_on_violations: true
data/.rspec ADDED
@@ -0,0 +1,4 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
4
+ --profile 3
@@ -0,0 +1,17 @@
1
+ AllCops:
2
+ Include:
3
+ - "**/*.gemspec"
4
+ - "**/Gemfile"
5
+ Exclude:
6
+ - "vendor/**/*"
7
+ - "spec/**/*"
8
+ - "features/**/*"
9
+ - "db/schema.rb"
10
+ Style/StringLiterals:
11
+ EnforcedStyle: double_quotes
12
+ Style/ClassAndModuleChildren:
13
+ EnforcedStyle: compact
14
+ Style/MethodDefParentheses:
15
+ EnforcedStyle: require_no_parentheses
16
+ Style/Documentation:
17
+ Enabled: false
@@ -0,0 +1 @@
1
+ 2.3.1
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at kbourn@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+ source "https://rubygems.org"
3
+
4
+ # Specify your gem's dependencies in twelvefactor.gemspec
5
+ gemspec
@@ -0,0 +1,75 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ # Note: The cmd option is now required due to the increasing number of ways
19
+ # rspec may be run, below are examples of the most common uses.
20
+ # * bundler: 'bundle exec rspec'
21
+ # * bundler binstubs: 'bin/rspec'
22
+ # * spring: 'bin/rspec' (This will use spring if running and you have
23
+ # installed the spring binstubs per the docs)
24
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
25
+ # * 'just' rspec: 'rspec'
26
+
27
+ guard :rspec, cmd: "bundle exec rspec" do
28
+ require "guard/rspec/dsl"
29
+ dsl = Guard::RSpec::Dsl.new(self)
30
+
31
+ # Feel free to open issues for suggestions and improvements
32
+
33
+ # RSpec files
34
+ rspec = dsl.rspec
35
+ watch(rspec.spec_helper) { rspec.spec_dir }
36
+ watch(rspec.spec_support) { rspec.spec_dir }
37
+ watch(rspec.spec_files)
38
+
39
+ # Ruby files
40
+ ruby = dsl.ruby
41
+ dsl.watch_spec_files_for(ruby.lib_files)
42
+
43
+ # Rails files
44
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
45
+ dsl.watch_spec_files_for(rails.app_files)
46
+ dsl.watch_spec_files_for(rails.views)
47
+
48
+ watch(rails.controllers) do |m|
49
+ [
50
+ rspec.spec.call("routing/#{m[1]}_routing"),
51
+ rspec.spec.call("controllers/#{m[1]}_controller"),
52
+ rspec.spec.call("acceptance/#{m[1]}")
53
+ ]
54
+ end
55
+
56
+ # Rails config changes
57
+ watch(rails.spec_helper) { rspec.spec_dir }
58
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
59
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
60
+
61
+ # Capybara features specs
62
+ watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
63
+ watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
64
+
65
+ # Turnip features and steps
66
+ watch(%r{^spec/acceptance/(.+)\.feature$})
67
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
68
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
69
+ end
70
+ end
71
+
72
+ guard :rubocop do
73
+ watch(%r{.+\.rb$})
74
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
75
+ end
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Konstantin Burnaev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,88 @@
1
+ # twelvefactor-mailer
2
+
3
+ Adds support for MAILER_URL environment variable in a way similar to
4
+ [http://edgeguides.rubyonrails.org/configuring.html](DATABASE_URL).
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'twelvefactor-mailer'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install twelvefactor-mailer
21
+
22
+ ## Usage
23
+
24
+ 1. Add `MAILER_URL` to your application environment.
25
+
26
+ ```
27
+ MAILER_URL=letter-opener://localhost
28
+ MAILER_URL=test://localhost
29
+ MAILER_URL=smtp://mail:1025
30
+ ```
31
+
32
+ 2. Remove old mailer configuration code (`action_mailer.delivery_method` and
33
+ `action_mailer.smtp_settings`) from `application.rb` and `ENV.rb`
34
+
35
+ ### Supported delivery methods
36
+
37
+ smtp
38
+
39
+ ```
40
+ MAILER_URL=smtp://user:password@localhost:1025?domain=test.com&authentication=plain
41
+ ```
42
+
43
+ sendmail
44
+ ```
45
+ MAILER_URL=sendmail:///usr/bin/sendmail?-i%20-t
46
+ ```
47
+
48
+ file
49
+ ```
50
+ MAILER_URL=file:///home/username/tmp/mail
51
+ ```
52
+
53
+ test
54
+ ```
55
+ MAILER_URL=test://localhost
56
+ ```
57
+
58
+ letter-opener (https://github.com/ryanb/letter_opener)
59
+ ```
60
+ MAILER_URL=letter-opener://localhost
61
+ ```
62
+
63
+ ## Development
64
+
65
+ After checking out the repo, run `bin/setup` to install
66
+ dependencies. Then, run `rake spec` to run the tests. You can also run
67
+ `bin/console` for an interactive prompt that will allow you to
68
+ experiment.
69
+
70
+ To install this gem onto your local machine, run `bundle exec rake
71
+ install`. To release a new version, update the version number in
72
+ `version.rb`, and then run `bundle exec rake release`, which will
73
+ create a git tag for the version, push git commits and tags, and push
74
+ the `.gem` file to [rubygems.org](https://rubygems.org).
75
+
76
+ ## Contributing
77
+
78
+ Bug reports and pull requests are welcome on GitHub at
79
+ https://github.com/bkon/twelvefactor. This project is intended to be
80
+ a safe, welcoming space for collaboration, and contributors are
81
+ expected to adhere to the
82
+ [Contributor Covenant](http://contributor-covenant.org) code of
83
+ conduct.
84
+
85
+ ## License
86
+
87
+ The gem is available as open source under the terms of the
88
+ [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "twelvefactor/environment/mailer"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,12 @@
1
+ machine:
2
+ ruby:
3
+ version: 2.3.1
4
+
5
+ dependencies:
6
+ pre:
7
+ - gem install bundler -v "1.12.5"
8
+
9
+ test:
10
+ override:
11
+ - bundle exec rubocop
12
+ - bundle exec rspec
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Twelvefactor; end
4
+ module Twelvefactor::Environment; end
5
+ class Twelvefactor::Environment::Mailer; end
6
+
7
+ require "twelvefactor/environment/mailer/smtp"
8
+ require "twelvefactor/environment/mailer/sendmail"
9
+ require "twelvefactor/environment/mailer/file"
10
+ require "twelvefactor/environment/mailer/test"
11
+ require "twelvefactor/environment/mailer/letter_opener"
12
+
13
+ class Twelvefactor::Environment::Mailer
14
+ VERSION = "1.0.0".freeze
15
+
16
+ HANDLERS = {
17
+ "smtp" => Smtp,
18
+ "sendmail" => Sendmail,
19
+ "file" => File,
20
+ "test" => Test,
21
+ "letter-opener" => LetterOpener
22
+ }.freeze
23
+
24
+ def self.apply app, mailer_url
25
+ handler = HANDLERS.fetch mailer_url.scheme, Test
26
+ handler.apply app, mailer_url
27
+ end
28
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+ class Twelvefactor::Environment::Mailer::File
3
+ def self.apply app, mailer_url
4
+ config = app.config
5
+ config.action_mailer.delivery_method = :file
6
+ config.action_mailer.file_settings = file_settings mailer_url
7
+ end
8
+
9
+ def self.file_settings url
10
+ {
11
+ location: url.path
12
+ }
13
+ end
14
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+ class Twelvefactor::Environment::Mailer::LetterOpener
3
+ def self.apply app, _
4
+ config = app.config
5
+ config.action_mailer.delivery_method = :letter_opener
6
+ end
7
+ end
@@ -0,0 +1,17 @@
1
+ require "active_support/core_ext/hash"
2
+
3
+ # frozen_string_literal: true
4
+ class Twelvefactor::Environment::Mailer::Sendmail
5
+ def self.apply app, mailer_url
6
+ config = app.config
7
+ config.action_mailer.delivery_method = :sendmail
8
+ config.action_mailer.sendmail_settings = sendmail_settings mailer_url
9
+ end
10
+
11
+ def self.sendmail_settings url
12
+ {
13
+ location: url.path,
14
+ arguments: url.query && URI.decode(url.query)
15
+ }.compact
16
+ end
17
+ end
@@ -0,0 +1,34 @@
1
+ require "active_support/core_ext/hash"
2
+
3
+ # frozen_string_literal: true
4
+ class Twelvefactor::Environment::Mailer::Smtp
5
+ def self.apply app, mailer_url
6
+ config = app.config
7
+ config.action_mailer.delivery_method = :smtp
8
+ config.action_mailer.smtp_settings = smtp_settings mailer_url
9
+ end
10
+
11
+ def self.smtp_settings url
12
+ basic_settings(url)
13
+ .merge(extra_settings(url.query))
14
+ .compact
15
+ end
16
+
17
+ def self.basic_settings url
18
+ {
19
+ address: url.host,
20
+ port: url.port,
21
+ user_name: url.user,
22
+ password: url.password
23
+ }
24
+ end
25
+
26
+ def self.extra_settings query
27
+ return {} unless query
28
+
29
+ CGI
30
+ .parse(query)
31
+ .map { |k, val| [k.to_sym, val.first] }
32
+ .to_h
33
+ end
34
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+ class Twelvefactor::Environment::Mailer::Test
3
+ def self.apply app, _
4
+ config = app.config
5
+ config.action_mailer.delivery_method = :test
6
+ end
7
+ end
@@ -0,0 +1,38 @@
1
+ # coding: utf-8
2
+ # frozen_string_literal: true
3
+ lib = File.expand_path("../lib", __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "twelvefactor/environment/mailer"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "twelvefactor-mailer"
9
+ spec.version = Twelvefactor::Environment::Mailer::VERSION
10
+ spec.authors = ["Konstantin Burnaev"]
11
+ spec.email = ["kbourn@gmail.com"]
12
+
13
+ spec.summary = <<EOF
14
+ MAILER_URL for 12-factor mailer configuration in Rails applications.
15
+ EOF
16
+
17
+ spec.homepage = "https://github.com/bkon/twelvefactor-mailer"
18
+ spec.license = "MIT"
19
+
20
+ spec.files = `git ls-files -z`
21
+ .split("\x0")
22
+ .reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+
27
+ spec.add_dependency "twelvefactor", "~> 1.0"
28
+ spec.add_dependency "railties", "~> 4.1"
29
+ spec.add_dependency "activesupport", "~> 4.1"
30
+
31
+ spec.add_development_dependency "bundler", "~> 1.12"
32
+ spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "rspec", "~> 3.0"
34
+ spec.add_development_dependency "rubocop", "~> 0.41"
35
+ spec.add_development_dependency "guard-rspec", "~> 4.7"
36
+ spec.add_development_dependency "guard-rubocop", "~> 1.2"
37
+ spec.add_development_dependency "codecov"
38
+ end
metadata ADDED
@@ -0,0 +1,205 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: twelvefactor-mailer
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Konstantin Burnaev
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-07-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: twelvefactor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: railties
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.41'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.41'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '4.7'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '4.7'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.2'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: codecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description:
154
+ email:
155
+ - kbourn@gmail.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".hound.yml"
162
+ - ".rspec"
163
+ - ".rubocop.yml"
164
+ - ".ruby-version"
165
+ - CODE_OF_CONDUCT.md
166
+ - Gemfile
167
+ - Guardfile
168
+ - LICENSE.txt
169
+ - README.md
170
+ - Rakefile
171
+ - bin/console
172
+ - bin/setup
173
+ - circle.yml
174
+ - lib/twelvefactor/environment/mailer.rb
175
+ - lib/twelvefactor/environment/mailer/file.rb
176
+ - lib/twelvefactor/environment/mailer/letter_opener.rb
177
+ - lib/twelvefactor/environment/mailer/sendmail.rb
178
+ - lib/twelvefactor/environment/mailer/smtp.rb
179
+ - lib/twelvefactor/environment/mailer/test.rb
180
+ - twelvefactor-mailer.gemspec
181
+ homepage: https://github.com/bkon/twelvefactor-mailer
182
+ licenses:
183
+ - MIT
184
+ metadata: {}
185
+ post_install_message:
186
+ rdoc_options: []
187
+ require_paths:
188
+ - lib
189
+ required_ruby_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ required_rubygems_version: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ requirements: []
200
+ rubyforge_project:
201
+ rubygems_version: 2.5.1
202
+ signing_key:
203
+ specification_version: 4
204
+ summary: MAILER_URL for 12-factor mailer configuration in Rails applications.
205
+ test_files: []