Sha256: 656678f572136a3ddeee9a732eb898a788d7c770c2e9d7cfb14dba5ba46da096

Contents?: true

Size: 1.26 KB

Versions: 15

Compression:

Stored size: 1.26 KB

Contents

# frozen_string_literal: true

require_relative "lib/validate_params/version"

Gem::Specification.new do |spec|
  spec.license = "MIT"
  spec.name = "validate-params"
  spec.version = ValidateParams::VERSION
  spec.authors = ["dcherevatenko"]
  spec.email = ["denis.cherevatenko@peopleforce.io "]

  spec.summary = "Gem to validate params in controllers"
  spec.description = "Provides a clean DSL to validate params for controller actions."
  spec.required_ruby_version = ">= 2.7.0"

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files = Dir.chdir(__dir__) do
    `git ls-files -z`.split("\x0").reject do |f|
      (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
    end
  end
  spec.bindir = "exe"
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "actionpack", ">= 6.1.0"
  spec.add_development_dependency "bundler", "~> 2.0"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"

  spec.add_dependency "activesupport", ">= 6.1.0"
  spec.add_dependency "i18n", ">= 1.6"
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
validate-params-0.13.0 validate_params.gemspec
validate-params-0.12.5 validate_params.gemspec
validate-params-0.12.4 validate_params.gemspec
validate-params-0.12.3 validate_params.gemspec
validate-params-0.12.2 validate_params.gemspec
validate-params-0.12.1 validate_params.gemspec
validate-params-0.12.0 validate_params.gemspec
validate-params-0.11.0 validate_params.gemspec
validate-params-0.10.1 validate_params.gemspec
validate-params-0.10.0 validate_params.gemspec
validate-params-0.9.0 validate_params.gemspec
validate-params-0.8.1 validate_params.gemspec
validate-params-0.8.0 validate_params.gemspec
validate-params-0.7.1 validate_params.gemspec
validate-params-0.7.0 validate_params.gemspec