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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6313292bccf157b4ad36a2cbf03c81641e4bd024
4
- data.tar.gz: 256e43c16759d10915bf1b80bf89ab29cb2404b8
3
+ metadata.gz: 85ebcbd02b9ca294dca2774a19cbe04b03e39278
4
+ data.tar.gz: c48c781da91a880f33df39a263701d8ab1805823
5
5
  SHA512:
6
- metadata.gz: d39ebb09c79cb01a8f18a02efcfe5645c67c7fce0ecaf3e549fa858fb078c4228407f010d5b4d4c482ab37a4cd3316414c6d3beff31d518bb9a1c8b182f0f408
7
- data.tar.gz: 17931565713e2273947abc0298abbe5e123eb83ec66afc78ba0ccf5e5e8f7774b1384cf3f9414a2e01251257b3f1b6d945fdb5a44509bfc58e4b64d9d3d336e5
6
+ metadata.gz: 374b2ee0df81b603d593d691e549d9a6d6aabb766822b247a073263afd234fec8c587cf137c3d2c7f45821c5df3c0f2cd07d7e6271fac74bff5fdce135966bfd
7
+ data.tar.gz: 9a1d4b79aee60ff9a581bd819b814b400e2160043ad88aa9f970f5a76ad5a575726ef6be93e3ab3db8abddad877fb82be46bfd449b647ea02adc2226ca4a4076
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
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
- # Web Ex Site and Partner ID (available through WebEx support request)
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
@@ -1 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -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>
@@ -1,5 +1,5 @@
1
1
  module WebEx
2
2
  module Events
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
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.1
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