pirate-autonzb 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/autonzb.gemspec +2 -2
- data/bin/autonzb +1 -1
- data/lib/inspector.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
|
|
3
3
|
require 'rake'
|
4
4
|
require 'echoe'
|
5
5
|
|
6
|
-
Echoe.new('autonzb', '0.2.
|
6
|
+
Echoe.new('autonzb', '0.2.4') do |p|
|
7
7
|
p.description = "Ruby tool to automatically download x264 HD nzb movies files from newzleech.com"
|
8
8
|
p.url = "http://github.com/pirate/autonzb"
|
9
9
|
p.author = "Pirate"
|
data/autonzb.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{autonzb}
|
5
|
-
s.version = "0.2.
|
5
|
+
s.version = "0.2.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Pirate"]
|
9
|
-
s.date = %q{2008-12-
|
9
|
+
s.date = %q{2008-12-25}
|
10
10
|
s.default_executable = %q{autonzb}
|
11
11
|
s.description = %q{Ruby tool to automatically download x264 HD nzb movies files from newzleech.com}
|
12
12
|
s.email = %q{pirate.2061@gmail.com}
|
data/bin/autonzb
CHANGED
@@ -28,7 +28,7 @@ module AutoNZB extend OptiFlagSet
|
|
28
28
|
value_matches ["age must be a number", /[0-9]+/]
|
29
29
|
end
|
30
30
|
optional_flag "pages" do
|
31
|
-
description "number page(s) parsed on newzleech, default: 2. Think to augment -
|
31
|
+
description "number page(s) parsed on newzleech, default: 2. Think to augment -age when change number of pages"
|
32
32
|
value_matches ["pages must be a number", /[0-9]+/]
|
33
33
|
end
|
34
34
|
optional_flag "backup" do
|
data/lib/inspector.rb
CHANGED
@@ -5,7 +5,7 @@ class Inspector
|
|
5
5
|
attr_accessor :backup
|
6
6
|
|
7
7
|
def initialize(paths, options = {})
|
8
|
-
@paths = paths.split(',').map { |p| p.gsub
|
8
|
+
@paths = paths.split(',').map { |p| p.gsub(/\/$/,'') }
|
9
9
|
@options = options
|
10
10
|
@options[:srt] = @options[:srt] ? @options[:srt].split(',') : ['none']
|
11
11
|
@options[:imdb_score] = @options[:imdb_score] ? @options[:imdb_score].to_f : 7.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pirate-autonzb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pirate
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-12-
|
12
|
+
date: 2008-12-25 00:00:00 -08:00
|
13
13
|
default_executable: autonzb
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|