diff options
| author | mo khan <mo.khan@gmail.com> | 2020-07-06 11:03:35 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-07-06 17:30:37 -0600 |
| commit | 7162e1ae684b44ec3fe6e56b98f9313c85ca88a6 (patch) | |
| tree | 785b0afbd0d59bc3d8e3a8b50b430bba1cd3274f /spec/fixtures/ruby | |
| parent | 6beda629bccc8617812f7b04fc6c14f69a6b508e (diff) | |
Install gems from custom source with custom CA
* Bump version and add CHANGELOG entry
* Configure Bundler logging
* Include install_path of gem
* Use gem summary and full_gem_path
* Specify a vendor path to install dependencies to prevent leakage between tests and take advantage of build job cache
Diffstat (limited to 'spec/fixtures/ruby')
| -rw-r--r-- | spec/fixtures/ruby/bundler-custom-tls/Gemfile | 3 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock | 40 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-git-source/Gemfile | 1 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-git-source/Gemfile.lock | 14 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/.ruby-version | 1 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/Gemfile | 3 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-v1.17/Gemfile | 3 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-v1.17/Gemfile.lock | 46 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-v2.1/Gemfile | 3 | ||||
| -rw-r--r-- | spec/fixtures/ruby/bundler-v2.1/Gemfile.lock | 13 |
10 files changed, 127 insertions, 0 deletions
diff --git a/spec/fixtures/ruby/bundler-custom-tls/Gemfile b/spec/fixtures/ruby/bundler-custom-tls/Gemfile new file mode 100644 index 0000000..1e46ec3 --- /dev/null +++ b/spec/fixtures/ruby/bundler-custom-tls/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.test" + +gem "spandx" diff --git a/spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock b/spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock new file mode 100644 index 0000000..0568b0f --- /dev/null +++ b/spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock @@ -0,0 +1,40 @@ +GEM + remote: https://rubygems.test/ + specs: + addressable (2.7.0) + public_suffix (>= 2.0.2, < 5.0) + mini_portile2 (2.4.0) + net-hippie (0.3.2) + nokogiri (1.10.9) + mini_portile2 (~> 2.4.0) + oj (3.10.6) + parslet (2.0.0) + public_suffix (4.0.5) + spandx (0.13.5) + addressable (~> 2.7) + bundler (>= 1.16, < 3.0.0) + net-hippie (~> 0.3) + nokogiri (~> 1.10) + oj (~> 3.10) + parslet (~> 2.0) + terminal-table (~> 1.8) + thor + tty-spinner (~> 0.9) + zeitwerk (~> 2.3) + terminal-table (1.8.0) + unicode-display_width (~> 1.1, >= 1.1.1) + thor (1.0.1) + tty-cursor (0.7.1) + tty-spinner (0.9.3) + tty-cursor (~> 0.7) + unicode-display_width (1.7.0) + zeitwerk (2.3.1) + +PLATFORMS + ruby + +DEPENDENCIES + spandx + +BUNDLED WITH + 2.1.4 diff --git a/spec/fixtures/ruby/bundler-git-source/Gemfile b/spec/fixtures/ruby/bundler-git-source/Gemfile new file mode 100644 index 0000000..d2d64ad --- /dev/null +++ b/spec/fixtures/ruby/bundler-git-source/Gemfile @@ -0,0 +1 @@ +gem 'net-hippie', git: 'https://github.com/mokhan/net-hippie.git' diff --git a/spec/fixtures/ruby/bundler-git-source/Gemfile.lock b/spec/fixtures/ruby/bundler-git-source/Gemfile.lock new file mode 100644 index 0000000..918db60 --- /dev/null +++ b/spec/fixtures/ruby/bundler-git-source/Gemfile.lock @@ -0,0 +1,14 @@ +GIT + remote: https://github.com/mokhan/net-hippie.git + revision: 6d1a48bee3dd8ec90a198b636cc9ccfd8c4e9bc5 + specs: + net-hippie (1.0.0) + +GEM + specs: + +PLATFORMS + ruby + +DEPENDENCIES + net-hippie! diff --git a/spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/.ruby-version b/spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/.ruby-version new file mode 100644 index 0000000..e4b8527 --- /dev/null +++ b/spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/.ruby-version @@ -0,0 +1 @@ +ruby-2.4.9 diff --git a/spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/Gemfile b/spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/Gemfile new file mode 100644 index 0000000..9020f0a --- /dev/null +++ b/spec/fixtures/ruby/bundler-ruby-2.4.9-no-lockfile/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'saml-kit' diff --git a/spec/fixtures/ruby/bundler-v1.17/Gemfile b/spec/fixtures/ruby/bundler-v1.17/Gemfile new file mode 100644 index 0000000..9020f0a --- /dev/null +++ b/spec/fixtures/ruby/bundler-v1.17/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'saml-kit' diff --git a/spec/fixtures/ruby/bundler-v1.17/Gemfile.lock b/spec/fixtures/ruby/bundler-v1.17/Gemfile.lock new file mode 100644 index 0000000..1dbdf7a --- /dev/null +++ b/spec/fixtures/ruby/bundler-v1.17/Gemfile.lock @@ -0,0 +1,46 @@ +GEM + remote: https://rubygems.org/ + specs: + activemodel (6.0.2.1) + activesupport (= 6.0.2.1) + activesupport (6.0.2.1) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + zeitwerk (~> 2.2) + builder (3.2.4) + concurrent-ruby (1.1.5) + i18n (1.7.1) + concurrent-ruby (~> 1.0) + mini_portile2 (2.4.0) + minitest (5.13.0) + net-hippie (0.2.7) + nokogiri (1.10.7) + mini_portile2 (~> 2.4.0) + saml-kit (1.1.0) + activemodel (>= 4.2.0) + net-hippie (~> 0.1) + xml-kit (>= 0.3.0, < 1.0.0) + thread_safe (0.3.6) + tilt (2.0.10) + tzinfo (1.2.6) + thread_safe (~> 0.1) + xml-kit (0.4.0) + activemodel (>= 4.2.0) + builder (~> 3.2) + nokogiri (~> 1.10) + tilt (>= 1.4.1) + xmldsig (~> 0.6) + xmldsig (0.6.6) + nokogiri (>= 1.6.8, < 2.0.0) + zeitwerk (2.2.2) + +PLATFORMS + ruby + +DEPENDENCIES + saml-kit + +BUNDLED WITH + 1.17.3 diff --git a/spec/fixtures/ruby/bundler-v2.1/Gemfile b/spec/fixtures/ruby/bundler-v2.1/Gemfile new file mode 100644 index 0000000..78a8bfb --- /dev/null +++ b/spec/fixtures/ruby/bundler-v2.1/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'net-hippie' diff --git a/spec/fixtures/ruby/bundler-v2.1/Gemfile.lock b/spec/fixtures/ruby/bundler-v2.1/Gemfile.lock new file mode 100644 index 0000000..76c9f5c --- /dev/null +++ b/spec/fixtures/ruby/bundler-v2.1/Gemfile.lock @@ -0,0 +1,13 @@ +GEM + remote: https://rubygems.org/ + specs: + net-hippie (0.3.2) + +PLATFORMS + ruby + +DEPENDENCIES + net-hippie + +BUNDLED WITH + 2.1.4 |
