spotlite 0.8.6 → 0.8.7

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.
data/spec/spec_helper.rb CHANGED
@@ -16,6 +16,7 @@ IMDB_SAMPLES = {
16
16
  'http://www.imdb.com/title/tt0133093/keywords' => 'tt0133093/keywords',
17
17
  'http://www.imdb.com/title/tt0133093/releaseinfo' => 'tt0133093/releaseinfo',
18
18
  'http://www.imdb.com/title/tt0133093/trivia' => 'tt0133093/trivia',
19
+ 'http://www.imdb.com/title/tt0133093/taglines' => 'tt0133093/taglines',
19
20
  'http://www.imdb.com/title/tt0133093/criticreviews' => 'tt0133093/criticreviews',
20
21
  'http://www.imdb.com/title/tt0120338/technical' => 'tt0120338/technical',
21
22
  'http://www.imdb.com/title/tt0317248/' => 'tt0317248/index',
@@ -132,6 +132,14 @@ describe "Spotlite::Movie" do
132
132
  @movie.trivia.should include("Gary Oldman was considered as Morpheus at one point, as well as Samuel L. Jackson.")
133
133
  end
134
134
 
135
+ it "should return taglines" do
136
+ @movie.taglines.should be_an(Array)
137
+ @movie.taglines.size.should be_within(10).of(15)
138
+ @movie.taglines.should include("Free your mind")
139
+ @movie.taglines.should include("The Matrix has you.")
140
+ @movie.taglines.should include("The Future isn't user friendly...")
141
+ end
142
+
135
143
  describe "release dates" do
136
144
  it "should return release dates" do
137
145
  # Rear Window (1954)
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.6
4
+ version: 0.8.7
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-02-27 00:00:00.000000000 Z
11
+ date: 2016-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -120,6 +120,7 @@ files:
120
120
  - spec/fixtures/tt0133093/keywords
121
121
  - spec/fixtures/tt0133093/mediaindex_still_frame
122
122
  - spec/fixtures/tt0133093/releaseinfo
123
+ - spec/fixtures/tt0133093/taglines
123
124
  - spec/fixtures/tt0133093/trivia
124
125
  - spec/fixtures/tt0169547/index
125
126
  - spec/fixtures/tt0317248/index
@@ -174,6 +175,7 @@ test_files:
174
175
  - spec/fixtures/tt0133093/keywords
175
176
  - spec/fixtures/tt0133093/mediaindex_still_frame
176
177
  - spec/fixtures/tt0133093/releaseinfo
178
+ - spec/fixtures/tt0133093/taglines
177
179
  - spec/fixtures/tt0133093/trivia
178
180
  - spec/fixtures/tt0169547/index
179
181
  - spec/fixtures/tt0317248/index