From 126fe1e2579c3fc33a410278c73dc6620d5d3110 Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Thu, 11 Aug 2016 17:09:34 +0200 Subject: [PATCH] correct name according to recommended use of `_` and `-` http://guides.rubygems.org/name-your-gem/ --- README.md | 8 ++++---- lib/pronto/{eslint-npm.rb => eslint_npm.rb} | 0 lib/pronto/{eslint-npm => eslint_npm}/version.rb | 0 pronto-eslint-npm.gemspec => pronto-eslint_npm.gemspec | 6 +++--- spec/spec_helper.rb | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename lib/pronto/{eslint-npm.rb => eslint_npm.rb} (100%) rename lib/pronto/{eslint-npm => eslint_npm}/version.rb (100%) rename pronto-eslint-npm.gemspec => pronto-eslint_npm.gemspec (87%) diff --git a/README.md b/README.md index 1660df7..4fb2cdc 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Pronto runner for ESLint (using eslint from npm) -[![Code Climate](https://codeclimate.com/github/doits/pronto-eslint-npm.svg)](https://codeclimate.com/github/doits/pronto-eslint-npm) -[![Build Status](https://travis-ci.org/doits/pronto-eslint-npm.svg?branch=master)](https://travis-ci.org/doits/pronto-eslint-npm) -[![Gem Version](https://badge.fury.io/rb/pronto-eslint-npm.svg)](http://badge.fury.io/rb/pronto-eslint-npm) -[![Dependency Status](https://gemnasium.com/doits/pronto-eslint-npm.svg)](https://gemnasium.com/doits/pronto-eslint-npm) +[![Code Climate](https://codeclimate.com/github/doits/pronto-eslint_npm.svg)](https://codeclimate.com/github/doits/pronto-eslint_npm) +[![Build Status](https://travis-ci.org/doits/pronto-eslint_npm.svg?branch=master)](https://travis-ci.org/doits/pronto-eslint_npm) +[![Gem Version](https://badge.fury.io/rb/pronto-eslint_npm.svg)](http://badge.fury.io/rb/pronto-eslint_npm) +[![Dependency Status](https://gemnasium.com/doits/pronto-eslint_npm.svg)](https://gemnasium.com/doits/pronto-eslint_npm) Pronto runner for [ESlint](http://eslint.org), pluggable linting utility for JavaScript and JSX. [What is Pronto?](https://github.com/mmozuras/pronto) diff --git a/lib/pronto/eslint-npm.rb b/lib/pronto/eslint_npm.rb similarity index 100% rename from lib/pronto/eslint-npm.rb rename to lib/pronto/eslint_npm.rb diff --git a/lib/pronto/eslint-npm/version.rb b/lib/pronto/eslint_npm/version.rb similarity index 100% rename from lib/pronto/eslint-npm/version.rb rename to lib/pronto/eslint_npm/version.rb diff --git a/pronto-eslint-npm.gemspec b/pronto-eslint_npm.gemspec similarity index 87% rename from pronto-eslint-npm.gemspec rename to pronto-eslint_npm.gemspec index df94361..f51cbbb 100644 --- a/pronto-eslint-npm.gemspec +++ b/pronto-eslint_npm.gemspec @@ -1,16 +1,16 @@ # -*- encoding: utf-8 -*- $LOAD_PATH.push File.expand_path('../lib', __FILE__) -require 'pronto/eslint-npm/version' +require 'pronto/eslint_npm/version' require 'rake' Gem::Specification.new do |s| - s.name = 'pronto-eslint-npm' + 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.homepage = 'http://github.org/doits/pronto-eslint-npm' + s.homepage = 'http://github.org/doits/pronto-eslint_npm' s.summary = <<-EOF Pronto runner for ESLint, pluggable linting utility for JavaScript and JSX EOF diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 66266cc..23f22e8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,6 @@ require 'rspec' require 'rspec/its' -require 'pronto/eslint-npm' +require 'pronto/eslint_npm' %w(test eslintignore).each do |repo_name| RSpec.shared_context "#{repo_name} repo" do -- 2.41.0