assonnato 0.6.1 → 0.6.2
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.
- checksums.yaml +4 -4
- data/lib/assonnato/type/episode.rb +4 -0
- data/lib/assonnato/type/show.rb +4 -0
- data/lib/assonnato/version.rb +1 -1
- data/spec/episode_spec.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ede4e10695a772234702bd662ef229c962d4155b
|
4
|
+
data.tar.gz: 0ac6f6d1bf318f27a11a0d6389f9342465506454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb0ec42d25da3e52c861a3407ceb69343e4f2c54ee91afe4311f13e10b1a40a86c1178218b79dc5164d6cea68d2da9ae699388772d84d41c04e748650f414c60
|
7
|
+
data.tar.gz: 7a0f45d61725ed74cf254b44e100cfa1bb0695213a2dc2a2d97d7e003da13bd4142af30538672491da5c77fa70db7e17bd8a13443012fed4949021ff2827cfe8
|
data/lib/assonnato/type/show.rb
CHANGED
data/lib/assonnato/version.rb
CHANGED
data/spec/episode_spec.rb
CHANGED
@@ -27,4 +27,11 @@ describe 'Assonnato' do
|
|
27
27
|
res.first.should be_kind_of(Struct)
|
28
28
|
res.first.episode.should eql(1)
|
29
29
|
end
|
30
|
+
|
31
|
+
it 'returns the last episode of each show with the given status' do
|
32
|
+
res = @episode.last! :ongoing
|
33
|
+
res.should be_kind_of(Array)
|
34
|
+
res.should_not be_empty
|
35
|
+
res.first.should be_kind_of(Struct)
|
36
|
+
end
|
30
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assonnato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giovanni Capuano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|