bundler-audited_update 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4287c95c951aad95ddc388fea1f41b6a2e9c3ca0cad4a3ecc73ecd396560937a
4
- data.tar.gz: 6d86917a89f44e1e44ce278736a0b17762b9ac5b66a18151975a32a5bfda922f
3
+ metadata.gz: 2c4830bbfc9d72a285c6f56d43121a0e0b17b3616124d856e09756f455fa9c0d
4
+ data.tar.gz: f02fb09929d0baba699289d419f2f59fba799253cc1c509d39f63378baff82e0
5
5
  SHA512:
6
- metadata.gz: c7c12b6355985e924a66499db3c9b30801d64598786e4efea8ad30f82d2d8abb5cff8080aa9c77a754f631fbea295ed0fdaa88d58a78ddf041827d01e9153095
7
- data.tar.gz: b66f44688a9f58b7fe03744217fcc3d9206ec61f76a9e843e2b0bfc594c1978fa585ea39955929037b83d478d838ea457a61fd9976ca9c3d44a35b42346d1d73
6
+ metadata.gz: 251b7fa09517e525267e451625389f6044fe3ce6d8a4691e4c44a569b88427986cfba5ce9ec1212940243acf774ec269a1048cd6d957b3cb15a26f67d35b8e6c
7
+ data.tar.gz: 69aa767085552d0b1635524158af68f22fa4b70b5eecb16d2ee11f923039a6bde54f327d54f83254c9dba5c921508af84f3d036b91314fd015fe0f443d47299e
@@ -84,7 +84,7 @@ module Bundler
84
84
  puts "#{name} changes from #{version_string}"
85
85
  puts "--------------------------------"
86
86
  # Output the changelog text from top until the line that contains the previous version
87
- changelog_output = changelog_text.split(/^.*#{version[:before]}/, 2).first
87
+ changelog_output = changelog_text.split(/^.*#{Regexp.escape(version[:before])}/, 2).first
88
88
  # Max 200 lines
89
89
  changelog_output = changelog_output.lines.to_a[0...200].join
90
90
  puts changelog_output
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler-audited_update
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendan Mulholland