Skip to content

Commit

Permalink
test(bundler): Add a test for a GitHub dependency
Browse files Browse the repository at this point in the history
See [1].

[1]: https://bundler.io/guides/git.html#custom-git-sources

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed May 15, 2024
1 parent 672b288 commit 212673c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ project:
- id: "Gem::rack:2.1.4"
- name: "test"
dependencies:
- id: "Gem::elasticsearch-rails:7.2.1"
- id: "Gem::rspec:3.7.0"
dependencies:
- id: "Gem::rspec-core:3.7.1"
Expand Down Expand Up @@ -78,6 +79,38 @@ packages:
url: "https://github.com/halostatue/diff-lcs.git"
revision: ""
path: ""
- id: "Gem::elasticsearch-rails:7.2.1"
purl: "pkg:gem/[email protected]"
authors:
- "Karel Minarik"
declared_licenses:
- "Apache 2"
declared_licenses_processed:
spdx_expression: "Apache-2.0"
mapped:
Apache 2: "Apache-2.0"
description: "Ruby on Rails integrations for Elasticsearch."
homepage_url: "https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/ruby_on_rails.html"
binary_artifact:
url: ""
hash:
value: ""
algorithm: ""
source_artifact:
url: "https://rubygems.org/gems/elasticsearch-rails-7.2.1.gem"
hash:
value: "0750dc0e956358d9a3a0912a8186c266ef19f8de0b178c61996ed1a6998156e4"
algorithm: "SHA-256"
vcs:
type: "Git"
url: "https://github.com/elastic/elasticsearch-rails.git"
revision: ""
path: ""
vcs_processed:
type: "Git"
url: "https://github.com/elastic/elasticsearch-rails.git"
revision: ""
path: ""
- id: "Gem::mini_portile2:2.4.0"
purl: "pkg:gem/[email protected]"
authors:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ gem 'rack', '~>2.1'

group :test do
gem 'rspec', :require => 'spec'
gem 'elasticsearch-rails', github: 'elastic/elasticsearch-rails', ref: 'v7.2.1'
end

0 comments on commit 212673c

Please sign in to comment.