Skip to content

Commit

Permalink
Don't use git in gemspec
Browse files Browse the repository at this point in the history
"git ls-files" should be avoided in the gemspec file
  • Loading branch information
p8 committed Dec 15, 2021
1 parent 2055d90 commit faee538
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions simple_state_machine.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ Gem::Specification.new do |s|
s.email = ["FIX@example.com"]
s.homepage = %q{http://github.com/mdh/ssm}
s.extra_rdoc_files = ["LICENSE","README.rdoc"]
s.files = `git ls-files`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.files = Dir.glob("lib/**/*") + %w[Changelog.rdoc LICENSE README.rdoc]
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.summary = %q{A simple DSL to decorate existing methods with logic that guards state transitions.}
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
end

0 comments on commit faee538

Please sign in to comment.