Skip to content

Commit

Permalink
Upgrade i18n (faker-ruby#1685)
Browse files Browse the repository at this point in the history
* Upgrade i18n

i18n Gem for Ruby lib/i18n/core_ext/hash.rb Hash#slice() Function Hash
Handling DoS

This address CVE-2014-10077

For more information:
  * ruby-i18n/i18n#289

* Update faker.gemspec
  • Loading branch information
EduardoGHdez authored and vbrazo committed Aug 10, 2019
1 parent 0c3cf38 commit b121213
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
faker (2.1.0)
i18n (>= 0.7)
i18n (>= 0.8)

GEM
remote: https://rubygems.org/
Expand Down
10 changes: 5 additions & 5 deletions faker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|

spec.summary = 'Easily generate fake data'
spec.description = 'Faker, a port of Data::Faker from Perl, is used to easily generate fake data: names, addresses, phone numbers, etc.'
spec.homepage = 'https://github.com/stympy/faker'
spec.homepage = 'https://github.com/faker-ruby/faker'
spec.license = 'MIT'

spec.files = Dir['lib/**/*'] + %w[History.md License.txt CHANGELOG.md README.md]
Expand All @@ -21,11 +21,11 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.3'

spec.metadata['changelog_uri'] = 'https://github.com/stympy/faker/blob/master/CHANGELOG.md'
spec.metadata['source_code_uri'] = 'https://github.com/stympy/faker'
spec.metadata['bug_tracker_uri'] = 'https://github.com/stympy/faker/issues'
spec.metadata['changelog_uri'] = 'https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md'
spec.metadata['source_code_uri'] = 'https://github.com/faker-ruby/faker'
spec.metadata['bug_tracker_uri'] = 'https://github.com/faker-ruby/faker/issues'

spec.add_dependency('i18n', '>= 0.7')
spec.add_dependency('i18n', '>= 0.8')

spec.add_development_dependency('minitest', '5.11.3')
spec.add_development_dependency('pry', '0.12.2')
Expand Down

0 comments on commit b121213

Please sign in to comment.