check_digit 0.1.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjJmZmU2MmFiMzBmYmY4MWIzYWU4MzhkMjJkMDUxMjRlOTcxOWU0ZA==
4
+ MmYxMDFkYTk2NDZmN2RkMzMzNzg0YzA3YTc5ZmI5ZDBmZjdmOGNmMw==
5
5
  data.tar.gz: !binary |-
6
- NDNlODkyNThmOTg5MGIzZDc4ZTdmMjgzOTJjNzNiZTQ5MDRiYmFlMw==
6
+ NzlmYmYzY2M5Y2FhZTg1OWIxZGUzMGJjOTE3MzhmMmQzZWFmMTFmNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDViOGQxYjE4ZmJjNzQ2MWQxMjg4MzY1ZjFlMDE0ZmVkNmUxNjBhZDU0ZTI1
10
- ZDQyNjIxZDY4MjBiMTMxYjg0MDYxYjc0NDBhMzFiMzhmNTE3MWE5OWJhZGMz
11
- NmFjNTU4NDJlYmU2MmViYmJjZTMzZmVjNGMyZjIyNTE3ZTYyY2E=
9
+ MTliN2ZkYzNjMGNiNzBhN2IyYjhmNTViZWQ0M2YxYjdhNzUxNTgzMmZkNzE1
10
+ MWY2OTIxNGU0NThmOTc0YTI0ODVjYjExODg3YWZiOWMxMjU4N2M0NDk3MDk5
11
+ YmYxYmRmMGE4ZGZjYjIwNDEzODU5YWM1MWQ2YzA1ZWViNWYyMzA=
12
12
  data.tar.gz: !binary |-
13
- NWIxNmNjZTI1N2I0ZDA5ZDNiN2IwY2NlNjMxMjEzZDI5M2E3N2EwMjhlNzVl
14
- Yzg4MWU4ZTg4ODJmNDYxMzFlMDczZWY0NmJiNGI0Yjk5M2E1ZmYwYmEzODM3
15
- NDhiYzMxNTM3MGZlOWNmOTM2ZmQ1MmQ0NTQ5YWY2YjkwZDA2Mjc=
13
+ MThmNTJhZDZmOTY0Mjc0NjA2NjlmMTYzNzgwZDhmNGYyYWI1ZjIzMjlmODli
14
+ ZjY2MjQwN2NhMGU0ZDVhZmNmN2RjMmQzZmU3ZWMyZjhkMjhiZDY0Njc1ZGY5
15
+ MDQwYmEyNTU2MGIwZDY4ZjcwZTcxYjBkMGM3ZGRkMzc0YTQ3MDY=
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
- # CheckDigit [![Gem Version](https://badge.fury.io/rb/check_digit.svg)](http://badge.fury.io/rb/check_digit)
1
+ # CheckDigit
2
2
 
3
3
  Ruby implementation of the Luhn, Damm and Verhoeff check digit algorithms
4
4
 
5
+ * [![Gem Version](https://badge.fury.io/rb/check_digit.svg)](http://badge.fury.io/rb/check_digit) is the latest released version
6
+ * For the version under development (master), check [version.rb](https://github.com/elitwin/check_digit/blob/master/lib/check_digit/version.rb)
7
+
5
8
  ## Installation
6
9
 
7
10
  Add this line to your application's Gemfile:
@@ -45,14 +48,14 @@ Source: http://www.augustana.ab.ca/~mohrj/algorithms/checkdigit.html
45
48
 
46
49
  \* Not entirely sure if Luhn catches all phonetic errors, e.g. 13 instead of 30
47
50
 
48
- #####*Legend*
51
+ *Legend*
49
52
  1. Prevents all errors
50
53
  2. Prevents most errors
51
54
  3. Prevents some errors
52
55
  4. Does not prevent any errors
53
56
 
54
57
  ## Algorithm Comparison - Performance
55
- #####50,000 iterations (time in seconds)*
58
+ *50,000 iterations (time in seconds - lower is better)*
56
59
 
57
60
  | Algorithm | Generate | Validate |
58
61
  |:--------- | --------:| --------:|
@@ -1,3 +1,3 @@
1
1
  module CheckDigit
2
- VERSION = "0.1.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: check_digit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Litwin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-01 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler