Sha256: 6ac11a7c87d0007481a6ce33e4b87ae7c5f23f414177b1c4e48b10310debc201

Contents?: true

Size: 722 Bytes

Versions: 15

Compression:

Stored size: 722 Bytes

Contents

require 'ext/all'

require 'cmis/exceptions'
require 'cmis/helpers'
require 'cmis/object_factory'
require 'cmis/connection'
require 'cmis/server'
require 'cmis/repository'
require 'cmis/object'
require 'cmis/document'
require 'cmis/folder'
require 'cmis/item'
require 'cmis/policy'
require 'cmis/relationship'
require 'cmis/type'
require 'cmis/property_definition'

# Faraday doesn't allow to set the content type
# of param parts of multipart posts
module Parts
  class ParamPart
    alias_method :old_initialize, :initialize
    def initialize(boundary, name, value, headers = {})
      headers.merge!('Content-Type' => 'text/plain; charset=utf-8')
      old_initialize(boundary, name, value, headers)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cmis-ruby-0.5.27 lib/cmis.rb
cmis-ruby-0.5.26 lib/cmis.rb
cmis-ruby-0.5.25 lib/cmis.rb
cmis-ruby-0.5.24 lib/cmis.rb
cmis-ruby-0.5.23 lib/cmis.rb
cmis-ruby-0.5.22 lib/cmis.rb
cmis-ruby-0.5.21 lib/cmis.rb
cmis-ruby-0.5.20 lib/cmis.rb
cmis-ruby-0.5.19 lib/cmis.rb
cmis-ruby-0.5.18 lib/cmis.rb
cmis-ruby-0.5.17 lib/cmis.rb
cmis-ruby-0.5.16 lib/cmis.rb
cmis-ruby-0.5.15 lib/cmis.rb
cmis-ruby-0.5.14 lib/cmis.rb
cmis-ruby-0.5.13 lib/cmis.rb