bima-shark-sdk 2.4.3 → 2.4.4
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 +5 -5
- data/.rubocop.yml +1 -1
- data/.travis.yml +2 -2
- data/CHANGELOG.md +4 -0
- data/lib/shark/double_opt_in/execution.rb +2 -2
- data/lib/shark/mailing_service/mailer.rb +0 -2
- data/lib/shark/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: e003bacef5ad3777bebedc0d3cc6998774649c19f9d01feceaf3353491368c5e
|
|
4
|
+
data.tar.gz: 744acc3e2be82f620f064a8d01b9f858939ff0fc28ec35f2b5fd9ea6b86f8d06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bd2cbb0c39408763febc462074a670cf29a5afdcdaa9e8cf6c7407e7a6d3343829ce291a13361434764b29e9a7b30d7f94f9c09bd2101f73e38b802d77490b8
|
|
7
|
+
data.tar.gz: bce739bb923bc2aba6dba2095ba000781fe3e2fcc4b44324e328aba34662dbd147373d369cb29bf8929b5babdd1dc2f987a14029318726bde30e602a6ad68f9d
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
#### 2.4.4
|
|
4
|
+
* lowest supported Ruby version is 2.7
|
|
5
|
+
* add `recipient` to `Shark::DoubleOptIn::Execution`
|
|
6
|
+
|
|
3
7
|
#### 2.4.3
|
|
4
8
|
- allow `Shark::MailingService::Mailer#mail` to use separate layouts
|
|
5
9
|
- rename `Shark::MailingService::Mailers::BaseMailer` to `Shark::MailingService::Mailer`
|
|
@@ -5,7 +5,7 @@ module Shark
|
|
|
5
5
|
class Execution < Base
|
|
6
6
|
extend DoubleOptIn::Resource
|
|
7
7
|
|
|
8
|
-
attr_accessor :payload, :request_type
|
|
8
|
+
attr_accessor :payload, :request_type, :recipient
|
|
9
9
|
|
|
10
10
|
def self.verify(verification_token)
|
|
11
11
|
response = connection.run(:post, "/executions/#{verification_token}/verify")
|
|
@@ -37,7 +37,7 @@ module Shark
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def initialize(data)
|
|
40
|
-
%w[payload request_type].each do |key|
|
|
40
|
+
%w[payload request_type recipient].each do |key|
|
|
41
41
|
public_send("#{key}=", data['attributes'][key])
|
|
42
42
|
end
|
|
43
43
|
end
|
data/lib/shark/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bima-shark-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- bima-team@justrelate.com
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-04-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -264,7 +264,7 @@ files:
|
|
|
264
264
|
homepage: https://github.com/infopark-customers/bima-shark-sdk
|
|
265
265
|
licenses: []
|
|
266
266
|
metadata: {}
|
|
267
|
-
post_install_message:
|
|
267
|
+
post_install_message:
|
|
268
268
|
rdoc_options: []
|
|
269
269
|
require_paths:
|
|
270
270
|
- lib
|
|
@@ -279,9 +279,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
279
279
|
- !ruby/object:Gem::Version
|
|
280
280
|
version: '0'
|
|
281
281
|
requirements: []
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
signing_key:
|
|
282
|
+
rubygems_version: 3.2.22
|
|
283
|
+
signing_key:
|
|
285
284
|
specification_version: 4
|
|
286
285
|
summary: ''
|
|
287
286
|
test_files: []
|