├── .circleci ├── config.yml └── gem_credentials ├── .codeclimate.yml ├── .gitignore ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── gate.gemspec ├── lib ├── gate.rb └── gate │ ├── rails.rb │ └── version.rb └── test ├── dummy ├── Rakefile ├── app │ ├── contracts │ │ └── valid_with_class_validation_contract.rb │ └── controllers │ │ ├── application_controller.rb │ │ ├── invalid_controller.rb │ │ └── valid_controller.rb ├── bin │ ├── bundle │ ├── rails │ └── rake ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── environment.rb │ ├── environments │ │ └── test.rb │ ├── initializers │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ └── wrap_parameters.rb │ └── routes.rb ├── fixtures │ └── en.yml └── tmp │ ├── .keep │ ├── development_secret.txt │ └── storage │ └── .keep ├── gate └── test_rails.rb ├── test_gate.rb └── test_helper.rb /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.circleci/gem_credentials: -------------------------------------------------------------------------------- 1 | --- 2 | :rubygems_api_key: __RUBYGEMS_API_KEY__ 3 | -------------------------------------------------------------------------------- /.codeclimate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/.codeclimate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.1.5 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | IFS=$'\n\t' 4 | 5 | bundle install 6 | -------------------------------------------------------------------------------- /gate.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/gate.gemspec -------------------------------------------------------------------------------- /lib/gate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/lib/gate.rb -------------------------------------------------------------------------------- /lib/gate/rails.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/lib/gate/rails.rb -------------------------------------------------------------------------------- /lib/gate/version.rb: -------------------------------------------------------------------------------- 1 | module Gate 2 | VERSION = "1.0.0" 3 | end 4 | -------------------------------------------------------------------------------- /test/dummy/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/Rakefile -------------------------------------------------------------------------------- /test/dummy/app/contracts/valid_with_class_validation_contract.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/app/contracts/valid_with_class_validation_contract.rb -------------------------------------------------------------------------------- /test/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /test/dummy/app/controllers/invalid_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/app/controllers/invalid_controller.rb -------------------------------------------------------------------------------- /test/dummy/app/controllers/valid_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/app/controllers/valid_controller.rb -------------------------------------------------------------------------------- /test/dummy/bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/bin/bundle -------------------------------------------------------------------------------- /test/dummy/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/bin/rails -------------------------------------------------------------------------------- /test/dummy/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/bin/rake -------------------------------------------------------------------------------- /test/dummy/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config.ru -------------------------------------------------------------------------------- /test/dummy/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/application.rb -------------------------------------------------------------------------------- /test/dummy/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/boot.rb -------------------------------------------------------------------------------- /test/dummy/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/environment.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/environments/test.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /test/dummy/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/config/routes.rb -------------------------------------------------------------------------------- /test/dummy/fixtures/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/fixtures/en.yml -------------------------------------------------------------------------------- /test/dummy/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/tmp/development_secret.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/dummy/tmp/development_secret.txt -------------------------------------------------------------------------------- /test/dummy/tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/gate/test_rails.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/gate/test_rails.rb -------------------------------------------------------------------------------- /test/test_gate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/test_gate.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monterail/gate/HEAD/test/test_helper.rb --------------------------------------------------------------------------------