Sha256: 527a3308e638606899d4e6549058890a0d8eaf32124e8941f32563176b15f08a

Contents?: true

Size: 1.26 KB

Versions: 2

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", "~> 13.2"
  spec.add_development_dependency "rspec", "~> 3.0"

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validate-params-0.14.0 validate_params.gemspec
validate-params-0.13.1 validate_params.gemspec