diff options
author | Smit Shah <who828@gmail.com> | 2013-11-21 10:54:53 +0530 |
---|---|---|
committer | Smit Shah <who828@gmail.com> | 2013-11-21 10:54:53 +0530 |
commit | b58c92a97ad7d61f77a322807ce6f704b2c325a7 (patch) | |
tree | a7998cebda60d0c88f2ac3eb0abbd4a48e9960b4 /spec/support/indexes.rb | |
parent | a32ec269912fc7424d30268938f53e00a051e814 (diff) | |
download | bundler-b58c92a97ad7d61f77a322807ce6f704b2c325a7.tar.gz |
[WIP] Iterative algorithm for bundler resolve
Diffstat (limited to 'spec/support/indexes.rb')
-rw-r--r-- | spec/support/indexes.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/spec/support/indexes.rb b/spec/support/indexes.rb index 476e393ad8..2f0820a1dc 100644 --- a/spec/support/indexes.rb +++ b/spec/support/indexes.rb @@ -113,8 +113,19 @@ module Spec # goes well, it should resolve to 3.0.4 def a_conflict_index build_index do - gem "builder", %w(3.0.4 3.1.4) + versions "3.0.4 3.1.4" do |version| + gem("builder", version) do + dep "activesupport", "3.2.9" + end + end + + gem("activesupport", %w(3.2.0 3.2.9 3.3.0)) + gem("grape", '0.2.6') do + dep "builder", ">= 4" + end + + gem("grape", '0.2.2') do dep "builder", ">= 0" end |