zelda 1.1.0 → 1.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.
@@ -1,3 +1,10 @@
1
+ ## 1.1.1 (Aug 15, 2011)
2
+
3
+ Bugfixes:
4
+
5
+ - Fix the response hash key, since it is named after the resource
6
+
7
+
1
8
  ## 1.1.0 (Aug 11, 2011)
2
9
 
3
10
  Bugfixes:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zelda (1.0.0)
4
+ zelda (1.1.0)
5
5
  httparty
6
6
 
7
7
  GEM
@@ -20,7 +20,7 @@ module Zelda
20
20
 
21
21
  # Return Series for this Omroep that have broadcasts in the future.
22
22
  def current_series
23
- Zelda::Request.get("omroepen/#{slug}/current_series")['omroep']['series']['serie'].map do |attrs|
23
+ Zelda::Request.get("omroepen/#{slug}/current_series")['omroep']['current_series']['serie'].map do |attrs|
24
24
  Zelda::Serie.new(attrs)
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module Zelda
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -69,7 +69,7 @@ describe Zelda::Omroep do
69
69
  before(:each) do
70
70
  @omroep = Zelda::Omroep.new('slug' => 'kro')
71
71
 
72
- Zelda::Request.stub!(:get).and_return('omroep' => {'series' => {'serie' => [{'foo' => 'bar'}]}})
72
+ Zelda::Request.stub!(:get).and_return('omroep' => {'current_series' => {'serie' => [{'foo' => 'bar'}]}})
73
73
  end
74
74
 
75
75
  def find_series
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: zelda
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.0
5
+ version: 1.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joost Baaij
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-11 00:00:00 +02:00
13
+ date: 2011-08-15 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency