Permalink
Browse files

bump rspec version

  • Loading branch information...
1 parent 1b4a95d commit 4e2c77a0fcc118717aa44d3b62216db7d5300c97 @nerdrew nerdrew committed Feb 8, 2017
View
@@ -1,15 +1,20 @@
GEM
remote: http://rubygems.org/
specs:
- diff-lcs (1.1.3)
- rspec (2.11.0)
- rspec-core (~> 2.11.0)
- rspec-expectations (~> 2.11.0)
- rspec-mocks (~> 2.11.0)
- rspec-core (2.11.1)
- rspec-expectations (2.11.2)
- diff-lcs (~> 1.1.3)
- rspec-mocks (2.11.2)
+ diff-lcs (1.3)
+ rspec (3.5.0)
+ rspec-core (~> 3.5.0)
+ rspec-expectations (~> 3.5.0)
+ rspec-mocks (~> 3.5.0)
+ rspec-core (3.5.4)
+ rspec-support (~> 3.5.0)
+ rspec-expectations (3.5.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.5.0)
+ rspec-mocks (3.5.0)
+ diff-lcs (>= 1.2.0, < 2.0)
+ rspec-support (~> 3.5.0)
+ rspec-support (3.5.0)
vimrunner (0.3.0)
PLATFORMS
@@ -18,3 +23,6 @@ PLATFORMS
DEPENDENCIES
rspec
vimrunner
+
+BUNDLED WITH
+ 1.13.7
@@ -2,19 +2,19 @@
describe "Indenting" do
specify "multi-line arguments" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
User.new(
:first_name => 'Some',
:second_name => 'Guy'
)
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
User.new(:first_name => 'Some',
:second_name => 'Guy')
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
User.new(
:first_name => 'Some',
:second_name => 'Guy'
@@ -2,44 +2,44 @@
describe "Indenting" do
specify "if-clauses" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
if foo
bar
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
if foo
bar
else
baz
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
bar if foo
something_else
EOF
end
specify "heredocs" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def one
two = <<-THREE
four
THREE
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def one
two = <<THREE
four
THREE
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def one
two = <<~THREE
four
@@ -48,7 +48,7 @@ def one
EOF
# See https://github.com/vim-ruby/vim-ruby/issues/318 for details
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def foo
<<-EOS
one
@@ -60,7 +60,7 @@ def foo
end
specify "comments" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def one
example do |something|
=begin
@@ -8,7 +8,7 @@
specify "indented blocks with expression style" do
vim.command 'let g:ruby_indent_block_style = "expression"'
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
a.
b.
c do |x|
@@ -18,7 +18,7 @@
next_line
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
a.
b.
c { |x|
@@ -32,7 +32,7 @@
specify "indented blocks with do style" do
vim.command 'let g:ruby_indent_block_style = "do"'
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
a.
b.
c do |x|
@@ -44,7 +44,7 @@
# Check that "do" style indentation does not mess up indentation
# following the bock.
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
a.
b.
c do |x|
@@ -55,7 +55,7 @@
EOF
# Check that "do" style indenting works properly for brace blocks.
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
a.
b.
c { |x|
@@ -67,34 +67,34 @@
end
specify "'do' indenting" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
do
something
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def foo
a_hash = {:do => 'bar'}
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def foo(job)
job.do!
end
EOF
end
specify "blocks with assignment on the previous line" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
foo =
something do
"other"
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
@foo ||=
something do
"other"
@@ -103,7 +103,7 @@ def foo(job)
end
specify "blocks with multiline parameters" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
def foo
opts.on('--coordinator host=HOST[,port=PORT]',
'Specify the HOST and the PORT of the coordinator') do |str|
@@ -116,7 +116,7 @@ def foo
specify "case-insensitive matching" do
vim.set 'ignorecase'
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
module X
Class.new do
end
@@ -126,21 +126,21 @@ module X
end
specify "blocks with tuple arguments" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
proc do |(a, b)|
puts a
puts b
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
proc do |foo, (a, b), bar|
puts a
puts b
end
EOF
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
proc do |(a, (b, c)), d|
puts a, b
puts c, d
@@ -149,14 +149,14 @@ module X
end
specify "blocks with default arguments" do
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
proc do |a = 1|
puts a
end
EOF
# See https://github.com/vim-ruby/vim-ruby/issues/304
- assert_correct_indenting <<-EOF
+ assert_correct_indenting <<~EOF
proc do |a: "asdf", b:|
proc do
puts a, b
Oops, something went wrong.

0 comments on commit 4e2c77a

Please sign in to comment.