summaryrefslogtreecommitdiff
path: root/lib/api/api_guard.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove some dead code from the Grape APINick Thomas2016-09-191-43/+13
| | | | | | The `guard_all!` method is never called, and `guard!` is not implemented. The `doorkeeper_guard!` method is also never called, and is mostly the same as its non-bang counterpart.
* Fix a few places where autoloading would failRémy Coutable2016-05-101-133/+137
| | | | | | | | | | | - Fix naming of API::CommitStatuses - Ensure we use require_dependency instead of require - Ensure the namespace is right in lib/api/api.rb, otherwise, we might require Grape::API::Helpers which defines the `#params` method. This is to avoid requiring a file multiple times and getting an "Already initialized constant" error. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Rubocop: Style/CaseIndentation enabledDmitriy Zaporozhets2015-02-021-5/+2
|
* Avoid using {...} for multi-line blocksDmitriy Zaporozhets2015-02-021-2/+2
|
* Rubocop enabled for: Use spaces inside hash literal bracesDmitriy Zaporozhets2015-02-021-1/+1
|
* Convert hashes to ruby 1.9 styleDmitriy Zaporozhets2015-02-021-2/+2
|
* Doorkeeper integrationValery Sizov2014-12-241-0/+175