Permalink
Browse files

Initial commit to SABnzbd.

  • Loading branch information...
0 parents commit d2d6b881b32a4f315b2300cd8d2e5af33e25cc94 @Sutto committed Jan 8, 2009
Showing with 86 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +20 −0 LICENSE
  3. +9 −0 README
  4. +40 −0 Rakefile
  5. 0 lib/SABnzbd.rb
  6. +7 −0 test/SABnzbd_test.rb
  7. +7 −0 test/test_helper.rb
@@ -0,0 +1,3 @@
+*.sw?
+.DS_Store
+coverage
@@ -0,0 +1,20 @@
+Copyright (c) 2008 Darcy Laycock
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,9 @@
+SABnzbd
+=======
+
+Description goes here.
+
+COPYRIGHT
+=========
+
+Copyright (c) 2008 Darcy Laycock. See LICENSE for details.
@@ -0,0 +1,40 @@
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+require 'rcov/rcovtask'
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |s|
+ s.name = "SABnzbd"
+ s.summary = "TODO"
+ s.email = "sutto@sutto.net"
+ s.homepage = "http://github.com/Sutto/SABnzbd"
+ s.description = "TODO"
+ s.authors = ["Darcy Laycock"]
+ end
+rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+end
+
+Rake::TestTask.new do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/**/*_test.rb'
+ t.verbose = false
+end
+
+Rake::RDocTask.new do |rdoc|
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = 'Jeweler'
+ rdoc.options << '--line-numbers' << '--inline-source'
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
+
+Rcov::RcovTask.new do |t|
+ t.libs << "test"
+ t.test_files = FileList['test/**/*_test.rb']
+ t.verbose = true
+end
+
+task :default => :rcov
No changes.
@@ -0,0 +1,7 @@
+require File.dirname(__FILE__) + '/test_helper'
+
+class SabnzbdTest < Test::Unit::TestCase
+ should "probably rename this file and start testing for real" do
+ flunk "hey buddy, you should probably rename this file and start testing for real"
+ end
+end
@@ -0,0 +1,7 @@
+require 'rubygems'
+require 'test/unit'
+require 'shoulda'
+require 'mocha'
+
+class Test::Unit::TestCase
+end

0 comments on commit d2d6b88

Please sign in to comment.