gimme_vins 0.0.2 → 0.0.3
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/README.md +22 -2
- data/bin/gimme_vins +8 -0
- data/lib/gimme_vins/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44a37652f1e5be5fe7707cedc3de201fbee56848
|
4
|
+
data.tar.gz: ed132f680f4849dd005d88f889a5bbde9cf6fccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c6612b69d8c8fa59ad8a23cb3a1b3c17e50bcb213d9e126fa08ca91d4dd2b5b75844817a58191cf6b938d04a8a3eb7e4368e28b7a222725ef5e1c95ec640e3c
|
7
|
+
data.tar.gz: ab0e0a2962bc86e43327ec4e264be5e6e7f997557eff2c66f61e6f05a930553b533d886c9ad6be045bcbbb4957711716b1aad442b0dee8bbd038d2657621007f
|
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
I just want some VINs, man.
|
4
4
|
|
5
|
+
Fetch VINs for some search string from the shell or in ruby.
|
6
|
+
|
7
|
+
> Note: It is not 100% guaranteed that all VINs returned will actually belong to the vehicles you are trying to query, but most of them should.
|
8
|
+
|
5
9
|
## Installation
|
6
10
|
|
7
11
|
Add this line to your application's Gemfile:
|
@@ -21,15 +25,30 @@ Or install it yourself as:
|
|
21
25
|
## Usage
|
22
26
|
|
23
27
|
Throw together some string that represents what kind of VINs you want and go for it.
|
28
|
+
|
29
|
+
**On the Shell**
|
30
|
+
|
31
|
+
```shell
|
32
|
+
~ % gimme_vins 94 honda accord
|
33
|
+
2GCEC19H7R1239218
|
34
|
+
1HGCD5620RA121210
|
35
|
+
2HGFB2F94FH514025
|
36
|
+
1HGCR2F3XGA038180
|
37
|
+
2HGFB2F94FH526465
|
38
|
+
# ...
|
39
|
+
```
|
40
|
+
|
41
|
+
**In Ruby**
|
42
|
+
|
24
43
|
```ruby
|
44
|
+
require "gimme_vins"
|
45
|
+
|
25
46
|
GimmeVins.for("2008 volkswagen jetta") # => ["3VWRM71K28M174677", "3VWRJ71K18M154770", "3VWJM71K58M061268", "3VWRZ71K38M137378", "3VWRM71K88M004985", "19UUA8F57CA017054", "JTLKE50E881033678", "3VWD17AJ7EM249055", "19UUA66228A027878", "JM1BL1UF2C1648751", "3VWJM71K18M150898", "3VW1K7AJ9BM040086"]
|
26
47
|
GimmeVins.for("04 bmw 325i") # => ["WBAET374X4NJ45141", "WBAVA33577PG50554", "WBAAZ33414KP91141", "WBAET37454NJ45967", "WBAAZ33464KP87618", "WBABW53425PL52334", "WBAAZ33464KP91152", "WBAAX13444PJ00861", "WBAAX13444PJ00861", "WBANW53599CT55511", "WBAET37484NJ84553", "WBAET37454NJ41708", "WBAET37474NJ41676", "WBAEV33414KR35087", "WBAAZ33484KP90729", "WBAAZ33444KP86855", "WBAEV33414KR35087", "WBAAZ33484KP90729", "WBAAZ33444KP86855", "WBAEV33414KR35087", "WBAAZ33484KP90729", "WBAAZ33444KP86855"]
|
27
48
|
GimmeVins.for("honda civic") # => ["1HGCR2F76FA003606", "19XFB2F99EE273359", "19XFB2F96FE049676", "19XFB2F56FE020997", "2HGES16314H605428", "2HGFG3B87FH500978", "5FNRL5H69FB056789", "2HGFB6E51FH700109", "2HGFG3A51FH508775", "2HKRM3H76FH518656", "JHMFA3F24AS005577", "1G1JC5SH3D4138151", "2HGFB2F88FH512527", "19XFB4F21EE200503", "19XFB4F38FE000132", "2HGFB2F96FH500451", "WP0AB2A99CS720381", "2HGFB2E56EH553485", "2HGFB2F58EH517828", "2HGFA16566H515476"]
|
28
49
|
GimmeVins.for("2013 prius") # => ["JTDKN3DU1F1929027", "JTDKN3DU0D1733660", "JTDKDTB30D1548604", "JTDKDTB31F1090428", "JTDKN3DU1D5562152", "JTEZU5JR1A5012390", "JTDKN3DU9D1629586", "JTDKN3DU9D1688993", "JTDKN3DU0D5618937", "JTDKN3DU8F0416654", "JTDKDTB39D1054337", "JTDKN3DU0D5558528", "JTDKDTB31C1523791", "JTDKN3DUXB0271594", "JTDKN3DU4A5104424", "JTDKN3DU7D0342303", "JTDKN3DU8D1648128", "JTDKN3DU6D1637404", "JTDKN3DU7F0433378", "4T1BF1FK4EU305888", "JTDKN3DU5D5617704", "JTDKN3DU6D5581828", "JTDZN3EU7FJ025096", "JTDZN3EU5D3272473", "JTEBU5JR0F5230376"]
|
29
50
|
```
|
30
51
|
|
31
|
-
> Note: It is not 100% guaranteed that all VINs returned will actually belong to the vehicles you are trying to query, but most of them should.
|
32
|
-
|
33
52
|
## Contributing
|
34
53
|
|
35
54
|
1. Fork it ( https://github.com/jordanstephens/gimme_vins/fork )
|
@@ -37,3 +56,4 @@ GimmeVins.for("2013 prius") # => ["JTDKN3DU1F1929027", "JTDKN3DU0D1733660", "JTD
|
|
37
56
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
57
|
4. Push to the branch (`git push origin my-new-feature`)
|
39
58
|
5. Create a new Pull Request
|
59
|
+
|
data/bin/gimme_vins
ADDED
data/lib/gimme_vins/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gimme_vins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Stephens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -69,7 +69,8 @@ dependencies:
|
|
69
69
|
description: Use a google search to quickly find some VINs
|
70
70
|
email:
|
71
71
|
- iam@jordanstephens.net
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- gimme_vins
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
75
76
|
files:
|
@@ -78,6 +79,7 @@ files:
|
|
78
79
|
- LICENSE.txt
|
79
80
|
- README.md
|
80
81
|
- Rakefile
|
82
|
+
- bin/gimme_vins
|
81
83
|
- gimme_vins.gemspec
|
82
84
|
- lib/gimme_vins.rb
|
83
85
|
- lib/gimme_vins/version.rb
|