Sha256: 571d36382cffdb0c755ab90ddfb64d57f03d56f5655fa5f1171bb5373401bee3

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __FILE__)

flipper_active_record_files = lambda { |file|
  file =~ /active_record/
}

Gem::Specification.new do |gem|
  gem.authors       = ["John Nunemaker"]
  gem.email         = ["nunemaker@gmail.com"]
  gem.summary       = "ActiveRecord adapter for Flipper"
  gem.description   = "ActiveRecord adapter for Flipper"
  gem.license       = "MIT"
  gem.homepage      = "https://github.com/jnunemaker/flipper"

  extra_files = [
    "lib/generators/flipper/templates/migration.rb",
    "lib/flipper/version.rb",
  ]
  gem.files         = `git ls-files`.split("\n").select(&flipper_active_record_files) + extra_files
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_active_record_files)
  gem.name          = "flipper-active_record"
  gem.require_paths = ["lib"]
  gem.version       = Flipper::VERSION

  gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
  gem.add_dependency 'activerecord', ">= 3.2", "< 6"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flipper-active_record-0.10.2 flipper-active_record.gemspec
flipper-active_record-0.10.1 flipper-active_record.gemspec
flipper-active_record-0.10.0 flipper-active_record.gemspec
flipper-active_record-0.9.2 flipper-active_record.gemspec
flipper-active_record-0.9.1 flipper-active_record.gemspec