vehiclesdb 0.4.1 → 0.6.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/lib/vehiclesdb.rb +4 -3
  4. metadata +10 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dde2ac5c435c6df12e8818caa6f350f9f54412798a4894b8e62101a129febaab
4
- data.tar.gz: 0fc2895e7d6613cec3875b502e72309564d9d78eaa89018a52b601b82ce9dd6a
3
+ metadata.gz: 8fc999ef4aa67ea5fb66bb9635d96bf74d6a8882f17b4622ceae3fc6c6569c3a
4
+ data.tar.gz: 9d0706a522fcb5ef070a95ebf1368a5a14e38bcaaf6173741239e6d24421f5bf
5
5
  SHA512:
6
- metadata.gz: ca2865c531d54eaf107eb637b489453010cdc583c787509dd79b0d1257b7b5847f78133ca21a98601f98d2ecf917b6ae5b98301f113b1b365f57a458d1c6286f
7
- data.tar.gz: 99f2ced3f37b437a8015b31afc6c6bd46dcbf266b7b828c36c684e53ced4ed14b566fd7ae8734842f0ded7e7a1c21aaf5bad09edbf303aa8bbaf74503f957274
6
+ metadata.gz: c960e89c9f63f00d53d93e0080a70ab01e856ce4b01edfc4d50b9853cf3d8ad4fd7c490da140eba8224cdb88ef3c1151d47d5bafd6bc003671d610908af366fa
7
+ data.tar.gz: baf6b2e2bab7c6c71ab54de587f6f31ca3c14c50ffa5f3b083270812123eca5e34ab6de4fa6c3e2acce919de7bebdc49a896a4b2f89bd36ef809ccee2a724b2c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.1] - 2026-08-01
4
+
5
+ Track `vehicles 0.6.1`: license **plates** as a first-class citizen
6
+ (`VehiclesDB.plates`, two-tier validation), `Model#former_ids` (the
7
+ append-only migration aliases — check them before assuming a stored id
8
+ disappeared), and the dataset refreshed to the 2026.08.0 correction
9
+ release. The hosted **API is live** at vehiclesdb.com/api: resolve messy
10
+ strings server-side (`POST /v1/resolve`), fetch enriched records
11
+ (`/full`) and rendered imagery (`/images`) with a `vdb_` key.
12
+ No changes in this repo beyond the version — the client lives inside
13
+ `vehicles`, exactly as designed ("one codebase, two front doors").
14
+
15
+ ## [0.5.0] - 2026-07-26
16
+
17
+ Track `vehicles 0.5.0`: the hosted VehiclesDB **images API is live**.
18
+ `VehiclesDB.find("vw golf").image(color: "red")` returns rendered variant
19
+ URLs once you configure an api_key (mint one at
20
+ vehiclesdb.com/settings/api-keys); `#images` returns the full payload.
21
+ No changes in this repo beyond the version — the client lives inside
22
+ `vehicles`, exactly as designed ("one codebase, two front doors").
23
+
3
24
  ## [0.4.1] - 2026-07-26
4
25
 
5
26
  Jump to track `vehicles ~> 0.4` (the alias mirrors the minor it wraps —
data/lib/vehiclesdb.rb CHANGED
@@ -7,9 +7,10 @@
7
7
  # vehiclesdb.com) can `gem "vehiclesdb"` and land on the real thing, and so
8
8
  # the name is defended in the vehiclesdb-<language> SDK family.
9
9
  #
10
- # There is deliberately NO separate API client here: the hosted-API seam
11
- # lives inside `vehicles` (configure an api_key and the providers answer).
12
- # One codebase, two front doors.
10
+ # There is deliberately NO separate API client here: the hosted API client
11
+ # lives inside `vehicles` (configure an api_key and the providers answer
12
+ # the images endpoint is LIVE as of vehicles 0.5.0; mint a key at
13
+ # https://vehiclesdb.com/settings/api-keys). One codebase, two front doors.
13
14
 
14
15
  require "vehicles"
15
16
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vehiclesdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rameerez
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-07-26 00:00:00.000000000 Z
10
+ date: 2026-08-01 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: vehicles
@@ -15,14 +15,20 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '0.4'
18
+ version: '0.6'
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 0.6.1
19
22
  type: :runtime
20
23
  prerelease: false
21
24
  version_requirements: !ruby/object:Gem::Requirement
22
25
  requirements:
23
26
  - - "~>"
24
27
  - !ruby/object:Gem::Version
25
- version: '0.4'
28
+ version: '0.6'
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 0.6.1
26
32
  description: 'vehiclesdb is a thin, official alias of the `vehicles` gem: the VehiclesDB
27
33
  open dataset (~17k vehicle models across cars, motorcycles, mopeds, vans, trucks
28
34
  and buses, from official registers of 14 countries) with Rails-friendly lookups,