Skip to content

Commit b6b9a15

Browse files
committed
rubocop -a
1 parent 5035bd6 commit b6b9a15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ task test: :build do
88
end
99

1010
task :deploy do
11-
current_tag = `git tag -l`.split(/\n/).map{|v|v=~/v(\d+)/;$1.to_i}.sort.last
11+
current_tag = `git tag -l`.split(/\n/).map { |v| v =~ /v(\d+)/; Regexp.last_match(1).to_i }.sort.last
1212
next_tag = current_tag + 1
1313
puts "Deploying tag #{next_tag}"
1414
system("git tag v#{next_tag}")

assets/lib/common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'faraday'
44
# httpclient and excon are the only Faraday adpater which support
55
# the no_proxy environment variable atm
6-
::Faraday.default_adapter= :httpclient
6+
::Faraday.default_adapter = :httpclient
77

88
require 'octokit'
99
require 'fileutils'

0 commit comments

Comments
 (0)