ruby-changes:61222
From: Hiroshi <ko1@a...>
Date: Wed, 13 May 2020 07:55:09 +0900 (JST)
Subject: [ruby-changes:61222] 5b634afe4c (master): Added test_gems.rb for setup dependencies
https://git.ruby-lang.org/ruby.git/commit/?id=5b634afe4c From 5b634afe4cacbad1f04ef84e9929626820350912 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Thu, 7 May 2020 17:07:45 +0900 Subject: Added test_gems.rb for setup dependencies diff --git a/spec/bundler/support/rubygems_ext.rb b/spec/bundler/support/rubygems_ext.rb index 03c47ce..2aaf072 100644 --- a/spec/bundler/support/rubygems_ext.rb +++ b/spec/bundler/support/rubygems_ext.rb @@ -109,7 +109,10 @@ module Spec https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/rubygems_ext.rb#L109 end def test_gemfile - Path.root.join("test_gems.rb") + gemfile = Path.root.join("test_gems.rb") + # for Ruby core repository + gemfile = Path.root.join("tool/bundler/test_gems.rb") unless File.exist?(gemfile) + gemfile end def test_lockfile diff --git a/tool/bundler/test_gems.rb b/tool/bundler/test_gems.rb new file mode 100644 index 0000000..9126740 --- /dev/null +++ b/tool/bundler/test_gems.rb @@ -0,0 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/tool/bundler/test_gems.rb#L1 +# frozen_string_literal: true + +source "https://rubygems.org" + +gem "rack", "2.0.8" +gem "rack-test", "~> 1.1" +gem "artifice", "~> 0.6.0" +gem "compact_index", "~> 0.11.0" +gem "sinatra", "~> 2.0" +gem "rake", "13.0.1" +gem "builder", "~> 3.2" +# ruby-graphviz is used by the viz tests +gem "ruby-graphviz", "1.2.4" # for >= Ruby 2.3 diff --git a/tool/bundler/test_gems.rb.lock b/tool/bundler/test_gems.rb.lock new file mode 100644 index 0000000..67dfac3 --- /dev/null +++ b/tool/bundler/test_gems.rb.lock @@ -0,0 +1,40 @@ https://github.com/ruby/ruby/blob/trunk/tool/bundler/test_gems.rb.lock#L1 +GEM + remote: https://rubygems.org/ + specs: + artifice (0.6) + rack-test + builder (3.2.4) + compact_index (0.11.0) + mustermann (1.1.1) + ruby2_keywords (~> 0.0.1) + rack (2.0.8) + rack-protection (2.0.8.1) + rack + rack-test (1.1.0) + rack (>= 1.0, < 3) + rake (13.0.1) + ruby-graphviz (1.2.4) + ruby2_keywords (0.0.2) + sinatra (2.0.8.1) + mustermann (~> 1.0) + rack (~> 2.0) + rack-protection (= 2.0.8.1) + tilt (~> 2.0) + tilt (2.0.10) + +PLATFORMS + java + ruby + +DEPENDENCIES + artifice (~> 0.6.0) + builder (~> 3.2) + compact_index (~> 0.11.0) + rack (= 2.0.8) + rack-test (~> 1.1) + rake (= 13.0.1) + ruby-graphviz (= 1.2.4) + sinatra (~> 2.0) + +BUNDLED WITH + 2.2.0.dev -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/