Skip to content

Commit

Permalink
Remove redundant encoding comments
Browse files Browse the repository at this point in the history
In Ruby 2.0 utf-8 became the default so there's no reason to set it anymore.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Jul 10, 2020
1 parent c2153f1 commit 85ed3f6
Show file tree
Hide file tree
Showing 127 changed files with 0 additions and 133 deletions.
1 change: 0 additions & 1 deletion Guardfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
ignore %r{^\.gem/}

def rubocop_opts
Expand Down
2 changes: 0 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

require "bundler/gem_tasks"

require "rake/testtask"
Expand Down
2 changes: 0 additions & 2 deletions bin/kitchen
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
# -*- encoding: utf-8 -*-

# Trap interrupts to quit cleanly. See
# https://twitter.com/mitchellh/status/283014103189053442
Signal.trap("INT") { exit 1 }
Expand Down
2 changes: 0 additions & 2 deletions features/step_definitions/gem_steps.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

require "tmpdir"
require "pathname"

Expand Down
2 changes: 0 additions & 2 deletions features/step_definitions/git_steps.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

Given(/I have a git repository/) do
create_directory(".git")
end
2 changes: 0 additions & 2 deletions features/step_definitions/output_steps.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

Then(%r{^the stdout should match /([^/]*)/$}) do |expected|
expect(last_command_started).to have_output_on_stdout(Regexp.new(expected))
end
2 changes: 0 additions & 2 deletions features/support/env.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

# Set up the environment for testing
require "aruba/cucumber"
require "aruba/in_process"
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/base64_stream.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/cli.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/collection.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/color.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/action.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/console.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/diagnose.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/doctor.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/exec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: SAWANOBORI Yukihiko (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/list.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/login.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/package.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/sink.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/command/test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/config.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/configurable.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/data_munger.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/diagnostic.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/driver.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/driver/base.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/driver/dummy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/driver/exec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/driver/proxy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Seth Chisamore <[email protected]>
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/driver/ssh_base.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/errors.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/generator/init.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/instance.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/lazy_hash.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/lifecycle_hooks.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Noah Kantrowitz <[email protected]>
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/loader/yaml.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/logger.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/logging.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/login_command.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/metadata_chopper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/platform.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/plugin.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/base.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/chef/berkshelf.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/chef/common_sandbox.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/chef/policyfile.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/chef_apply.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: SAWANOBORI Yukihiko <[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/chef_base.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/chef_solo.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/chef_zero.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/dummy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/provisioner/shell.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Chris Lundquist (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/rake_tasks.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/shell_out.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/ssh.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/state_file.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/suite.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/thor_tasks.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/transport.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Salim Afiune (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/transport/base.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Salim Afiune (<[email protected]>)
# Author:: Fletcher Nichol (<[email protected]>)
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/transport/dummy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Salim Afiune (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/transport/exec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/transport/ssh.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/transport/winrm.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Salim Afiune (<[email protected]>)
# Author:: Matt Wrock (<[email protected]>)
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/util.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/verifier.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/verifier/base.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/verifier/busser.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/verifier/dummy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/verifier/shell.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: SAWANOBORI Yukihiko (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/kitchen/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion lib/vendor/hash_recursive_merge.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# = Hash Recursive Merge
#
Expand Down
1 change: 0 additions & 1 deletion spec/kitchen/base64_stream_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<[email protected]>)
#
Expand Down
1 change: 0 additions & 1 deletion spec/kitchen/cli_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
#
# Author:: Tyler Ball (<[email protected]>)
#
Expand Down
Loading

0 comments on commit 85ed3f6

Please sign in to comment.