us-mail-client 0.0.7.alpha → 0.0.8

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: 2187fdcb0f6d759629f5e11e5edb4663c9017698
4
- data.tar.gz: 92781cdc910d348bae622933e3ac690bb3a38931
3
+ metadata.gz: cae5b3ea1dfcea1eae7bc6785fc8f1d55b5213c2
4
+ data.tar.gz: cf17bb2ef82916ab5d1b5fe84831ede0c48cf35d
5
5
  SHA512:
6
- metadata.gz: 8dc8d0b55bbce37cccf3503d9b8247c7d2018f30a6a447c7cea26f3a2bb8c5c2cc2775ccc918e27396ac9fcb36d8128039c81ab740076a5d869453503e50118e
7
- data.tar.gz: a9cb174e9d32774d192a6cb1e1acdc9354231dd7c6109b7d6a366fac4c1722a09cfa619c82f047a98207ce05c5a703f3d7e0542d8310efede85ab4b28adeee0b
6
+ metadata.gz: 05ea1db88728abdf2ae163d125f55cf9392839585f74b864f35ab91efcce1346ab77f4df35dfe537c8e8501dae1a7c8b97507aad6303d3f508d210c09b43568c
7
+ data.tar.gz: 59fdd44b6562d1cfbd0e0fffe6b43f9dfe54a9522b45e7f79b95d2b7a630148c30f9f5a917e0c187fcca045bfcee957514006e7cbb3a1104da2c5952e3cb2476
@@ -17,6 +17,7 @@ module UnionStation
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)
20
+ response.code == '200' || response.code == '201'
20
21
  end
21
22
  end
22
23
  end
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module UnionStation
2
2
  module MailClient
3
- VERSION = "0.0.7.alpha"
3
+ VERSION = "0.0.8"
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.7.alpha
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phusion
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -32,7 +32,6 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - README.md
35
- - config/settings.yml
36
35
  - config/settings.yml.example
37
36
  - lib/union_station/clients/default_mailer.rb
38
37
  - lib/union_station/clients/test_mailer.rb
@@ -56,12 +55,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
55
  version: '0'
57
56
  required_rubygems_version: !ruby/object:Gem::Requirement
58
57
  requirements:
59
- - - ">"
58
+ - - ">="
60
59
  - !ruby/object:Gem::Version
61
- version: 1.3.1
60
+ version: '0'
62
61
  requirements: []
63
62
  rubyforge_project:
64
- rubygems_version: 2.4.6
63
+ rubygems_version: 2.2.2
65
64
  signing_key:
66
65
  specification_version: 4
67
66
  summary: Mail client of the Union Station system.
data/config/settings.yml DELETED
@@ -1,18 +0,0 @@
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