tmdb_party 0.6.0 → 0.7.0

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.
@@ -59,7 +59,7 @@ describe TMDBParty::Movie do
59
59
  end
60
60
 
61
61
  it "should have a last modified at timestamp" do
62
- transformers_movie.last_modified_at.should == Time.parse('2010-05-07 22:53:59 UTC')
62
+ transformers_movie.last_modified_at.should == Time.parse('Sat Jan 15 02:02:30 -0500 2011')
63
63
  end
64
64
 
65
65
  it "should have a cast" do
@@ -76,24 +76,24 @@ describe TMDBParty::Movie do
76
76
  end
77
77
 
78
78
  it "should have a list of writers" do
79
- transformers_movie.writers.should == []
79
+ transformers_movie.should have(3).writers
80
80
  end
81
81
 
82
82
  it "should have a list of poster images" do
83
- transformers_movie.should have(10).posters
83
+ transformers_movie.should have(18).posters
84
84
  poster = transformers_movie.posters.first
85
85
  poster.sizes.should include(:cover, :thumb, :mid, :original)
86
86
  end
87
87
 
88
88
  it "should have a list of backdrop images" do
89
- transformers_movie.should have(11).backdrops
89
+ transformers_movie.should have(13).backdrops
90
90
  backdrop = transformers_movie.backdrops.first
91
91
  backdrop.sizes.should include(:thumb, :poster, :original)
92
92
  end
93
93
 
94
94
  it "should have a list of genres" do
95
95
  transformers_movie.should have(3).genres
96
- transformers_movie.genres.map { |g| g.name }.should include('Action', 'Adventure', 'Science Fiction')
96
+ transformers_movie.genres.map { |g| g.name }.should include('Action', 'Thriller', 'Science Fiction')
97
97
  end
98
98
 
99
99
  it "should have a list of countries" do
@@ -107,4 +107,4 @@ describe TMDBParty::Movie do
107
107
  end
108
108
  end
109
109
 
110
- end
110
+ end
data/tmdb_party.gemspec CHANGED
@@ -1,78 +1,76 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tmdb_party}
8
- s.version = "0.6.0"
8
+ s.version = "0.7.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John Duff", "Jon Maddox"]
12
- s.date = %q{2010-09-22}
12
+ s.date = %q{2011-01-15}
13
13
  s.email = %q{duff.john@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
16
- "README.rdoc"
16
+ "README.rdoc"
17
17
  ]
18
18
  s.files = [
19
19
  ".document",
20
- ".gitignore",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION.yml",
25
- "lib/tmdb_party.rb",
26
- "lib/tmdb_party/attributes.rb",
27
- "lib/tmdb_party/cast_member.rb",
28
- "lib/tmdb_party/category.rb",
29
- "lib/tmdb_party/core_extensions.rb",
30
- "lib/tmdb_party/country.rb",
31
- "lib/tmdb_party/genre.rb",
32
- "lib/tmdb_party/httparty_icebox.rb",
33
- "lib/tmdb_party/image.rb",
34
- "lib/tmdb_party/movie.rb",
35
- "lib/tmdb_party/person.rb",
36
- "lib/tmdb_party/studio.rb",
37
- "lib/tmdb_party/video.rb",
38
- "spec/fixtures/imdb_no_results.json",
39
- "spec/fixtures/imdb_search.json",
40
- "spec/fixtures/megan_fox.json",
41
- "spec/fixtures/no_groups.json",
42
- "spec/fixtures/nothing_found.json",
43
- "spec/fixtures/rad.json",
44
- "spec/fixtures/search.json",
45
- "spec/fixtures/search_person.json",
46
- "spec/fixtures/shitty_shit_result.json",
47
- "spec/fixtures/single_result.json",
48
- "spec/fixtures/transformers.json",
49
- "spec/lib/tmdb_party/cast_member_spec.rb",
50
- "spec/lib/tmdb_party/country_spec.rb",
51
- "spec/lib/tmdb_party/image_spec.rb",
52
- "spec/lib/tmdb_party/movie_spec.rb",
53
- "spec/lib/tmdb_party/person_spec.rb",
54
- "spec/lib/tmdb_party/studio_spec.rb",
55
- "spec/lib/tmdb_party_spec.rb",
56
- "spec/spec_helper.rb",
57
- "test/fixtures/shitty_shit_result.json",
58
- "test/tmdb_party/test_tmdb_party.rb",
59
- "tmdb_party.gemspec"
20
+ "LICENSE",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION.yml",
24
+ "lib/tmdb_party.rb",
25
+ "lib/tmdb_party/attributes.rb",
26
+ "lib/tmdb_party/cast_member.rb",
27
+ "lib/tmdb_party/category.rb",
28
+ "lib/tmdb_party/core_extensions.rb",
29
+ "lib/tmdb_party/country.rb",
30
+ "lib/tmdb_party/genre.rb",
31
+ "lib/tmdb_party/httparty_icebox.rb",
32
+ "lib/tmdb_party/image.rb",
33
+ "lib/tmdb_party/movie.rb",
34
+ "lib/tmdb_party/person.rb",
35
+ "lib/tmdb_party/studio.rb",
36
+ "lib/tmdb_party/video.rb",
37
+ "spec/fixtures/imdb_no_results.json",
38
+ "spec/fixtures/imdb_search.json",
39
+ "spec/fixtures/megan_fox.json",
40
+ "spec/fixtures/no_groups.json",
41
+ "spec/fixtures/nothing_found.json",
42
+ "spec/fixtures/rad.json",
43
+ "spec/fixtures/search.json",
44
+ "spec/fixtures/search_person.json",
45
+ "spec/fixtures/shitty_shit_result.json",
46
+ "spec/fixtures/single_result.json",
47
+ "spec/fixtures/transformers.json",
48
+ "spec/lib/tmdb_party/cast_member_spec.rb",
49
+ "spec/lib/tmdb_party/country_spec.rb",
50
+ "spec/lib/tmdb_party/image_spec.rb",
51
+ "spec/lib/tmdb_party/movie_spec.rb",
52
+ "spec/lib/tmdb_party/person_spec.rb",
53
+ "spec/lib/tmdb_party/studio_spec.rb",
54
+ "spec/lib/tmdb_party_spec.rb",
55
+ "spec/spec_helper.rb",
56
+ "test/fixtures/shitty_shit_result.json",
57
+ "test/tmdb_party/test_tmdb_party.rb",
58
+ "tmdb_party.gemspec"
60
59
  ]
