rails engine for sugoi_http_request_tester
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db/migrate
lib
spec/dummy
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
sample.log
sugoi_http_tester_rails.gemspec

README.md

SugoiHttpTesterRails

This gem is rails engine for sugoi_http_request_tester.

Requirements

  • gems
    • delayed_job
    • sugoi_http_request_tester
    • kaminari
    • slim-rails

Installation

Add this line to your application's Gemfile:

gem 'sugoi_http_tester_rails', github: 'jiikko/sugoi_http_tester_rails'

Delayedjob

$ bundle exec rails generate delayed_job:active_record
$ bundle exec rake db:migrate

migration

$ bundle exec rake sugoi_http_tester_rails:install:migrations
$ bundle exec rake db:migrate

Usage

Add this line to your config/routes.rb

Rails.application.routes.draw do
  mount SugoiHttpTesterRails::Engine => "/http_tester"
end

Development

$ git clone https://github.com/jiikko/sugoi_http_tester_rails
$ cd sugoi_http_tester_rails
$ bundle exec rake db:migrate
$ cd spec/dummy
$ bundle exec rake jobs:work &
$ bundle exec rails server

Test

$ cd spec/dummy
$ bundle exec rspec

TODO