We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42a412 commit 71e26bdCopy full SHA for 71e26bd
.ruby-version
@@ -1 +1 @@
1
-2.1.5
+2.3.3
Gemfile
@@ -2,7 +2,3 @@ source 'https://rubygems.org'
2
3
gem 'rake'
4
gem 'test-unit'
5
-
6
-group :test do
7
- gem 'unindent'
8
-end
test/test-pre-receive.rb
@@ -2,7 +2,6 @@
require "open3"
require "tmpdir"
require "fileutils"
-require "unindent"
class TestPreReceive < Test::Unit::TestCase
def setup
@@ -24,7 +23,7 @@ def setup
24
23
pre_receive = File.join(@bare_dir, "hooks/pre-receive")
25
pre_receive_sh = File.join(@bare_dir, "hooks/pre-receive.sh")
26
27
- File.write(pre_receive, <<-END.unindent)
+ File.write(pre_receive, <<~END)
28
#!/bin/bash
29
30
args=""
0 commit comments