61
60
  s.homepage = %q{http://github.com/jduff/tmdb_party}
62
- s.rdoc_options = ["--charset=UTF-8"]
63
61
  s.require_paths = ["lib"]
64
62
  s.rubygems_version = %q{1.3.7}
65
63
  s.summary = %q{Simple ruby wrapper to themoviedb.org (http://api.themoviedb.org/2.0/docs/) using HTTParty}
66
64
  s.test_files = [
67
65
  "spec/lib/tmdb_party/cast_member_spec.rb",
68
- "spec/lib/tmdb_party/country_spec.rb",
69
- "spec/lib/tmdb_party/image_spec.rb",
70
- "spec/lib/tmdb_party/movie_spec.rb",
71
- "spec/lib/tmdb_party/person_spec.rb",
72
- "spec/lib/tmdb_party/studio_spec.rb",
73
- "spec/lib/tmdb_party_spec.rb",
74
- "spec/spec_helper.rb",
75
- "test/tmdb_party/test_tmdb_party.rb"
66
+ "spec/lib/tmdb_party/country_spec.rb",
67
+ "spec/lib/tmdb_party/image_spec.rb",
68
+ "spec/lib/tmdb_party/movie_spec.rb",
69
+ "spec/lib/tmdb_party/person_spec.rb",
70
+ "spec/lib/tmdb_party/studio_spec.rb",
71
+ "spec/lib/tmdb_party_spec.rb",
72
+ "spec/spec_helper.rb",
73
+ "test/tmdb_party/test_tmdb_party.rb"
76
74
  ]
77
75
 
78
76
  if s.respond_to? :specification_version then
@@ -94,3 +92,4 @@ Gem::Specification.new do |s|
94
92
  s.add_dependency(%q<rspec>, [">= 0"])
95
93
  end
96
94
  end
95
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmdb_party
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 6
8
+ - 7
9
9
  - 0
10
- version: 0.6.0
10
+ version: 0.7.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Duff
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-09-22 00:00:00 -04:00
19
+ date: 2011-01-15 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -74,7 +74,6 @@ extra_rdoc_files:
74
74
  - README.rdoc
75
75
  files:
76
76
  - .document
77
- - .gitignore
78
77
  - LICENSE
79
78
  - README.rdoc
80
79
  - Rakefile
@@ -119,8 +118,8 @@ homepage: http://github.com/jduff/tmdb_party
119
118
  licenses: []
120
119
 
121
120
  post_install_message:
122
- rdoc_options:
123
- - --charset=UTF-8
121
+ rdoc_options: []
122
+
124
123
  require_paths:
125
124
  - lib
126
125
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg