uirusu 0.0.0

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/LICENSE ADDED
@@ -0,0 +1,25 @@
1
+ Copyright (c) 2010-2011 Jacob Hammack, Arxopia LLC
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+ * Redistributions in binary form must reproduce the above copyright
10
+ notice, this list of conditions and the following disclaimer in the
11
+ documentation and/or other materials provided with the distribution.
12
+ * Neither the name of the Jacob Hammack or Arxopia LLC nor the
13
+ names of its contributors may be used to endorse or promote products
14
+ derived from this software without specific prior written permission.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL JACOB HAMMACK or ARXOPIA LLC BE LIABLE FOR ANY
20
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,5 @@
1
+ # News
2
+
3
+ # 0.0.1 (??)
4
+ - Rename ruby-virustotal/virustotal gem to uirusu, to prevent being sued.
5
+ - Complete rewrite of those gems
@@ -0,0 +1,2 @@
1
+ # uirusu
2
+
@@ -0,0 +1,28 @@
1
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
2
+
3
+ require 'rubygems'
4
+ require "uirusu"
5
+ require 'rake'
6
+ require 'rake/testtask'
7
+
8
+ task :build do
9
+ system "gem build #{Uirusu::APP_NAME}.gemspec"
10
+ end
11
+
12
+ task :release => :build do
13
+ system "gem push #{Uirusu::APP_NAME}-#{Uirusu::VERSION}.gem"
14
+ puts "Just released #{Uirusu::APP_NAME} v#{Uirusu::VERSION}. #{Uirusu::APP_NAME} is always available in RubyGems! More information at http://hammackj.com/projects/uirusu/"
15
+ end
16
+
17
+ task :clean do
18
+ system "rm *.gem"
19
+ system "rm -rf coverage"
20
+ end
21
+
22
+ task :default => [:test_unit]
23
+
24
+ Rake::TestTask.new("test_unit") { |t|
25
+ t.libs << "test"
26
+ t.pattern = 'test/*/*_test.rb'
27
+ t.verbose = true
28
+ }
@@ -0,0 +1,6 @@
1
+ # TODO
2
+
3
+ **Release dates are estimates, and features can be changed at any time.**
4
+
5
+ ## 0.0.1 (??)
6
+ - Make it work
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ puts "Not implemented yet."
@@ -0,0 +1,10 @@
1
+ module Uirusu
2
+ APP_NAME = "uirusu"
3
+ VERSION = "0.0.0"
4
+ CONFIG_FILE = "~/.uirusu"
5
+ end
6
+
7
+ require 'json'
8
+ require 'rest_client'
9
+ require 'optparse'
10
+ require 'yaml'
@@ -0,0 +1,31 @@
1
+ base = __FILE__
2
+ $:.unshift(File.join(File.dirname(base), 'lib'))
3
+
4
+ require 'uirusu'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = Uirusu::APP_NAME
8
+ s.version = Uirusu::VERSION
9
+ s.homepage = "http://github.com/hammackj/uirusu/"
10
+ s.summary = Uirusu::APP_NAME
11
+ s.description = "uirusu is library for interacting with Virustotal.org"
12
+ s.license = "BSD"
13
+
14
+ s.author = "Jacob Hammack"
15
+ s.email = "jacob.hammack@hammackj.com"
16
+
17
+ s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + ['uirusu.gemspec']
18
+ s.default_executable = 'uirusu'
19
+ s.executables = ['uirusu']
20
+ s.require_paths = ["lib"]
21
+
22
+ s.required_ruby_version = '>= 1.9.3'
23
+ s.required_rubygems_version = ">= 1.8.16"
24
+
25
+ s.has_rdoc = 'yard'
26
+ s.extra_rdoc_files = ["README.markdown", "LICENSE", "NEWS.markdown", "TODO.markdown"]
27
+
28
+ s.add_dependency('json', '>= 1.5.1')
29
+ s.add_dependency('rest-client', '>= 1.6.1')
30
+
31
+ end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: uirusu
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jacob Hammack
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: json
16
+ requirement: &70221526495640 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.5.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70221526495640
25
+ - !ruby/object:Gem::Dependency
26
+ name: rest-client
27
+ requirement: &70221526495100 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 1.6.1
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70221526495100
36
+ description: uirusu is library for interacting with Virustotal.org
37
+ email: jacob.hammack@hammackj.com
38
+ executables:
39
+ - uirusu
40
+ extensions: []
41
+ extra_rdoc_files:
42
+ - README.markdown
43
+ - LICENSE
44
+ - NEWS.markdown
45
+ - TODO.markdown
46
+ files:
47
+ - LICENSE
48
+ - NEWS.markdown
49
+ - Rakefile
50
+ - README.markdown
51
+ - TODO.markdown
52
+ - lib/uirusu.rb
53
+ - uirusu.gemspec
54
+ - !binary |-
55
+ YmluL3VpcnVzdQ==
56
+ homepage: http://github.com/hammackj/uirusu/
57
+ licenses:
58
+ - BSD
59
+ post_install_message:
60
+ rdoc_options: []
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 1.9.3
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ version: 1.8.16
75
+ requirements: []
76
+ rubyforge_project:
77
+ rubygems_version: 1.8.16
78
+ signing_key:
79
+ specification_version: 3
80
+ summary: uirusu
81
+ test_files: []