jenkins-bot has submitted this change and it was merged. Change subject: Corrected Style/BlockComments RuboCop offenses ......................................................................
Corrected Style/BlockComments RuboCop offenses Change-Id: I5119a0f92d4fb6d56f9ec7da58cf437fb84b762f --- M .rubocop_todo.yml M lib/mediawiki_selenium.rb M lib/mediawiki_selenium/step_definitions/login_steps.rb M lib/mediawiki_selenium/step_definitions/navigation_steps.rb M lib/mediawiki_selenium/step_definitions/preferences_steps.rb M lib/mediawiki_selenium/step_definitions/resource_loader_steps.rb M lib/mediawiki_selenium/support/env.rb M lib/mediawiki_selenium/support/hooks.rb M lib/mediawiki_selenium/support/sauce.rb M lib/mediawiki_selenium/version.rb 10 files changed, 0 insertions(+), 104 deletions(-) Approvals: Zfilipin: Looks good to me, approved jenkins-bot: Verified diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b75ad2a..6929611 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -5,11 +5,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 9 -# Cop supports --auto-correct. -Style/BlockComments: - Enabled: false - # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. diff --git a/lib/mediawiki_selenium.rb b/lib/mediawiki_selenium.rb index b3ad51c..7f1185b 100644 --- a/lib/mediawiki_selenium.rb +++ b/lib/mediawiki_selenium.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - module MediawikiSelenium autoload :VERSION, "mediawiki_selenium/version" autoload :ApiHelper, "mediawiki_selenium/support/modules/api_helper" diff --git a/lib/mediawiki_selenium/step_definitions/login_steps.rb b/lib/mediawiki_selenium/step_definitions/login_steps.rb index 9a0d7e5..fb55c91 100644 --- a/lib/mediawiki_selenium/step_definitions/login_steps.rb +++ b/lib/mediawiki_selenium/step_definitions/login_steps.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - Given(/^I am logged in(?: as (\w+))$/) do |user| as_user(user) do |user, password| visit(LoginPage).login_with(user, password) diff --git a/lib/mediawiki_selenium/step_definitions/navigation_steps.rb b/lib/mediawiki_selenium/step_definitions/navigation_steps.rb index 1b66f24..d9edf3e 100644 --- a/lib/mediawiki_selenium/step_definitions/navigation_steps.rb +++ b/lib/mediawiki_selenium/step_definitions/navigation_steps.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - Given(/^I am at a random page.*$/) do visit RandomPage end diff --git a/lib/mediawiki_selenium/step_definitions/preferences_steps.rb b/lib/mediawiki_selenium/step_definitions/preferences_steps.rb index 0bbd6c7..45bc94f 100644 --- a/lib/mediawiki_selenium/step_definitions/preferences_steps.rb +++ b/lib/mediawiki_selenium/step_definitions/preferences_steps.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - Given(/^I have reset my preferences$/) do visit(ResetPreferencesPage).submit_element.click end diff --git a/lib/mediawiki_selenium/step_definitions/resource_loader_steps.rb b/lib/mediawiki_selenium/step_definitions/resource_loader_steps.rb index ab8e816..6432b40 100644 --- a/lib/mediawiki_selenium/step_definitions/resource_loader_steps.rb +++ b/lib/mediawiki_selenium/step_definitions/resource_loader_steps.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - Then(/^page has no ResourceLoader errors$/) do result = browser.execute_script(<<-end) return (function() { diff --git a/lib/mediawiki_selenium/support/env.rb b/lib/mediawiki_selenium/support/env.rb index 7c4f123..36016cd 100644 --- a/lib/mediawiki_selenium/support/env.rb +++ b/lib/mediawiki_selenium/support/env.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - # before all require "bundler/setup" require "page-object/page_factory" diff --git a/lib/mediawiki_selenium/support/hooks.rb b/lib/mediawiki_selenium/support/hooks.rb index 0533555..c6416cc 100644 --- a/lib/mediawiki_selenium/support/hooks.rb +++ b/lib/mediawiki_selenium/support/hooks.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - Before("@custom-browser") do |scenario| @scenario = scenario end diff --git a/lib/mediawiki_selenium/support/sauce.rb b/lib/mediawiki_selenium/support/sauce.rb index 7dfe989..bf99f91 100644 --- a/lib/mediawiki_selenium/support/sauce.rb +++ b/lib/mediawiki_selenium/support/sauce.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - require "cucumber/formatter/junit" module Cucumber::Formatter diff --git a/lib/mediawiki_selenium/version.rb b/lib/mediawiki_selenium/version.rb index 9209435..d487384 100644 --- a/lib/mediawiki_selenium/version.rb +++ b/lib/mediawiki_selenium/version.rb @@ -1,14 +1,3 @@ -=begin -This file is subject to the license terms in the LICENSE file found in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/LICENSE. No part of -mediawiki_selenium, including this file, may be copied, modified, propagated, or -distributed except according to the terms contained in the LICENSE file. -Copyright 2013 by the Mediawiki developers. See the CREDITS file in the -mediawiki_selenium top-level directory and at -https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS. -=end - module MediawikiSelenium VERSION = "1.0.0.pre.2" end -- To view, visit https://gerrit.wikimedia.org/r/192035 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5119a0f92d4fb6d56f9ec7da58cf437fb84b762f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/selenium Gerrit-Branch: master Gerrit-Owner: Dduvall <dduv...@wikimedia.org> Gerrit-Reviewer: Cmcmahon <cmcma...@wikimedia.org> Gerrit-Reviewer: Hashar <has...@free.fr> Gerrit-Reviewer: Zfilipin <zfili...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits