Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Faker::Lorem.multibyte logic #1317

Merged
merged 2 commits into from
Aug 16, 2018

Conversation

ShabelnykM
Copy link

… now.

Also, it fixes this error:
config/initializers/i18n.rb: I18n.cache_store=nil and only I18n::Backend::Simple.new as I18n.backend
I18n::InvalidLocaleData: can not load translations from /.rvm/gems/{ruby_version}/gems/faker-1.9.1/lib/locales/en.yml: #<Psych::SyntaxError: (/.rvm/gems/{ruby_version}/gems/faker-1.9.1/lib/locales/en.yml): 'reader' unacceptable character ' at line 0 column 0>

Tested on MRI 2.4.2 and jRuby 9.1.7.0

Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@vbrazo vbrazo changed the title Fixed Faker::Lorem.multibyte. It returns emoji instead of locale code… Change Faker::Lorem.multibyte logic Aug 16, 2018
@vbrazo vbrazo merged commit a66c1b3 into faker-ruby:master Aug 16, 2018
davidmorton0 pushed a commit to davidmorton0/faker that referenced this pull request Jul 12, 2021
* Fixed Faker::Lorem.multibyte. It returns emoji instead of locale code now.

* Update CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants