Sha256: 799287d2d79082ab1d069ab7ad2c22ecac79759c47c98459ab6fae1d561d2c91

Contents?: true

Size: 1.06 KB

Versions: 20

Compression:

Stored size: 1.06 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.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)
  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', '< 8'
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
flipper-active_record-0.28.3 flipper-active_record.gemspec
flipper-active_record-0.28.2 flipper-active_record.gemspec
flipper-active_record-0.28.1 flipper-active_record.gemspec
flipper-active_record-0.28.0 flipper-active_record.gemspec
flipper-active_record-0.27.1 flipper-active_record.gemspec
flipper-active_record-0.27.0 flipper-active_record.gemspec
flipper-active_record-0.26.2 flipper-active_record.gemspec
flipper-active_record-0.26.1 flipper-active_record.gemspec
flipper-active_record-0.26.0 flipper-active_record.gemspec
flipper-active_record-0.26.0.rc2 flipper-active_record.gemspec
flipper-active_record-0.26.0.rc1 flipper-active_record.gemspec
flipper-active_record-0.25.4 flipper-active_record.gemspec
flipper-active_record-0.25.3 flipper-active_record.gemspec
flipper-active_record-0.25.2 flipper-active_record.gemspec
flipper-active_record-0.25.1 flipper-active_record.gemspec
flipper-active_record-0.25.0 flipper-active_record.gemspec
flipper-active_record-0.24.1 flipper-active_record.gemspec
flipper-active_record-0.24.0 flipper-active_record.gemspec
flipper-active_record-0.23.1 flipper-active_record.gemspec
flipper-active_record-0.23.0 flipper-active_record.gemspec