Skip to content

Commit cdfd19c

Browse files
committed
rb: add utf-8 encoding to all .rb files
1 parent 48525e2 commit cdfd19c

File tree

193 files changed

+388
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+388
-2
lines changed

Rakefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,10 @@ namespace :copyright do
708708
:style => "#",
709709
:prefix => "#!/usr/bin/python\n#\n")
710710
Copyright.Update(
711-
FileList["rb/**/*.rb"],
712-
:style => "#")
711+
FileList["rb/**/*.rb"].exclude(
712+
"rb/spec/integration/selenium/client/api/screenshot_spec.rb"),
713+
:style => "#",
714+
:prefix => "# encoding: utf-8\n#\n")
713715
Copyright.Update(
714716
FileList["java/**/*.java"].exclude(
715717
"java/client/src/org/openqa/selenium/internal/Base64Encoder.java",

rb/lib/selenium-client.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium-webdriver.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/base.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/driver.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/errors.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/extensions.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/idiomatic.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/javascript_expression_builder.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/javascript_frameworks/jquery.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/javascript_frameworks/prototype.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/legacy_driver.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/protocol.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/client/selenium_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/rake/server_task.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/server.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/android.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/android/bridge.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/chrome.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/chrome/bridge.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/chrome/profile.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/chrome/service.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/action_builder.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/alert.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/bridge_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/core_ext/base64.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/core_ext/dir.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/core_ext/string.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/has_location.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/has_network_connection.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/has_remote_status.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/has_session_id.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/rotatable.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/driver_extensions/uploads_files.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/element.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/error.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/file_reaper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/html5/local_storage.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/html5/location.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/html5/session_storage.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/html5/shared_web_storage.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/json_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/keyboard.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/keys.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/log_entry.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/logs.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/mouse.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/navigation.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/options.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/platform.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/port_prober.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/profile_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/proxy.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/search_context.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/socket_lock.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/socket_poller.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

rb/lib/selenium/webdriver/common/target_locator.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# encoding: utf-8
2+
#
13
# Licensed to the Software Freedom Conservancy (SFC) under one
24
# or more contributor license agreements. See the NOTICE file
35
# distributed with this work for additional information

0 commit comments

Comments
 (0)