├── .github ├── FUNDING.yml └── workflows │ └── test.yml ├── .gitignore ├── .rspec ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── SECURITY.md ├── lib ├── typed_params.rb └── typed_params │ ├── bouncer.rb │ ├── coercer.rb │ ├── configuration.rb │ ├── controller.rb │ ├── formatters.rb │ ├── formatters │ ├── formatter.rb │ ├── jsonapi.rb │ └── rails.rb │ ├── handler.rb │ ├── handler_set.rb │ ├── mapper.rb │ ├── memoize.rb │ ├── namespaced_set.rb │ ├── parameter.rb │ ├── parameterizer.rb │ ├── path.rb │ ├── pipeline.rb │ ├── processor.rb │ ├── schema.rb │ ├── schema_set.rb │ ├── transformer.rb │ ├── transforms │ ├── key_alias.rb │ ├── key_casing.rb │ ├── nilify_blanks.rb │ ├── noop.rb │ └── transform.rb │ ├── types.rb │ ├── types │ ├── any.rb │ ├── array.rb │ ├── boolean.rb │ ├── date.rb │ ├── decimal.rb │ ├── float.rb │ ├── hash.rb │ ├── integer.rb │ ├── nil.rb │ ├── number.rb │ ├── string.rb │ ├── symbol.rb │ ├── time.rb │ └── type.rb │ ├── validations │ ├── depth.rb │ ├── exclusion.rb │ ├── format.rb │ ├── inclusion.rb │ ├── length.rb │ └── validation.rb │ ├── validator.rb │ └── version.rb ├── spec ├── dummy │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── .keep │ │ │ └── stylesheets │ │ │ │ └── application.css │ │ ├── channels │ │ │ └── application_cable │ │ │ │ ├── channel.rb │ │ │ │ └── connection.rb │ │ ├── controllers │ │ │ ├── application_controller.rb │ │ │ └── concerns │ │ │ │ └── .keep │ │ ├── helpers │ │ │ └── application_helper.rb │ │ ├── jobs │ │ │ └── application_job.rb │ │ ├── mailers │ │ │ └── application_mailer.rb │ │ ├── models │ │ │ ├── User.rb │ │ │ ├── application_record.rb │ │ │ └── concerns │ │ │ │ └── .keep │ │ └── views │ │ │ └── layouts │ │ │ ├── application.html.erb │ │ │ ├── mailer.html.erb │ │ │ └── mailer.text.erb │ ├── bin │ │ ├── rails │ │ ├── rake │ │ └── setup │ ├── config.ru │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── cable.yml │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── content_security_policy.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ ├── inflections.rb │ │ │ └── permissions_policy.rb │ │ ├── locales │ │ │ └── en.yml │ │ ├── puma.rb │ │ ├── routes.rb │ │ └── storage.yml │ ├── db │ │ └── test.sqlite3 │ ├── lib │ │ └── assets │ │ │ └── .keep │ ├── log │ │ └── .keep │ ├── public │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── apple-touch-icon-precomposed.png │ │ ├── apple-touch-icon.png │ │ └── favicon.ico │ ├── storage │ │ └── .keep │ └── tmp │ │ ├── .keep │ │ ├── development_secret.txt │ │ ├── pids │ │ └── .keep │ │ └── storage │ │ └── .keep ├── spec_helper.rb ├── typed_params │ ├── bouncer_spec.rb │ ├── coercer_spec.rb │ ├── configuration_spec.rb │ ├── controller_spec.rb │ ├── formatters │ │ ├── jsonapi_spec.rb │ │ └── rails_spec.rb │ ├── formatters_spec.rb │ ├── mapper_spec.rb │ ├── memoize_spec.rb │ ├── parameter_spec.rb │ ├── parameterizer_spec.rb │ ├── path_spec.rb │ ├── pipeline_spec.rb │ ├── processor_spec.rb │ ├── schema_spec.rb │ ├── transformer_spec.rb │ ├── transforms │ │ ├── key_alias_spec.rb │ │ ├── key_casing_spec.rb │ │ ├── nilify_blanks_spec.rb │ │ └── noop_spec.rb │ ├── types │ │ └── type_spec.rb │ ├── types_spec.rb │ ├── validations │ │ ├── exclusion_spec.rb │ │ ├── format_spec.rb │ │ ├── inclusion_spec.rb │ │ └── length_spec.rb │ └── validator_spec.rb └── typed_params_spec.rb └── typed_params.gemspec /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: ezekg -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/Rakefile -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/SECURITY.md -------------------------------------------------------------------------------- /lib/typed_params.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params.rb -------------------------------------------------------------------------------- /lib/typed_params/bouncer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/bouncer.rb -------------------------------------------------------------------------------- /lib/typed_params/coercer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/coercer.rb -------------------------------------------------------------------------------- /lib/typed_params/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/configuration.rb -------------------------------------------------------------------------------- /lib/typed_params/controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/controller.rb -------------------------------------------------------------------------------- /lib/typed_params/formatters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/formatters.rb -------------------------------------------------------------------------------- /lib/typed_params/formatters/formatter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/formatters/formatter.rb -------------------------------------------------------------------------------- /lib/typed_params/formatters/jsonapi.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/formatters/jsonapi.rb -------------------------------------------------------------------------------- /lib/typed_params/formatters/rails.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/formatters/rails.rb -------------------------------------------------------------------------------- /lib/typed_params/handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/handler.rb -------------------------------------------------------------------------------- /lib/typed_params/handler_set.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/handler_set.rb -------------------------------------------------------------------------------- /lib/typed_params/mapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/mapper.rb -------------------------------------------------------------------------------- /lib/typed_params/memoize.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/memoize.rb -------------------------------------------------------------------------------- /lib/typed_params/namespaced_set.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/namespaced_set.rb -------------------------------------------------------------------------------- /lib/typed_params/parameter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/parameter.rb -------------------------------------------------------------------------------- /lib/typed_params/parameterizer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/parameterizer.rb -------------------------------------------------------------------------------- /lib/typed_params/path.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/path.rb -------------------------------------------------------------------------------- /lib/typed_params/pipeline.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/pipeline.rb -------------------------------------------------------------------------------- /lib/typed_params/processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/processor.rb -------------------------------------------------------------------------------- /lib/typed_params/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/schema.rb -------------------------------------------------------------------------------- /lib/typed_params/schema_set.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/schema_set.rb -------------------------------------------------------------------------------- /lib/typed_params/transformer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/transformer.rb -------------------------------------------------------------------------------- /lib/typed_params/transforms/key_alias.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/transforms/key_alias.rb -------------------------------------------------------------------------------- /lib/typed_params/transforms/key_casing.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/transforms/key_casing.rb -------------------------------------------------------------------------------- /lib/typed_params/transforms/nilify_blanks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/transforms/nilify_blanks.rb -------------------------------------------------------------------------------- /lib/typed_params/transforms/noop.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/transforms/noop.rb -------------------------------------------------------------------------------- /lib/typed_params/transforms/transform.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/transforms/transform.rb -------------------------------------------------------------------------------- /lib/typed_params/types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types.rb -------------------------------------------------------------------------------- /lib/typed_params/types/any.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/any.rb -------------------------------------------------------------------------------- /lib/typed_params/types/array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/array.rb -------------------------------------------------------------------------------- /lib/typed_params/types/boolean.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/boolean.rb -------------------------------------------------------------------------------- /lib/typed_params/types/date.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/date.rb -------------------------------------------------------------------------------- /lib/typed_params/types/decimal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/decimal.rb -------------------------------------------------------------------------------- /lib/typed_params/types/float.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/float.rb -------------------------------------------------------------------------------- /lib/typed_params/types/hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/hash.rb -------------------------------------------------------------------------------- /lib/typed_params/types/integer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/integer.rb -------------------------------------------------------------------------------- /lib/typed_params/types/nil.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/nil.rb -------------------------------------------------------------------------------- /lib/typed_params/types/number.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/number.rb -------------------------------------------------------------------------------- /lib/typed_params/types/string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/string.rb -------------------------------------------------------------------------------- /lib/typed_params/types/symbol.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/symbol.rb -------------------------------------------------------------------------------- /lib/typed_params/types/time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/time.rb -------------------------------------------------------------------------------- /lib/typed_params/types/type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/types/type.rb -------------------------------------------------------------------------------- /lib/typed_params/validations/depth.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/validations/depth.rb -------------------------------------------------------------------------------- /lib/typed_params/validations/exclusion.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/validations/exclusion.rb -------------------------------------------------------------------------------- /lib/typed_params/validations/format.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/validations/format.rb -------------------------------------------------------------------------------- /lib/typed_params/validations/inclusion.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/validations/inclusion.rb -------------------------------------------------------------------------------- /lib/typed_params/validations/length.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/validations/length.rb -------------------------------------------------------------------------------- /lib/typed_params/validations/validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/validations/validation.rb -------------------------------------------------------------------------------- /lib/typed_params/validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/lib/typed_params/validator.rb -------------------------------------------------------------------------------- /lib/typed_params/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module TypedParams 4 | VERSION = '1.4.1' 5 | end 6 | -------------------------------------------------------------------------------- /spec/dummy/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/Rakefile -------------------------------------------------------------------------------- /spec/dummy/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- 1 | /* Application styles */ 2 | -------------------------------------------------------------------------------- /spec/dummy/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/channels/application_cable/channel.rb -------------------------------------------------------------------------------- /spec/dummy/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/channels/application_cable/connection.rb -------------------------------------------------------------------------------- /spec/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /spec/dummy/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /spec/dummy/app/jobs/application_job.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/jobs/application_job.rb -------------------------------------------------------------------------------- /spec/dummy/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /spec/dummy/app/models/User.rb: -------------------------------------------------------------------------------- 1 | class User < ApplicationRecord 2 | end 3 | -------------------------------------------------------------------------------- /spec/dummy/app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/models/application_record.rb -------------------------------------------------------------------------------- /spec/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /spec/dummy/app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /spec/dummy/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /spec/dummy/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/bin/rails -------------------------------------------------------------------------------- /spec/dummy/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/bin/rake -------------------------------------------------------------------------------- /spec/dummy/bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/bin/setup -------------------------------------------------------------------------------- /spec/dummy/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config.ru -------------------------------------------------------------------------------- /spec/dummy/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/application.rb -------------------------------------------------------------------------------- /spec/dummy/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/boot.rb -------------------------------------------------------------------------------- /spec/dummy/config/cable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/cable.yml -------------------------------------------------------------------------------- /spec/dummy/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/database.yml -------------------------------------------------------------------------------- /spec/dummy/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/environment.rb -------------------------------------------------------------------------------- /spec/dummy/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/environments/development.rb -------------------------------------------------------------------------------- /spec/dummy/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/environments/production.rb -------------------------------------------------------------------------------- /spec/dummy/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/environments/test.rb -------------------------------------------------------------------------------- /spec/dummy/config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /spec/dummy/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /spec/dummy/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/initializers/inflections.rb -------------------------------------------------------------------------------- /spec/dummy/config/initializers/permissions_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/initializers/permissions_policy.rb -------------------------------------------------------------------------------- /spec/dummy/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/locales/en.yml -------------------------------------------------------------------------------- /spec/dummy/config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/puma.rb -------------------------------------------------------------------------------- /spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/routes.rb -------------------------------------------------------------------------------- /spec/dummy/config/storage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/config/storage.yml -------------------------------------------------------------------------------- /spec/dummy/db/test.sqlite3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/public/404.html -------------------------------------------------------------------------------- /spec/dummy/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/public/422.html -------------------------------------------------------------------------------- /spec/dummy/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/public/500.html -------------------------------------------------------------------------------- /spec/dummy/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/tmp/development_secret.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/dummy/tmp/development_secret.txt -------------------------------------------------------------------------------- /spec/dummy/tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/dummy/tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/typed_params/bouncer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/bouncer_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/coercer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/coercer_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/configuration_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/configuration_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/controller_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/formatters/jsonapi_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/formatters/jsonapi_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/formatters/rails_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/formatters/rails_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/formatters_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/formatters_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/mapper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/mapper_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/memoize_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/memoize_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/parameter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/parameter_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/parameterizer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/parameterizer_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/path_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/path_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/pipeline_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/pipeline_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/processor_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/processor_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/schema_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/schema_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/transformer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/transformer_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/transforms/key_alias_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/transforms/key_alias_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/transforms/key_casing_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/transforms/key_casing_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/transforms/nilify_blanks_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/transforms/nilify_blanks_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/transforms/noop_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/transforms/noop_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/types/type_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/types/type_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/types_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/types_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/validations/exclusion_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/validations/exclusion_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/validations/format_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/validations/format_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/validations/inclusion_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/validations/inclusion_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/validations/length_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/validations/length_spec.rb -------------------------------------------------------------------------------- /spec/typed_params/validator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/spec/typed_params/validator_spec.rb -------------------------------------------------------------------------------- /spec/typed_params_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'spec_helper' 4 | -------------------------------------------------------------------------------- /typed_params.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keygen-sh/typed_params/HEAD/typed_params.gemspec --------------------------------------------------------------------------------