Skip to content

Commit

Permalink
Extend work by limiting files required for bundling gem
Browse files Browse the repository at this point in the history
  • Loading branch information
vprigent committed Nov 10, 2024
1 parent 64b9d5e commit 48bb4b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ spec/db/data_schema.rb
.ruby-version
.idea/
vendor/
Gemfile.lock
11 changes: 5 additions & 6 deletions data_migrate.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Gem::Specification.new do |s|

s.rubyforge_project = "data_migrate"

s.files = Dir["{lib,tasks}/**/*", "Changelog.md", "LICENSE", "README.md"]
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

%w[
activerecord
railties
Expand All @@ -32,10 +37,4 @@ Gem::Specification.new do |s|
s.add_development_dependency "timecop"
s.add_development_dependency "rubocop"
s.add_development_dependency "overcommit"


s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end

0 comments on commit 48bb4b2

Please sign in to comment.