overdrive 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/README.markdown +4 -0
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/lib/dsl.rb +2 -2
- data/test/fixtures/test.rss +28 -3
- metadata +11 -1
data/README.markdown
CHANGED
data/Rakefile
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/lib/dsl.rb
CHANGED
|
@@ -11,11 +11,11 @@ class DSL
|
|
|
11
11
|
options[:filter_paths].each do |path|
|
|
12
12
|
begin
|
|
13
13
|
File.open(path, 'r') do |fh|
|
|
14
|
-
@options[:logger].info "Adding #{path} to recipe list"
|
|
14
|
+
@options[:logger].info "Adding #{path} to recipe list" if options[:verbose]
|
|
15
15
|
contents += fh.read
|
|
16
16
|
end
|
|
17
17
|
rescue => e
|
|
18
|
-
@options[:logger].info "Couldn't add #{path} to recipe list: #{e}"
|
|
18
|
+
@options[:logger].info "Couldn't add #{path} to recipe list: #{e}" if options[:verbose]
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
|
data/test/fixtures/test.rss
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
2
|
-
<rss version="
|
|
2
|
+
<rss version="0.91">
|
|
3
3
|
<channel>
|
|
4
4
|
<ttl>10</ttl>
|
|
5
5
|
<title>My Torrent Site</title>
|
|
6
6
|
<link>http://www.mytorrentsite.com</link>
|
|
7
|
-
<description>This is a
|
|
8
|
-
|
|
7
|
+
<description>This is a fake torrent feed</description>
|
|
8
|
+
|
|
9
9
|
<item><title>dollhouse.s02e08.internal.hdtv.xvid-2hd.avi</title>
|
|
10
10
|
<link>http://www.mytorrentsite.com/download/dollhouse.s02e08.internal.hdtv.xvid-2hd.avi.torrent</link>
|
|
11
11
|
|
|
12
|
+
<pubDate>Sat, 12 Dec 2009 8:46:37 -0600</pubDate>
|
|
12
13
|
<description>
|
|
13
14
|
Category: Dollhouse
|
|
14
15
|
Size: 349.30 MB
|
|
@@ -16,6 +17,7 @@ Category: Dollhouse
|
|
|
16
17
|
</item>
|
|
17
18
|
<item><title>Ghost.Adventures.S03E07.HDTV.XviD-CRiMSON</title>
|
|
18
19
|
<link>http://www.mytorrentsite.com/download/ghost.adventures.s03e07.hdtv.xvid-crimson.avi.torrent</link>
|
|
20
|
+
<pubDate>Sat, 12 Dec 2009 8:41:32 -0600</pubDate>
|
|
19
21
|
<description>
|
|
20
22
|
Category: (Reality TV - Un-scripted)
|
|
21
23
|
Size: 350.15 MB
|
|
@@ -24,6 +26,7 @@ Category: (Reality TV - Un-scripted)
|
|
|
24
26
|
<item><title>Dollhouse.S02E08.720p.HDTV.x264-IMMERSE[NUKED]</title>
|
|
25
27
|
|
|
26
28
|
<link>http://www.mytorrentsite.com/download/dollhouse.s02e08.720p.hdtv.x264-immerse.mkv.torrent</link>
|
|
29
|
+
<pubDate>Sat, 12 Dec 2009 7:47:41 -0600</pubDate>
|
|
27
30
|
<description>
|
|
28
31
|
Category: Dollhouse
|
|
29
32
|
Size: 1.09 GB
|
|
@@ -31,6 +34,7 @@ Category: Dollhouse
|
|
|
31
34
|
</item>
|
|
32
35
|
<item><title>Sanctuary.US.S02E09.720p.HDTV.x264-ORENJi</title>
|
|
33
36
|
<link>http://www.mytorrentsite.com/download/sanctuary.us.s02e09.720p.hdtv.x264-orenji.mkv.torrent</link>
|
|
37
|
+
<pubDate>Sat, 12 Dec 2009 7:23:31 -0600</pubDate>
|
|
34
38
|
<description>
|
|
35
39
|
Category: Sanctuary
|
|
36
40
|
Size: 1.09 GB
|
|
@@ -39,6 +43,7 @@ Category: Sanctuary
|
|
|
39
43
|
</item>
|
|
40
44
|
<item><title>National.Geographic.Samurai.Sword.720p.HDTV.x264-DiCH</title>
|
|
41
45
|
<link>http://www.mytorrentsite.com/download/dich-national.geographic.ss.720p.hdtv.x264.mkv.torrent</link>
|
|
46
|
+
<pubDate>Sat, 12 Dec 2009 7:18:37 -0600</pubDate>
|
|
42
47
|
<description>
|
|
43
48
|
Category: (National Geographic)
|
|
44
49
|
Size: 1.09 GB
|
|
@@ -46,6 +51,7 @@ Category: (National Geographic)
|
|
|
46
51
|
</item>
|
|
47
52
|
<item><title>Conan.O'Brien.12.11.2009.Zach.Braff.1080i.AC3.MPEG2-TSR [TS][Transport Stream]</title>
|
|
48
53
|
<link>http://www.mytorrentsite.com/download/conan.o%27brien.12.11.2009.zach.braff.1080i.ac3.mpeg2.tsr.ts.torrent</link>
|
|
54
|
+
<pubDate>Sat, 12 Dec 2009 6:14:49 -0600</pubDate>
|
|
49
55
|
|
|
50
56
|
<description>
|
|
51
57
|
Category: Tonight Show
|
|
@@ -54,6 +60,7 @@ Category: Tonight Show
|
|
|
54
60
|
</item>
|
|
55
61
|
<item><title>Dollhouse S02E07 [reencode] [P0W4] [iPod].mp4</title>
|
|
56
62
|
<link>http://www.mytorrentsite.com/download/Dollhouse%20S02E07%20%5Breencode%5D%20%5BP0W4%5D%20%5BiPod%5D.mp4.torrent</link>
|
|
63
|
+
<pubDate>Sat, 12 Dec 2009 6:14:43 -0600</pubDate>
|
|
57
64
|
<description>
|
|
58
65
|
Category: (Portable TV Episodes)
|
|
59
66
|
Size: 387.05 MB
|
|
@@ -62,6 +69,7 @@ Category: (Portable TV Episodes)
|
|
|
62
69
|
<item><title>Law.and.Order.S20E11.REPACK.720p.HDTV.x264-IMMERSE</title>
|
|
63
70
|
<link>http://www.mytorrentsite.com/download/law.and.order.s20e11.repack.720p.hdtv.x264-immerse.mkv.torrent</link>
|
|
64
71
|
|
|
72
|
+
<pubDate>Sat, 12 Dec 2009 6:14:41 -0600</pubDate>
|
|
65
73
|
<description>
|
|
66
74
|
Category: Law and Order
|
|
67
75
|
Size: 1.09 GB
|
|
@@ -69,6 +77,7 @@ Category: Law and Order
|
|
|
69
77
|
</item>
|
|
70
78
|
<item><title>Hardcore TV (1994, HBO series)</title>
|
|
71
79
|
<link>http://www.mytorrentsite.com/download/Hardcore%20TV%20%281994%20HBO%20Complete%20Series%29.torrent</link>
|
|
80
|
+
<pubDate>Sat, 12 Dec 2009 5:57:17 -0600</pubDate>
|
|
72
81
|
<description>
|
|
73
82
|
Category: (US Comedy)
|
|
74
83
|
Size: 1.88 GB
|
|
@@ -77,6 +86,7 @@ Category: (US Comedy)
|
|
|
77
86
|
<item><title>yes.virginia.hdtv.xvid-notv.avi</title>
|
|
78
87
|
|
|
79
88
|
<link>http://www.mytorrentsite.com/download/yes.virginia.hdtv.xvid-notv.avi.torrent</link>
|
|
89
|
+
<pubDate>Sat, 12 Dec 2009 5:54:10 -0600</pubDate>
|
|
80
90
|
<description>
|
|
81
91
|
Category: (Cartoons)
|
|
82
92
|
Size: 175.16 MB
|
|
@@ -84,6 +94,7 @@ Category: (Cartoons)
|
|
|
84
94
|
</item>
|
|
85
95
|
<item><title>Crash.S02E12.HDTV.XviD-RED</title>
|
|
86
96
|
<link>http://www.mytorrentsite.com/download/Crash.S02E12.HDTV.XviD-RED.avi.torrent</link>
|
|
97
|
+
<pubDate>Sat, 12 Dec 2009 5:28:56 -0600</pubDate>
|
|
87
98
|
<description>
|
|
88
99
|
Category: (US Drama)
|
|
89
100
|
Size: 550.88 MB
|
|
@@ -92,6 +103,7 @@ Category: (US Drama)
|
|
|
92
103
|
</item>
|
|
93
104
|
<item><title>Being.Erica.S02.INTERNAL.HDTV.XviD-BitMeTV</title>
|
|
94
105
|
<link>http://www.mytorrentsite.com/download/Being.Erica.S02.INTERNAL.HDTV.XviD-BitMeTV.torrent</link>
|
|
106
|
+
<pubDate>Sat, 12 Dec 2009 5:17:58 -0600</pubDate>
|
|
95
107
|
<description>
|
|
96
108
|
Category: (Canadian TV)
|
|
97
109
|
Size: 4.10 GB
|
|
@@ -99,6 +111,7 @@ Category: (Canadian TV)
|
|
|
99
111
|
</item>
|
|
100
112
|
<item><title>Friday.Night.Lights.S04E06.HDTV.XviD-RED</title>
|
|
101
113
|
<link>http://www.mytorrentsite.com/download/Friday.Night.Lights.S04E06.HDTV.XviD-RED.avi.torrent</link>
|
|
114
|
+
<pubDate>Sat, 12 Dec 2009 5:02:01 -0600</pubDate>
|
|
102
115
|
|
|
103
116
|
<description>
|
|
104
117
|
Category: Friday Night Lights
|
|
@@ -107,6 +120,7 @@ Category: Friday Night Lights
|
|
|
107
120
|
</item>
|
|
108
121
|
<item><title>National.Geographic.Inside.The.Pentagon.Xvid.DVDRip.avi</title>
|
|
109
122
|
<link>http://www.mytorrentsite.com/download/National.Geographic.Inside.The.Pentagon.Xvid.DVDRip.avi.torrent</link>
|
|
123
|
+
<pubDate>Sat, 12 Dec 2009 4:48:16 -0600</pubDate>
|
|
110
124
|
<description>
|
|
111
125
|
Category: (National Geographic)
|
|
112
126
|
Size: 700.17 MB
|
|
@@ -115,6 +129,7 @@ Category: (National Geographic)
|
|
|
115
129
|
<item><title>Sanctuary.US.S02E09.Penance.HDTV.XviD-FQM</title>
|
|
116
130
|
<link>http://www.mytorrentsite.com/download/sanctuary.us.s02e09.hdtv.xvid-fqm.avi.torrent</link>
|
|
117
131
|
|
|
132
|
+
<pubDate>Sat, 12 Dec 2009 4:10:01 -0600</pubDate>
|
|
118
133
|
<description>
|
|
119
134
|
Category: Sanctuary
|
|
120
135
|
Size: 350.02 MB
|
|
@@ -122,6 +137,7 @@ Category: Sanctuary
|
|
|
122
137
|
</item>
|
|
123
138
|
<item><title>Million.Dollar.Listing.S03E03.Dolphins.Rats.and.Next.Door.Neighbors.HDTV.XviD-SAiNTS.avi</title>
|
|
124
139
|
<link>http://www.mytorrentsite.com/download/Million.Dollar.Listing.S03E03.Dolphins.Rats.and.Next.Door.Neighbors.HDTV.XviD-SAiNTS.avi.torrent</link>
|
|
140
|
+
<pubDate>Sat, 12 Dec 2009 3:52:42 -0600</pubDate>
|
|
125
141
|
<description>
|
|
126
142
|
Category: (Reality TV - Un-scripted)
|
|
127
143
|
Size: 349.30 MB
|
|
@@ -130,6 +146,7 @@ Category: (Reality TV - Un-scripted)
|
|
|
130
146
|
<item><title>Dollhouse.S02E07.Meet.Jane.Doe.720p.AC3.MPEG2-TSR [TS][Transport Stream]</title>
|
|
131
147
|
|
|
132
148
|
<link>http://www.mytorrentsite.com/download/dollhouse.s02e07.meet.jane.doe.720p.ac3.mpeg2.tsr.ts.torrent</link>
|
|
149
|
+
<pubDate>Sat, 12 Dec 2009 3:51:15 -0600</pubDate>
|
|
133
150
|
<description>
|
|
134
151
|
Category: Dollhouse
|
|
135
152
|
Size: 4.49 GB
|
|
@@ -137,6 +154,7 @@ Category: Dollhouse
|
|
|
137
154
|
</item>
|
|
138
155
|
<item><title>Dollhouse.S02E07.REPACK.720p.HDTV.x264-IMMERSE</title>
|
|
139
156
|
<link>http://www.mytorrentsite.com/download/dollhouse.s02e07.repack.720p.hdtv.x264-immerse.mkv.torrent</link>
|
|
157
|
+
<pubDate>Sat, 12 Dec 2009 3:46:25 -0600</pubDate>
|
|
140
158
|
<description>
|
|
141
159
|
Category: Dollhouse
|
|
142
160
|
Size: 1.09 GB
|
|
@@ -145,6 +163,7 @@ Category: Dollhouse
|
|
|
145
163
|
</item>
|
|
146
164
|
<item><title>The.Real.World.Road.Rules.Challenge.S18E10.DSR.XviD-CRiMSON</title>
|
|
147
165
|
<link>http://www.mytorrentsite.com/download/the.real.world.road.rules.challenge.s18e10.dsr.xvid-crimson.avi.torrent</link>
|
|
166
|
+
<pubDate>Sat, 12 Dec 2009 3:40:05 -0600</pubDate>
|
|
148
167
|
<description>
|
|
149
168
|
Category: (Reality TV - Competitive)
|
|
150
169
|
Size: 348.92 MB
|
|
@@ -152,6 +171,7 @@ Category: (Reality TV - Competitive)
|
|
|
152
171
|
</item>
|
|
153
172
|
<item><title>The.Real.World.Road.Rules.Challenge.S18E09.DSR.XviD-CRiMSON</title>
|
|
154
173
|
<link>http://www.mytorrentsite.com/download/The.Real.World.Road.Rules.Challenge.S18E09.DSR.XviD-CRiMSON.avi.torrent</link>
|
|
174
|
+
<pubDate>Sat, 12 Dec 2009 3:34:23 -0600</pubDate>
|
|
155
175
|
|
|
156
176
|
<description>
|
|
157
177
|
Category: (Reality TV - Competitive)
|
|
@@ -160,6 +180,7 @@ Category: (Reality TV - Competitive)
|
|
|
160
180
|
</item>
|
|
161
181
|
<item><title>Ugly.Betty.S04E09.720p.HDTV.x264-CTU</title>
|
|
162
182
|
<link>http://www.mytorrentsite.com/download/ugly.betty.s04e09.720p.hdtv.x264-ctu.mkv.torrent</link>
|
|
183
|
+
<pubDate>Sat, 12 Dec 2009 3:28:40 -0600</pubDate>
|
|
163
184
|
<description>
|
|
164
185
|
Category: Ugly Betty
|
|
165
186
|
Size: 1.09 GB
|
|
@@ -168,6 +189,7 @@ Category: Ugly Betty
|
|
|
168
189
|
<item><title>Ugly.Betty.S04E09.Be-Shure.HDTV.XviD-FQM</title>
|
|
169
190
|
<link>http://www.mytorrentsite.com/download/ugly.betty.s04e09.hdtv.xvid-fqm.avi.torrent</link>
|
|
170
191
|
|
|
192
|
+
<pubDate>Sat, 12 Dec 2009 3:08:10 -0600</pubDate>
|
|
171
193
|
<description>
|
|
172
194
|
Category: Ugly Betty
|
|
173
195
|
Size: 350.03 MB
|
|
@@ -175,6 +197,7 @@ Category: Ugly Betty
|
|
|
175
197
|
</item>
|
|
176
198
|
<item><title>Dollhouse S02E04 [reencode] [2hd] [iPod].mp4</title>
|
|
177
199
|
<link>http://www.mytorrentsite.com/download/Dollhouse%20S02E04%20%5Breencode%5D%20%5B2hd%5D%20%5BiPod%5D.mp4.torrent</link>
|
|
200
|
+
<pubDate>Sat, 12 Dec 2009 3:06:32 -0600</pubDate>
|
|
178
201
|
<description>
|
|
179
202
|
Category: (Portable TV Episodes)
|
|
180
203
|
Size: 383.00 MB
|
|
@@ -183,6 +206,7 @@ Category: (Portable TV Episodes)
|
|
|
183
206
|
<item><title>Dollhouse S02E03 [reencode] [xii] [iPod].mp4</title>
|
|
184
207
|
|
|
185
208
|
<link>http://www.mytorrentsite.com/download/Dollhouse%20S02E03%20%5Breencode%5D%20%5Bxii%5D%20%5BiPod%5D.mp4.torrent</link>
|
|
209
|
+
<pubDate>Sat, 12 Dec 2009 3:01:25 -0600</pubDate>
|
|
186
210
|
<description>
|
|
187
211
|
Category: (Portable TV Episodes)
|
|
188
212
|
Size: 388.40 MB
|
|
@@ -190,6 +214,7 @@ Category: (Portable TV Episodes)
|
|
|
190
214
|
</item>
|
|
191
215
|
<item><title>Maury.2009.12.11.DSR.XviD-sHoTV</title>
|
|
192
216
|
<link>http://www.mytorrentsite.com/download/maury.2009.12.11.dsr.xvid-shotv.avi.torrent</link>
|
|
217
|
+
<pubDate>Sat, 12 Dec 2009 2:52:51 -0600</pubDate>
|
|
193
218
|
<description>
|
|
194
219
|
Category: Maury
|
|
195
220
|
Size: 349.14 MB
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: overdrive
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Myles Eftos
|
|
@@ -42,6 +42,16 @@ dependencies:
|
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
43
|
version: "0"
|
|
44
44
|
version:
|
|
45
|
+
- !ruby/object:Gem::Dependency
|
|
46
|
+
name: pauldix-feedzirra
|
|
47
|
+
type: :runtime
|
|
48
|
+
version_requirement:
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: "0"
|
|
54
|
+
version:
|
|
45
55
|
description: An RSS frontend for transmissions. It defines a basic DSL that allows you decide what you do once the files have been downloaded
|
|
46
56
|
email: myles@madpilot.com.au
|
|
47
57
|
executables:
|