spotlite 0.8.7 → 0.8.8

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: 989800b04a5c55b11267d4ee8e313a6edbb794ee
4
- data.tar.gz: b8a6230c11a68dc0472ed36fc4982763a328f85a
3
+ metadata.gz: cbb73c69f03b2b369f8b30c52b0b6ee25192d12c
4
+ data.tar.gz: 56e6b89a40800aacb5b1de371d5109750d6325fd
5
5
  SHA512:
6
- metadata.gz: 8499615686d6763de6ed5a2546e41ec9b39311e3f68c0ce8f8ff7afcc17140765144167bcd77c2aa9731a9c8e6efeab5347637b2ad1606ad3602a841c1db5096
7
- data.tar.gz: 9e54c808324821ffa4792e3c301ab8c849da72d80501226ecd5b00145dc9267a2f287bbd1151552bcdd78b3ac859a8ae15c7cb0eab3b38cb0384139405e1e4ef
6
+ metadata.gz: 727afe4f08445d691fcba285e02a29f50b04cbe4226a68bd23b93080d79465084a40d75b128f3223763f37f9cf68a548304884c51dab1192728d64a864268ebd
7
+ data.tar.gz: 14c8e3af3cdb0dad3591511516201c3e59e82e5090a9aaa23c45c0066aa4785a937b309ead1727d3f4c28d130ec6c698ea3a3c55b63e6d4d4a5931ef4f6ff6d0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.8.8 22-May-2016
2
+
3
+ * Ignore missing taglines placeholder
4
+
1
5
  ## v0.8.7 09-May-2016
2
6
 
3
7
  * Added `taglines` method for `Movie` class to get an array of taglines
@@ -187,7 +187,7 @@ module Spotlite
187
187
 
188
188
  # Returns a list of taglines as an array of strings
189
189
  def taglines
190
- movie_taglines.css("#taglines_content .soda").map { |node| node.text.clean_tagline }
190
+ movie_taglines.css("#taglines_content > .soda").map { |node| node.text.clean_tagline }
191
191
  end
192
192
 
193
193
  # Returns a list of movie alternative titles as an array of hashes
@@ -44,7 +44,7 @@ class String
44
44
 
45
45
  # Removes tagline comment in braces
46
46
  def clean_tagline
47
- gsub(/\[(.*?)\]|\((.*?)\)/, '').strip
47
+ gsub(/\[(.*?)\]:?|\((.*?)\):?/, '').strip
48
48
  end
49
49
 
50
50
  # Strips parantheses from release date's comment
@@ -1,3 +1,3 @@
1
1
  module Spotlite
2
- VERSION = '0.8.7'
2
+ VERSION = '0.8.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Pakk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty