Skip to content

Commit

Permalink
Ensure that migration.rb is added to gem files
Browse files Browse the repository at this point in the history
Fixes #98
  • Loading branch information
jnunemaker committed Jan 5, 2016
1 parent f4d6687 commit 46804be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flipper-active_record.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ Gem::Specification.new do |gem|
gem.license = "MIT"
gem.homepage = "https://github.com/jnunemaker/flipper"

gem.files = `git ls-files`.split("\n").select(&flipper_active_record_files) + ["lib/flipper/version.rb"]
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"]
Expand Down

0 comments on commit 46804be

Please sign in to comment.