Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jasl/RouterX

A Ruby on Rails flavoured URL routing engine in Swift.
https://github.com/jasl/RouterX

Last synced: about 1 month ago
JSON representation

A Ruby on Rails flavoured URL routing engine in Swift.

Awesome Lists containing this project

README

        

RouterX
====

[![Build Status](https://travis-ci.org/jasl/RouterX.svg)](https://travis-ci.org/jasl/RouterX)
[![codecov.io](https://codecov.io/github/jasl/RouterX/coverage.svg?branch=master)](https://codecov.io/github/jasl/RouterX?branch=master)

A Ruby on Rails flavored URI routing library in Swift.

## Usages

See [Demo.playground](Demo.playground/Contents.swift) for now.

Routing rules follows Rails flavor, see [Rails routing guide](http://guides.rubyonrails.org/routing.html#non-resourceful-routes) for now.

## Features
- [ ] globbing support
- [ ] format validation

## Requirements

- iOS 9.0+ / Mac OS X 10.10+ / tvOS 9.0+
- Xcode 10.0+

## Contributing

Bug report or pull request are welcome.

### Make a pull request

1. Fork it
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 new Pull Request

Please write unit test with your code if necessary.

## License

The project is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).