Sha256: 001fa7768cff341fc280429eec0e306ca36a892c2569e087957d5f2e0655d0c3

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

require_relative 'lib/disallow/version'

Gem::Specification.new do |spec|
  spec.name          = "disallow"
  spec.version       = Disallow::VERSION
  spec.authors       = ["a5-stable"]
  spec.email         = ["sh07e1916@gmail.com"]

  spec.summary       = "disallow certain features in ActiveRecord models such as `default_scope`` and `callbacks`"
  spec.homepage      = "https://github.com/a5-stable/disallow"
  spec.license       = "MIT"
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")

  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = "https://github.com/a5-stable/disallow"
  spec.metadata["changelog_uri"] = "https://github.com/a5-stable/disallow"

  # 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(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency('activerecord')

  spec.add_development_dependency('with_model')
  spec.add_development_dependency "sqlite3"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
disallow-0.1.0 disallow.gemspec