Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump the rails requirement down and see what happens!
- Loading branch information
Showing
5 changed files
with
52 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ spec/dummy/log/*.log | |
spec/dummy/tmp/ | ||
spec/dummy/.sass-cache | ||
*.un~ | ||
*.gem | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,45 @@ | ||
= Apic | ||
|
||
This project rocks and uses MIT-LICENSE. | ||
[![Build Status](https://secure.travis-ci.org/hsbt/whispered.png)](https://travis-ci.org/hsbt/whispered) [![Coverage Status](https://coveralls.io/repos/randym/apic/badge.png?branch=master)](https://coveralls.io/r/randym/apic) [![Dependency Status](https://gemnasium.com/randym/apic.png)](https://gemnasium.com/randym/apic) [![Code Climate](https://codeclimate.com/github/randym/apic.png)](https://codeclimate.com/github/randym/apic) | ||
|
||
|
||
What you need to do? | ||
|
||
add the gem to your Gemfile | ||
|
||
``` | ||
gem 'apic' | ||
``` | ||
|
||
require the gem in your application.rb | ||
|
||
``` | ||
require 'apic' | ||
``` | ||
|
||
mount the gem in your routes.rb | ||
|
||
``` | ||
mount Apic::Engine => "/apic" | ||
``` | ||
|
||
## and some groovy stuff too | ||
|
||
Filter routes on a regex match | ||
|
||
|
||
``` | ||
Apic.routes_matcher = /\/api\// | ||
``` | ||
|
||
Tell us what your authorization filter is! | ||
|
||
``` | ||
Apic.authorization_filter = :authenticate | ||
``` | ||
|
||
|
||
git remote add origin https://github.com/randym/apic.git | ||
|
||
|
||
This project rocks and uses MIT-LICENSE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters