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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c74407930a4c8db2afb39d6b2029f1000741c0f
4
- data.tar.gz: 0eea119f04d3365fca7e375513e529fdf2419528
3
+ metadata.gz: a3a7aa68600404e6fd405444a1acc8e6c163147b
4
+ data.tar.gz: 0c92296cc77e1f385a48754a181e3a75fa81b2e2
5
5
  SHA512:
6
- metadata.gz: 146b3b5f042b380db693b2c4a96a87218a79e72ef1704c64d0e009417e73302b4b9706e9399537a67cdd6e51af93ac69021469bfe38c28aacf2c05050cfb8609
7
- data.tar.gz: a9413d6774e23714205f2f022fd7b200423c0b043890b7a708b604792646f2dadb4ebf894752fd950914205bacc0896e52fc2691886604cad87b9cd941ce29f8
6
+ metadata.gz: 718e537f7baeb098d10c1707239032395957ccad59c63599979417271fc210246239740368008012ea7679ad7ac1c8f8e0ee0cdb76cd636e3cedc5b99174d03b
7
+ data.tar.gz: 098e270b2f2e3341acfab499125d36e5725889e8590a5e97ad5502ac942174f40c5c6b7fec2095361a82ea83e560f7491824f8801857f4bde456230e6dd5dcba
data/LICENSE CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2007-2012 by Evernote Corporation, All rights reserved.
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:
@@ -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 = 1
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: " + resp.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.1
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: 2013-11-18 00:00:00.000000000 Z
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.3
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.