whos_dated_who 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d8ddf1e74ce826d7f4ab28ff7162c833536d508
4
- data.tar.gz: 6d136c0f716b83c3950c20369f29b7b0ce778322
3
+ metadata.gz: b4c6e05493a808a749fbe5b4f167b5c904dce812
4
+ data.tar.gz: cc9781d4d22ba26d753d32d6b91755bc5d2349c8
5
5
  SHA512:
6
- metadata.gz: 106972b2c2b914b6a14ec973724e98dfd2b3fdf39a70398e874960e5870e66ccca4ad575f08fe36f96a56bb92b70e8cb3b64544451d664d074e077c64f449751
7
- data.tar.gz: 7eee4d2f9f18d38e01bfb6b90769c0163387c140fd5a9494c6ca9b17ba59083cd3cb070efbe0b55024858e45a69267d4ad8e2e53068d8cc72c3725d6469b42f5
6
+ metadata.gz: a007a1a2d7486715204f626f5b26b4c58a46d238d0a5d123ecef5ccbfb58ce3e2cb74db235e6a5bee9c1b1b354e265bb2decb036fc6b57122d26e7a55de3b360
7
+ data.tar.gz: 508d5ed37dec6eae8e0dd594d7e1b7b0fb2bfcf7c8bec3c1c5386b82ad0541e6e341588251fe62b58024a06782ed9f2c159b034979fc6a4b96360ead55cb75e4
@@ -17,6 +17,10 @@ module WhosDatedWho
17
17
  private
18
18
  def extract_bio
19
19
  bio = @doc.css('.contentbox-r:nth-child(2)')
20
+ # Check if is the annoying needs a banner thingy
21
+ if bio.css('.anu').length > 0
22
+ bio = @doc.css('.contentbox-r:nth-child(3)')
23
+ end
20
24
  result = {}
21
25
  bio.css('.posl, .posr').each do |el|
22
26
  if el.matches?('.posl')
@@ -1,3 +1,3 @@
1
1
  module WhosDatedWho
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whos_dated_who
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Perez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-31 00:00:00.000000000 Z
11
+ date: 2015-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday