viewpoint2 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ews/types/calendar_folder.rb +1 -1
- data/lib/ews/types/calendar_item.rb +5 -0
- 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: ecf22b9d52f5cf2ec3c3b91204db2153f0650aec
|
4
|
+
data.tar.gz: 17852305be06e5e7194615fc916dd848d761cbc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b504e5d7ba112be9f0cf623eac4aa92f2f4d2a582fc0ed22a8b9f6cd3b4e40b0a1dcbce9fb97e307dfd97867303ffa6f7ca1dd0f4729a49806d20b412ecca9f4
|
7
|
+
data.tar.gz: cd0308ac197fa664cb7637e429dd5ccf6c3bff975a8204ff822ca82ff737f28250022aee7b98554403e7ec72f75a6a5033d99ecaeea32e7b27c30fc5e0d3f08f
|
@@ -8,7 +8,7 @@ module Viewpoint::EWS::Types
|
|
8
8
|
# @param [DateTime] start_date the time to start fetching Items from
|
9
9
|
# @param [DateTime] end_date the time to stop fetching Items from
|
10
10
|
def items_between(start_date, end_date, opts={})
|
11
|
-
items do |obj|
|
11
|
+
items(opts) do |obj|
|
12
12
|
obj.restriction = { :and =>
|
13
13
|
[
|
14
14
|
{:is_greater_than_or_equal_to =>
|
@@ -69,6 +69,11 @@ module Viewpoint::EWS::Types
|
|
69
69
|
|
70
70
|
# Remap attributes because ews_builder #dispatch_field_item! uses #build_xml!
|
71
71
|
item_attributes = item.to_ews_item.map do |name, value|
|
72
|
+
|
73
|
+
# Force HTML if attribute is body
|
74
|
+
if name == :body
|
75
|
+
value[:body_type] = 'HTML'
|
76
|
+
end
|
72
77
|
if value.is_a? String
|
73
78
|
{name => {text: value}}
|
74
79
|
elsif value.is_a? Hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viewpoint2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Wanek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|