rubygem-shoulda-matchers/fix-ruby-2.7-warning.patch
lyn1001 12a0fa8580 fix build error
(cherry picked from commit 1a218eab759e825f9253a9d5d4b181c3771dbe54)
2022-03-04 16:50:15 +08:00

13 lines
470 B
Diff

diff -Nur a/lib/shoulda/matchers/util/word_wrap.rb b/lib/shoulda/matchers/util/word_wrap.rb
--- a/lib/shoulda/matchers/util/word_wrap.rb 2022-03-02 17:01:03.260250272 +0800
+++ b/lib/shoulda/matchers/util/word_wrap.rb 2022-03-02 17:00:26.059621102 +0800
@@ -2,7 +2,7 @@
module Matchers
# @private
def self.word_wrap(document, options = {})
- Document.new(document, options).wrap
+ Document.new(document, **options).wrap
end
# @private