Sha256: 122ff0284da818c92fbdde4c06acdea7c1f44f436f68a06d69de37793dbaf39c

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

Gem::Specification.new do |spec|
  spec.name = "attribute_guard"
  spec.version = File.read(File.expand_path("../VERSION", __FILE__)).strip
  spec.authors = ["Brian Durand"]
  spec.email = ["bbdurand@gmail.com"]

  spec.summary = "ActiveRecord extension that allows locking attributes to prevent unintended updates."

  spec.homepage = "https://github.com/bdurand/attribute_guard"
  spec.license = "MIT"

  # 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.
  ignore_files = %w[
    .
    Appraisals
    Gemfile
    Gemfile.lock
    Rakefile
    config.ru
    assets/
    bin/
    gemfiles/
    spec/
  ]
  spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
  end

  spec.require_paths = ["lib"]

  spec.required_ruby_version = ">= 2.5"

  spec.add_dependency "activerecord", ">= 5.0"

  spec.add_development_dependency "bundler"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attribute_guard-1.0.1 attribute_guard.gemspec
attribute_guard-1.0.0 attribute_guard.gemspec