Sha256: 1070b5a9aef3adbcba55547ee3ca29f80c9e45079a1f9499d869576f733845ac

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

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

flipper_active_record_files = lambda do |file|
  file =~ /active_record/
end

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.erb',
    '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) # rubocop:disable Metrics/LineLength
  gem.name          = 'flipper-active_record'
  gem.require_paths = ['lib']
  gem.version       = Flipper::VERSION
  gem.metadata      = Flipper::METADATA

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flipper-active_record-0.17.1 flipper-active_record.gemspec