sabredav_client 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sabredav_client/calendar.rb +1 -1
- data/lib/sabredav_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffa4c8a0355c51f196c7d2b240363c3192ba4b73
|
4
|
+
data.tar.gz: e7349c9ded75303b98bb35189a05f564d6e69aa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f481969286622ee604bdd4ef326c9d8cc8d05c27e5706327528e494a713ea6703c8a3010d6056092042fa47675f164b5f04546f6935b6c1dea655c696292f726
|
7
|
+
data.tar.gz: c6704a67ecdb85e2835a9f6fc20038798218a24773537a656cdc858014dc1f37696a3a00ca843a88bc27dbeeba511db6d794110519699581194658541a70acdf
|
data/Gemfile.lock
CHANGED
@@ -88,7 +88,6 @@ module SabredavClient
|
|
88
88
|
entry = REXML::Document.new.add(user)
|
89
89
|
sharee = {
|
90
90
|
href: REXML::XPath.first(entry, "//d:href").text,
|
91
|
-
common_name: REXML::XPath.first(entry, "//d:common-name").text
|
92
91
|
}
|
93
92
|
access = REXML::XPath.first(entry, "//d:access").elements[1].to_s
|
94
93
|
sharee[:access] = access.gsub(/\A[<cs:]+|[\/>]+\Z/, "")
|
@@ -97,6 +96,7 @@ module SabredavClient
|
|
97
96
|
sharee[:status] = :accepted unless REXML::XPath.first(entry, "//cs:invite-accepted").nil?
|
98
97
|
# URI depends on a custom plugin
|
99
98
|
begin
|
99
|
+
sharee[:common_name] = REXML::XPath.first(entry, "//d:common-name").text
|
100
100
|
sharee[:uri] = REXML::XPath.first(entry, "//cs:uri").text
|
101
101
|
sharee[:principal] = REXML::XPath.first(entry, "//cs:principal").text
|
102
102
|
rescue
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sabredav_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Schwartau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|