cmis-ruby 0.5.12 → 0.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cmis.rb +12 -0
  3. data/lib/cmis/version.rb +1 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8730379664b933adbdf0a0c3315a59986548966b
4
- data.tar.gz: d7b5e6e1a2a37f8e1a910d7f3277251a0600819e
3
+ metadata.gz: 1183eeac5fc3fdb9b24dd3105f22c6799597a532
4
+ data.tar.gz: 2e056b6e5b0dc938bf5b5f9b19b660fb127653fd
5
5
  SHA512:
6
- metadata.gz: 5fa75b47da1f042b3d01f3ec68b31854478d22a49721df0eaca54bfd2d45011ab9e95f00d50adef63409e511455c0b58f9ab2581293eda55172eb40813ffb4bc
7
- data.tar.gz: 20b1cc0cc493a193fbe99185845e36f75838bbcceccadfc244e5a6e21102101466959db1b6cd62e5e14683a5f2cec1d3f7c0c287a2fb86467f029bd710f140a1
6
+ metadata.gz: 163f633504dcdcbae0b3280c234dced6973470b06415559bfcb7a3baf581b5deb04d1cebdaca40080a603f8f4df0d0b574344e7d158229cc19772c0b57ce4f64
7
+ data.tar.gz: 44fda5086733956e81acfe9e3e3f415cc24d1a888efa948241cea8fb55a921efecda2b1dd9799b356a93dda85f6bcd4172b81f4aa3d71c6efd3f384c60533a1e
@@ -14,3 +14,15 @@ require 'cmis/policy'
14
14
  require 'cmis/relationship'
15
15
  require 'cmis/type'
16
16
  require 'cmis/property_definition'
17
+
18
+ # Faraday doesn't allow to set the content type
19
+ # of param parts of multipart posts
20
+ module Parts
21
+ class ParamPart
22
+ alias_method :old_initialize, :initialize
23
+ def initialize(boundary, name, value, headers = {})
24
+ headers.merge!('Content-Type' => 'text/plain; charset=utf-8')
25
+ old_initialize(boundary, name, value, headers)
26
+ end
27
+ end
28
+ end
@@ -1,4 +1,3 @@
1
-
2
1
  module CMIS
3
- VERSION = '0.5.12'
2
+ VERSION = '0.5.13'
4
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.12
4
+ version: 0.5.13
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: 2014-08-13 00:00:00.000000000 Z
12
+ date: 2014-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.2.2
115
+ rubygems_version: 2.4.1
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Ruby client for CMIS