cmis-ruby 0.5.30 → 0.5.31

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: 20089f856da78f7dce17f9480ded9a42547a4a24
4
- data.tar.gz: 3d704b0dd4b38aa59b65934e44b57367b4b0c58a
3
+ metadata.gz: 12bf75a960dd1e5946ee33b7f6acdea798b06e06
4
+ data.tar.gz: 2104b5448860aa09e3e8f7fb736e5138ac3c606b
5
5
  SHA512:
6
- metadata.gz: d00912f46b66efc81ebbda5ec2c1f86993f976b53abc383f6262de9af21bdbb354315bc430140418c8f35f29087f205d02484e04d2bef99e22fe44d5375ff7ac
7
- data.tar.gz: ce333f955d989f6d9b0461c777e08ac375a12d1ff70a37a7e857f7c2f3fe38875bbac4422903f6c59ff4c9a05ab9841b5f961df5ed28d1938db500095aadc758
6
+ metadata.gz: fbb9f4dc0b0e9664c72d5d922a049c35b06e2a7c3d6db755f5f03076103f24e8944f57e54caf9e85432cec1a3cdb3d001c7ca23ca4dac99be6899f4a8c9dbf0c
7
+ data.tar.gz: 591e51d70c409706a6ab7a1b1e589de0108ca6b2773763266e7c6fae73dbaf54a8c4b57fc9d8aab98acb6d6b42ef09890b2d73834de3c0251ef75e0c6cf27590
@@ -56,7 +56,9 @@ module CMIS
56
56
 
57
57
  def connection_options(options)
58
58
  adapter = (options[:adapter] || :net_http).to_sym
59
- headers = { user_agent: "cmis-ruby/#{VERSION} [#{adapter}]" }
59
+ user_agent = "cmis-ruby/#{VERSION} [#{adapter}]"
60
+ user_agent += " #{options[:app_id]}" if options[:app_id]
61
+ headers = { user_agent: user_agent }
60
62
  headers.merge!(options[:headers]) if options[:headers]
61
63
 
62
64
  conn_opts = { headers: headers }
@@ -13,7 +13,6 @@ module CMIS
13
13
  StreamNotSupported = Class.new(StandardError)
14
14
  UpdateConflict = Class.new(StandardError)
15
15
  Versioning = Class.new(StandardError)
16
- ProvisionedThroughputExceededException = Class.new(StandardError)
17
16
 
18
17
  # Non-CMIS
19
18
  Unauthorized = Class.new(StandardError)
@@ -1,3 +1,3 @@
1
1
  module CMIS
2
- VERSION = '0.5.30'
2
+ VERSION = '0.5.31'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmis-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.30
4
+ version: 0.5.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenneth Geerts
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-04 00:00:00.000000000 Z
12
+ date: 2016-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday