faker-isbn 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  faker-isbn
2
2
  ==========
3
3
 
4
+ [![Build Status](https://travis-ci.org/techwhizbang/faker-isbn.png?branch=master)](https://travis-ci.org/techwhizbang/faker-isbn)
5
+
4
6
  ## Usage
5
7
 
6
- `Faker::ISBN.thirteen_digit`
8
+ `Faker::ISBN.thirteen_digit`
9
+ `Faker::ISBN.ten_digit`
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  module Faker
4
4
  class ISBN
5
5
 
6
- def self.thirteen_digit(rand_seed=rand(1000))
6
+ def self.thirteen_digit(rand_seed=rand(999_999_999))
7
7
  isbn_13 = (978000000000+rand_seed).to_s
8
8
 
9
9
  isbn_array = Array.new
@@ -1,5 +1,5 @@
1
1
  module Faker
2
2
  class ISBN
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker-isbn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-14 00:00:00.000000000 Z
13
+ date: 2013-02-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bookland