restful-sharepoint 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -0
- data/README.md +0 -0
- data/lib/restful-sharepoint.rb +3 -2
- data/lib/restful-sharepoint/collection.rb +0 -0
- data/lib/restful-sharepoint/collections/attachments.rb +0 -0
- data/lib/restful-sharepoint/collections/list-items.rb +0 -0
- data/lib/restful-sharepoint/collections/lists.rb +0 -0
- data/lib/restful-sharepoint/collections/webs.rb +0 -0
- data/lib/restful-sharepoint/common-base.rb +0 -0
- data/lib/restful-sharepoint/connection.rb +1 -2
- data/lib/restful-sharepoint/error.rb +0 -0
- data/lib/restful-sharepoint/object.rb +0 -0
- data/lib/restful-sharepoint/objects/attachment.rb +0 -0
- data/lib/restful-sharepoint/objects/file.rb +0 -0
- data/lib/restful-sharepoint/objects/list-item.rb +0 -0
- data/lib/restful-sharepoint/objects/list.rb +0 -0
- data/lib/restful-sharepoint/objects/web.rb +0 -0
- data/lib/restful-sharepoint/version.rb +1 -1
- data/restful-sharepoint.gemspec +2 -2
- data/spec/restfulsharepoint_spec.rb +0 -0
- metadata +20 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 358b31acc3c5a73248dd0ba287c2582d48bea1aba76bc078a52bcf3840486c92
|
4
|
+
data.tar.gz: 4d6d2efa049c00b24ce8f95ff3fd3813d5094ea35e253ee8765cbb229e3e2b28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '098b4085fabe7abe11f3347cadda7f82a0b8507f93cc3408cc980dbff2e8eabf23386cf889345b8fc2b6efd00484ce296c4896bf19d6ba3f277d5867d5efd6a0'
|
7
|
+
data.tar.gz: 81089cdbddc8f6869d34fc7613ef948b676020a6dd3a9b56fa40b2542519aaeb4fdce03b1688b78c2b4f1529a102fbc33be03b9eca1726d5a320c9e95c35eed7
|
data/Gemfile
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/lib/restful-sharepoint.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -38,7 +38,7 @@ module RestfulSharePoint
|
|
38
38
|
end
|
39
39
|
yield(req) if block_given?
|
40
40
|
LOG.info "Making HTTP request to: #{req.url.to_s}"
|
41
|
-
response = HTTPI.request(method, req)
|
41
|
+
response = HTTPI.request(method, req) { |x| x.ssl_config.set_default_paths }
|
42
42
|
if response.body.empty?
|
43
43
|
if response.code >= 300
|
44
44
|
raise RestError, "Server returned HTTP status #{response.code} with no message body."
|
@@ -77,7 +77,6 @@ module RestfulSharePoint
|
|
77
77
|
|
78
78
|
def parse(str)
|
79
79
|
data = JSON.load(str)
|
80
|
-
::File.write('parsed.json', JSON.dump(data))
|
81
80
|
raise RestError, "(#{data['error']['code']}): #{data['error']['message']['value']}" if data['error']
|
82
81
|
parse_tree(data['d'])
|
83
82
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/restful-sharepoint.gemspec
CHANGED
@@ -9,10 +9,10 @@ Gem::Specification.new 'restful-sharepoint', RestfulSharePoint::VERSION do |s|
|
|
9
9
|
s.homepage = 'https://github.com/Wardrop/restful-sharepoint'
|
10
10
|
s.license = 'MIT'
|
11
11
|
s.files = Dir.glob(`git ls-files`.split("\n") - %w[.gitignore])
|
12
|
-
s.has_rdoc = 'yard'
|
13
12
|
|
14
13
|
s.required_ruby_version = '>= 2.0.0'
|
15
14
|
|
16
15
|
s.add_dependency 'httpi', '~> 2.4'
|
17
|
-
s.add_dependency '
|
16
|
+
s.add_dependency 'httpclient', '~> 2.8'
|
17
|
+
s.add_dependency 'rubyntlm', '~> 0.6'
|
18
18
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restful-sharepoint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Wardrop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpi
|
@@ -25,19 +25,33 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: httpclient
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.8'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubyntlm
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.6'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.6'
|
41
55
|
description: Provides a convenient object model to the OData REST API of SharePoint
|
42
56
|
2013 and newer.
|
43
57
|
email: tomw@msc.qld.gov.au
|
@@ -85,8 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
99
|
- !ruby/object:Gem::Version
|
86
100
|
version: '0'
|
87
101
|
requirements: []
|
88
|
-
|
89
|
-
rubygems_version: 2.7.3
|
102
|
+
rubygems_version: 3.0.1
|
90
103
|
signing_key:
|
91
104
|
specification_version: 4
|
92
105
|
summary: Provides a convenient object model to the OData REST API of SharePoint 2013
|