evernote-thrift 1.25.1 → 1.25.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/evernote-thrift.gemspec +2 -1
- data/lib/thrift/transport/http_client_transport.rb +2 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a7aa68600404e6fd405444a1acc8e6c163147b
|
4
|
+
data.tar.gz: 0c92296cc77e1f385a48754a181e3a75fa81b2e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 718e537f7baeb098d10c1707239032395957ccad59c63599979417271fc210246239740368008012ea7679ad7ac1c8f8e0ee0cdb76cd636e3cedc5b99174d03b
|
7
|
+
data.tar.gz: 098e270b2f2e3341acfab499125d36e5725889e8590a5e97ad5502ac942174f40c5c6b7fec2095361a82ea83e560f7491824f8801857f4bde456230e6dd5dcba
|
data/LICENSE
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2007-
|
2
|
+
* Copyright (c) 2007-2015 by Evernote Corporation, All rights reserved.
|
3
3
|
*
|
4
4
|
* Use of the source code and binary libraries included in this package
|
5
5
|
* is permitted under the following terms:
|
data/evernote-thrift.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'evernote-thrift'
|
|
6
6
|
|
7
7
|
majorv = Evernote::EDAM::UserStore::EDAM_VERSION_MAJOR
|
8
8
|
minorv = Evernote::EDAM::UserStore::EDAM_VERSION_MINOR
|
9
|
-
rev =
|
9
|
+
rev = 2
|
10
10
|
version = Gem::Version.new("#{majorv}.#{minorv}.#{rev}").version
|
11
11
|
|
12
12
|
Gem::Specification.new do |s|
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.files = ["LICENSE", "NOTICE", "README.md", "APACHE-LICENSE-2.0.txt", "evernote-thrift.gemspec"] + Dir.glob('{lib}/**/*')
|
21
21
|
s.has_rdoc = false
|
22
22
|
s.homepage = %q{http://github.com/evernote/evernote-sdk-ruby}
|
23
|
+
s.license = 'BSD 2-Clause'
|
23
24
|
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
|
24
25
|
s.require_paths = ["lib"]
|
25
26
|
s.rubyforge_project = %q{evernote-sdk-ruby}
|
@@ -56,8 +56,8 @@ module Thrift
|
|
56
56
|
apply_ssl_attributes(http) if @url.scheme == "https"
|
57
57
|
|
58
58
|
resp = http.post(@url.request_uri, @outbuf, @headers)
|
59
|
-
if 'application/x-thrift'.downcase != resp.content_type.downcase
|
60
|
-
raise TransportException.new(TransportException::UNKNOWN, "Unexpected response content type:
|
59
|
+
if 'application/x-thrift'.downcase != resp.content_type.to_s.downcase
|
60
|
+
raise TransportException.new(TransportException::UNKNOWN, "Unexpected response content type: '#{resp.content_type}'")
|
61
61
|
end
|
62
62
|
data = resp.body
|
63
63
|
data = Bytes.force_binary_encoding(data)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evernote-thrift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.25.
|
4
|
+
version: 1.25.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evernote
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -100,7 +100,8 @@ files:
|
|
100
100
|
- lib/thrift/union.rb
|
101
101
|
- lib/thrift.rb
|
102
102
|
homepage: http://github.com/evernote/evernote-sdk-ruby
|
103
|
-
licenses:
|
103
|
+
licenses:
|
104
|
+
- BSD 2-Clause
|
104
105
|
metadata: {}
|
105
106
|
post_install_message:
|
106
107
|
rdoc_options:
|
@@ -120,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
121
|
version: '0'
|
121
122
|
requirements: []
|
122
123
|
rubyforge_project: evernote-sdk-ruby
|
123
|
-
rubygems_version: 2.0.
|
124
|
+
rubygems_version: 2.0.14
|
124
125
|
signing_key:
|
125
126
|
specification_version: 4
|
126
127
|
summary: This SDK contains wrapper code used to call the Evernote Cloud API from Ruby.
|