Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
apitools-middleware.gemspec

README.md

Apitools::Middleware Build Status

Ruby Library for working with APItools Middleware. Validating, testing, ... Collection of middleware can be found in https://github.com/APItools/middleware

Installation

Add this line to your application's Gemfile:

gem 'apitools-middleware'

And then execute:

$ bundle

Or install it yourself as:

$ gem install apitools-middleware

Usage

repository = Apitools::Middleware::LocalRepository.new
repository.middleware.each do |middleware|
  puts "Middleware #{middleware.name} is invalid" unless middleware.valid?
end

Contributing

  1. Fork it ( https://github.com/APItools/apitools-middleware/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request