pirate-autonzb 0.4.1 → 0.4.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.
data/Manifest CHANGED
@@ -9,3 +9,4 @@ lib/nzb.rb
9
9
  Manifest
10
10
  Rakefile
11
11
  README.markdown
12
+ tasks/test.rake
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  require 'rake'
4
4
  require 'echoe'
5
5
 
6
- Echoe.new('autonzb', '0.4.1') do |p|
6
+ Echoe.new('autonzb', '0.4.2') 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,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{autonzb}
5
- s.version = "0.4.1"
5
+ s.version = "0.4.2"
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"]
@@ -11,8 +11,8 @@ Gem::Specification.new do |s|
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}
13
13
  s.executables = ["autonzb"]
14
- s.extra_rdoc_files = ["bin/autonzb", "lib/imdb.rb", "lib/inspector.rb", "lib/movie.rb", "lib/nfo.rb", "lib/nzb.rb", "README.markdown"]
15
- s.files = ["asset/failure.png", "autonzb.gemspec", "bin/autonzb", "lib/imdb.rb", "lib/inspector.rb", "lib/movie.rb", "lib/nfo.rb", "lib/nzb.rb", "Manifest", "Rakefile", "README.markdown"]
14
+ s.extra_rdoc_files = ["bin/autonzb", "lib/imdb.rb", "lib/inspector.rb", "lib/movie.rb", "lib/nfo.rb", "lib/nzb.rb", "README.markdown", "tasks/test.rake"]
15
+ s.files = ["asset/failure.png", "autonzb.gemspec", "bin/autonzb", "lib/imdb.rb", "lib/inspector.rb", "lib/movie.rb", "lib/nfo.rb", "lib/nzb.rb", "Manifest", "Rakefile", "README.markdown", "tasks/test.rake"]
16
16
  s.has_rdoc = true
17
17
  s.homepage = %q{http://github.com/pirate/autonzb}
18
18
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Autonzb", "--main", "README.markdown"]
data/lib/imdb.rb CHANGED
@@ -12,7 +12,6 @@ class IMDB
12
12
  @coder = HTMLEntities.new
13
13
  set_doc
14
14
  set_id
15
- p @id
16
15
  end
17
16
 
18
17
  def score
data/lib/movie.rb CHANGED
@@ -174,7 +174,7 @@ private
174
174
  end
175
175
  end
176
176
 
177
- def add_imdb_id_to_file_if_not_present
177
+ def add_imdb_id_to_file
178
178
  dir_name = File.dirname(path)
179
179
  ext_name = File.extname(path)
180
180
  base_name = File.basename(path, ext_name)
data/lib/nzb.rb CHANGED
@@ -49,9 +49,8 @@ private
49
49
  movie = Movie.new(raw_name, :nfo => nfo, :imdb_link => imdb_link, :nzb_link => nzb_link(table), :age => age)
50
50
  @movies << movie
51
51
 
52
- $stdout.print "#{movie.dirname}, imdb score: #{movie.score}, age: #{movie.age.to_i} day(s)\n"
53
- # $stdout.print '.'
54
- # $stdout.flush
52
+ $stdout.print '.'
53
+ $stdout.flush
55
54
  end
56
55
  end
57
56
  end
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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pirate
@@ -62,6 +62,7 @@ extra_rdoc_files:
62
62
  - lib/nfo.rb
63
63
  - lib/nzb.rb
64
64
  - README.markdown
65
+ - tasks/test.rake
65
66
  files:
66
67
  - asset/failure.png
67
68
  - autonzb.gemspec
@@ -74,6 +75,7 @@ files:
74
75
  - Manifest
75
76
  - Rakefile
76
77
  - README.markdown
78
+ - tasks/test.rake
77
79
  has_rdoc: true
78
80
  homepage: http://github.com/pirate/autonzb
79
81
  post_install_message: