faker-gpk 0.1.1 → 0.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 933888f00b621202fed4e39fef6250c3247e94f7eb57a25a8420cb27503a8181
4
- data.tar.gz: f0769ef92435ed507eb27a5842a254c99c8a4bc4c3a5ab024ef7eb9887e0b885
3
+ metadata.gz: 2031dfad38a715f291e7bacc0ab5ce6ba54a3a4f83d365e8ef777606ced1b1ba
4
+ data.tar.gz: 6605e15de6f846fa5b22193e08e3d310c36e93a4c44798d675cc8afa323d095e
5
5
  SHA512:
6
- metadata.gz: 3d9e8ba7f96e6facde4cc46c8a8ab86739bc6e6967f8f999627154f15f375f431a4111880d8a508d00292a73135c2d487cf2311e471dfb273e517d1b2e1e7862
7
- data.tar.gz: b7961bb33797a2935adbab47ae1ad4ee336d9a89a2cf6b6472cb4d98d2ba5e9a295e3d08741eddcce11e6d8460de28b9cd941b36809dc4e46a9ead898ba88651
6
+ metadata.gz: 5a466ab1bbb4427b3c62e43cc373fd07a0256b7d4c3997b70aacc588921d4e8abda30ef42143bf32da41f0453877fda896b1d27328d3bf35d10671bfe01b17a7
7
+ data.tar.gz: 06d389d54e983dda347e2fb9b99d1598a73f0895ab391c81ec91377f4fb8d7c92c7950d78716e864aca60f308ac46f02b608be18f6b35be6b259d76c295c90e7
data/README.md CHANGED
@@ -18,6 +18,21 @@ Generate a name of our favourite Garbage Pail Kids
18
18
 
19
19
  ```ruby
20
20
  Faker::TradingCards::GarbagePailKids.name # => 'Nasty NICK'
21
+ Faker::TradingCards::GarbagePailKids.name(from: 'OS1') # => 'Graffiti PETEY'
22
+ ```
23
+
24
+ Generate a unique card id
25
+
26
+ ```ruby
27
+ Faker::TradingCards::GarbagePailKids.number # => '1a'
28
+ Faker::TradingCards::GarbagePailKids.number(from: 'OS2') # => '46a'
29
+ ```
30
+
31
+ Generate a card (id and number pair)
32
+
33
+ ```ruby
34
+ Faker::TradingCards::GarbagePailKids.card #=> {id: "385b", name: "Chuckin' CHARLIE"}
35
+ Faker::TradingCards::GarbagePailKids.card(from: 'OS3') #=> {id: "96a", name: "Distorted DOT"}
21
36
  ```
22
37
 
23
38
  ## Development
@@ -1,5 +1,5 @@
1
1
  module Faker
2
2
  module GPK
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end