ocean-rails 2.16.0 → 2.16.1

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: 12bffa69ee07ff94b7a5ebb69361264cd8d4b9cc
4
- data.tar.gz: 268b66c8312f1f8594839206f3614a32800c7ebe
3
+ metadata.gz: ce2c60ebafc941ee1eb947750ff671a40c8d94fe
4
+ data.tar.gz: 57f32cf769c9bb3781cd227117633199b4965d2f
5
5
  SHA512:
6
- metadata.gz: 9becfd91ec5c58822a2fe6780e8d9fe87a416b6e6162d80cb17699894946672d117b2e7023c818a4cf51d44fdb40e3b504e0ac9a8e4f75e0d3ed0f6b0fa7d1bf
7
- data.tar.gz: 38d7536afe681685dcf28718f21ee11d8954f1216074111e448e4d0abd6e07f3a6339f2f397f2e2cdd902f12d2aa8e5b3cdac5ecf9f3264c2dedb74c341662da
6
+ metadata.gz: e69fbedb2734b66e99b2c5f673331ad6ce550a0fee95e8676d02ac4518deb0260254c8477b0e0449e7632c26390a62bb99cf184c8c43c3729a33c2807f92c376
7
+ data.tar.gz: b22390265d6c445ac7e154a20b862ae78550e7be707ea5a99cdddaa41d9b86385f6cd506c6c289a3980ee84d37c791bf7c9f4b9cabd076b78cf344856dc15491
data/lib/ocean/api.rb CHANGED
@@ -277,8 +277,10 @@ class Api
277
277
  #
278
278
  # Send an email asynchronously. The Mailer role is required.
279
279
  #
280
- def self.send_mail(from: from, to: to, subject: subject, plaintext: plaintext, html: html,
281
- plaintext_url: plaintext_url, html_url: html_url, substitutions: substitutions)
280
+ def self.send_mail(from: "nobody@#{BASE_DOMAIN}", to: nil,
281
+ subject: nil,
282
+ plaintext: nil, html: nil,
283
+ plaintext_url: nil, html_url: nil, substitutions: nil)
282
284
  Api.request "#{INTERNAL_OCEAN_API_URL}/v1/mails", :post,
283
285
  x_api_token: Api.service_token,
284
286
  body: {
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.16.0"
2
+ VERSION = "2.16.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0
4
+ version: 2.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson