From 0ab4d181c9d2e1ad9e3d4028223f947599781351 Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Fri, 30 Mar 2018 19:20:57 +0200 Subject: update locally used ruby versiob, lint everything --- pronto-eslint_npm.gemspec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'pronto-eslint_npm.gemspec') diff --git a/pronto-eslint_npm.gemspec b/pronto-eslint_npm.gemspec index d3e3b65..2304678 100644 --- a/pronto-eslint_npm.gemspec +++ b/pronto-eslint_npm.gemspec @@ -1,29 +1,29 @@ -# -*- encoding: utf-8 -*- +# frozen_string_literal: true -$LOAD_PATH.push File.expand_path('../lib', __FILE__) +$LOAD_PATH.push File.expand_path('lib', __dir__) require 'pronto/eslint_npm/version' Gem::Specification.new do |s| - s.name = 'pronto-eslint_npm' - s.version = Pronto::ESLintNpmVersion::VERSION + s.name = 'pronto-eslint_npm' + s.version = Pronto::ESLintNpmVersion::VERSION s.platform = Gem::Platform::RUBY - s.authors = ['Markus Doits', 'Mindaugas Mozūras'] - s.email = 'markus.doits@gmail.com' + s.authors = ['Markus Doits', 'Mindaugas Mozūras'] + s.email = 'markus.doits@gmail.com' s.homepage = 'https://github.com/doits/pronto-eslint_npm' - s.summary = <<-EOF + s.summary = <<-EOF Pronto runner for ESLint, pluggable linting utility for JavaScript and JSX EOF - s.licenses = ['MIT'] + s.licenses = ['MIT'] s.required_ruby_version = '>= 2.0.0' - s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) } + s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) } s.extra_rdoc_files = ['LICENSE', 'README.md'] - s.require_paths = ['lib'] + s.require_paths = ['lib'] s.requirements << 'eslint (in PATH)' s.add_dependency('pronto', '~> 0.9.1') + s.add_development_dependency('byebug', '>= 9') s.add_development_dependency('rake', '>= 11.0', '< 13') s.add_development_dependency('rspec', '~> 3.4') - s.add_development_dependency('byebug', '>= 9') end -- cgit v1.2.3