danger-gem_changes 0.0.1 → 0.0.2

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: b90abf7d1a201531f08f7af72190e138cf14c5f4f47dd238145fa9ba47b8f70e
4
- data.tar.gz: e2621d8f5b4ab6fd712c0b664e93922157f213f5260d9803faf85bec77056a79
3
+ metadata.gz: 97e04de48bcde51e0573c51de807f8260eb219488b49c6df2049248c4b1f0550
4
+ data.tar.gz: 6d7a38ee3dec14d4c8cff822d47dede30b40b939d50cb2dc35619f6703f3cdb1
5
5
  SHA512:
6
- metadata.gz: 5cad6310e609b0fb0278ac24b8e03b7057481d7799acdf33c5d1cac77e0270089b660625549bc7f51ee08a72ecb257a74b69885233dc2959470d76a9080c6e17
7
- data.tar.gz: 92a1e2d83779561eafa148d4eab18c2ae618750a178e50a5a4b0c8d6726b63906c64a47d385bffe0e5e11a1d5dc000faa7473a64979abec90d4b0f2a25108038
6
+ metadata.gz: a6a8901492cf34d99b36665856fe9cadb5abde996d2cbe3447d201cdbd98df91b78a96bbe36f293ebd41ffb2ad801a0f47fc147a42a1c671726acaed20311fbb
7
+ data.tar.gz: 48a194cc7d59e6e6aa8bf6ad751f2dff95d204a1a4e31abd523f2ca3dbd866e79258c0fa112382243abd3ebc99ac1172386e82c600c7512d2549eba38586d182
data/Gemfile.lock CHANGED
@@ -1,10 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-gem_changes (0.0.1)
4
+ danger-gem_changes (0.0.2)
5
5
  danger-plugin-api (~> 1.0)
6
6
  nokogiri (~> 1.0)
7
- open-uri (~> 0.4)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
@@ -37,7 +36,6 @@ GEM
37
36
  terminal-table (>= 1, < 4)
38
37
  danger-plugin-api (1.0.0)
39
38
  danger (> 2.0)
40
- date (3.3.4)
41
39
  debug (1.9.2)
42
40
  irb (~> 1.10)
43
41
  reline (>= 0.3.8)
@@ -96,10 +94,6 @@ GEM
96
94
  base64
97
95
  faraday (>= 1, < 3)
98
96
  sawyer (~> 0.9)
99
- open-uri (0.4.1)
100
- stringio
101
- time
102
- uri
103
97
  open4 (1.3.4)
104
98
  parallel (1.24.0)
105
99
  parser (3.3.1.0)
@@ -172,8 +166,6 @@ GEM
172
166
  terminal-table (3.0.2)
173
167
  unicode-display_width (>= 1.1.1, < 3)
174
168
  thor (1.3.1)
175
- time (0.3.0)
176
- date
177
169
  unicode-display_width (2.5.0)
178
170
  uri (0.13.0)
179
171
  yard (0.9.36)
@@ -22,5 +22,4 @@ Gem::Specification.new do |spec|
22
22
  spec.required_ruby_version = ">= 2.7"
23
23
  spec.add_runtime_dependency "danger-plugin-api", "~> 1.0"
24
24
  spec.add_runtime_dependency "nokogiri", "~> 1.0"
25
- spec.add_runtime_dependency "open-uri", "~> 0.4"
26
25
  end
@@ -1,12 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "nokogiri"
4
- require "open-uri"
5
4
 
6
5
  module GemChanges
7
6
  Gem = Struct.new(:name, keyword_init: true) do
8
7
  def rubygems_uri
9
- "https://rubygems.org/gems/#{name}"
8
+ URI.parse("https://rubygems.org/gems/#{name}")
10
9
  end
11
10
 
12
11
  def changelog_uri
@@ -39,7 +38,7 @@ module GemChanges
39
38
  end
40
39
 
41
40
  def rubygems_html
42
- OpenURI.open_uri(rubygems_uri).read
41
+ Net::HTTP.get(rubygems_uri)
43
42
  end
44
43
  end
45
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemChanges
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
@@ -97,7 +97,7 @@ module Danger
97
97
  | Gem | Source | Changelog | Change |
98
98
  | --- | ------ | --------- | ------ |
99
99
  | [rubocop-factory_bot](https://rubygems.org/gems/rubocop-factory_bot) | [Source](https://github.com/rubocop/rubocop-factory_bot) | [Changelog](https://github.com/rubocop/rubocop-factory_bot/blob/master/CHANGELOG.md) | [v2.25.0 <- v2.25.1](https://github.com/rubocop/rubocop-factory_bot/compare/v2.25.0...v2.25.1) |
100
- | [rubocop-performance](https://rubygems.org/gems/rubocop-performance) | [Source](https://github.com/rubocop/rubocop-performance/) | [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md) | Added at 1.21.0 |
100
+ | [rubocop-performance](https://rubygems.org/gems/rubocop-performance) | [Source](https://github.com/rubocop/rubocop-performance) | [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md) | Added at 1.21.0 |
101
101
  | [rubocop-rake](https://rubygems.org/gems/rubocop-rake) | [Source](https://github.com/rubocop/rubocop-rake) | [Changelog](https://github.com/rubocop/rubocop-rake/blob/master/CHANGELOG.md) | [v0.6.0 -> v0.6.1](https://github.com/rubocop/rubocop-rake/compare/v0.6.0...v0.6.1) |
102
102
  | [rubocop-rspec](https://rubygems.org/gems/rubocop-rspec) | [Source](https://github.com/rubocop/rubocop-rspec) | [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) | Removed at 2.29.2 |
103
103
  MARKDOWN
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-gem_changes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John DeSilva
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.0'
41
- - !ruby/object:Gem::Dependency
42
- name: open-uri
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '0.4'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '0.4'
55
41
  description: A danger plugin for helping review gem depencency changes.
56
42
  email:
57
43
  - john@aesthetikx.info