├── .gitignore ├── .rubocop.yml ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── lib ├── rough.rb └── rough │ ├── base_controller.rb │ ├── engine.rb │ ├── invalid_request_proto.rb │ ├── invalid_route.rb │ ├── middleware.rb │ ├── route.rb │ ├── route_registry.rb │ ├── rpc_registry.rb │ └── version.rb ├── rough.gemspec └── spec ├── dummy ├── app │ └── controllers │ │ └── test_controller.rb └── config │ └── routes.rb ├── examples ├── base_controller_spec.rb ├── middleware_spec.rb ├── route_registry_spec.rb ├── route_spec.rb ├── rpc_registry_spec.rb └── version_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | coverage 3 | *.gem 4 | 5 | spec/dummy/log 6 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/Rakefile -------------------------------------------------------------------------------- /lib/rough.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough.rb -------------------------------------------------------------------------------- /lib/rough/base_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/base_controller.rb -------------------------------------------------------------------------------- /lib/rough/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/engine.rb -------------------------------------------------------------------------------- /lib/rough/invalid_request_proto.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/invalid_request_proto.rb -------------------------------------------------------------------------------- /lib/rough/invalid_route.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/invalid_route.rb -------------------------------------------------------------------------------- /lib/rough/middleware.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/middleware.rb -------------------------------------------------------------------------------- /lib/rough/route.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/route.rb -------------------------------------------------------------------------------- /lib/rough/route_registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/route_registry.rb -------------------------------------------------------------------------------- /lib/rough/rpc_registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/lib/rough/rpc_registry.rb -------------------------------------------------------------------------------- /lib/rough/version.rb: -------------------------------------------------------------------------------- 1 | module Rough 2 | VERSION = '0.2.6' 3 | end 4 | -------------------------------------------------------------------------------- /rough.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/rough.gemspec -------------------------------------------------------------------------------- /spec/dummy/app/controllers/test_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/dummy/app/controllers/test_controller.rb -------------------------------------------------------------------------------- /spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/dummy/config/routes.rb -------------------------------------------------------------------------------- /spec/examples/base_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/examples/base_controller_spec.rb -------------------------------------------------------------------------------- /spec/examples/middleware_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/examples/middleware_spec.rb -------------------------------------------------------------------------------- /spec/examples/route_registry_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/examples/route_registry_spec.rb -------------------------------------------------------------------------------- /spec/examples/route_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/examples/route_spec.rb -------------------------------------------------------------------------------- /spec/examples/rpc_registry_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/examples/rpc_registry_spec.rb -------------------------------------------------------------------------------- /spec/examples/version_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/examples/version_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/square/rough/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------