Skip to content

Commit bc1fa54

Browse files
committed
rubocop -a
1 parent 4e65a8f commit bc1fa54

File tree

10 files changed

+4
-18
lines changed

10 files changed

+4
-18
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
source 'https://rubygems.org'
32

43
gem 'octokit'

Rakefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
task :build do
32
system('docker build -t jtarchie/pr .')
43
end

assets/lib/check.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env ruby
2-
# encoding: utf-8
3-
42
require 'rubygems'
53
require 'json'
64
require_relative 'common'

assets/lib/common.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# encoding: utf-8
2-
31
require 'faraday'
42
# httpclient and excon are the only Faraday adpater which support
53
# the no_proxy environment variable atm

assets/lib/in.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env ruby
2-
# encoding: utf-8
3-
42
destination = ARGV.shift
53

64
require 'rubygems'

assets/lib/out.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/usr/bin/env ruby
2-
# encoding: utf-8
3-
42
destination = ARGV.shift
53

64
require 'rubygems'

spec/integration/check_spec.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
require 'spec_helper'
32
require 'json'
43

@@ -11,12 +10,12 @@
1110
context 'when working with an external API' do
1211
it 'makes requests with respect to that endpoint' do
1312
proxy.stub('https://test.example.com:443/repos/jtarchie/test/pulls')
14-
.and_return(json: [])
13+
.and_return(json: [])
1514

1615
expect(check(source: {
17-
repo: 'jtarchie/test',
18-
api_endpoint: 'https://test.example.com'
19-
})).to eq []
16+
repo: 'jtarchie/test',
17+
api_endpoint: 'https://test.example.com'
18+
})).to eq []
2019
end
2120
end
2221

spec/integration/in_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
require 'spec_helper'
32
require 'json'
43
require 'tmpdir'

spec/integration/out_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
require 'spec_helper'
32
require 'fileutils'
43

spec/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# encoding: utf-8
21
require 'billy'
32
require 'open3'
43

0 commit comments

Comments
 (0)