tmdb_party 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,10 @@
1
1
  require 'rubygems'
2
- require 'test/unit'
3
- require 'context'
4
2
  require 'fakeweb'
5
3
 
6
4
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
5
  $LOAD_PATH.unshift(File.dirname(__FILE__))
8
- require 'tmdb_party'
9
6
 
10
- class Test::Unit::TestCase
11
- end
7
+ require 'tmdb_party'
12
8
 
13
9
  def fixture_file(filename)
14
10
  return '' if filename == ''
@@ -26,7 +22,3 @@ def stub_get(url, filename, status=nil)
26
22
 
27
23
  FakeWeb.register_uri(:get, tmdb_url(url), options)
28
24
  end
29
-
30
- def stub_post(url, filename)
31
- FakeWeb.register_uri(:post, tmdb_url(url), :string => fixture_file(filename))
32
- end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tmdb_party}
8
- s.version = "0.4.1"
8
+ s.version = "0.5.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{2009-11-03}
12
+ s.date = %q{2010-07-27}
13
13
  s.email = %q{duff.john@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -24,23 +24,37 @@ Gem::Specification.new do |s|
24
24
  "VERSION.yml",
25
25
  "lib/tmdb_party.rb",
26
26
  "lib/tmdb_party/attributes.rb",
27
+ "lib/tmdb_party/cast_member.rb",
27
28
  "lib/tmdb_party/category.rb",
28
29
  "lib/tmdb_party/core_extensions.rb",
30
+ "lib/tmdb_party/country.rb",
29
31
  "lib/tmdb_party/genre.rb",
30
32
  "lib/tmdb_party/httparty_icebox.rb",
31
33
  "lib/tmdb_party/image.rb",
32
34
  "lib/tmdb_party/movie.rb",
33
35
  "lib/tmdb_party/person.rb",
36
+ "lib/tmdb_party/studio.rb",
34
37
  "lib/tmdb_party/video.rb",
35
- "test/fixtures/imdb_no_results.json",
36
- "test/fixtures/imdb_search.json",
37
- "test/fixtures/no_groups.json",
38
- "test/fixtures/rad.json",
39
- "test/fixtures/search.json",
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",
40
57
  "test/fixtures/shitty_shit_result.json",
41
- "test/fixtures/single_result.json",
42
- "test/fixtures/transformers.json",
43
- "test/test_helper.rb",
44
58
  "test/tmdb_party/test_tmdb_party.rb",
45
59
  "tmdb_party.gemspec"
46
60
  ]
@@ -50,7 +64,14 @@ Gem::Specification.new do |s|
50
64
  s.rubygems_version = %q{1.3.5}
51
65
  s.summary = %q{Simple ruby wrapper to themoviedb.org (http://api.themoviedb.org/2.0/docs/) using HTTParty}
52
66
  s.test_files = [
53
- "test/test_helper.rb",
67
+ "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",
54
75
  "test/tmdb_party/test_tmdb_party.rb"
55
76
  ]
56
77
 
@@ -61,15 +82,15 @@ Gem::Specification.new do |s|
61
82
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
62
83
  s.add_runtime_dependency(%q<httparty>, [">= 0.4.3"])
63
84
  s.add_development_dependency(%q<fakeweb>, [">= 0"])
64
- s.add_development_dependency(%q<context>, [">= 0"])
85
+ s.add_development_dependency(%q<rspec>, [">= 0"])
65
86
  else
66
87
  s.add_dependency(%q<httparty>, [">= 0.4.3"])
67
88
  s.add_dependency(%q<fakeweb>, [">= 0"])
68
- s.add_dependency(%q<context>, [">= 0"])
89
+ s.add_dependency(%q<rspec>, [">= 0"])
69
90
  end
70
91
  else
71
92
  s.add_dependency(%q<httparty>, [">= 0.4.3"])
72
93
  s.add_dependency(%q<fakeweb>, [">= 0"])
73
- s.add_dependency(%q<context>, [">= 0"])
94
+ s.add_dependency(%q<rspec>, [">= 0"])
74
95
  end
75
96
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmdb_party
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Duff
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-11-03 00:00:00 -05:00
13
+ date: 2010-07-27 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: "0"
35
35
  version:
36
36
  - !ruby/object:Gem::Dependency
37
- name: context
37
+ name: rspec
38
38
  type: :development
39
39
  version_requirement:
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -61,23 +61,37 @@ files:
61
61
  - VERSION.yml
62
62
  - lib/tmdb_party.rb
63
63
  - lib/tmdb_party/attributes.rb
64
+ - lib/tmdb_party/cast_member.rb
64
65
  - lib/tmdb_party/category.rb
65
66
  - lib/tmdb_party/core_extensions.rb
67
+ - lib/tmdb_party/country.rb
66
68
  - lib/tmdb_party/genre.rb
67
69
  - lib/tmdb_party/httparty_icebox.rb
68
70
  - lib/tmdb_party/image.rb
69
71
  - lib/tmdb_party/movie.rb
70
72
  - lib/tmdb_party/person.rb
73
+ - lib/tmdb_party/studio.rb
71
74
  - lib/tmdb_party/video.rb
72
- - test/fixtures/imdb_no_results.json
73
- - test/fixtures/imdb_search.json
74
- - test/fixtures/no_groups.json
75
- - test/fixtures/rad.json
76
- - test/fixtures/search.json
75
+ - spec/fixtures/imdb_no_results.json
76
+ - spec/fixtures/imdb_search.json
77
+ - spec/fixtures/megan_fox.json
78
+ - spec/fixtures/no_groups.json
79
+ - spec/fixtures/nothing_found.json
80
+ - spec/fixtures/rad.json
81
+ - spec/fixtures/search.json
82
+ - spec/fixtures/search_person.json
83
+ - spec/fixtures/shitty_shit_result.json
84
+ - spec/fixtures/single_result.json
85
+ - spec/fixtures/transformers.json
86
+ - spec/lib/tmdb_party/cast_member_spec.rb
87
+ - spec/lib/tmdb_party/country_spec.rb
88
+ - spec/lib/tmdb_party/image_spec.rb
89
+ - spec/lib/tmdb_party/movie_spec.rb
90
+ - spec/lib/tmdb_party/person_spec.rb
91
+ - spec/lib/tmdb_party/studio_spec.rb
92
+ - spec/lib/tmdb_party_spec.rb
93
+ - spec/spec_helper.rb
77
94
  - test/fixtures/shitty_shit_result.json
78
- - test/fixtures/single_result.json
79
- - test/fixtures/transformers.json
80
- - test/test_helper.rb
81
95
  - test/tmdb_party/test_tmdb_party.rb
82
96
  - tmdb_party.gemspec
83
97
  has_rdoc: true
@@ -109,5 +123,12 @@ signing_key:
109
123
  specification_version: 3
110
124
  summary: Simple ruby wrapper to themoviedb.org (http://api.themoviedb.org/2.0/docs/) using HTTParty
111
125
  test_files:
112
- - test/test_helper.rb
126
+ - spec/lib/tmdb_party/cast_member_spec.rb
127
+ - spec/lib/tmdb_party/country_spec.rb
128
+ - spec/lib/tmdb_party/image_spec.rb
129
+ - spec/lib/tmdb_party/movie_spec.rb
130
+ - spec/lib/tmdb_party/person_spec.rb
131
+ - spec/lib/tmdb_party/studio_spec.rb
132
+ - spec/lib/tmdb_party_spec.rb
133
+ - spec/spec_helper.rb
113
134
  - test/tmdb_party/test_tmdb_party.rb