drillmail 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9673acdf08216e5b74722a4005401a1a0d592831
4
- data.tar.gz: 564beb157e8894a5828342b6ead713fff2eaf634
3
+ metadata.gz: a10a42e0e82247e18e345f722748855d5ed8f495
4
+ data.tar.gz: 3df6e8f94996c693598c23c95b180c4ce639f97f
5
5
  SHA512:
6
- metadata.gz: 79497d75d9f764bf9e2a4015b512aad7bb66cc8f5722394531a962ec4af6cfb2daaae8048f39d7010e3c02843527d7251a3b0f9265b29ccdb64f5ce39f070ef6
7
- data.tar.gz: 8c6ea44529e5d02d800d42c0f887da86ddc757a37a62585d63b8bca9ee2d0fd66f566dbcf0cf01b35ed834fac898b45b3f2bfbe94c941b62d27b66dde5d2c5b0
6
+ metadata.gz: a00e6d41e9c7cdc8a8a167d43bfa47dffdcd60397a7c99bc0c8f6c0b59d400e409c336d6fdff9c80be4c636653f2a850ec67837f2f9db114b4bd52a369eb5ad3
7
+ data.tar.gz: ad8858a1ef6a23f3fda78afd60732f02ddd7eb8355cb7768278e927020e6a1afd4502c4c8e93764db8ec93fe486f19e4db7767cb40889588874ae49c2decb21a
data/.gitignore CHANGED
@@ -11,6 +11,7 @@ capybara-*.html
11
11
  **.orig
12
12
  rerun.txt
13
13
  pickle-email-*.html
14
+ *.gem
14
15
 
15
16
  # TODO Comment out these rules if you are OK with secrets being uploaded to the repo
16
17
  config/initializers/secret_token.rb
data/drillmail.gemspec CHANGED
@@ -1,17 +1,18 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'drillmail'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = '2016-11-30'
5
5
  s.summary = "A Ruby mail server and library"
6
6
  s.description = "A Ruby implementation of the SMTP protocol that can be run as a deamon"
7
7
  s.authors = ["Jasper Lyons"]
8
8
  s.email = 'jasper.lyons@gmail.com'
9
+ s.homepage = 'https://github.com/releaseplatform/drillmail'
10
+ s.license = 'MIT'
9
11
 
10
12
  s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
11
13
  s.bindir = "bin"
12
14
  s.executables << 'drillmail'
13
15
  s.require_paths = ["lib"]
14
16
 
15
- s.homepage = 'https://github.com/releaseplatform/drillmail'
16
- s.license = 'MIT'
17
+ s.add_runtime_dependency 'mail'
17
18
  end
@@ -1,5 +1,4 @@
1
1
  require 'mail'
2
- require 'byebug'
3
2
 
4
3
  DataCommand = Struct.new(:session, :body) do
5
4
  def call
@@ -11,7 +11,7 @@ This is a test message.
11
11
  END_OF_MESSAGE
12
12
 
13
13
  begin
14
- Net::SMTP.start('localhost', 5000) do |smtp|
14
+ Net::SMTP.start('localhost', 587) do |smtp|
15
15
  smtp.send_message(msgstr, 'jasper.lyons@gmail.com', 'bob@thecat.com')
16
16
  end
17
17
  rescue => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drillmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jasper Lyons
@@ -9,7 +9,21 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-11-30 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mail
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'
13
27
  description: A Ruby implementation of the SMTP protocol that can be run as a deamon
14
28
  email: jasper.lyons@gmail.com
15
29
  executables: