whos_dated_who 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -10,6 +10,7 @@ SimpleCov.start do
10
10
  end
11
11
 
12
12
  require 'pry'
13
+ require 'rspec'
13
14
  require 'whos_dated_who'
14
15
 
15
16
  Dir[File.expand_path('..', __FILE__) + '/support/**/*.rb'].each do |f|
@@ -12,8 +12,7 @@ module WhosDatedWho
12
12
  context 'biography' do
13
13
  it 'parses the HTML and returns a result hash' do
14
14
  expect(@result.first_name).to eq('Scarlett')
15
- expect(@result.last_name).to eq('Dauriac')
16
- expect(@result.maiden_name).to eq('Johansson')
15
+ expect(@result.last_name).to eq('Johansson')
17
16
  end
18
17
 
19
18
  it 'translates keys' do
@@ -52,7 +51,7 @@ module WhosDatedWho
52
51
  expect(@result.websites).to include(/scarlett-fan\.com/)
53
52
  expect(@result.brothers).to include(/Hunter Johansson/)
54
53
  expect(@result.sisters.size).to eq(2)
55
- expect(@result.friends.size).to eq(4)
54
+ expect(@result.friends.size).to eq(5)
56
55
  expect(@result.pets.size).to eq(2)
57
56
  expect(@result.favorite_movies).to include(/Heat/)
58
57
  expect(@result.favorite_places).to include('London')
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: 1.0.2
4
+ version: 1.0.3
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-07-21 00:00:00.000000000 Z
11
+ date: 2015-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -246,8 +246,9 @@ files:
246
246
  - ".rspec"
247
247
  - ".rubocop.yml"
248
248
  - ".travis.yml"
249
+ - CHANGELOG.md
249
250
  - Gemfile
250
- - LICENSE.txt
251
+ - LICENSE.md
251
252
  - README.md
252
253
  - Rakefile
253
254
  - bin/whos_dated_who