Skip to content

Commit be1695a

Browse files
committed
rb: add utf-8 encoding to all .rb files
1 parent ae3290c commit be1695a

File tree

194 files changed

+388
-1
lines changed

Some content is hidden

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

194 files changed

+388
-1
lines changed

Diff for: Rakefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,8 @@ namespace :copyright do
709709
:prefix => "#!/usr/bin/python\n#\n")
710710
Copyright.Update(
711711
FileList["rb/**/*.rb"],
712-
:style => "#")
712+
:style => "#",
713+
:prefix => "# encoding: utf-8\n\n")
713714
Copyright.Update(
714715
FileList["java/**/*.java"].exclude(
715716
"java/client/src/org/openqa/selenium/internal/Base64Encoder.java",

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: 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

Diff for: rb/lib/selenium/webdriver/common/timeouts.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)