us-mail-client 0.0.5.alpha → 0.0.6.alpha

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e0fae14914ceebf9b75da83f0fa08cf67b673be
4
- data.tar.gz: 8e158297caf093362ac70d88dc88ade81de26b24
3
+ metadata.gz: 2faabaf164a9a064202001a036ed312e58e78593
4
+ data.tar.gz: 7c6540b29f2a9028ec04061116838cd561175efd
5
5
  SHA512:
6
- metadata.gz: 84c21882d2c15ec77a532e3ef714403cbf820118cfc1e798676a23545bfd887d1ec76e689e381e43547ec79a398c11798138a1e02c6fa78e157fa7a951d33ea2
7
- data.tar.gz: 2ed60b6122cbbeb739312236056aca597b99bcb13b2415f5aef0114f25c3699c76e1b6c14d3829abfff5e0b147826a3d857ca0882c0bbc290b78cf28672e885b
6
+ metadata.gz: e700cdd4f46c9754f13f3b3d06c87a66c22044dcc4a14c076d9f2c8cbb9669d862687c292f228a49f6152f81dbfd04b077cfdf98316c0791811f14a149a7cdd9
7
+ data.tar.gz: e73cd89c7878d43563ec478a30449e8fa3112271bc835825e777d4a5d9aa4cdd070fd4b6a62120f30d0bf84f21177ecb345c161909e988700098761e34572644
@@ -0,0 +1,18 @@
1
+ default_settings: &default_settings
2
+ email:
3
+ mailer_host: http://mailer:8205
4
+
5
+ development:
6
+ <<: *default_settings
7
+ email:
8
+ delivery_method: test
9
+ mailer_host: http://mailer:8205
10
+
11
+ test:
12
+ <<: *default_settings
13
+ email:
14
+ delivery_method: test
15
+ mailer_host: http://mailer:8205
16
+
17
+ production:
18
+ <<: *default_settings
@@ -13,7 +13,7 @@ module UnionStation
13
13
 
14
14
  def deliver(message)
15
15
  http = Net::HTTP.new(@uri.host, @uri.port)
16
- req = Net::HTTP::Post.new(@uri.request_uri)
16
+ req = Net::HTTP::Post.new(@uri)
17
17
  req.content_type = "application/x-www-form-urlencoded"
18
18
  req.body = message.to_hash.to_query
19
19
  response = http.request(req)
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module UnionStation
2
2
  module MailClient
3
- VERSION = "0.0.5.alpha"
3
+ VERSION = "0.0.6.alpha"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: us-mail-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.alpha
4
+ version: 0.0.6.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phusion
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-16 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -32,6 +32,7 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - README.md
35
+ - config/settings.yml
35
36
  - config/settings.yml.example
36
37
  - lib/union_station/clients/default_mailer.rb
37
38
  - lib/union_station/clients/test_mailer.rb
@@ -60,9 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
61
  version: 1.3.1
61
62
  requirements: []
62
63
  rubyforge_project:
63
- rubygems_version: 2.2.3
64
+ rubygems_version: 2.4.6
64
65
  signing_key:
65
66
  specification_version: 4
66
67
  summary: Mail client of the Union Station system.
67
68
  test_files: []
68
- has_rdoc: