Skip to content

Commit

Permalink
Bump version to 1.9.4 (faker-ruby#1637)
Browse files Browse the repository at this point in the history
* Remove 1.9.3 deprecate message

* Move /doc/unreleased to /doc

* Remove unreleased folder

* Update README.md with unreleased_README.md

* Fix broken tests

* Update /doc/unreleased
  • Loading branch information
vbrazo authored and michebble committed Feb 16, 2020
1 parent 5212a38 commit 6598dbe
Show file tree
Hide file tree
Showing 163 changed files with 125 additions and 3,688 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
faker (1.9.3)
faker (1.9.4)
i18n (>= 0.7)
pastel (~> 0.7.2)
thor (~> 0.20.0)
Expand Down
38 changes: 29 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

![logotype a happy-07](https://user-images.githubusercontent.com/36028424/40263395-4318481e-5b44-11e8-92e5-3dcc1ce169b3.png)

# Faker
Expand All @@ -15,11 +16,14 @@ for the creation of this gem), having real-looking test data, and having your
database populated with more than one or two records while you're doing
development.

- [Installing](#installing)
- [Usage](#usage)
- [Faker](#faker)
- [NOTE](#note)
- [Installing](#installing)
- [Usage](#usage)
- [CLI](#cli)
- [Ensuring unique values](#ensuring-unique-values)
- [Deterministic Random](#deterministic-random)
- [Generators](#generators)
- [Generators](#generators)
- [Default](#default)
- [Blockchain](#blockchain)
- [Books](#books)
Expand All @@ -29,11 +33,12 @@ development.
- [Movies](#movies)
- [Music](#music)
- [Quotes](#quotes)
- [TV Shows](#tv-shows)
- [Customization](#customization)
- [Contributing](#contributing)
- [Contact](#contact)
- [License](#license)
- [Sports](#sports)
- [Tv Shows](#tv-shows)
- [Customization](#customization)
- [Contributing](#contributing)
- [Contact](#contact)
- [License](#license)

### NOTE
* While Faker generates data at random, returned values are not guaranteed to be unique by default.
Expand Down Expand Up @@ -62,6 +67,14 @@ Faker::Name.name #=> "Christophe Bartell"
Faker::Internet.email #=> "kirsten.greenholt@corkeryfisher.info"
```

### CLI

Usage Instructions [available here](https://github.com/stympy/faker/blob/master/lib/cli/README.md)

```bash
$ faker
```

### Ensuring unique values
Prefix your method call with `unique`. For example:
```ruby
Expand Down Expand Up @@ -218,8 +231,10 @@ gem 'faker', :git => 'https://github.com/stympy/faker.git', :branch => 'master'
- [Faker::Creature::Animal](doc/creature/animal.md)
- [Faker::Creature::Cat](doc/creature/cat.md)
- [Faker::Creature::Dog](doc/creature/dog.md)
- [Faker::Creature::Horse](doc/creature/horse.md)

### Games
- [Faker::Game](doc/games/game.md)
- [Faker::Games::Dota](doc/games/dota.md)
- [Faker::Games::ElderScrolls](doc/games/elder_scrolls.md)
- [Faker::Games::Fallout](doc/games/fallout.md)
Expand All @@ -245,7 +260,6 @@ gem 'faker', :git => 'https://github.com/stympy/faker.git', :branch => 'master'
- [Faker::Movie](doc/movies/movie.md)
- [Faker::Movies::BackToTheFuture](doc/movies/back_to_the_future.md)
- [Faker::Movies::Ghostbusters](doc/movies/ghostbusters.md)
- [Faker::Movies::GratefulDead](doc/movies/grateful_dead.md)
- [Faker::Movies::HarryPotter](doc/movies/harry_potter.md)
- [Faker::Movies::HitchhikersGuideToTheGalaxy](doc/movies/hitchhikers_guide_to_the_galaxy.md)
- [Faker::Movies::Hobbit](doc/movies/hobbit.md)
Expand All @@ -257,6 +271,8 @@ gem 'faker', :git => 'https://github.com/stympy/faker.git', :branch => 'master'

### Music
- [Faker::Music](doc/music/music.md)
- [Faker::Music::GratefulDead](doc/music/grateful_dead.md)
- [Faker::Music::Opera](doc/music/opera.md)
- [Faker::Music::Phish](doc/music/phish.md)
- [Faker::Music::RockBand](doc/music/rock_band.md)
- [Faker::Music::UmphreysMcgee](doc/music/umphreys_mcgee.md)
Expand All @@ -265,6 +281,10 @@ gem 'faker', :git => 'https://github.com/stympy/faker.git', :branch => 'master'
- [Faker::Quote](doc/quotes/quote.md)
- [Faker::Quotes::Shakespeare](doc/quotes/shakespeare.md)

### Sports
- [Faker::Sports::Basketball](doc/sports/basketball.md)
- [Faker::Sports::Football](doc/sports/football.md)

### Tv Shows
- [Faker::TvShows::AquaTeenHungerForce](doc/tv_shows/aqua_teen_hunger_force.md)
- [Faker::TvShows::BojackHorseman](doc/tv_shows/bojack_horseman.md)
Expand Down
2 changes: 2 additions & 0 deletions doc/blockchain/tezos.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ Faker::Blockchain::Tezos.contract #=> "KT1MroqeP15nnitB4CnNfkqHYa2NErhPPLWF"

Faker::Blockchain::Tezos.operation #=> "onygWYXJX3xNstFLv9PcCrhQdCkENC795xwSinmTEc1jsDN4VDa"

Faker::Blockchain::Tezos.block #=> "BMbhs2rkY1dvAkAyRytvPsjFQ2RiPrBhYkxvWpY65dzkdSuw58a"

Faker::Blockchain::Tezos.signature #=> "edsigu165B7VFf3Dpw2QABVzEtCxJY2gsNBNcE3Ti7rRxtDUjqTFRpg67EdAQmY6YWPE5tKJDMnSTJDFu65gic8uLjbW2YwGvAZ"
```
9 changes: 9 additions & 0 deletions doc/creature/horse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Faker::Creature::Horse

It might be available in the next version.

```ruby
Faker::Creature::Horse.name #=> "Noir"

Faker::Creature::Horse.breed #=> "Spanish Barb see Barb Horse"
```
3 changes: 3 additions & 0 deletions doc/default/company.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ Faker::Company.brazilian_company_number #=> "18553414000618"

# Generate a formatted Brazilian company number (CNPJ)
Faker::Company.brazilian_company_number(formatted: true) #=> "00.000.000/0000-00"

# Generate a USA Standard Industrial Classification code (SIC)
Faker::Company.sic_code #=> "0851"
```
4 changes: 2 additions & 2 deletions doc/default/crypto_coin.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Faker::CryptoCoin.coin_name #=> "Bitcoin"

Faker::CryptoCoin.acronym #=> "BTC"

Faker::CryptoCoin.url_logo #=> "https://i.imgur.com/EFz61Ei.png"
Faker::CryptoCoin.url_logo #=> "https://i.imgur.com/EFz61Ei.png"

Faker::CryptoCoin.coin_array #=> ["Dash", "DASH", "https://i.imgur.com/2uX91cb.png"]

Faker::CryptoCoin.coin_hash {:name=>"Ethereum", :acronym=>"ETH", :url_logo=>"https://i.imgur.com/uOPFCXj.png"}
Faker::CryptoCoin.coin_hash {:name=>"Ethereum", :acronym=>"ETH", :url_logo=>"https://i.imgur.com/uOPFCXj.png"}
```
4 changes: 2 additions & 2 deletions doc/default/esport.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```ruby
# Random player
Faker::Esport.player #=> "Faker"
Faker::Esport.player #=> "Crimsix"

# Random team
Faker::Esport.team #=> "CLG"
Expand All @@ -15,4 +15,4 @@ Faker::Esport.event #=> "ESL Cologne"

# Random game
Faker::Esport.game #=> "Dota2"
```
```
16 changes: 0 additions & 16 deletions doc/default/football.md

This file was deleted.

3 changes: 2 additions & 1 deletion doc/default/internet.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Faker::Internet.password(10, 20, true) #=> "3k5qS15aNmG"

Faker::Internet.password(10, 20, true, true) #=> "*%NkOnJsH4"

# Optional arguments: subdomain=true
Faker::Internet.domain_name #=> "effertz.info"

Faker::Internet.domain_word #=> "haleyziemann"
Expand Down Expand Up @@ -80,4 +79,6 @@ Faker::Internet.slug('foo bar', '-') #=> "foo-bar"
# Optional argument: vendor=nil
Faker::Internet.user_agent #=> "Mozilla/5.0 (compatible; MSIE 9.0; AOL 9.7; AOLBuild 4343.19; Windows NT 6.1; WOW64; Trident/5.0; FunWebProducts)"
Faker::Internet.user_agent(:firefox) #=> "Mozilla/5.0 (Windows NT x.y; Win64; x64; rv:10.0) Gecko/20100101 Firefox/10.0"

Faker::Internet.uuid #=> "929ef6ef-b11f-38c9-111b-accd67a258b2"
```
2 changes: 1 addition & 1 deletion doc/default/space.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ Faker::Space.distance_measurement #=> "15 parsecs"
Faker::Space.meteorite #=> "Ensisheim"

# Random launch vehicule name
Faker::Space.launch_vehicle #=> "Saturn IV"
Faker::Space.launch_vehicule #=> "Saturn IV"
```
4 changes: 2 additions & 2 deletions doc/games/dota.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Available since version 1.9.0.
Faker::Games::Dota.hero #=> "Abaddon"

# Random item
Faker::Games::Dota.item #=> "Armlet of Mordiggian"
Faker::Games::Dota.item #=> "You have called death upon yourself."

# Random team
Faker::Games::Dota.team #=> "Evil Geniuses"
Expand All @@ -17,6 +17,6 @@ Faker::Games::Dota.player #=> "Dendi"

# Random quote
# by default if you don't pass the hero parameter, the quote method will set hero as 'abbadon'
Faker::Games::Dota.quote #=> "You have called death upon yourself."
Faker::Games::Dota.quote #=> "Easy now, this stuff is explosive!"
Faker::Games::Dota.quote(hero: 'alchemist') #=> "Better living through alchemy!"
```
12 changes: 12 additions & 0 deletions doc/games/game.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Faker::Game

```ruby
# Random Game Title
Faker::Game.title #=> "Half-Life"

# Random Game Genre
Faker::Game.genre #=> "First-person shooter"

# Random Game Platform
Faker::Game.platform #=> "Nintendo DS"
```
8 changes: 8 additions & 0 deletions doc/music/grateful_dead.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Faker::Music::GratefulDead


```ruby
Faker::Music::GratefulDead.player #=> "Jerry Garcia"

Faker::Music::GratefulDead.song #=> "Cassidy"
```
8 changes: 8 additions & 0 deletions doc/music/opera.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Faker::Music::Opera

```ruby
Faker::Music::Opera.verdi #=> "Il Trovatore"
Faker::Music::Opera.rossini #=> "Il Barbiere di Siviglia"
Faker::Music::Opera.donizetti #=> "Lucia di Lammermoor"
Faker::Music::Opera.bellini #=> "Norma"
```
11 changes: 11 additions & 0 deletions doc/sports/basketball.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Faker::Sports::Basketball

```ruby
Faker::Sports::Basketball.team #=> "Golden State Warriors"

Faker::Sports::Basketball.player #=> "LeBron James"

Faker::Sports::Basketball.coach #=> "Gregg Popovich"

Faker::Sports::Basketball.position #=> "Point Guard"
```
15 changes: 15 additions & 0 deletions doc/sports/football.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Faker::Sports::Football

Available since version 1.9.0.

```ruby
Faker::Sports::Football.team #=> "Manchester United"

Faker::Sports::Football.player #=> "Lionel Messi"

Faker::Sports::Football.coach #=> "Jose Mourinho"

Faker::Sports::Football.competition #=> "FIFA World Cup"

Faker::Sports::Football.position #=> "Defensive Midfielder"
```
15 changes: 0 additions & 15 deletions lib/faker/deprecate/v1.9.3/aqua_teen_hunger_force.rb

This file was deleted.

25 changes: 0 additions & 25 deletions lib/faker/deprecate/v1.9.3/back_to_the_future.rb

This file was deleted.

20 changes: 0 additions & 20 deletions lib/faker/deprecate/v1.9.3/bitcoin.rb

This file was deleted.

25 changes: 0 additions & 25 deletions lib/faker/deprecate/v1.9.3/bojack_horseman.rb

This file was deleted.

20 changes: 0 additions & 20 deletions lib/faker/deprecate/v1.9.3/breaking_bad.rb

This file was deleted.

0 comments on commit 6598dbe

Please sign in to comment.