actv 2.10.0 → 2.10.1

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: b2175a917870794aed398b55920c82bedc319d86
4
- data.tar.gz: a58b0431c34232399372295aae2e0be43941285e
3
+ metadata.gz: 66f00359b7a93cc805044bc3ef1df2da39c7e15c
4
+ data.tar.gz: ef6e01bd374e0bc7f967ef3b97ddd6d15c2e6c80
5
5
  SHA512:
6
- metadata.gz: ec4f7d7995271be28577d6fe4bc54478c3ea7e49e04df697835778f1d769a16086799be92f11c0508751f5daae988bea0e0943458e45d7506c46e6fad2647826
7
- data.tar.gz: 74a01c857356437dbfbbe4ebbc4625136e32964049b050827c06fb18d330a4f6048026d6e8466e09075aa13e1613021badf1d42c23a42c9fbaf481eec1b414df
6
+ metadata.gz: fad59de97ea8da841e753f2a0c4c80304734bc4f3d57c1f4d3b5f6658d8079c7ce315bb0f9b7f030a1879759643957461e416567029ebfaaa56f2a45d52e0d3f
7
+ data.tar.gz: e55436eecf6e4affb372436686c959fab7ee152ee5bb675af5c0a1df098e77183ae58c6208b33a60881a36d9aa37d33859f40767f07799e5a4d3a46da3abab1b
data/lib/actv/asset.rb CHANGED
@@ -213,6 +213,10 @@ module ACTV
213
213
  false
214
214
  end
215
215
 
216
+ def is_video?
217
+ false
218
+ end
219
+
216
220
  def has_location?
217
221
  self.place && place.has_lat_long?
218
222
  end
data/lib/actv/client.rb CHANGED
@@ -228,7 +228,7 @@ module ACTV
228
228
  # ACTV.popular_articles("topic:running")
229
229
  def popular_articles(params={})
230
230
  response = get("/v2/articles/popular", params)
231
- ACTV::ArticleSearchResults.from_response(response)
231
+ ACTV::SearchResults.from_response(response)
232
232
  end
233
233
 
234
234
  # Returns popular interests
data/lib/actv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ACTV
2
- VERSION = "2.10.0"
2
+ VERSION = "2.10.1"
3
3
  end
data/lib/actv/video.rb CHANGED
@@ -49,8 +49,15 @@ module ACTV
49
49
  @image ||= image_by_name 'videoImage'
50
50
  end
51
51
 
52
+ alias thumbnail image
53
+
52
54
  def cover
53
55
  image.url if image
54
56
  end
57
+
58
+ def is_video?
59
+ true
60
+ end
61
+
55
62
  end
56
63
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actv
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 2.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Barnes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-19 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -480,4 +480,3 @@ test_files:
480
480
  - spec/fixtures/valid_video.json
481
481
  - spec/spec_helper.rb
482
482
  - spec/support/helper.rb
483
- has_rdoc: