Skip to content

Commit

Permalink
some real code for version 0.0.0 :)
Browse files Browse the repository at this point in the history
  • Loading branch information
zed-0xff committed Dec 7, 2011
1 parent b1f394f commit 0f33cd4
Show file tree
Hide file tree
Showing 6 changed files with 1,133 additions and 12 deletions.
28 changes: 28 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.3)
git (1.2.5)
jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
rake (0.9.2.2)
rcov (0.9.11)
rspec (2.3.0)
rspec-core (~> 2.3.0)
rspec-expectations (~> 2.3.0)
rspec-mocks (~> 2.3.0)
rspec-core (2.3.1)
rspec-expectations (2.3.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.3.0)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.0.0)
jeweler (~> 1.6.4)
rcov
rspec (~> 2.3.0)
26 changes: 14 additions & 12 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ Jeweler::Tasks.new do |gem|
gem.name = "pedump"
gem.homepage = "http://github.com/zed-0xff/pedump"
gem.license = "MIT"
gem.summary = %Q{TODO: one-line summary of your gem}
gem.description = %Q{TODO: longer description of your gem}
gem.summary = %Q{dump win32 PE executable files with a pure ruby}
gem.description = %Q{dump headers, sections, extract resources}
gem.email = "zed.0xff@gmail.com"
gem.authors = ["Andrey "Zed" Zaikin"]
gem.authors = ["Andrey \"Zed\" Zaikin"]
gem.executables = %w'pedump'
gem.files.include "lib/**/*.rb"
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
Expand All @@ -38,12 +40,12 @@ end

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "pedump #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
#require 'rake/rdoctask'
#Rake::RDocTask.new do |rdoc|
# version = File.exist?('VERSION') ? File.read('VERSION') : ""
#
# rdoc.rdoc_dir = 'rdoc'
# rdoc.title = "pedump #{version}"
# rdoc.rdoc_files.include('README*')
# rdoc.rdoc_files.include('lib/**/*.rb')
#end
7 changes: 7 additions & 0 deletions bin/pedump
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env ruby

$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib'))
require 'pedump'
require 'pedump/cli'

PEdump::CLI.new.run
Loading

0 comments on commit 0f33cd4

Please sign in to comment.