{"repo":"sue445/index_shotgun","free":true,"listed":false,"github":"https://github.com/sue445/index_shotgun","clone":"git clone https://github.com/sue445/index_shotgun.git","description":"duplicate index checker :fire: :gun: :cop:","language":"Ruby","stars":38,"topics":["gem","index","activerecord","mysql","postgresql","sqlite3","oracle"],"license":"MIT","category":"databases-storage","readme_excerpt":"IndexShotgun :fire: :gun: :cop: Duplicate index checker. This like pt-duplicate-key-checker, but also supports database other than MySQL Example Requirements Ruby 2.5+ Database you want to use (ex. MySQL, PostgreSQL or SQLite3) Installation Add this line to your application's Gemfile: And then execute: Or install it yourself as: If you want to use as commandline tool, you need to install these gems. Note: requirements activerecord gem v4.2.5+ when using mysql2 gem v0.4.0+ Usage Ruby app run fire :fire: task If you don't use Rails app, append this to Rakefile Command line Support these commands Details: check index shotgun help MySQL Oracle PostgreSQL SQLite3 Development After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment. Run bundle exec index shotgun to use the gem in this directory, ignoring other installed copies of this gem. To install this gem onto your local machine, run bundle exec rake install . To release a new version, update the version number in version.rb , and then run bundle exec rake release , which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org. Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/sue445/index shotgun. License The gem is available as open source under the terms of the MIT License. FAQ Q. The origin of the name? ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sue445","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sue445/index_shotgun/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}