old_contents: #
  # linter.py
  # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
  #
  # Written by Aparajita Fishman
  # Contributors: Francis Gulotta, Josh Hagins
  # Copyright (c) 2013 Aparajita Fishman
  #
  # License: MIT
  #
  
  """This module exports the Rubocop plugin class."""
  
  from SublimeLinter.lint import RubyLinter
  
  
  class Rubocop(RubyLinter):
  
      """Provides an interface to rubocop."""
  
      syntax = ('ruby', 'ruby on rails', 'rspec')
      cmd = 'ruby -S rubocop --format emacs'
      version_args = '-S rubocop --version'
      version_re = r'(?P<version>\d+\.\d+\.\d+)'
      version_requirement = '>= 0.15.0'
      regex = (
          r'^.+?:(?P<line>\d+):(?P<col>\d+): '
          r'(:?(?P<warning>[RCW])|(?P<error>[EF])): '
          r'(?P<message>.+)'
      )
      tempfile_suffix = 'rb'
      config_file = ('--config', '.rubocop.yml')
  
new_contents: #
  # linter.py
  # Linter for SublimeLinter3, a code checking framework for Sublime Text 3
  #
  # Written by Aparajita Fishman
  # Contributors: Francis Gulotta, Josh Hagins
  # Copyright (c) 2013 Aparajita Fishman
  #
  # License: MIT
  #
  
  """This module exports the Rubocop plugin class."""
  
  from SublimeLinter.lint import RubyLinter
  
  
  class Rubocop(RubyLinter):
  
      """Provides an interface to rubocop."""
  
      syntax = ('ruby', 'ruby on rails', 'rspec', 'betterruby', 'ruby experimental')
      cmd = 'ruby -S rubocop --format emacs'
      version_args = '-S rubocop --version'
      version_re = r'(?P<version>\d+\.\d+\.\d+)'
      version_requirement = '>= 0.15.0'
      regex = (
          r'^.+?:(?P<line>\d+):(?P<col>\d+): '
          r'(:?(?P<warning>[RCW])|(?P<error>[EF])): '
          r'(?P<message>.+)'
      )
      tempfile_suffix = 'rb'
      config_file = ('--config', '.rubocop.yml')
  
subject: Add support for RubyNext and RubyExperimental