slideshare_api 0.0.9 → 0.0.10

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: a16c3c28fdd13a8757eae15e401b942d07599654
4
- data.tar.gz: 24dded61dd55b4c4e6904d65d59cfc525a61dc2d
3
+ metadata.gz: 9543df0f09557d177213e9580ee9ae100f58b3d5
4
+ data.tar.gz: deb4ca3d56979d4709488bbdcdb1fd8f8bad2c58
5
5
  SHA512:
6
- metadata.gz: 5de9915459364d8e66cd91f010ac846fdb01d7e818089a163e4293af3d3a5dbd85107039b9b928d6009cf72b0031cae2f115b51dc15e38819f22afefa9eb1d05
7
- data.tar.gz: 914887caefb636f54055fb34404e0dff6089dbea91435e8b7e3491dd6cd10162e52d6290a0576bc99b50e640d29d7622e4673c6b68364b2f7006e5fc9d53eb0e
6
+ metadata.gz: 311b5d45cae8768b0481ba29b479849616ce988276f68d9bb474eaafd2fe80f9480aef37f33f3c1bde889aed613e7f7f17ba4bbe29f194a423be140e7694c0aa
7
+ data.tar.gz: 1db607faa385755aa0cb4f1041da2e81e68e285bcc313a19510b3a0d79dd63a84c213ab6756733380e19176d1d606cc025e3e71840a245793f7c6fb177d8734a
@@ -5,7 +5,8 @@ module SlideshareApi
5
5
  :id, :title, :stripped_title, :description, :status,
6
6
  :created_at, :updated_at,
7
7
  :username, :user_id,
8
- :url, :thumbnail_url, :thumbnail_size, :thumbnail_small_url, :embed,
8
+ :url, :thumbnail_url, :thumbnail_size, :embed,
9
+ :thumbnail_small_url, :thumbnail_medium_url, :thumbnail_large_url,
9
10
  :language, :format, :type,
10
11
  :is_downloadable, :is_in_contest,
11
12
  :ppt_location,
@@ -42,6 +43,8 @@ module SlideshareApi
42
43
  @thumbnail_url = text_from_xml('ThumbnailURL')
43
44
  @thumbnail_size = text_from_xml('ThumbnailSize')
44
45
  @thumbnail_small_url = text_from_xml('ThumbnailSmallURL')
46
+ @thumbnail_medium_url = text_from_xml('ThumbnailXLargeURL')
47
+ @thumbnail_large_url = text_from_xml('ThumbnailXXLargeURL')
45
48
  @embed = text_from_xml('Embed')
46
49
  @created_at = Time.parse text_from_xml('Created')
47
50
  @updated_at = Time.parse text_from_xml('Updated')
@@ -1,3 +1,3 @@
1
1
  module SlideshareApi
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
@@ -13,6 +13,12 @@
13
13
  <ThumbnailSmallURL>
14
14
  //cdn.slidesharecdn.com/ss_thumbnails/prerequispourappliquerleleanstartupdanslentreprise-140430023146-phpapp02-140501195007-phpapp01-thumbnail-2.jpg?cb=1398991939
15
15
  </ThumbnailSmallURL>
16
+ <ThumbnailXLargeURL>
17
+ //cdn.slidesharecdn.com/ss_thumbnails/prerequispourappliquerleleanstartupdanslentreprise-140430023146-phpapp02-140501195007-phpapp01-thumbnail-3.jpg?cb=1398991939
18
+ </ThumbnailXLargeURL>
19
+ <ThumbnailXXLargeURL>
20
+ //cdn.slidesharecdn.com/ss_thumbnails/prerequispourappliquerleleanstartupdanslentreprise-140430023146-phpapp02-140501195007-phpapp01-thumbnail-4.jpg?cb=1398991939
21
+ </ThumbnailXXLargeURL>
16
22
  <Embed>
17
23
  &lt;iframe src=&quot;https://www.slideshare.net/slideshow/embed_code/34187090&quot; width=&quot;427&quot;
18
24
  height=&quot;356&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot;
@@ -46,6 +46,8 @@ describe SlideshareApi::Model::Slideshow do
46
46
  it { expect(subject.thumbnail_url).to eq slideshow_xml.search('ThumbnailURL').text }
47
47
  it { expect(subject.thumbnail_size).to eq slideshow_xml.search('ThumbnailSize').text }
48
48
  it { expect(subject.thumbnail_small_url).to eq slideshow_xml.search('ThumbnailSmallURL').text }
49
+ it { expect(subject.thumbnail_medium_url).to eq slideshow_xml.search('ThumbnailXLargeURL').text }
50
+ it { expect(subject.thumbnail_large_url).to eq slideshow_xml.search('ThumbnailXXLargeURL').text }
49
51
  it { expect(subject.embed).to eq slideshow_xml.search('Embed').text }
50
52
  it { expect(subject.created_at).to eq Time.parse slideshow_xml.search('Created').text }
51
53
  it { expect(subject.updated_at).to eq Time.parse slideshow_xml.search('Updated').text }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slideshare_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Venezia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-02 00:00:00.000000000 Z
11
+ date: 2018-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.2.2
157
+ rubygems_version: 2.6.13
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Ruby wrapper for the Slideshare API.