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.
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/zelda/omroep.rb +1 -1
- data/lib/zelda/version.rb +1 -1
- data/spec/zelda/omroep_spec.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/zelda/omroep.rb
CHANGED
|
@@ -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']['
|
|
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
|
data/lib/zelda/version.rb
CHANGED
data/spec/zelda/omroep_spec.rb
CHANGED
|
@@ -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' => {'
|
|
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.
|
|
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-
|
|
13
|
+
date: 2011-08-15 00:00:00 +02:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|