rotten-party 0.1.0 → 0.1.1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -30,6 +30,14 @@ module RottenParty
30
30
  Hashie::Mash.new(response)
31
31
  end
32
32
 
33
+ # Find a film by it's title
34
+ def find_film_by_title(title, options={})
35
+ options.merge!(@global_options)
36
+ options.merge!({:query => {:q => u(title)}})
37
+ response = self.class.get("/movies.json", options).parsed_response
38
+ Hashie::Mash.new(response["movies"].first)
39
+ end
40
+
33
41
  # list
34
42
  # => 'box_office'
35
43
  # => 'in_theaters'
data/rotten-party.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rotten-party}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nick Pellant"]
12
- s.date = %q{2011-05-05}
12
+ s.date = %q{2011-05-18}
13
13
  s.description = %q{RottenTomatoe client using their open API}
14
14
  s.email = %q{nick@abigimportant.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rotten-party
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nick Pellant
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-05 00:00:00 +01:00
13
+ date: 2011-05-18 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- hash: -2232876200852637166
119
+ hash: 1354565757689011251
120
120
  segments:
121
121
  - 0
122
122
  version: "0"