-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:drager/faker
- Loading branch information
Showing
53 changed files
with
1,385 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
eval "$(lorri direnv)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ | |
build/ | ||
packages | ||
pubspec.lock | ||
.dart_tool/ | ||
.packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,34 @@ | ||
/// A library for Dart that generates fake data. | ||
library faker; | ||
import 'dart:math'; | ||
export 'src/faker.dart'; | ||
|
||
part 'src/faker.dart'; | ||
export 'src/random_generator.dart'; | ||
|
||
part 'src/random_generator.dart'; | ||
export 'src/address.dart'; | ||
export 'src/conference.dart'; | ||
export 'src/company.dart'; | ||
export 'src/currency.dart'; | ||
export 'src/food.dart'; | ||
export 'src/guid.dart'; | ||
export 'src/internet.dart'; | ||
export 'src/job.dart'; | ||
export 'src/person.dart'; | ||
export 'src/sport.dart'; | ||
|
||
part 'src/address.dart'; | ||
part 'src/conference.dart'; | ||
part 'src/company.dart'; | ||
part 'src/currency.dart'; | ||
part 'src/food.dart'; | ||
part 'src/guid.dart'; | ||
part 'src/internet.dart'; | ||
part 'src/job.dart'; | ||
part 'src/person.dart'; | ||
part 'src/sport.dart'; | ||
|
||
part 'src/data/address/city_suffixes.dart'; | ||
part 'src/data/address/countries.dart'; | ||
part 'src/data/address/country_codes.dart'; | ||
part 'src/data/address/neighborhoods.dart'; | ||
part 'src/data/address/street_suffixes.dart'; | ||
part 'src/data/conference/conference_names.dart'; | ||
part 'src/data/currency/currency_names.dart'; | ||
part 'src/data/currency/currency_codes.dart'; | ||
part 'src/data/food/cuisines.dart'; | ||
part 'src/data/food/dishes.dart'; | ||
part 'src/data/food/restaurants.dart'; | ||
part 'src/data/person/firstnames.dart'; | ||
part 'src/data/person/lastnames.dart'; | ||
part 'src/data/job/job_adj.dart'; | ||
part 'src/data/job/job_noun.dart'; | ||
part 'src/data/job/job_prefix.dart'; | ||
part 'src/data/sport/sport_names.dart'; | ||
export 'src/data/address/city_suffixes.dart'; | ||
export 'src/data/address/countries.dart'; | ||
export 'src/data/address/country_codes.dart'; | ||
export 'src/data/address/neighborhoods.dart'; | ||
export 'src/data/address/street_suffixes.dart'; | ||
export 'src/data/conference/conference_names.dart'; | ||
export 'src/data/currency/currency_names.dart'; | ||
export 'src/data/currency/currency_codes.dart'; | ||
export 'src/data/food/cuisines.dart'; | ||
export 'src/data/food/dishes.dart'; | ||
export 'src/data/food/restaurants.dart'; | ||
export 'src/data/person/firstnames.dart'; | ||
export 'src/data/person/lastnames.dart'; | ||
export 'src/data/job/job_adj.dart'; | ||
export 'src/data/job/job_noun.dart'; | ||
export 'src/data/job/job_prefix.dart'; | ||
export 'src/data/sport/sport_names.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const citySuffixes = const [ | ||
'town', | ||
'ton', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const continents = const [ | ||
'Africa', | ||
'Antarctica', | ||
'Asia', | ||
'Europe', | ||
'North America', | ||
|
||
// Some people use austrailia, whilst others use oceania. | ||
'Oceania', | ||
|
||
'South America', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const countries = const [ | ||
"Afghanistan", | ||
"Åland Islands", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const countryCodes = const [ | ||
'AF', | ||
'AX', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const neighborhoods = const [ | ||
'East of Telegraph Road', | ||
'North Norridge', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const streetSuffixes = const [ | ||
'Alley', | ||
'Avenue', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const currencyCodes = const [ | ||
'AED', | ||
'AFN', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const currencyNames = const [ | ||
"UAE Dirham", | ||
"Afghani", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const cuisines = const [ | ||
'American Chinese', | ||
'Argentinian food', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const dishes = const [ | ||
"Minestrone", | ||
"Baked Alaska", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const restaurants = const [ | ||
"21 Club", | ||
"241 Pizza", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const jobAdj = const [ | ||
'Solutions', | ||
'Program', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const jobNoun = const [ | ||
'Supervisor', | ||
'Associate', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
part of faker; | ||
|
||
const jobPrefix = const [ | ||
'Lead', | ||
'Senior', | ||
|
Oops, something went wrong.