vng 2.2.2 → 2.2.3

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
  SHA256:
3
- metadata.gz: 13102c00b9a0cc936d1924e3f9c1d509becb7193507872c91be6b12acb8fb259
4
- data.tar.gz: fcaf0e862a7e79726d046578db9527232ca470e1f241f50b5bcb59321b8d61bf
3
+ metadata.gz: b56225609421c36f0a90349ca36f0a3114544de059071e4de37fa6207c687586
4
+ data.tar.gz: ca68eda1f4cae20d65bd2cc2012f33267faadfde01a5cd5d3738106d894dde3e
5
5
  SHA512:
6
- metadata.gz: 906e8994e2a50ed98daced686ec4f6771c7dffd273c41cbf73162ec345e610f895893eafc14e1fef2c7cc2813134e3afac7847c11b804fb0d7a1fb91d894c722
7
- data.tar.gz: d9dbb286a18a733819894f120b5b020854486c747513e7cdf77a1ba2ab75a8db45fcea930d737d176f013311a9f0f559f7b4044d58aeb776a72b02e7cc480689
6
+ metadata.gz: 641068d4d6ec024423ba52f5b931606e59eddb630c4501c90fb4b7bc13b3d8264ecc26dd6f1b8cfc22a0b787c9f2e4fd0bc21e854f14a5162c07ad70171fd3a7
7
+ data.tar.gz: d3454b81e4c349a61de659ab6878c5bd40f37d3facabef16ccff7083d14b1d3c9c086f9170e8bbaf8cea2392cccd17d2e07dfa5dfa5da305a1e58a9ac9c4d550
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.2.3] - 2025-01-06
2
+
3
+ - Change mock for invalid phone to 0000000000
4
+
1
5
  ## [2.2.2] - 2025-01-03
2
6
 
3
7
  - Adjust mocks to only return one 15 Step Spa item
@@ -111,7 +111,7 @@ module Vng
111
111
  { "breedID"=>22, "breed"=>"Chartreux", "species"=>"Cat", "optionID"=>305, "breedLowWeight"=>30, "breedHighWeight"=>50 },
112
112
  ] }
113
113
  when '/api/v1/data/Leads/'
114
- if @body[:Fields].find{|field| field[:fieldID] == 1024}[:fieldValue] == 'invalid-phone'
114
+ if @body[:Fields].find{|field| field[:fieldID] == 1024}[:fieldValue] == '0000000000'
115
115
  raise Error.new '[{"fieldID"=>1024, "fieldName"=>"Phone # to Reach You", "errNo"=>-602, "errMsg"=>"Field data is in incorrect format."}]'
116
116
  else
117
117
  { "Client"=>{ "objectID"=>"916347" }, "Fields"=> [
data/lib/vng/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vng
2
- VERSION = '2.2.2'
2
+ VERSION = '2.2.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vng
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-03 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov