bundler-audited_update 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bundler/audited_update.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c4830bbfc9d72a285c6f56d43121a0e0b17b3616124d856e09756f455fa9c0d
|
4
|
+
data.tar.gz: f02fb09929d0baba699289d419f2f59fba799253cc1c509d39f63378baff82e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|