From f4d6687dff8db2ac094c2dd544cdefdada33d327 Mon Sep 17 00:00:00 2001 From: John Nunemaker Date: Tue, 5 Jan 2016 09:26:02 -0500 Subject: [PATCH] Fix copy/paste errors --- flipper-active_record.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flipper-active_record.gemspec b/flipper-active_record.gemspec index f8f00d7d9..2b6c00713 100644 --- a/flipper-active_record.gemspec +++ b/flipper-active_record.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- require File.expand_path('../lib/flipper/version', __FILE__) -flipper_mongo_files = lambda { |file| +flipper_active_record_files = lambda { |file| file =~ /active_record/ } @@ -13,8 +13,8 @@ Gem::Specification.new do |gem| gem.license = "MIT" gem.homepage = "https://github.com/jnunemaker/flipper" - gem.files = `git ls-files`.split("\n").select(&flipper_mongo_files) + ["lib/flipper/version.rb"] - gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_mongo_files) + gem.files = `git ls-files`.split("\n").select(&flipper_active_record_files) + ["lib/flipper/version.rb"] + 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