smtp_lw 0.0.1

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: e4fdd978d2fc692d4534cbe4238a32e123a867f2
4
+ data.tar.gz: 67ab29002efa96217c1bf518814d5cf5d89a41d5
5
+ SHA512:
6
+ metadata.gz: 7a25046824b51f6243f40da8dce0ac72ed57f9e62146ee53fc87474cd1ce2640e5f950532c8d5cf55dee91d017381c4cb620a1f4988c40afe9a357a754c9911b
7
+ data.tar.gz: ee26d79bd8d10fb49e9f0e435b872ce6914f03526cc63d7b703cc682c4fe91e8214aec124bac2e52526f56528e68272b1c7273fd6257cf2594f0288368a631fe
@@ -0,0 +1,2 @@
1
+ # Authentication info
2
+ SMTP_LW_API_TOKEN='colar o token do painel'
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ .env
16
+ test/fixtures/*.yml
@@ -0,0 +1 @@
1
+ 2.2.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in smtp_lw.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Rachad Honein
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,72 @@
1
+ # SmtpLw
2
+
3
+ This is the ruby client for SMTP Locaweb product.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'smtp_lw'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install smtp_lw
20
+
21
+ ## Usage
22
+
23
+ ### Authentication and Configuration
24
+ ```ruby
25
+ client = SmtpLw::Client.new(api_token: 'your api token from the panel')
26
+ ```
27
+
28
+ or
29
+
30
+ ```ruby
31
+ SmtpLw.configure do |c|
32
+ c.api_token = 'your api token'
33
+ c.per_page = 50
34
+ end
35
+
36
+ # instanciate the client
37
+ client = SmtpLw::Client.new
38
+ ```
39
+
40
+ Alternatively you can authenticate setting an ENV:
41
+
42
+ ```
43
+ SMTP_LW_API_TOKEN='your api token'
44
+ ```
45
+ and then:
46
+ ```ruby
47
+ client = SmtpLw::Client.new
48
+ ```
49
+
50
+ ### Get the list of messages
51
+
52
+ ```ruby
53
+ client.list_messages('all', '2015-07-01', '2015-07-30')
54
+ ```
55
+ You can pass options as specified in the API documentation:
56
+ ```ruby
57
+ client.list_messages('all', '2015-07-01', '2015-07-30' {page: 1, per: 50})
58
+ ```
59
+
60
+ ### Send a message
61
+ ```ruby
62
+ client.send_message("meeting tomorrow at 11", "this is the body of my msg", 'me@domain.com',
63
+ 'you@domain.com')
64
+ ```
65
+
66
+ ## Contributing
67
+
68
+ 1. Fork it ( https://github.com/[my-github-username]/smtp_lw/fork )
69
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
70
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
71
+ 4. Push to the branch (`git push origin my-new-feature`)
72
+ 5. Create a new Pull Request
@@ -0,0 +1,12 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ require 'rake/testtask'
4
+
5
+ Rake::TestTask.new do |t|
6
+ t.libs << 'lib/smtp_lw'
7
+ t.test_files = FileList['test/lib/smtp_lw/**/*_test.rb']
8
+ t.verbose = true
9
+ end
10
+
11
+ task :default => :test
12
+
@@ -0,0 +1,10 @@
1
+ module SmtpLw
2
+ require "smtp_lw/version"
3
+ require "smtp_lw/default"
4
+ require "smtp_lw/configurable"
5
+ require "smtp_lw/client"
6
+ class << self
7
+ include SmtpLw::Configurable
8
+ end
9
+
10
+ end
@@ -0,0 +1,72 @@
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+ require 'smtp_lw/client/messages'
4
+
5
+ module SmtpLw
6
+ class Client
7
+ attr_accessor :api_token, :api_endpoint, :per_page, :timeout
8
+ include SmtpLw::Client::Messages
9
+
10
+ def initialize(options={})
11
+ SmtpLw::Configurable.keys.each do |key|
12
+ instance_variable_set(:"@#{key}", options[key] || SmtpLw.instance_variable_get(:"@#{key}"))
13
+ end
14
+ end
15
+
16
+ # Make a HTTP GET request
17
+ #
18
+ # @param uri [String] The path, relative to {#api_endpoint}
19
+ # @param options [Hash] Query and header params for request
20
+ # @return [Faraday::Response]
21
+ def get(uri, options={})
22
+ options = paginate(options)
23
+ response = connection.get uri, options
24
+ end
25
+
26
+ # Make a HTTP POST request
27
+ #
28
+ # @param uri [String] The path, relative to {#api_endpoint}
29
+ # @param options [Hash] Body and header params for request
30
+ # @return [Faraday::Response]
31
+ def post(uri, options={})
32
+ response = connection.post uri, options
33
+ end
34
+
35
+ # Make a HTTP PUT request
36
+ #
37
+ # @param uri [String] The path, relative to {#api_endpoint}
38
+ # @param options [Hash] Body and header params for request
39
+ # @return [Faraday::Response]
40
+ def put(uri, options={})
41
+ response = connection.put uri, options
42
+ end
43
+
44
+ def next_page(raw)
45
+ next_uri = raw["links"]["next"]
46
+ return nil unless next_uri
47
+ response = connection.get next_uri
48
+ return response.body
49
+ end
50
+
51
+ private
52
+
53
+ def paginate(options)
54
+ page = options[:page] || 1
55
+ per = options[:per] || SmtpLw.per_page
56
+ options.merge(page: page, per: per)
57
+ end
58
+
59
+ def connection
60
+ conn = Faraday.new(url: SmtpLw.api_endpoint, ssl: {verify: false}) do |c|
61
+ c.request :json
62
+ c.response :json
63
+ c.adapter Faraday.default_adapter
64
+
65
+ end
66
+ conn.headers['User-Agent'] = "SMTP LW Ruby API Client v#{VERSION}"
67
+ conn.headers['x-auth-token'] = SmtpLw.api_token
68
+ conn
69
+ end
70
+
71
+ end
72
+ end
@@ -0,0 +1,16 @@
1
+ module SmtpLw
2
+ class Client
3
+ module Messages
4
+
5
+ def list_messages(status, start_date, end_date, options={})
6
+ res = get "messages/", options.merge({status: status, start_date: start_date, end_date: end_date})
7
+ res.body
8
+ end
9
+
10
+ def send_message(subject, body, from, to, options={})
11
+ res = post "messages", options.merge({subject: subject, body: body, from: from, to: to})
12
+ res.body
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,49 @@
1
+ module SmtpLw
2
+ module Configurable
3
+ attr_accessor :api_token, :api_endpoint, :per_page, :timeout
4
+
5
+ class << self
6
+ def keys
7
+ @keys ||= [
8
+ :api_token,
9
+ :api_endpoint,
10
+ :per_page,
11
+ :timeout
12
+ ]
13
+ end
14
+ end
15
+
16
+ def api_token
17
+ @api_token || SmtpLw::Default.api_token
18
+ end
19
+
20
+ # Base endpoint URL for generated web URLs
21
+ # Referenced by SmtpLw.api_endpoint
22
+ # @return [String] Default: https://api.smtplw.com.br/v1/
23
+ def api_endpoint
24
+ @api_endpoint || SmtpLw::Default.api_endpoint
25
+ end
26
+
27
+ def per_page
28
+ @per_page || SmtpLw::Default.per_page
29
+ end
30
+
31
+ def timeout
32
+ @timeout || SmtpLw::Default.timeout
33
+ end
34
+
35
+ # Set configuration options using a block
36
+ def configure
37
+ yield self
38
+ end
39
+
40
+ def reset!
41
+ SmtpLw::Configurable.keys.each do |key|
42
+ instance_variable_set(:"@#{key}", SmtpLw::Default.options[key])
43
+ end
44
+ self
45
+ end
46
+
47
+ end
48
+ end
49
+
@@ -0,0 +1,37 @@
1
+ module SmtpLw
2
+ module Default
3
+ API_BASE = "https://api.smtplw.com.br".freeze
4
+ API_VERSION = "/v1/".freeze
5
+
6
+ class << self
7
+ def api_endpoint
8
+ ENV['SMTP_LW_API_ENDPOINT'] || (API_BASE + API_VERSION)
9
+ end
10
+
11
+ def api_token
12
+ ENV['SMTP_LW_API_TOKEN']
13
+ end
14
+
15
+ def api_version
16
+ API_VERSION
17
+ end
18
+
19
+ def api_base
20
+ ENV['SMTP_LW_API_BASE'] || API_BASE
21
+ end
22
+
23
+ def options
24
+ Hash[SmtpLw::Configurable.keys.map{|key| [key, send(key)]}]
25
+ end
26
+
27
+ # used for pagination when available on get
28
+ def per_page
29
+ ENV['SMTP_LW_PER_PAGE'] || 100
30
+ end
31
+
32
+ def timeout
33
+ ENV['SMTP_LW_TIMEOUT'] || 5
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,3 @@
1
+ module SmtpLw
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'smtp_lw/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "smtp_lw"
8
+ spec.version = SmtpLw::VERSION
9
+ spec.authors = ["Locaweb"]
10
+ spec.email = ["desenvolvedores@locaweb.com.br"]
11
+ spec.summary = %q{This is the ruby client for SMTP Locaweb product.}
12
+ spec.description = %q{This is the ruby client for SMTP Locaweb product.}
13
+ spec.homepage = "http://locaweb.com.br"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency 'faraday'
22
+ spec.add_dependency 'faraday_middleware'
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.7"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "byebug"
27
+ spec.add_development_dependency "vcr"
28
+ spec.add_development_dependency "webmock"
29
+ spec.add_development_dependency "dotenv"
30
+ spec.add_development_dependency "minitest-reporters"
31
+ end
@@ -0,0 +1,25 @@
1
+ require_relative '../../../test_helper'
2
+
3
+ describe SmtpLw::Client::Messages do
4
+
5
+ subject { SmtpLw::Client.new }
6
+
7
+ before do
8
+ VCR.insert_cassette name
9
+ end
10
+
11
+ after do
12
+ VCR.eject_cassette
13
+ end
14
+
15
+ it "find messages with required filters" do
16
+ raw = subject.list_messages('all', '2015-01-07', '2015-01-07', per: 10)
17
+ assert_equal raw["data"]["messages"].count>0, true
18
+ end
19
+
20
+ it "will send a message" do
21
+ raw = subject.send_message('hello', 'this is just a message', 'bruno.batalha@locaweb.com.br', 'rachad.honein@gmail.com')
22
+ assert_equal raw['data']['attributes']['status'], 'Enfileirado'
23
+ end
24
+ end
25
+
@@ -0,0 +1,12 @@
1
+ require_relative '../../test_helper'
2
+
3
+ describe SmtpLw::Client do
4
+
5
+ subject { SmtpLw::Client }
6
+
7
+ it "must return authentication options of client" do
8
+ client = subject.new(api_token: 'my_api_key')
9
+ assert_equal client.api_token, "my_api_key"
10
+ end
11
+
12
+ end
@@ -0,0 +1,20 @@
1
+ require_relative '../../test_helper'
2
+
3
+ describe SmtpLw do
4
+
5
+ it "must give the correct api token" do
6
+ SmtpLw.configure do |c|
7
+ c.api_token = 'secret_token'
8
+ end
9
+ assert_equal SmtpLw.api_token, 'secret_token'
10
+ end
11
+
12
+ it "has to reset the default keys if needed" do
13
+ SmtpLw.configure do |c|
14
+ c.api_token = 'secret_token'
15
+ end
16
+ SmtpLw.reset!
17
+ assert_equal SmtpLw.api_token, ENV['SMTP_LW_API_TOKEN']
18
+ end
19
+
20
+ end
@@ -0,0 +1,9 @@
1
+ require_relative '../../test_helper'
2
+
3
+ describe SmtpLw do
4
+
5
+ it "must give the correct api endpoint" do
6
+ assert_equal SmtpLw::Default.api_endpoint, "https://api.smtplw.com.br/v1/"
7
+ end
8
+
9
+ end
@@ -0,0 +1,9 @@
1
+ require_relative '../../test_helper'
2
+
3
+ describe SmtpLw do
4
+
5
+ it "must be defined" do
6
+ SmtpLw::VERSION.wont_be_nil
7
+ end
8
+
9
+ end
@@ -0,0 +1,64 @@
1
+ require 'minitest/autorun'
2
+ require 'minitest/pride'
3
+ require 'minitest/reporters'
4
+ require 'byebug'
5
+ require 'vcr'
6
+ require 'dotenv'
7
+ require File.expand_path('../../lib/smtp_lw.rb', __FILE__)
8
+
9
+
10
+ Dotenv.load
11
+
12
+ VCR.configure do |c|
13
+ c.cassette_library_dir = "test/fixtures"
14
+ c.hook_into :webmock
15
+ c.filter_sensitive_data("<STMP_LW_API_TOKEN>") do
16
+ test_api_token
17
+ end
18
+ end
19
+
20
+ def test_api_token
21
+ ENV.fetch 'SMTP_LW_API_TOKEN', 'my-api-test-token'
22
+ end
23
+
24
+ module Minitest
25
+ module Reporters
26
+ class CustomReporter < DefaultReporter
27
+ GRAY = '0;36'
28
+ GREEN = '1;32'
29
+ RED = '1;31'
30
+
31
+ def initialize(options = {})
32
+ super
33
+ @slow_threshold = options.fetch(:slow_threshold, nil)
34
+ end
35
+
36
+ def record_pass(test)
37
+ if @slow_threshold.nil? || test.time <= @slow_threshold
38
+ super
39
+ else
40
+ gray('O')
41
+ end
42
+ end
43
+
44
+ def color_up(string, color)
45
+ color? ? "\e\[#{ color }m#{ string }#{ ANSI::Code::ENDCODE }" : string
46
+ end
47
+
48
+ def red(string)
49
+ color_up(string, RED)
50
+ end
51
+
52
+ def green(string)
53
+ color_up(string, GREEN)
54
+ end
55
+
56
+ def gray(string)
57
+ color_up(string, GRAY)
58
+ end
59
+ end
60
+ end
61
+ end
62
+
63
+ reporter_options = { color: true, slow_count: 5 }
64
+ Minitest::Reporters.use! [Minitest::Reporters::CustomReporter.new(reporter_options)]
metadata ADDED
@@ -0,0 +1,196 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: smtp_lw
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Locaweb
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: byebug
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: vcr
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: dotenv
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: minitest-reporters
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: This is the ruby client for SMTP Locaweb product.
140
+ email:
141
+ - desenvolvedores@locaweb.com.br
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".env.sample"
147
+ - ".gitignore"
148
+ - ".ruby-version"
149
+ - Gemfile
150
+ - LICENSE.txt
151
+ - README.md
152
+ - Rakefile
153
+ - lib/smtp_lw.rb
154
+ - lib/smtp_lw/client.rb
155
+ - lib/smtp_lw/client/messages.rb
156
+ - lib/smtp_lw/configurable.rb
157
+ - lib/smtp_lw/default.rb
158
+ - lib/smtp_lw/version.rb
159
+ - smtp_lw.gemspec
160
+ - test/lib/smtp_lw/client/messages_test.rb
161
+ - test/lib/smtp_lw/client_test.rb
162
+ - test/lib/smtp_lw/configurable_test.rb
163
+ - test/lib/smtp_lw/default_test.rb
164
+ - test/lib/smtp_lw/version_test.rb
165
+ - test/test_helper.rb
166
+ homepage: http://locaweb.com.br
167
+ licenses:
168
+ - MIT
169
+ metadata: {}
170
+ post_install_message:
171
+ rdoc_options: []
172
+ require_paths:
173
+ - lib
174
+ required_ruby_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ required_rubygems_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ requirements: []
185
+ rubyforge_project:
186
+ rubygems_version: 2.4.5
187
+ signing_key:
188
+ specification_version: 4
189
+ summary: This is the ruby client for SMTP Locaweb product.
190
+ test_files:
191
+ - test/lib/smtp_lw/client/messages_test.rb
192
+ - test/lib/smtp_lw/client_test.rb
193
+ - test/lib/smtp_lw/configurable_test.rb
194
+ - test/lib/smtp_lw/default_test.rb
195
+ - test/lib/smtp_lw/version_test.rb
196
+ - test/test_helper.rb