Skip to content
Browse files

Migrated off of Hoe and to Jeweler, for building/releasing ronin-asm.

  • Loading branch information...
1 parent 0f5baf9 commit 934486c0fb6512643326ea49e8efa9297382bd8c @postmodern postmodern committed
Showing with 122 additions and 48 deletions.
  1. +1 −0 .specopts
  2. +1 −0 .yardopts
  3. 0 History.md → ChangeLog.md
  4. +0 −16 Manifest.txt
  5. +9 −9 README.md
  6. +37 −23 Rakefile
  7. +74 −0 ronin-asm.gemspec
View
1 .specopts
@@ -0,0 +1 @@
+--colour --format specdoc
View
1 .yardopts
@@ -0,0 +1 @@
+--markup markdown --title 'Ronin ASM Documentation' --protected --files ChangeLog.md,COPYING.txt
View
0 History.md → ChangeLog.md
File renamed without changes.
View
16 Manifest.txt
@@ -1,16 +0,0 @@
-COPYING.txt
-History.md
-Manifest.txt
-README.md
-Rakefile
-lib/ronin/code/asm.rb
-lib/ronin/code/asm/config.rb
-lib/ronin/code/asm/code.rb
-lib/ronin/asm/version.rb
-spec/spec_helper.rb
-spec/helpers/database.rb
-spec/code/asm/helpers/files.rb
-spec/code/asm/helpers/files/simple.s
-spec/code/asm/helpers/files/macros.s
-spec/code/asm/code_spec.rb
-spec/asm_spec.rb
View
18 README.md
@@ -1,12 +1,12 @@
# Ronin ASM
-* http://ronin.rubyforge.org/asm/
-* http://github.com/postmodern/ronin-asm
-* http://github.com/postmodern/ronin-asm/issues
-* http://groups.google.com/group/ronin-ruby
+* [ronin.rubyforge.org/asm](http://ronin.rubyforge.org/asm/)
+* [github.com/postmodern/ronin-asm](http://github.com/postmodern/ronin-asm)
+* [github.com/postmodern/ronin-asm/issues](http://github.com/postmodern/ronin-asm/issues)
+* [groups.google.com/group/ronin-ruby](http://groups.google.com/group/ronin-ruby)
* irc.freenode.net #ronin
-## DESCRIPTION:
+## Description
Ronin ASM is a Ruby library for Ronin that provides dynamic Assembly (ASM)
generation of programs or shellcode.
@@ -36,18 +36,18 @@ data via Overlays. Overlays are directories of code and data that can be
hosted on any SVN, Hg, Git or Rsync server. Ronin makes it easy to create,
install or update Overlays.
-## FEATURES:
+## Features
-## REQUIREMENTS:
+## Requirements
* [ronin](http://ronin.rubyforge.org/) >= 0.4.0
* [ruby-yasm](http://ruby-yasm.rubyforge.org/) >= 0.1.1
-## INSTALL:
+## Install
$ sudo gem install ronin-asm
-## LICENSE:
+## License
Ronin ASM - A Ruby library for Ronin that provides dynamic Assembly (ASM)
generation of programs or shellcode.
View
60 Rakefile
@@ -1,29 +1,43 @@
-# -*- ruby -*-
-
require 'rubygems'
-require 'hoe'
-require 'hoe/signing'
-
-Hoe.plugin :yard
-
-Hoe.spec('ronin-asm') do
- self.developer('Postmodern','postmodern.mod3@gmail.com')
+require 'rake'
+require './lib/ronin/asm/version.rb'
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = 'ronin-asm'
+ gem.version = Ronin::ASM::VERSION
+ gem.summary = %Q{Ronin ASM is a Ruby library for Ronin that provides dynamic Assembly (ASM) generation of programs or shellcode.}
+ gem.description = %Q{Ronin ASM is a Ruby library for Ronin that provides dynamic Assembly (ASM) generation of programs or shellcode.}
+ gem.email = 'postmodern.mod3@gmail.com'
+ gem.homepage = 'http://github.com/ronin-ruby/ronin-asm'
+ gem.authors = ['Postmodern']
+ gem.add_dependency 'ruby-yasm', '>= 0.1.0'
+ gem.add_dependency 'ronin-ext', '>= 0.1.0'
+ gem.add_development_dependency 'rspec', '>= 1.3.0'
+ gem.add_development_dependency 'yard', '>= 0.5.3'
+ gem.has_rdoc = 'yard'
+ end
+rescue LoadError
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
+end
- self.rspec_options += ['--colour', '--format', 'specdoc']
+require 'spec/rake/spectask'
+Spec::Rake::SpecTask.new(:spec) do |spec|
+ spec.libs += ['lib', 'spec']
+ spec.spec_files = FileList['spec/**/*_spec.rb']
+ spec.spec_opts = ['--options', '.specopts']
+end
- self.yard_title = 'Ronin ASM Documentation'
- self.yard_options += ['--markup', 'markdown', '--protected']
- self.remote_yard_dir = 'docs/ronin-asm'
+task :spec => :check_dependencies
+task :default => :spec
- self.extra_deps = [
- ['ronin', '>= 0.4.0'],
- ['ruby-yasm', '>=0.1.1']
- ]
+begin
+ require 'yard'
- self.extra_dev_deps = [
- ['rspec', '>=1.3.0'],
- ['yard', '>=0.5.3']
- ]
+ YARD::Rake::YardocTask.new
+rescue LoadError
+ task :yard do
+ abort "YARD is not available. In order to run yard, you must: gem install yard"
+ end
end
-
-# vim: syntax=Ruby
View
74 ronin-asm.gemspec
@@ -0,0 +1,74 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{ronin-asm}
+ s.version = "0.1.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Postmodern"]
+ s.date = %q{2010-02-11}
+ s.description = %q{Ronin ASM is a Ruby library for Ronin that provides dynamic Assembly (ASM) generation of programs or shellcode.}
+ s.email = %q{postmodern.mod3@gmail.com}
+ s.extra_rdoc_files = [
+ "ChangeLog.md",
+ "README.md"
+ ]
+ s.files = [
+ ".gitignore",
+ "COPYING.txt",
+ "ChangeLog.md",
+ "README.md",
+ "Rakefile",
+ "lib/ronin/asm.rb",
+ "lib/ronin/asm/version.rb",
+ "lib/ronin/code/asm.rb",
+ "lib/ronin/code/asm/code.rb",
+ "lib/ronin/code/asm/config.rb",
+ "spec/asm_spec.rb",
+ "spec/code/asm/code_spec.rb",
+ "spec/code/asm/helpers/files.rb",
+ "spec/code/asm/helpers/files/macros.s",
+ "spec/code/asm/helpers/files/simple.s",
+ "spec/helpers/database.rb",
+ "spec/spec_helper.rb"
+ ]
+ s.has_rdoc = %q{yard}
+ s.homepage = %q{http://github.com/ronin-ruby/ronin-asm}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Ronin ASM is a Ruby library for Ronin that provides dynamic Assembly (ASM) generation of programs or shellcode.}
+ s.test_files = [
+ "spec/spec_helper.rb",
+ "spec/asm_spec.rb",
+ "spec/helpers/database.rb",
+ "spec/code/asm/code_spec.rb",
+ "spec/code/asm/helpers/files.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<ruby-yasm>, [">= 0.1.0"])
+ s.add_runtime_dependency(%q<ronin-ext>, [">= 0.1.0"])
+ s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
+ s.add_development_dependency(%q<yard>, [">= 0.5.3"])
+ else
+ s.add_dependency(%q<ruby-yasm>, [">= 0.1.0"])
+ s.add_dependency(%q<ronin-ext>, [">= 0.1.0"])
+ s.add_dependency(%q<rspec>, [">= 1.3.0"])
+ s.add_dependency(%q<yard>, [">= 0.5.3"])
+ end
+ else
+ s.add_dependency(%q<ruby-yasm>, [">= 0.1.0"])
+ s.add_dependency(%q<ronin-ext>, [">= 0.1.0"])
+ s.add_dependency(%q<rspec>, [">= 1.3.0"])
+ s.add_dependency(%q<yard>, [">= 0.5.3"])
+ end
+end
+

0 comments on commit 934486c

Please sign in to comment.
Something went wrong with that request. Please try again.