Make the old google-api-client 0.8 release compatible with ruby 2.3.7,
authorWard Vandewege <ward@jhvc.com>
Mon, 3 Sep 2018 19:14:37 +0000 (15:14 -0400)
committerWard Vandewege <ward@jhvc.com>
Mon, 3 Sep 2018 19:48:05 +0000 (15:48 -0400)
by stripping an invalid CR from a http header.

No issue #

CHANGELOG.md
google-api-client.gemspec
lib/google/api_client.rb
lib/google/api_client/version.rb

index 9d11caf68bc669407167e61b6d2d83be9861b042..34e7dfaa2ac3a546c57010e7df4fa634a045d2b3 100644 (file)
@@ -1,3 +1,6 @@
+# 0.8.8
+* Do not put CR/LF in http headers
+
 # 0.8.7
 * Lock activesupport version to < 5.0
 
index e5e3498058881ee7d7833a63fc5500a1a0a04159..da7afe9327945378f98d5de0d2a1a41645c71a37 100644 (file)
@@ -2,7 +2,7 @@
 require File.join(File.dirname(__FILE__), 'lib/google/api_client', 'version')
 
 Gem::Specification.new do |s|
-  s.name = "google-api-client"
+  s.name = "cure-google-api-client"
   s.version = Google::APIClient::VERSION::STRING
 
   s.required_rubygems_version = ">= 1.3.5"
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
   s.files += Dir.glob("vendor/**/*.rb")
   s.files += Dir.glob("tasks/**/*")
   s.files += Dir.glob("website/**/*")
-  s.homepage = "https://github.com/google/google-api-ruby-client/"
+  s.homepage = "https://github.com/cure/google-api-ruby-client/"
   s.rdoc_options = ["--main", "README.md"]
   s.summary = "The Google API Ruby Client makes it trivial to discover and access Google's REST APIs."
 
index ef3c2b1d34c1e34a622e1ff687b349f6ce681cfc..240b1037fbf669db420b71fd63633dd15a25b855 100644 (file)
@@ -111,7 +111,7 @@ module Google
 
       self.user_agent = options[:user_agent] || (
         "#{application_string} " +
-        "google-api-ruby-client/#{Google::APIClient::VERSION::STRING} #{ENV::OS_VERSION} (gzip)"
+        "google-api-ruby-client/#{Google::APIClient::VERSION::STRING} #{ENV::OS_VERSION}".strip + " (gzip)"
       ).strip
       # The writer method understands a few Symbols and will generate useful
       # default authentication mechanisms.
index edddd808b215e8fcc15f351e2dda01df88efe833..1db7f8d9061089e54e02050130145e6b136619fe 100644 (file)
@@ -19,7 +19,7 @@ module Google
       MAJOR = 0
       MINOR = 8
       TINY  = 7
-      PATCH = nil
+      PATCH = 1
       STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
     end
   end