Short description and motivation.
How to use my plugin.
Add this line to your application's Gemfile:
gem 'ip_list'And then execute:
$ bundleOr install it yourself as:
$ gem install ip_list- Create your database.yml in spec/internal/config directory
- Create these folders assets/config and this file manifest.js in the spec/internal/app directory if they do not exist
# EXAMPLE
test:
adapter: postgresql
host: localhost
database: rails_hq_ip_whitelist
username: postgres
password:
timeout: 5000
encoding: utf8
pool: 5
whole suite
- bundle exec rspec spec
Single
- bundle exec rspec --backtrace spec/PATH_TO_FILE.rb Note: --backtrace for full error stack
Extra tips
- bundle exec irb to use your local ruby version
- bundle exec ruby PATH_TO_FILE.rb to run a single ruby file with the ruby version for the app
You must make sure the code is properly linted. Achieve that by running the line below
bundle exec rubocop
- Update the .rubocop-https---onehq-com-rubocop-yml file if any modifications are required.
- Make sure to update
TargetRubyVersionin the file for any ruby version upgrade.
Contribution directions go here.
The gem is available as open source under the terms of the MIT License.