bundler-audited_update 0.1.5 → 0.2.0
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 +4 -4
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1643d8c2c255b6e6b6aa935f7f9d9703a9218e4f28fbd9b3985922d59e98abdf
|
4
|
+
data.tar.gz: 2e45069ebfc4b3d036173628837f5fabb97397b16e99181d9145969601309909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8febdb50ed26521ef4be10736d606ebcd8d3a5960f6d73a4eb32415ac092e314c83302d301042058c429f6c4ecf0fdf26e98a802586231a82f706e7339efab3
|
7
|
+
data.tar.gz: 6e9bbb78c2f333555143ed05c88b922417430c13929da830210e873a07d238148fe08ca006463a9942c9bc110106eceef293421c02fa35ef96b73c1c3f02ca2e
|
@@ -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(/^.*#{Regexp.escape(version[:before])}/, 2).first
|
87
|
+
changelog_output = changelog_text.split(/^.*#{Regexp.escape(version[:before].to_s)}/, 2).first
|
88
88
|
# Max 200 lines
|
89
89
|
changelog_output = changelog_output.lines.to_a[0...200].join
|
90
90
|
puts changelog_output
|
@@ -204,7 +204,7 @@ module Bundler
|
|
204
204
|
end
|
205
205
|
|
206
206
|
def github_releases_bodies(source_root)
|
207
|
-
response = URI.parse(github_releases_url(source_root)).read
|
207
|
+
response = ::URI.parse(github_releases_url(source_root)).read
|
208
208
|
releases = JSON.parse(response)
|
209
209
|
release_notes = ""
|
210
210
|
releases.each do |release|
|
@@ -226,14 +226,14 @@ module Bundler
|
|
226
226
|
end
|
227
227
|
|
228
228
|
def try_changelog_url(source_root, filename)
|
229
|
-
URI.parse(changelog_url_for(source_root, filename)).read
|
229
|
+
::URI.parse(changelog_url_for(source_root, filename)).read
|
230
230
|
rescue OpenURI::HTTPError
|
231
231
|
return nil
|
232
232
|
end
|
233
233
|
|
234
234
|
def gem_info(name, version)
|
235
235
|
gem_url = "https://rubygems.org/api/v2/rubygems/#{name}/versions/#{version}"
|
236
|
-
response = URI.parse(gem_url).read
|
236
|
+
response = ::URI.parse(gem_url).read
|
237
237
|
JSON.parse(response)
|
238
238
|
end
|
239
239
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler-audited_update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brendan Mulholland
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,7 @@ homepage: http://rubygems.org/gems/bundler-audited_update
|
|
80
80
|
licenses:
|
81
81
|
- MIT
|
82
82
|
metadata: {}
|
83
|
-
post_install_message:
|
83
|
+
post_install_message:
|
84
84
|
rdoc_options: []
|
85
85
|
require_paths:
|
86
86
|
- lib
|
@@ -95,9 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
|
-
|
99
|
-
|
100
|
-
signing_key:
|
98
|
+
rubygems_version: 3.1.2
|
99
|
+
signing_key:
|
101
100
|
specification_version: 4
|
102
101
|
summary: Streamlined bundler audit with Changelog detection and summary ouput
|
103
102
|
test_files: []
|