vng 1.3.0 → 1.4.0

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: d55841e2ab8e3e620c5bd29d8c994cbbb441a327ab3006ee262c3c44f207fda1
4
- data.tar.gz: d4fb1cd2865d72faa464711cd03d61974a991d53e766310523ee5adc0353ba1e
3
+ metadata.gz: 7d0e9b73d6daf01fecd5b989986337da1a29c1d95980d6f13fcb67f1a63b0511
4
+ data.tar.gz: f08205f3dbb85321b59811724f7795e85896e89b5f6709c1570b5ec80aeec591
5
5
  SHA512:
6
- metadata.gz: f118bbfc089a69e924fdcc0948de07dbb20217d4b5556a0e80abea896734f545199f27afdf1edf7c6d1c3ffec2ee9a6a04497a7629527e1623c44ba5ea75e894
7
- data.tar.gz: fce28eb9405e05bc3620e67a53942ae901ec0f655dca7e640755ac231c975b262329596ec5dbd6a5e0dfa6180ebd5b2edc9d95503b3e8f09db0f670c97618920
6
+ metadata.gz: d60605d76c893a885144b8f17fbd69078f88134ec3603dca89aedeca9821a09a9defaebf7698835676e641054e9f694d0801d4042178c26b1dbb7d2bf2f48882
7
+ data.tar.gz: b3d5d51fe500345f85d449c6794d3e59ea8cbf4a8d5d54d77a1ff612ae76772acf96ab042d4837a2c586c3244103b244243c43740634eecbc4baa56e78f051f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased] -
2
2
 
3
+ ## [1.4] - 2024-11-22
4
+
5
+ - Change Availability#route_id from string to integer
6
+
3
7
  ## [1.3] - 2024-11-21
4
8
 
5
9
  - Adds MockRequest which can be set with VNG_MOCK=1
data/README.md CHANGED
@@ -6,6 +6,8 @@ Vng helps you write apps that need to interact with Vonigo.
6
6
  The **source code** is available on [GitHub](https://github.com/HouseAccountEng/vng) and the **documentation** on [RubyDoc](http://www.rubydoc.info/gems/vng/frames).
7
7
 
8
8
  [![Code Climate](https://codeclimate.com/github/HouseAccountEng/vng.png)](https://codeclimate.com/github/HouseAccountEng/vng)
9
+ [![Code coverage](https://img.shields.io/badge/code_coverage-100%25-44d298)](https://github.com/HouseAccountEng/bookmaker/actions)
10
+ [![Rubygems](https://img.shields.io/gem/v/vng)](https://rubygems.org/gems/vng)
9
11
 
10
12
  After [registering your app](#configuring-your-app), you can run commands like:
11
13
 
@@ -104,8 +106,8 @@ Document the changes in CHANGELOG.md and README.md, bump the version, then run:
104
106
  rake release
105
107
 
106
108
  Remember that the vng gem follows [Semantic Versioning](http://semver.org).
107
- Any new release that is fully backward-compatible should bump the *patch* version (0.0.x).
108
- Any new version that breaks compatibility should bump the *minor* version (0.x.0)
109
+ Any new release that is fully backward-compatible should bump the *minor* version (1.x).
110
+ Any new version that breaks compatibility should bump the *major* version (x.0)
109
111
 
110
112
  How to contribute
111
113
  =================
@@ -27,7 +27,7 @@ module Vng
27
27
  data = request path: PATH, body: body
28
28
 
29
29
  data['Availability'].map do |availability|
30
- route_id = availability['routeID']
30
+ route_id = availability['routeID'].to_i
31
31
  date = Date.strptime availability['dayID'], '%Y%m%d'
32
32
  minutes = availability['startTime'].to_i
33
33
 
data/lib/vng/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vng
2
- VERSION = '1.3.0'
2
+ VERSION = '1.4.0'
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.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - claudiob