spotlite 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,10 +66,6 @@ describe "Spotlite::Movie" do
66
66
  @movie.runtime.should eql(136)
67
67
  end
68
68
 
69
- it "should return MPAA content rating" do
70
- @movie.content_rating.should eql({:code => "R", :description => "Rated R for sci-fi violence and brief language"})
71
- end
72
-
73
69
  describe "poster URL" do
74
70
  it "should return old style poster URL" do
75
71
  @movie.poster_url.should eql("http://ia.media-imdb.com/images/M/MV5BMjEzNjg1NTg2NV5BMl5BanBnXkFtZTYwNjY3MzQ5.jpg")
@@ -4,7 +4,7 @@ namespace :fixtures do
4
4
  require File.expand_path(File.dirname(__FILE__) + "/../spec/spec_helper")
5
5
 
6
6
  IMDB_SAMPLES.each_pair do |url, fixture|
7
- page = `curl -is #{url}`
7
+ page = `curl -is #{url} --header "Accept-Language: en-us"`
8
8
 
9
9
  File.open(File.expand_path(File.dirname(__FILE__) + "/../spec/fixtures/#{fixture}"), 'w') do |f|
10
10
  f.write(page)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-25 00:00:00.000000000 Z
12
+ date: 2013-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri