vehicles 0.4.0 → 0.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/README.md +3 -3
- data/data/vehicles.json +28109 -37241
- data/lib/vehicles/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99ccb43a3ef0091206a4e6a7445c48333886f0a26cfd9a1764397e0c5ec46516
|
|
4
|
+
data.tar.gz: b2a878137e3861323aaf59f12c0f5f44052b5ed064bc2f519b7247aaca916027
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7c2b0995cb72a450f91ab1c7d37e8c1d0ebb439358a09572e467d4786dd0edca211c904d9194ef42f3e6563ba1719b32041c645d0d25bd2f85c663607e58840
|
|
7
|
+
data.tar.gz: 0a3c8914e5d5fc681ef7b83b2062746b382f0281c0ae75475120acb3227d8d2d7349e1c2f0c2769f62e6f8f6130733430f4d2b25db3ce27780989bf9326f4bba
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.1] - 2026-07-26
|
|
11
|
+
|
|
12
|
+
Data-only refresh to VehiclesDB dataset **2026.07.4** — the July correction
|
|
13
|
+
pass: 16,948 models across 858 makes (~1,200 registry-junk and duplicate
|
|
14
|
+
records removed, per-marque naming canon applied). No API changes.
|
|
15
|
+
|
|
10
16
|
## [0.4.0] - 2026-07-09
|
|
11
17
|
|
|
12
18
|
A first-class **"Other / not in the list" escape hatch** for make/model pickers,
|
|
@@ -135,7 +141,8 @@ Initial release.
|
|
|
135
141
|
- Install generator that writes a configuration initializer (no migration —
|
|
136
142
|
the gem has no database table).
|
|
137
143
|
|
|
138
|
-
[Unreleased]: https://github.com/vehiclesdb/vehicles/compare/v0.4.
|
|
144
|
+
[Unreleased]: https://github.com/vehiclesdb/vehicles/compare/v0.4.1...HEAD
|
|
145
|
+
[0.4.1]: https://github.com/vehiclesdb/vehicles/compare/v0.4.0...v0.4.1
|
|
139
146
|
[0.4.0]: https://github.com/vehiclesdb/vehicles/compare/v0.3.0...v0.4.0
|
|
140
147
|
[0.3.0]: https://github.com/vehiclesdb/vehicles/compare/v0.2.0...v0.3.0
|
|
141
148
|
[0.2.0]: https://github.com/vehiclesdb/vehicles/compare/v0.1.1...v0.2.0
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
> [!TIP]
|
|
6
6
|
> **🚀 Ship your next Rails app 10x faster!** I've built **[RailsFast](https://railsfast.com/?ref=vehicles)**, a production-ready Rails boilerplate template that comes with everything you need to launch a software business in days, not weeks. Go [check it out](https://railsfast.com/?ref=vehicles)!
|
|
7
7
|
|
|
8
|
-
`vehicles` gives your Rails app a clean, curated list of vehicle makes and models —
|
|
8
|
+
`vehicles` gives your Rails app a clean, curated list of vehicle makes and models — **~17k models across 850+ makes: cars, motorcycles, mopeds, vans, trucks and buses**, reconciled from official registers of 14 countries — ready for dropdowns, search, and validation. No API keys, no database table, no migration — it works **fully offline** the second you `bundle install`, because the data ships inside the gem. (Optionally, it can [refresh](#staying-current-optional) the data without a gem upgrade.)
|
|
9
9
|
|
|
10
10
|
✨ Perfect for marketplaces, carpooling & rideshare apps, fleet tools, parking & EV-charging apps, insurance and booking forms — anywhere a user has to pick their vehicle.
|
|
11
11
|
|
|
@@ -62,7 +62,7 @@ Two methods cover 90% of what you need:
|
|
|
62
62
|
|
|
63
63
|
```ruby
|
|
64
64
|
Vehicles.makes
|
|
65
|
-
# => ["Abarth", "Acura", "Alfa Romeo", ...] (alphabetical,
|
|
65
|
+
# => ["Abarth", "Acura", "Alfa Romeo", ...] (alphabetical, 850+ makes)
|
|
66
66
|
|
|
67
67
|
Vehicles.models("Toyota")
|
|
68
68
|
# => ["Yaris", "Corolla", "Aygo", "RAV4", "C-HR", "Prius", ...]
|
|
@@ -303,7 +303,7 @@ They're forgiving the same way the lookups are (aliases, case, slugs), and they
|
|
|
303
303
|
|
|
304
304
|
### An "Other / not in the list" escape hatch
|
|
305
305
|
|
|
306
|
-
Make/model dropdowns should never be a dead end —
|
|
306
|
+
Make/model dropdowns should never be a dead end — ~17k models is a lot, but
|
|
307
307
|
someone always shows up with the one car that isn't there. Turn on a first-class
|
|
308
308
|
"Other" option and the pieces agree by construction: `include_other:` adds it to
|
|
309
309
|
the picker, `allow_other:` lets it through validation.
|