From 6c325a9c501af441659e3be635879b443054f3b2 Mon Sep 17 00:00:00 2001 From: Tee Parham Date: Sun, 17 Apr 2016 12:44:21 -0600 Subject: [PATCH] Remove comments specifying encoding In ruby 2.0, the default encoding is UTF-8, so these magic comment directives can be safely removed. https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/ --- google-api-client.gemspec | 1 - spec/google/api_client/client_secrets_spec.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/google-api-client.gemspec b/google-api-client.gemspec index 4b2ee2e7e..77e027082 100644 --- a/google-api-client.gemspec +++ b/google-api-client.gemspec @@ -1,4 +1,3 @@ -# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'google/apis/version' diff --git a/spec/google/api_client/client_secrets_spec.rb b/spec/google/api_client/client_secrets_spec.rb index 8964c7d94..30c64c4cc 100644 --- a/spec/google/api_client/client_secrets_spec.rb +++ b/spec/google/api_client/client_secrets_spec.rb @@ -1,5 +1,3 @@ -# encoding:utf-8 - # Copyright 2013 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License");