number_plate_validator 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{bin → exe}/number_plate +0 -0
- data/lib/number_plate_validator/cli.rb +1 -1
- data/lib/number_plate_validator/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01e3a23b8dd4a7917a5443533c4b76bb562ef35c
|
4
|
+
data.tar.gz: a702e307049bc67f2a8730c8a7926b29b6a136db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acd486d64aaf5c578ce049c4db587d01d7707208696428283df18b9df5bbc68660ea315487d195545bdf4251eccff0a7f6bf1d70f4564c422ffc98b6c7b6447f
|
7
|
+
data.tar.gz: 7e1dcdcbca8ce4fc1a63ee1909ac0d4a0bcbe7dfff29b996337fe1854ddb561fb14cf24cab005d05d7d48bfe1aba1817f44e13a1d0075b0b5304b60f12f96634
|
data/{bin → exe}/number_plate
RENAMED
File without changes
|
@@ -3,7 +3,7 @@ require 'number_plate_validator'
|
|
3
3
|
|
4
4
|
module NumberPlateValidator
|
5
5
|
class CLI < Thor
|
6
|
-
desc "validate -c
|
6
|
+
desc "validate -c COUNTRY PLATE", "validate if a PLATE is valid in the country CC"
|
7
7
|
method_option :country, aliases: "-c", desc: "standard country code in capital letters", required: true
|
8
8
|
def validate(plate)
|
9
9
|
validator = NumberPlateValidator.validator(options[:country])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: number_plate_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edgar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -141,7 +141,8 @@ description: This gem allows you to validate a license plate number from a chose
|
|
141
141
|
only supports Singapore and Malaysia (not exhaustive.
|
142
142
|
email:
|
143
143
|
- zorro.ej@gmail.com
|
144
|
-
executables:
|
144
|
+
executables:
|
145
|
+
- number_plate
|
145
146
|
extensions: []
|
146
147
|
extra_rdoc_files: []
|
147
148
|
files:
|
@@ -153,8 +154,8 @@ files:
|
|
153
154
|
- README.md
|
154
155
|
- Rakefile
|
155
156
|
- bin/console
|
156
|
-
- bin/number_plate
|
157
157
|
- bin/setup
|
158
|
+
- exe/number_plate
|
158
159
|
- lib/number_plate_validator.rb
|
159
160
|
- lib/number_plate_validator/active_model.rb
|
160
161
|
- lib/number_plate_validator/cli.rb
|