Skip to content

Commit

Permalink
[RuboCop] Run on scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Apr 1, 2016
1 parent f2f8558 commit 5f6a8ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions script/import_spec_repo
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module Pod
:reference => LOG_MESSAGE_REFERENCE,
:level => :warning,
:message => "Fixing the version of the spec in file `#{file}` " \
"@ `#{commit_sha}`."
"@ `#{commit_sha}`.",
)
end
puts "[!] Unparsable spec: #{name} <#{version}>"
Expand All @@ -76,7 +76,7 @@ module Pod
:reference => LOG_MESSAGE_REFERENCE,
:level => :warning,
:message => "Fixing the name of the spec in file `#{file}` " \
"@ `#{commit_sha}`."
"@ `#{commit_sha}`.",
)
end
if spec.attributes_hash['version'].nil?
Expand All @@ -86,7 +86,7 @@ module Pod
:reference => LOG_MESSAGE_REFERENCE,
:level => :warning,
:message => "Fixing the version of the spec in file `#{file}` " \
"@ `#{commit_sha}`."
"@ `#{commit_sha}`.",
)
end
spec
Expand All @@ -97,7 +97,7 @@ module Pod
LogMessage.create(
:reference => LOG_MESSAGE_REFERENCE,
:level => :warning,
:message => "The file `#{file}` @ `#{commit_sha}` was unparsable."
:message => "The file `#{file}` @ `#{commit_sha}` was unparsable.",
)
mock_spec(commit_sha, file)
end
Expand All @@ -117,7 +117,7 @@ module Pod
commit = handle_modified(spec, pod, committer, commit_sha)
commit.update(
:deleted_file_during_import => true,
:specification_data => '{}'
:specification_data => '{}',
)
end
end
Expand Down Expand Up @@ -190,7 +190,7 @@ Dir.chdir(REPO.workdir) do
:level => :warning,
:message => "The committer email `#{original_committer_email}` @ " \
" `#{sha}` was unusable and set to that of the " \
'`unclaimed` owner.'
'`unclaimed` owner.',
)
end

Expand Down
4 changes: 2 additions & 2 deletions webhook_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
'NSAttributedString+CCLFormat',
'1.0.1',
'9745cbb65ebb35c4507aec902c93c9174953369f',
'https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/NSAttributedString+CCLFormat/1.0.1/NSAttributedString+CCLFormat.podspec.json'
'https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/NSAttributedString+CCLFormat/1.0.1/NSAttributedString+CCLFormat.podspec.json',
)
end
end

0 comments on commit 5f6a8ed

Please sign in to comment.