diff --git a/.travis.yml b/.travis.yml index 425faf46..7e6d47bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ script: - yarn build - gem build prettier.gemspec - bundle exec rake test -- bundle exec ruby-prettier --check 'src/ripper.rb' 'lib/**/*.rb' 'test/*_test.rb' 'prettier.gemspec' +- bundle exec rbprettier --check 'src/ripper.rb' 'lib/**/*.rb' 'test/*_test.rb' 'prettier.gemspec' cache: - bundler - yarn diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cb575c7..f67f0430 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a - Handle longer command nodes. (Thanks to @AlanFoster.) - [INTERNAL] Add `eslint` and fix up existing violations. - Add the infra for the `prettier` ruby gem. (Thanks to @AlanFoster.) +- Changed the ruby executable within the `prettier` gem to `rbprettier` for easier autocomplete. ## [0.7.0] - 2019-02-24 ### Changed diff --git a/exe/ruby-prettier b/exe/rbprettier similarity index 100% rename from exe/ruby-prettier rename to exe/rbprettier diff --git a/prettier.gemspec b/prettier.gemspec index cd671f9e..6750e277 100644 --- a/prettier.gemspec +++ b/prettier.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| end spec.bindir = 'exe' - spec.executables = 'ruby-prettier' + spec.executables = 'rbprettier' spec.require_paths = %w[lib] spec.add_development_dependency 'bundler', '~> 2.0'