Sha256: 63711de9114773449cd8a6057678a0c22155218214c3dc0c22eb015960bccf1c

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __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)
  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

9 entries across 9 versions & 1 rubygems

Version Path
flipper-active_record-0.15.0 flipper-active_record.gemspec
flipper-active_record-0.14.0 flipper-active_record.gemspec
flipper-active_record-0.13.0 flipper-active_record.gemspec
flipper-active_record-0.13.0.beta1 flipper-active_record.gemspec
flipper-active_record-0.12.2 flipper-active_record.gemspec
flipper-active_record-0.12.1 flipper-active_record.gemspec
flipper-active_record-0.12.0 flipper-active_record.gemspec
flipper-active_record-0.11.0 flipper-active_record.gemspec
flipper-active_record-0.11.0.rc1 flipper-active_record.gemspec