actv 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjMxZTNkYTMzMjFjYTNhODQwOGVhYzg3OTc1YmRhMmQ1NDY3NzVmZg==
4
+ OTk5NTgwNTk1MDE4YjVkN2E5ZDkxYzliN2Q4ZDE3MjYzYjhiYjllNg==
5
5
  data.tar.gz: !binary |-
6
- YWExMGVhMmJkODRiNWRhZmUxZDM5ODNjMzYzMjFlYmNlMTZkZmE5Mg==
6
+ ZDkzMmM2ZGExM2EzNjc3YTI5YjZmNjFlY2UxYjlkZWJkMTU0M2Y3Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGU3NjU4YWM4N2IxNzhiMmRmMWVlOGUyNDM0MzFiZDAxMDMzYjJlNzk1OTA2
10
- NThlNGU5MTc3YmRjNGJjNTA2YmYzMjc0MDMyNTI0YjYxNTdiODcwYWEzNzcw
11
- ZjU0OTBjYTAwOGIzYTU1MGQ1N2Q0YWZmZmRjOWQyNjU4N2U2NTg=
9
+ ZjBmMjg3NDlhM2NlYTIwNGY4OTdkYjMxNTZiNGMwODljMDNjMzQzYTZjMmE1
10
+ ZmE3MTkwZjk0M2JmMTIwNDVkZDhhNzI3NTMwYzIwMWMwNzE1MmZkNGJhZWMx
11
+ NmQyMmM4NGQzYTIzYTBlOWY0MzY5NGYyMjkwOTIxNmU3YTlkNmY=
12
12
  data.tar.gz: !binary |-
13
- NGVlYjJhNGU2MWJhOTI0OTBiMzg4ODU5MDc1NDFhNzE2YzlhMzMyOTlkNDcz
14
- MzIyNTRkMmMzYzE3NDk5ZjIzYTcxYTIxZDhkMmI3ZjI0OWM0NTM1NGI2NGRk
15
- OThiM2E2MDEwNTE4OGU0YmM1Mzc1YzcxODI1Y2JlNmU5NTc3ZmE=
13
+ OGMwYWU5YjIyMzNlNjFkZTZmYzQ3YmMwMTRkMzA5NmE2ZWVlNjk2NzA1OTFj
14
+ MGY0NDg0NzJjNmM3N2Y4NTcwZDdjMDMwNmZjMzNiNzhhZTU5MGEyYTY5N2Yw
15
+ NzY3MjgyNTAyNDg5NzBmOTZkNzIzYTJlYzdlMTFmY2M5ZjM5YjU=
data/lib/actv/asset.rb CHANGED
@@ -182,6 +182,10 @@ module ACTV
182
182
  is_article
183
183
  end
184
184
 
185
+ def has_location?
186
+ self.place && place.has_lat_long?
187
+ end
188
+
185
189
  def evergreen?
186
190
  self.evergreenAssetFlag.downcase == 'true' rescue false
187
191
  end
data/lib/actv/place.rb CHANGED
@@ -20,5 +20,9 @@ module ACTV
20
20
  alias country countryName
21
21
  alias country_code countryCode
22
22
 
23
+ def has_lat_long?
24
+ latitude && longitude && latitude != "" && longitude != ""
25
+ end
26
+
23
27
  end
24
28
  end
data/lib/actv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ACTV
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathaniel Barnes