moeffju-luhn 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. data/README.md +7 -3
  2. data/lib/luhn/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -6,13 +6,17 @@ Adds methods to Fixnum and String to generate and validate Luhn checksums.
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'luhn', :git => 'git://github.com/moeffju/luhn.git'
9
+ gem 'moeffju-luhn', :require => 'luhn'
10
10
 
11
11
  And then execute:
12
12
 
13
13
  $ bundle
14
14
 
15
- If you're not using bundler, you will have to build the gem from source.
15
+ Or install it yourself as:
16
+
17
+ $ gem install moeffju-luhn
18
+
19
+ The gem's name is 'luhn', so you need to `require luhn`.
16
20
 
17
21
  ## Usage
18
22
 
@@ -33,7 +37,7 @@ And for `String`s:
33
37
  ```
34
38
  '4 10041064 8'.luhn? #=> true
35
39
  '4 10041064'.luhn #=> "8"
36
- '4 10041064'.luhn! #=> "4 100410648"
40
+ '4 10041064'.luhn! #=> "4100410648"
37
41
  ```
38
42
 
39
43
  ## Contributing
data/lib/luhn/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Luhn
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moeffju-luhn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: