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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a607f35f638f4e293f00a6cdc59c809963ee544b
4
- data.tar.gz: 77e1816956a297fb6aa53fd685d8c8f4421c5608
3
+ metadata.gz: 01e3a23b8dd4a7917a5443533c4b76bb562ef35c
4
+ data.tar.gz: a702e307049bc67f2a8730c8a7926b29b6a136db
5
5
  SHA512:
6
- metadata.gz: d1a13dc0f92365be40cf10b68f63fad00c13b7588c69fe113ba0eff55d0868a41cd1ac050499febe12b57410c7f5e43f4bba694f4b2608cc6774b569c76747e8
7
- data.tar.gz: '06946cbe93a5cff0c766f655c0331009c873740ee781c35019091d440f59c49bfa7e9632f83a03e95438d05f4b36bbb0495c8d48ee82d55c4211b5ff10aeb159'
6
+ metadata.gz: acd486d64aaf5c578ce049c4db587d01d7707208696428283df18b9df5bbc68660ea315487d195545bdf4251eccff0a7f6bf1d70f4564c422ffc98b6c7b6447f
7
+ data.tar.gz: 7e1dcdcbca8ce4fc1a63ee1909ac0d4a0bcbe7dfff29b996337fe1854ddb561fb14cf24cab005d05d7d48bfe1aba1817f44e13a1d0075b0b5304b60f12f96634
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 CC PLATE", "validate if a PLATE is valid in the country CC"
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])
@@ -1,3 +1,3 @@
1
1
  module NumberPlateValidator
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-22 00:00:00.000000000 Z
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