vng 1.4.1 → 1.4.2

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: 97dee090c0490985cac6754f957d7831adeb992c63cbc8c83ffcb3ac89c8b3d3
4
- data.tar.gz: 7b118838299f97868bf4b3f12302a4fd91d3d97ec2b687cb367b699b094638e3
3
+ metadata.gz: '0781c7c52c5481bf8199382df9e8567571e04e101ebefe00d313827009967954'
4
+ data.tar.gz: 9379c31ceff7d05ead68cbcd844c04ef5b44f6543c16852dbf0412f417c46812
5
5
  SHA512:
6
- metadata.gz: e1d5ce478a0d0a9d4349a3aabb1637e198d7e43cd2ff9cbb31cebbcad38cfffeccfa1ba323936f38f87120d58c04d536e4522db1f19300def4cc601fab336b63
7
- data.tar.gz: 481bba75105401c09a756ceef6548e37c3f3487b62ea9160241d24d2eedb6df64647c5e64aa1ddf1b6eac79f1a062de37030db7cd9d34c12d3e3011d95a6da0b
6
+ metadata.gz: aa6f6680041cd012ae6c6994c12e4b112ec6263cd3afad29efc64e5df40efa7c64a380ad745a7ec07150b02d7f62786f6ee3548df2ead54d5e9ce60f33024f53
7
+ data.tar.gz: 675eec6b8705c5516db5e8c140e5149f233a5114bf19d3639f4f5c3e129ce491b8e68ab80b2605adbed9d7a38806e1654bfa34a957ab817b1f3060c6efa96378
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased] -
2
2
 
3
+ ## [1.4.2] - 2024-12-03
4
+
5
+ - Fix MockRequest for no availability
6
+
3
7
  ## [1.4.1] - 2024-11-22
4
8
 
5
9
  - Return more routes and availabilities in MockRequest
data/README.md CHANGED
@@ -62,6 +62,14 @@ Vng.configure do |config|
62
62
  end
63
63
  ```
64
64
 
65
+ Mocking the Vonigo API
66
+ ======================
67
+
68
+ Sometimes you want to mock the API requests to Vonigo and obtain results that
69
+ are equivalent to the original API calls. This can be useful to test your flow
70
+ without hitting the API.
71
+
72
+
65
73
  Configuring with environment variables
66
74
  --------------------------------------
67
75
 
@@ -65,7 +65,7 @@ module Vng
65
65
  { "Ids"=>{ "franchiseID"=>"172" } }
66
66
  elsif @body[:method] == '2'
67
67
  { "Ids"=>{ "lockID"=>"1406328" } }
68
- elsif @body[:dateStart] == 2110061220 # 11/12/2036
68
+ elsif @body[:dateStart] == 2110060800 # 11/12/2036
69
69
  { "Availability"=> [] }
70
70
  else
71
71
  { "Availability"=> [
data/lib/vng/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vng
2
- VERSION = '1.4.1'
2
+ VERSION = '1.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vng
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob