spotlite 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -127,7 +127,7 @@ describe "Spotlite::Movie" do
127
127
  it "should return trivia" do
128
128
  @movie.trivia.should be_an(Array)
129
129
  @movie.trivia.size.should be_within(100).of(200)
130
- @movie.trivia.should include("Nicolas Cage turned down the part of Neo because of family commitments. Other actors considered for the role included Tom Cruise and Leonardo DiCaprio.")
130
+ @movie.trivia.should include("Nicolas Cage turned down the part of Neo because of family commitments. Tom Cruise was also considered.")
131
131
  @movie.trivia.should include("Carrie-Anne Moss twisted her ankle while shooting one of her scenes but decided not to tell anyone until after filming, so they wouldn't re-cast her.")
132
132
  @movie.trivia.should include("Gary Oldman was considered as Morpheus at one point, as well as Samuel L. Jackson.")
133
133
  end
@@ -193,7 +193,7 @@ describe "Spotlite::Movie" do
193
193
 
194
194
  it "should return an array of still frames URLs" do
195
195
  @movie.images.should be_an(Array)
196
- @movie.images.size.should eql(12)
196
+ @movie.images.size.should be_within(10).of(15)
197
197
  @movie.images.should include(
198
198
  "http://ia.media-imdb.com/images/M/MV5BMjQ4NTAzNTE2OV5BMl5BanBnXkFtZTcwMjU3MTIxNA@@.jpg",
199
199
  "http://ia.media-imdb.com/images/M/MV5BMTAyMDc1MTU0MDBeQTJeQWpwZ15BbWU2MDI5MzU3Nw@@.jpg"
@@ -35,7 +35,7 @@ describe "Spotlite::Person" do
35
35
  it "should return new style photo URL" do
36
36
  # Carey Mulligan
37
37
  @person = Spotlite::Person.new("1659547")
38
- @person.photo_url.should eql("http://ia.media-imdb.com/images/M/MV5BMTYyNDE1NTQ1M15BMl5BanBnXkFtZTcwMzg4Mzc3Nw@@.jpg")
38
+ @person.photo_url.should eql("http://ia.media-imdb.com/images/M/MV5BMTUzODM0OTY4OF5BMl5BanBnXkFtZTgwMTg3NDk0NzE@.jpg")
39
39
  end
40
40
 
41
41
  it "should return nil if photo doesn't exist" do
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.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Pakk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-22 00:00:00.000000000 Z
11
+ date: 2016-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.4.8
152
+ rubygems_version: 2.5.1
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Ruby gem to fetch publicly available information about movies from IMDb