diff --git a/Gemfile b/Gemfile index 136e757..93840b8 100755 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ group :development do gem "coveralls", "~> 0.7" gem "fakefs", "~> 0.6" gem "fakeredis", "~> 0.5" - gem "google-style", "~> 0.2" + gem "google-style", "~> 0.3" gem "logging", "~> 2.0" gem "rack-test", "~> 0.6" gem "rake", "~> 10.0" diff --git a/lib/googleauth/user_refresh.rb b/lib/googleauth/user_refresh.rb index 0fb9abc..f3c4fda 100644 --- a/lib/googleauth/user_refresh.rb +++ b/lib/googleauth/user_refresh.rb @@ -79,7 +79,7 @@ module Google # JSON key. def self.read_json_key json_key_io json_key = MultiJson.load json_key_io.read - wanted = %w[client_id client_secret refresh_token] + wanted = ["client_id", "client_secret", "refresh_token"] wanted.each do |key| raise "the json is missing the #{key} field" unless json_key.key? key end