Skip to content

Conversation

@cianrodrigo
Copy link

Improvement of BRANDS, ADJ & NOUN arrays. Now they references to argentinian appliance market.

isolo and others added 30 commits September 11, 2015 11:42
Adds Swiss cantons and phone number
Changes to danish names and cities
This commits generates data for
- Indian states
- Union territories
- Pincodes
- Time zone

The FFaker::AddressIN class contains the methods to generate Indian
Addresses
marocchino and others added 29 commits September 19, 2017 12:44
Most users will only want a few modules from ffaker, but we always
import all of them. This is a little bit slow and eats some memory

This changes ffaker's modules to load only as they are needed, using
only the memory and startup time that is needed.
Ruby 1.9 was broken by 3b279e0

Ruby 1.9 reached EOL February 23, 2015, so I don't think it is worth
supporting.
- Add test for PhoneNumberFR
- Add international numbers on PhoneNumberFR
- Clean code based on PhoneNumberBR structure
fixes `Uncaught exception: invalid byte sequence in US-ASCII` when using RubyMine's debugger
Add a generator to create EAN13 codes.
* Improve FFaker::Time.between docs and implementation

The FFaker::Time.between method worked only for parameters of the Time class. Now it works with Date, DateTime, ActiveSupport::TimeWithZone or String objects.

* removes redundant returns

* Use single quotes in TestFakerTime test

* Fix FFaker::Time.between docs markup
* Added base setup for LoremIrish (FFaker::LoremIE)

* Added documentation for lorem irish

* Updated formatting based on houndci results

* Moving # frozen_string_literal: true above encoding since houndci is expecting it

* Updated test & module logic to follow main Lorem pattern of returning an array of items

* Updated reference link to include name

* Updated quote style to single quotes

* Updated quote style to single quotes

* Updated irish datasets and tests

* Words list now only has single words, not phrases
…me` methods (ffaker#360)

`FFaker::Time.between` returns instance of `Time`,
so `.date` should returns instance of `Date` (without time),
and `.datetime` should returns instance of `DateTime` (with time).

Users can convert it to String as they want.
* Added a `FFaker::LoremPL` module with Polish Lorem.

* Updated the reference with documentation of the `FFaker::LoremPL` module.
* Month can not be zero
* Day can not be zero
* Not every month has 31 days
* Create FFaker::Image module

* Test FFaker::Image module

* Document FFaker::Image module

* Code cleanup
* Add tests for FFaker::SSN.ssn to ./test/test_ssn.rb

* Implement FFaker::SSN.ssn according to the SSN validity rules

* Fix the regex pattern in the test_ssn_format test in ./test/test_ssn.rb

* DRY-up the tests in ./test/test_ssn.rb

* Strip leading zeros in ssn_to_number_groups helper method in test/test_ssn.rb

* Add parens around params lists of Kernel#assert in test/test_ssn.rb

* Use deterministic #fetch_sample instead of a direct call to Array#sample

* Address style guideline violations in ./lib/ffaker/ssn.rb and ./test/test_ssn.rb

* Replace Integer#positive? with an explicit comparison against 0 in ./test/test_ssn.rb

* Simplify the test ssn_first_group_in_valid_range with regex

* merge test ssn_first_group_in_valid_range into test ssn_format

* Splat ranges passed as a param to #fetch_sample in the #ssn method

* Replace (x > 0) with the more explicit (x != 0) in ./test/test_ssn.rb

* Split a map-chain by introducing a temp var

* Remove redundant test helpers in test_ssn.rb, merge separate group tests into test ssn_groups_non_zero
@cianrodrigo cianrodrigo changed the base branch from master to argentinian May 16, 2018 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.