vng 1.3.0 → 1.4.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -2
- data/lib/vng/availability.rb +1 -1
- data/lib/vng/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d0e9b73d6daf01fecd5b989986337da1a29c1d95980d6f13fcb67f1a63b0511
|
4
|
+
data.tar.gz: f08205f3dbb85321b59811724f7795e85896e89b5f6709c1570b5ec80aeec591
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60605d76c893a885144b8f17fbd69078f88134ec3603dca89aedeca9821a09a9defaebf7698835676e641054e9f694d0801d4042178c26b1dbb7d2bf2f48882
|
7
|
+
data.tar.gz: b3d5d51fe500345f85d449c6794d3e59ea8cbf4a8d5d54d77a1ff612ae76772acf96ab042d4837a2c586c3244103b244243c43740634eecbc4baa56e78f051f1
|
data/CHANGELOG.md
CHANGED
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
|
[](https://codeclimate.com/github/HouseAccountEng/vng)
|
9
|
+
[](https://github.com/HouseAccountEng/bookmaker/actions)
|
10
|
+
[](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 *
|
108
|
-
Any new version that breaks compatibility should bump the *
|
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
|
=================
|
data/lib/vng/availability.rb
CHANGED
@@ -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