Skip to content

Commit

Permalink
Merge pull request #1053 from mbj/change/git-in-gemspec
Browse files Browse the repository at this point in the history
Change to not rely on git in gemspec anymore
  • Loading branch information
mbj authored Sep 10, 2020
2 parents 82ed7ca + 7b98412 commit 56748f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Unreleased
# v0.9.12 2020-09-10

* Add symbol-to-proc block mutations (`map(&:to_s)` -> `map(&to_str)`) [#1048](https://github.com/mbj/mutant/pull/1048)
* Add block-pass mutations (`foo(&method(:bar))` -> `foo(&public_method(:bar))`) [#1047](https://github.com/mbj/mutant/pull/1047)
* Add new mutation of `Array(foo)` -> `[foo]` [#1043](https://github.com/mbj/mutant/pull/1043)
* Add new mutation to mutate dynamic sends to static sends ({`foo.__send__(:bar)`, `foo.send(:bar)`, `foo.public_send(:bar)`} -> `foo.bar`) [#1040](https://github.com/mbj/mutant/pull/1040) and [#1049](https://github.com/mbj/mutant/pull/1049)
* Change packaging to not rely on git anymore. [#1053](https://github.com/mbj/mutant/pull/1053)

# v0.9.11 2020-08-25

Expand Down
2 changes: 1 addition & 1 deletion lib/mutant/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Mutant
# Current mutant version
VERSION = '0.9.11'
VERSION = '0.9.12'
end # Mutant
5 changes: 2 additions & 3 deletions mutant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ Gem::Specification.new do |gem|

gem.require_paths = %w[lib]

exclusion = `git ls-files -- lib/mutant/{integration/{minitest,rspec}.rb,minitest}`.split("\n")
exclusion = Dir.glob('lib/mutant/{integration/{minitest,rspec}.rb,minitest}')

gem.files = `git ls-files`.split("\n") - exclusion
gem.test_files = `git ls-files -- spec/{unit,integration}`.split("\n")
gem.files = Dir.glob('lib/**/*') - exclusion
gem.extra_rdoc_files = %w[LICENSE]
gem.executables = %w[mutant]

Expand Down

0 comments on commit 56748f8

Please sign in to comment.