Closed invalidusrname closed 2 years ago
Cops auto-corrected
$ bundle exec rubocop
Inspecting 11 files
...C.C.....
Offenses:
image_scraper.gemspec:7:1: C: [Correctable] Gemspec/RequireMFA: metadata['rubygems_mfa_required'] must be set to 'true'.
Gem::Specification.new do |s| ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
image_scraper.gemspec:15:3: C: [Correctable] Gemspec/DateAssignment: Do not use date = in gemspec, it is set automatically when the gem is packaged.
s.date = '2013-01-17'
^^^^^^^^^^^^^^^^^^^^^
lib/image_scraper/client.rb:98:15: C: [Correctable] Security/IoMethods: File.read is safer than IO.read.
css = IO.read(file)
^^^^^^^^^^^^^
11 files inspected, 3 offenses detected, 3 offenses auto-correctable
Bumps to latest version of ruby and rubocop styles