# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib', __FILE__)
require 'haml_lint/version'

Gem::Specification.new do |s|
  s.name        = 'haml-lint'
  s.version     = HamlLint::VERSION
  s.license     = 'MIT'
  s.platform    = Gem::Platform::RUBY
  s.authors     = ['Causes Engineering', 'Shane da Silva']
  s.email       = ['eng@causes.com', 'shane@causes.com']
  s.homepage    = 'http://github.com/causes/haml-lint'
  s.summary     = 'HAML lint tool'
  s.description = 'Opinionated tool to help you write better HAML'

  s.files         = Dir['lib/**/*.rb']
  s.executables   = ['haml-lint']
  s.require_paths = ['lib']

  s.required_ruby_version = '>= 1.9.3'

  s.add_dependency 'colorize', '0.5.8'
  s.add_dependency 'haml', '>= 4.0'
  s.add_dependency 'rubocop', '>= 0.16.0'

  s.add_development_dependency 'rspec', '2.13.0'
end

# -*- encoding: utf-8 -*-
$LOAD_PATH << File.expand_path('../lib', __FILE__)
require 'haml_lint/version'

Gem::Specification.new do |s|
  s.name        = 'haml-lint'
  s.version     = HamlLint::VERSION
  s.license     = 'MIT'
  s.platform    = Gem::Platform::RUBY
  s.authors     = ['Causes Engineering', 'Shane da Silva']
  s.email       = ['eng@causes.com', 'shane@causes.com']
  s.homepage    = 'http://github.com/causes/haml-lint'
  s.summary     = 'HAML lint tool'
  s.description = 'Opinionated tool to help you write better HAML'

  s.files         = Dir['lib/**/*.rb']
  s.executables   = ['haml-lint']
  s.require_paths = ['lib']

  s.required_ruby_version = '>= 1.9.3'

  s.add_dependency 'colorize', '0.5.8'
  s.add_dependency 'haml', '>= 4.0'
  s.add_dependency 'rubocop', '>= 0.16.0'

  s.add_development_dependency 'rspec', '2.13.0'
end

Fix Rubocop lints in gemspec
Fix Rubocop lints in gemspec

Prefer $LOAD_PATH over $: as it is more descriptive.

Change-Id: I5b6ce760fd5d0d8be5e9039007155fe1e04c9ed1
Reviewed-on: http://gerrit.causes.com/36170
Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@causes.com>
Reviewed-by: Shane da Silva <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@causes.com>
