suretax 1.1.2 → 1.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 620a9d4fb40588a041c883da4f0ebeba65d78a03b1b215808c1ad92b8d5cd48d
4
- data.tar.gz: 1070aa9064d87eddfa9e541e75cfd45413f95fb9baff06718ae4505b108a76a3
3
+ metadata.gz: 6616b32694f009669017c7c4d6b1c64b9024a5fe51c347d6b8a2d4954ef17d7c
4
+ data.tar.gz: 7bf041855ab477bdb7cac713b3919917e858e2388d57406baae526448fde86fd
5
5
  SHA512:
6
- metadata.gz: 38ded09d6aa2104b5aa384669a6f5a51ee18178844b0a1e08909cefc9cb8ba549d6a46ce12d167786c872990bf83158e62b33d5274fd696e8bb0f1d977f4792d
7
- data.tar.gz: c6931fb4060cb38e409f6b9adead8a81c5b8eb30c6f1af566c678afecb70008dd1ab96b7dce02be95107b481dfc5de8c18f287955cd371cb1e106e11662804e3
6
+ metadata.gz: a74f17cf45825db2165efd07e6ae7cc8e80653f23f0385a8e7bbbbedc27b6b1852c796bac108701b9729944d93efd3f0aea8e3158de63b86330ffd0d9cd62620
7
+ data.tar.gz: d7d6f8298f4d41f5e85a6a582708b9526aef2636117793b87dfc12125b54a4eedb989554da94218385ba2771eedb785ad963170bcf5ac192f737e517ecdd8861
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- suretax (1.1.2)
4
+ suretax (1.1.3)
5
5
  excon
6
6
  monetize
7
7
  money (~> 6.13)
@@ -18,9 +18,9 @@ GEM
18
18
  safe_yaml (~> 1.0.0)
19
19
  diff-lcs (1.3)
20
20
  dotenv (2.7.5)
21
- excon (0.73.0)
21
+ excon (0.75.0)
22
22
  hashdiff (1.0.1)
23
- i18n (1.8.2)
23
+ i18n (1.8.3)
24
24
  concurrent-ruby (~> 1.0)
25
25
  method_source (1.0.0)
26
26
  monetize (1.9.4)
@@ -123,7 +123,7 @@ module Suretax::Concerns
123
123
  end
124
124
 
125
125
  def valid_response_type?(value)
126
- matches?(value, "[DS][1-9]")
126
+ /\A[DSA][1-9]?\Z/ === value
127
127
  end
128
128
 
129
129
  def valid_line_number?(value)
@@ -1,3 +1,3 @@
1
1
  module Suretax
2
- VERSION = "1.1.2".freeze
2
+ VERSION = "1.1.3".freeze
3
3
  end
@@ -358,7 +358,7 @@ describe "Suretax API Request Validations" do
358
358
  describe "#response_type" do
359
359
  context "when present" do
360
360
  it "must be a valid code combination'" do
361
- %w[D1 D9 S1 S9].each do |type|
361
+ %w[D1 D9 S1 S9 A].each do |type|
362
362
  request.response_type = type
363
363
  expect(request.errors.any?).to eq false
364
364
  end
@@ -7,8 +7,8 @@ require "suretax/version"
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "suretax"
9
9
  spec.version = Suretax::VERSION
10
- spec.authors = ["Damon Davison"]
11
- spec.email = ["damon@allolex.net"]
10
+ spec.authors = ["Pedro Martinez", "Doug Perez"]
11
+ spec.email = ["pedro.martinez@hellolabs.com", "doug.perez@hellolabs.com"]
12
12
  spec.description = "A wrapper library for the SureTax communications tax API"
13
13
  spec.summary = "This gem will allow Ruby developers to easily integrate SureTax into their apps."
14
14
  spec.homepage = ""
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suretax
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
- - Damon Davison
7
+ - Pedro Martinez
8
+ - Doug Perez
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2020-06-03 00:00:00.000000000 Z
12
+ date: 2020-07-02 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: excon
@@ -54,7 +55,8 @@ dependencies:
54
55
  version: '0'
55
56
  description: A wrapper library for the SureTax communications tax API
56
57
  email:
57
- - damon@allolex.net
58
+ - pedro.martinez@hellolabs.com
59
+ - doug.perez@hellolabs.com
58
60
  executables: []
59
61
  extensions: []
60
62
  extra_rdoc_files: []