Skip to content

Commit 85e31ea

Browse files
authored
Merge pull request #15 from controlshift/handle_arabic_error_message
Handle arabic error message when cannot associate mailing id with account
2 parents 8a75569 + 09532a8 commit 85e31ea

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.4
1+
3.1.2

action_kit_rest.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# DO NOT EDIT THIS FILE DIRECTLY
33
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
44
# -*- encoding: utf-8 -*-
5-
# stub: action_kit_rest 0.4.8 ruby lib
5+
# stub: action_kit_rest 0.4.9 ruby lib
66

77
Gem::Specification.new do |s|
88
s.name = "action_kit_rest".freeze
9-
s.version = "0.4.8"
9+
s.version = "0.4.9"
1010

1111
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
1212
s.require_paths = ["lib".freeze]
1313
s.authors = ["Nathan Woodhull".freeze, "Diego Marcet".freeze, "Grey Moore".freeze]
14-
s.date = "2021-10-07"
14+
s.date = "2022-11-29"
1515
s.description = "Gem for interacting with the ActionKit API".freeze
1616
s.email = "systems@controlshiftlabs.com".freeze
1717
s.extra_rdoc_files = [
@@ -91,7 +91,7 @@ Gem::Specification.new do |s|
9191
]
9292
s.homepage = "http://github.com/controlshift/action_kit_rest".freeze
9393
s.licenses = ["MIT".freeze]
94-
s.rubygems_version = "3.1.6".freeze
94+
s.rubygems_version = "3.3.19".freeze
9595
s.summary = "A wrapper for the ActionKit REST API".freeze
9696

9797
if s.respond_to? :specification_version then

lib/action_kit_rest/response/validation_error.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def to_s
2424

2525
class InvalidAkidError < ValidationError
2626
MATCHING_ERRORS = ['Unable to associate this mailing ID with account.',
27-
'לא הצלחנו לקשר בין מספר הזיהוי של רשימת הדיוור הזו לבין החשבון.'].freeze
27+
'לא הצלחנו לקשר בין מספר הזיהוי של רשימת הדיוור הזו לבין החשבון.',
28+
'لم ننجح في مطابقة العنوان الالكتروني مع الحساب.'].freeze
2829

2930
def self.matches?(errors)
3031
return false unless errors&.keys == ['mailing_id']

lib/action_kit_rest/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module ActionKitRest
44
module VERSION
55
MAJOR = 0
66
MINOR = 4
7-
PATCH = 8
7+
PATCH = 9
88
BUILD = nil
99

1010
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')

0 commit comments

Comments
 (0)