hlspider 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/hlspider +6 -1
  2. data/lib/hlspider/version.rb +1 -1
  3. metadata +3 -3
data/bin/hlspider CHANGED
@@ -37,7 +37,12 @@ opts_parser.parse!
37
37
 
38
38
  spider = HLSpider::Spider.new(options[:playlists])
39
39
 
40
- x = 1
40
+ if options[:loop] == 0
41
+ x = -1
42
+ else
43
+ x = 1
44
+ end
45
+
41
46
  while x <= options[:loop] do
42
47
  if spider.crawl
43
48
  if spider.aligned?
@@ -1,3 +1,3 @@
1
1
  module HLSpider
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hlspider
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - brookemckim