Created by: dependabot-preview[bot]
Bumps faker from 1.9.6 to 2.0.
Release notes
Sourced from faker's releases.
Release Faker 2.0
v2.0 (2019-31-07)
Important Note:
Version 2 has several
breaking changes
. We replaced positional arguments with keyword arguments and the list below contains all the changed methods:... (truncated)
Faker::Books::Dune.quote(character = nil)
becomesFaker::Books::Dune.quote(character: nil)
Faker::Books::Dune.saying(source = nil)
becomesFaker::Books::Dune.saying(source: nil)
Faker::Books::Lovecraft.fhtagn(number_of = nil)
becomesFaker::Books::Lovecraft.fhtagn(number: nil)
Faker::Books::Lovecraft.paragraph(sentence_count = nil, random_sentences_to_add = nil)
becomesFaker::Books::Lovecraft.paragraph(sentence_count: nil, random_sentences_to_add: nil)
Faker::Books::Lovecraft.paragraph_by_chars(chars = nil)
becomesFaker::Books::Lovecraft.paragraph_by_chars(characters: nil)
Faker::Books::Lovecraft.paragraphs(paragraph_count = nil)
becomesFaker::Books::Lovecraft.paragraphs(number: nil)
Faker::Books::Lovecraft.sentence(word_count = nil, random_words_to_add = nil)
becomesFaker::Books::Lovecraft.sentence(word_count: nil, random_words_to_add: nil)
Faker::Books::Lovecraft.sentences(sentence_count = nil)
becomesFaker::Books::Lovecraft.sentences(number: nil)
Faker::Books::Lovecraft.words(num = nil, spaces_allowed = nil)
becomesFaker::Books::Lovecraft.words(number: nil, spaces_allowed: nil)
Faker::Address.city(options = nil)
becomesFaker::Address.city(options: nil)
Faker::Address.postcode(state_abbreviation = nil)
becomesFaker::Address.postcode(state_abbreviation: nil)
Faker::Address.street_address(include_secondary = nil)
becomesFaker::Address.street_address(include_secondary: nil)
Faker::Address.zip(state_abbreviation = nil)
becomesFaker::Address.zip(state_abbreviation: nil)
Faker::Address.zip_code(state_abbreviation = nil)
becomesFaker::Address.zip_code(state_abbreviation: nil)
Faker::Alphanumeric.alpha(char_count = nil)
becomesFaker::Alphanumeric.alpha(number: nil)
Faker::Alphanumeric.alphanumeric(char_count = nil)
becomesFaker::Alphanumeric.alphanumeric(number: nil)
Faker::Avatar.image(slug = nil, size = nil, format = nil, set = nil, bgset = nil)
becomesFaker::Avatar.image(slug: nil, size: nil, format: nil, set: nil, bgset: nil)
Faker::Bank.account_number(digits = nil)
becomesFaker::Bank.account_number(digits: nil)
Faker::Bank.iban(country_code = nil)
becomesFaker::Bank.iban(country_code: nil)
Faker::ChileRut.full_rut(min_rut = nil, fixed = nil)
becomesFaker::ChileRut.full_rut(min_rut: nil, fixed: nil)
Faker::ChileRut.rut(min_rut = nil, fixed = nil)
becomesFaker::ChileRut.rut(min_rut: nil, fixed: nil)
Faker::Code.ean(base = nil)
becomesFaker::Code.ean(base: nil)
Faker::Code.isbn(base = nil)
becomesFaker::Code.isbn(base: nil)
Faker::Code.nric(min_age = nil, max_age = nil)
becomesFaker::Code.nric(min_age: nil, max_age: nil)
Faker::Commerce.department(max = nil, fixed_amount = nil)
becomesFaker::Commerce.department(max: nil, fixed_amount: nil)
Faker::Commerce.price(range = nil, as_string = nil)
becomesFaker::Commerce.price(range: nil, as_string: nil)
Faker::Commerce.promotion_code(digits = nil)
becomesFaker::Commerce.promotion_code(digits: nil)
Faker::Company.polish_register_of_national_economy(length = nil)
becomesFaker::Company.polish_register_of_national_economy(length: nil)
Faker::CryptoCoin.acronym(coin = nil)
becomesFaker::CryptoCoin.acronym(coin: nil)
Faker::CryptoCoin.coin_name(coin = nil)
becomesFaker::CryptoCoin.coin_name(coin: nil)
Faker::CryptoCoin.url_logo(coin = nil)
becomesFaker::CryptoCoin.url_logo(coin: nil)
Faker::Date.backward(days = nil)
becomesFaker::Date.backward(days: nil)
Faker::Date.between(from, to)
becomesFaker::Date.between(from:, to:)
Faker::Date.between_except(from, to, excepted)
becomesFaker::Date.between_except(from:, to:, excepted:)
Faker::Date.birthday(min_age = nil, max_age = nil)
becomesFaker::Date.birthday(min_age: nil, max_age: nil)
Faker::Date.forward(days = nil)
becomesFaker::Date.forward(days: nil)
Faker::Demographic.height(unit = nil)
becomesFaker::Demographic.height(unit: nil)
Faker::File.dir(segment_count = nil, root = nil, directory_separator = nil)
becomesFaker::File.dir(segment_count: nil, root: nil, directory_separator: nil)
Faker::File.file_name(dir = nil, name = nil, ext = nil, directory_separator = nil)
becomesFaker::File.file_name(dir: nil, name: nil, ext: nil, directory_separator: nil)
Faker::Fillmurray.image(grayscale = nil, width = nil, height = nil)
becomesFaker::Fillmurray.image(grayscale: nil, width: nil, height: nil)
Faker::Finance.vat_number(country = nil)
becomesFaker::Finance.vat_number(country: nil)
Faker::Hipster.paragraph(sentence_count = nil, supplemental = nil, random_sentences_to_add = nil)
becomesFaker::Hipster.paragraph(sentence_count: nil, supplemental: nil, random_sentences_to_add: nil)
Faker::Hipster.paragraph_by_chars(chars = nil, supplemental = nil)
becomesFaker::Hipster.paragraph_by_chars(characters: nil, supplemental: nil)
Faker::Hipster.paragraphs(paragraph_count = nil, supplemental = nil)
becomesFaker::Hipster.paragraphs(number: nil, supplemental: nil)
Changelog
Sourced from faker's changelog.
v2.0 (2019-31-07)
Important Note:
Version 2 has several
breaking changes
. We replaced positional arguments with keyword arguments and the list below contains all the changed methods:... (truncated)
Faker::Books::Dune.quote(character = nil)
becomesFaker::Books::Dune.quote(character: nil)
Faker::Books::Dune.saying(source = nil)
becomesFaker::Books::Dune.saying(source: nil)
Faker::Books::Lovecraft.fhtagn(number_of = nil)
becomesFaker::Books::Lovecraft.fhtagn(number: nil)
Faker::Books::Lovecraft.paragraph(sentence_count = nil, random_sentences_to_add = nil)
becomesFaker::Books::Lovecraft.paragraph(sentence_count: nil, random_sentences_to_add: nil)
Faker::Books::Lovecraft.paragraph_by_chars(chars = nil)
becomesFaker::Books::Lovecraft.paragraph_by_chars(characters: nil)
Faker::Books::Lovecraft.paragraphs(paragraph_count = nil)
becomesFaker::Books::Lovecraft.paragraphs(number: nil)
Faker::Books::Lovecraft.sentence(word_count = nil, random_words_to_add = nil)
becomesFaker::Books::Lovecraft.sentence(word_count: nil, random_words_to_add: nil)
Faker::Books::Lovecraft.sentences(sentence_count = nil)
becomesFaker::Books::Lovecraft.sentences(number: nil)
Faker::Books::Lovecraft.words(num = nil, spaces_allowed = nil)
becomesFaker::Books::Lovecraft.words(number: nil, spaces_allowed: nil)
Faker::Address.city(options = nil)
becomesFaker::Address.city(options: nil)
Faker::Address.postcode(state_abbreviation = nil)
becomesFaker::Address.postcode(state_abbreviation: nil)
Faker::Address.street_address(include_secondary = nil)
becomesFaker::Address.street_address(include_secondary: nil)
Faker::Address.zip(state_abbreviation = nil)
becomesFaker::Address.zip(state_abbreviation: nil)
Faker::Address.zip_code(state_abbreviation = nil)
becomesFaker::Address.zip_code(state_abbreviation: nil)
Faker::Alphanumeric.alpha(char_count = nil)
becomesFaker::Alphanumeric.alpha(number: nil)
Faker::Alphanumeric.alphanumeric(char_count = nil)
becomesFaker::Alphanumeric.alphanumeric(number: nil)
Faker::Avatar.image(slug = nil, size = nil, format = nil, set = nil, bgset = nil)
becomesFaker::Avatar.image(slug: nil, size: nil, format: nil, set: nil, bgset: nil)
Faker::Bank.account_number(digits = nil)
becomesFaker::Bank.account_number(digits: nil)
Faker::Bank.iban(country_code = nil)
becomesFaker::Bank.iban(country_code: nil)
Faker::ChileRut.full_rut(min_rut = nil, fixed = nil)
becomesFaker::ChileRut.full_rut(min_rut: nil, fixed: nil)
Faker::ChileRut.rut(min_rut = nil, fixed = nil)
becomesFaker::ChileRut.rut(min_rut: nil, fixed: nil)
Faker::Code.ean(base = nil)
becomesFaker::Code.ean(base: nil)
Faker::Code.isbn(base = nil)
becomesFaker::Code.isbn(base: nil)
Faker::Code.nric(min_age = nil, max_age = nil)
becomesFaker::Code.nric(min_age: nil, max_age: nil)
Faker::Commerce.department(max = nil, fixed_amount = nil)
becomesFaker::Commerce.department(max: nil, fixed_amount: nil)
Faker::Commerce.price(range = nil, as_string = nil)
becomesFaker::Commerce.price(range: nil, as_string: nil)
Faker::Commerce.promotion_code(digits = nil)
becomesFaker::Commerce.promotion_code(digits: nil)
Faker::Company.polish_register_of_national_economy(length = nil)
becomesFaker::Company.polish_register_of_national_economy(length: nil)
Faker::CryptoCoin.acronym(coin = nil)
becomesFaker::CryptoCoin.acronym(coin: nil)
Faker::CryptoCoin.coin_name(coin = nil)
becomesFaker::CryptoCoin.coin_name(coin: nil)
Faker::CryptoCoin.url_logo(coin = nil)
becomesFaker::CryptoCoin.url_logo(coin: nil)
Faker::Date.backward(days = nil)
becomesFaker::Date.backward(days: nil)
Faker::Date.between(from, to)
becomesFaker::Date.between(from:, to:)
Faker::Date.between_except(from, to, excepted)
becomesFaker::Date.between_except(from:, to:, excepted:)
Faker::Date.birthday(min_age = nil, max_age = nil)
becomesFaker::Date.birthday(min_age: nil, max_age: nil)
Faker::Date.forward(days = nil)
becomesFaker::Date.forward(days: nil)
Faker::Demographic.height(unit = nil)
becomesFaker::Demographic.height(unit: nil)
Faker::File.dir(segment_count = nil, root = nil, directory_separator = nil)
becomesFaker::File.dir(segment_count: nil, root: nil, directory_separator: nil)
Faker::File.file_name(dir = nil, name = nil, ext = nil, directory_separator = nil)
becomesFaker::File.file_name(dir: nil, name: nil, ext: nil, directory_separator: nil)
Faker::Fillmurray.image(grayscale = nil, width = nil, height = nil)
becomesFaker::Fillmurray.image(grayscale: nil, width: nil, height: nil)
Faker::Finance.vat_number(country = nil)
becomesFaker::Finance.vat_number(country: nil)
Faker::Hipster.paragraph(sentence_count = nil, supplemental = nil, random_sentences_to_add = nil)
becomesFaker::Hipster.paragraph(sentence_count: nil, supplemental: nil, random_sentences_to_add: nil)
Faker::Hipster.paragraph_by_chars(chars = nil, supplemental = nil)
becomesFaker::Hipster.paragraph_by_chars(characters: nil, supplemental: nil)
Faker::Hipster.paragraphs(paragraph_count = nil, supplemental = nil)
becomesFaker::Hipster.paragraphs(number: nil, supplemental: nil)
Faker::Hipster.sentence(word_count = nil, supplemental = nil, random_words_to_add = nil)
becomesFaker::Hipster.sentence(word_count: nil, supplemental: nil, random_words_to_add: nil)
Commits
-
ed1ef70
Update CHANGELOG.md -
91341d2
Bump version to 2.0 -
ddace70
Update CHANGELOG.md -
020effa
Merge pull request #1651 from stympy/v2 -
2dd4cc6
CHANGELOG - add changed methods list -
955dff1
Update CHANGELOG.md -
da63e3a
Use number: instead of characters: to preserve consistency among arguments -
f0fdecd
Add missing docs and make them similar -
d5f744a
Minor fixes after my own review -
d52d95b
Fix docs again - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] version
will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.