summaryrefslogtreecommitdiff
path: root/spec/support/indexes.rb
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-09 12:50:44 +0900
committerKoichi ITO <lol@wut.com>2017-05-28 17:25:00 +0900
commitc86d5494da463b01f4953947933022cde15c02cf (patch)
tree3931a29b0e936ec859c697ff068c2297bc82351e /spec/support/indexes.rb
parent6bfb49ef40cea035407ed01371a960c46c0ad09a (diff)
downloadbundler-c86d5494da463b01f4953947933022cde15c02cf.tar.gz
[RuboCop] Enable Style/PercentLiteralDelimiters
Run `rubocop -a --only Style/PercentLiteralDelimiters` and `rubocop --auto-gen-config`.
Diffstat (limited to 'spec/support/indexes.rb')
-rw-r--r--spec/support/indexes.rb26
1 files changed, 13 insertions, 13 deletions
diff --git a/spec/support/indexes.rb b/spec/support/indexes.rb
index 29780014fc..bb941e66ab 100644
--- a/spec/support/indexes.rb
+++ b/spec/support/indexes.rb
@@ -67,8 +67,8 @@ module Spec
def an_awesome_index
build_index do
- gem "rack", %w(0.8 0.9 0.9.1 0.9.2 1.0 1.1)
- gem "rack-mount", %w(0.4 0.5 0.5.1 0.5.2 0.6)
+ gem "rack", %w[0.8 0.9 0.9.1 0.9.2 1.0 1.1]
+ gem "rack-mount", %w[0.4 0.5 0.5.1 0.5.2 0.6]
# --- Rails
versions "1.2.3 2.2.3 2.3.5 3.0.0.beta 3.0.0.beta1" do |version|
@@ -136,7 +136,7 @@ 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)
+ gem "builder", %w[3.0.4 3.1.4]
gem("grape", "0.2.6") do
dep "builder", ">= 0"
end
@@ -156,11 +156,11 @@ module Spec
def a_complex_conflict_index
build_index do
- gem("a", %w(1.0.2 1.1.4 1.2.0 1.4.0)) do
+ gem("a", %w[1.0.2 1.1.4 1.2.0 1.4.0]) do
dep "d", ">= 0"
end
- gem("d", %w(1.3.0 1.4.1)) do
+ gem("d", %w[1.3.0 1.4.1]) do
dep "x", ">= 0"
end
@@ -203,7 +203,7 @@ module Spec
def index_with_conflict_on_child
build_index do
- gem "json", %w(1.6.5 1.7.7 1.8.0)
+ gem "json", %w[1.6.5 1.7.7 1.8.0]
gem("chef", "10.26") do
dep "json", [">= 1.4.4", "<= 1.7.7"]
@@ -223,7 +223,7 @@ module Spec
# Issue #3459
def a_complicated_index
build_index do
- gem "foo", %w(3.0.0 3.0.5) do
+ gem "foo", %w[3.0.0 3.0.5] do
dep "qux", ["~> 3.1"]
dep "baz", ["< 9.0", ">= 5.0"]
dep "bar", ["~> 1.0"]
@@ -262,7 +262,7 @@ module Spec
dep "garply", [">= 0.3.1"]
end
- gem "grault", %w(2.6.3 3.1.1)
+ gem "grault", %w[2.6.3 3.1.1]
gem "garply", "0.5.1" do
dep "waldo", ["~> 0.1.3"]
@@ -272,7 +272,7 @@ module Spec
dep "plugh", ["~> 0.6.0"]
end
- gem "plugh", %w(0.6.3 0.6.11 0.7.0)
+ gem "plugh", %w[0.6.3 0.6.11 0.7.0]
gem "qux", "3.2.21" do
dep "plugh", [">= 0.6.4", "~> 0.6"]
@@ -285,7 +285,7 @@ module Spec
def a_unresovable_child_index
build_index do
- gem "json", %w(1.8.0)
+ gem "json", %w[1.8.0]
gem("chef", "10.26") do
dep "json", [">= 1.4.4", "<= 1.7.7"]
@@ -304,10 +304,10 @@ module Spec
def a_index_with_root_conflict_on_child
build_index do
- gem "builder", %w(2.1.2 3.0.1 3.1.3)
- gem "i18n", %w(0.4.1 0.4.2)
+ gem "builder", %w[2.1.2 3.0.1 3.1.3]
+ gem "i18n", %w[0.4.1 0.4.2]
- gem "activesupport", %w(3.0.0 3.0.1 3.0.5 3.1.7)
+ gem "activesupport", %w[3.0.0 3.0.1 3.0.5 3.1.7]
gem("activemodel", "3.0.5") do
dep "activesupport", "= 3.0.5"