Skip to content

Commit b1ab078

Browse files
committed
🚚 It's moving day! Gem.coop
Signed-off-by: Peter H. Boling <peter.boling@gmail.com>
1 parent b47dd03 commit b1ab078

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
source 'https://rubygems.org'
3+
source 'https://gem.coop/'
44

55
# Specify your gem's dependencies in cyclonedx-ruby.gemspec
66
gemspec

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PATH
1010
rest-client (~> 2.0)
1111

1212
GEM
13-
remote: https://rubygems.org/
13+
remote: https://gem.coop/
1414
specs:
1515
activesupport (7.2.3)
1616
base64

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CycloneDX Ruby Gem
22

3-
[![Gem Version](https://img.shields.io/gem/v/cyclonedx-ruby?logo=rubygems&logoColor=white)](https://rubygems.org/gems/cyclonedx-ruby)
3+
[![Gem Version](https://img.shields.io/gem/v/cyclonedx-ruby?logo=rubygems&logoColor=white)](https://bestgems.org/gems/cyclonedx-ruby)
44
[![CT status](https://img.shields.io/github/actions/workflow/status/CycloneDX/cyclonedx-ruby-gem/ruby.yml?branch=master&logo=GitHub&logoColor=white)](https://github.com/CycloneDX/cyclonedx-ruby-gem/actions/workflows/ruby.yml?query=branch%3Amaster)
55
[![License](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)][License]
66
[![Website](https://img.shields.io/badge/https://-cyclonedx.org-blue.svg)](https://cyclonedx.org/)

features/fixtures/simple/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
source 'https://rubygems.org'
3+
source 'https://gem.coop/'
44

55
gem 'activesupport', '7.0.4.3'
66
gem 'concurrent-ruby', '1.2.2'

features/fixtures/simple/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GEM
2-
remote: https://rubygems.org/
2+
remote: https://gem.coop/
33
specs:
44
activesupport (7.0.4.3)
55
concurrent-ruby (~> 1.0, >= 1.0.2)

lib/cyclonedx/bom_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def validate_bom_content(content, format, spec_version)
226226
end
227227

228228
def get_gem(name, version, logger)
229-
url = "https://rubygems.org/api/v1/versions/#{name}.json"
229+
url = "https://gem.coop/api/v1/versions/#{name}.json"
230230
begin
231231
RestClient.proxy = ENV.fetch('http_proxy', nil)
232232
response = RestClient::Request.execute(method: :get, url: url, read_timeout: 2, open_timeout: 2)

0 commit comments

Comments
 (0)