web-ex-events 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/README.md +6 -1
- data/Rakefile +5 -0
- data/lib/web_ex/events/event.rb +2 -2
- data/lib/web_ex/events/event_summary_request.rb +1 -1
- data/lib/web_ex/events/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85ebcbd02b9ca294dca2774a19cbe04b03e39278
|
4
|
+
data.tar.gz: c48c781da91a880f33df39a263701d8ab1805823
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 374b2ee0df81b603d593d691e549d9a6d6aabb766822b247a073263afd234fec8c587cf137c3d2c7f45821c5df3c0f2cd07d7e6271fac74bff5fdce135966bfd
|
7
|
+
data.tar.gz: 9a1d4b79aee60ff9a581bd819b814b400e2160043ad88aa9f970f5a76ad5a575726ef6be93e3ab3db8abddad877fb82be46bfd449b647ea02adc2226ca4a4076
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
# WebEx::Events
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/web-ex-events.png)](http://badge.fury.io/rb/web-ex-events)
|
4
|
+
[![Build Status](https://travis-ci.org/Aupajo/web-ex-events.png?branch=master)](https://travis-ci.org/Aupajo/web-ex-events)
|
5
|
+
|
3
6
|
A library to read WebEx events through the WebEx API.
|
4
7
|
|
8
|
+
Tested against Ruby 2.0.0.
|
9
|
+
|
5
10
|
## Installation
|
6
11
|
|
7
12
|
Add this line to your application's Gemfile:
|
@@ -24,7 +29,7 @@ require 'web_ex/events'
|
|
24
29
|
# Set WebEx site name
|
25
30
|
ENV['WEB_EX_SITE_NAME'] = "…"
|
26
31
|
|
27
|
-
#
|
32
|
+
# WebEx Site and Partner ID (available through WebEx support request)
|
28
33
|
ENV['WEB_EX_SITE_ID'] = "…"
|
29
34
|
ENV['WEB_EX_PARTNER_ID'] = "…"
|
30
35
|
|
data/Rakefile
CHANGED
data/lib/web_ex/events/event.rb
CHANGED
@@ -26,8 +26,8 @@ module WebEx
|
|
26
26
|
|
27
27
|
self.new(
|
28
28
|
name: element.xpath('sessionName').text,
|
29
|
-
start_date: TimeWithZone.new(element.xpath('startDate').text, element.xpath('timeZoneID').text).to_datetime,
|
30
|
-
end_date: TimeWithZone.new(element.xpath('endDate').text, element.xpath('timeZoneID').text).to_datetime,
|
29
|
+
start_date: ::WebEx::Events::TimeWithZone.new(element.xpath('startDate').text, element.xpath('timeZoneID').text).to_datetime,
|
30
|
+
end_date: ::WebEx::Events::TimeWithZone.new(element.xpath('endDate').text, element.xpath('timeZoneID').text).to_datetime,
|
31
31
|
key: element.xpath('sessionKey').text,
|
32
32
|
description: element.xpath('description').text,
|
33
33
|
duration: element.xpath('duration').text.to_i
|
@@ -40,7 +40,7 @@ module WebEx
|
|
40
40
|
<dateScope>
|
41
41
|
<startDateStart>#{formatted_date start_date}</startDateStart>
|
42
42
|
<endDateEnd>#{formatted_date end_date}</endDateEnd>
|
43
|
-
<timeZoneID>#{TimeWithZone::UTC_ZONE_ID}</timeZoneID>
|
43
|
+
<timeZoneID>#{::WebEx::Events::TimeWithZone::UTC_ZONE_ID}</timeZoneID>
|
44
44
|
</dateScope>
|
45
45
|
</bodyContent>
|
46
46
|
</body>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web-ex-events
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Nicholls
|
@@ -131,6 +131,7 @@ extensions: []
|
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
133
|
- .gitignore
|
134
|
+
- .travis.yml
|
134
135
|
- Gemfile
|
135
136
|
- LICENSE.txt
|
136
137
|
- README.md
|