rbdbg 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,25 @@
1
+ Copyright (c) 2010-2011 Jacob Hammack, Hammackj 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 Hammackj 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 HAMMACKJ 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.
data/NEWS.md ADDED
@@ -0,0 +1,3 @@
1
+ # 0.0.1 (May 29, 2010) #
2
+ - Initial development
3
+ - Pushed placeholder gem
@@ -0,0 +1,19 @@
1
+ # rbdbg #
2
+
3
+ rbdbg is a console debugger for Windows, primarily designed for automation.
4
+
5
+ **Currently under heavy development.**
6
+
7
+ # Requirements #
8
+
9
+ * ruby
10
+ * rubygems
11
+ * choice
12
+
13
+ # Installation #
14
+ Installation is really easy just gem install!
15
+
16
+ % sudo gem install rbdbg
17
+
18
+ # Contact #
19
+ You can reach me at jacob[dot]hammack[at]hammackj[dot]com.
@@ -0,0 +1,14 @@
1
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
2
+ require "rbdbg"
3
+
4
+ task :build do
5
+ system "gem build #{RbDbg::APP_NAME}.gemspec"
6
+ end
7
+
8
+ task :release => :build do
9
+ system "gem push rbdbg-#{RbDbg::VERSION}.gem"
10
+ end
11
+
12
+ task :clean do
13
+ system "rm *.gem"
14
+ end
data/TODO.md ADDED
File without changes
@@ -0,0 +1,73 @@
1
+ #!/usr/bin/env ruby -wKU
2
+ # encoding: utf-8
3
+
4
+ # rbdbg - rbdbg is a console debugger for Windows/OSX/Linux, primarily designed for automation.
5
+ # Jacob Hammack <jacob.hammack@hammackj.com>
6
+ # http://www.hammackj.com
7
+ #
8
+ #
9
+ # hammackj - 01-04-2011 - Version 0.0.1
10
+
11
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '/../lib'))
12
+
13
+ $stdout.sync = true
14
+ $stderr.sync = true
15
+
16
+ require 'rubygems'
17
+ require 'rbdbg'
18
+
19
+ module RbDbg
20
+
21
+ # Rbdbg's Main application class
22
+ #
23
+ # @author Jacob Hammack
24
+ class Application
25
+
26
+ # Creates a new instance of the Application Class
27
+ #
28
+ def initialize
29
+ end
30
+
31
+ # Main Method of the Application class, handles command line arguments and starts the application
32
+ #
33
+ def main
34
+ opts = OptionParser.new do |opt|
35
+ opt.banner = "#{APP_NAME} v#{VERSION}\nJacob Hammack\nhttp://www.hammackj.com\n\n"
36
+ opt.banner << "Usage: #{APP_NAME} [options] "
37
+ opt.separator('')
38
+
39
+ opt.on('-a', '--attach PID', "Attaches the debugger to the specified PID") do |option|
40
+ puts "Not Implemented yet"
41
+ end
42
+
43
+ opt.on('--enumerate-processes', "Enumerates all of the processes that can be debugged") do |option|
44
+ puts "Not Implemented yet"
45
+ end
46
+
47
+ opt.separator('')
48
+ opt.separator('Other Options')
49
+
50
+ opt.on_tail('-v', '--version', "Shows application version information") do
51
+ puts "#{APP_NAME} - #{VERSION}"
52
+ exit
53
+ end
54
+
55
+ opt.on_tail("-?", "--help", "Show this message") do
56
+ puts opt.to_s + "\n"
57
+ exit
58
+ end
59
+ end
60
+
61
+ if ARGV.length != 0
62
+ opts.parse!
63
+ else
64
+ puts opts.to_s + "\n"
65
+ exit
66
+ end
67
+
68
+ end
69
+ end
70
+ end
71
+
72
+ app = RbDbg::Application.new
73
+ app.main
@@ -0,0 +1,8 @@
1
+ module RbDbg
2
+ APP_NAME = "rbdbg"
3
+ VERSION = "0.0.1"
4
+ end
5
+
6
+ require 'optparse'
7
+
8
+ require 'rbdbg/debugger'
@@ -0,0 +1,20 @@
1
+
2
+ module RbDbg
3
+
4
+ #
5
+ #
6
+ class Debugger
7
+
8
+ #
9
+ #
10
+ def initialize args
11
+
12
+ end
13
+
14
+ def attach
15
+ end
16
+
17
+
18
+
19
+ end
20
+ end
@@ -0,0 +1,31 @@
1
+ # encoding: utf-8
2
+
3
+ base = __FILE__
4
+ $:.unshift(File.join(File.dirname(base), 'lib'))
5
+
6
+ require 'rbdbg'
7
+
8
+ Gem::Specification.new do |s|
9
+ s.name = RbDbg::APP_NAME
10
+ s.version = RbDbg::VERSION
11
+ s.homepage = "http://www.hammackj.com/projects/rbdbg"
12
+ s.summary = "RbDbg"
13
+ s.description = "#{RbDbg::APP_NAME} is a console debugger for Windows/OSX/Linux, primarily designed for automation."
14
+
15
+ s.author = "Jacob Hammack"
16
+ s.email = "jacob.hammack@hammackj.com"
17
+
18
+ s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + ["#{RbDbg::APP_NAME}.gemspec"]
19
+ s.executables = ["#{RbDbg::APP_NAME}"]
20
+ s.require_paths = ["lib"]
21
+
22
+ s.required_rubygems_version = ">= 1.3.6"
23
+ s.rubyforge_project = "rbdbg"
24
+
25
+ s.add_development_dependency "rspec"
26
+
27
+ s.has_rdoc = 'yard'
28
+ s.extra_rdoc_files = ["README.md", "LICENSE", "NEWS.md", "TODO.md"]
29
+
30
+ s.add_dependency('ffi', '>= 1.0.9')
31
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rbdbg
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Jacob Hammack
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-05-29 00:00:00 -05:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rspec
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
25
+ type: :development
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: ffi
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 1.0.9
36
+ type: :runtime
37
+ version_requirements: *id002
38
+ description: rbdbg is a console debugger for Windows/OSX/Linux, primarily designed for automation.
39
+ email: jacob.hammack@hammackj.com
40
+ executables:
41
+ - rbdbg
42
+ extensions: []
43
+
44
+ extra_rdoc_files:
45
+ - README.md
46
+ - LICENSE
47
+ - NEWS.md
48
+ - TODO.md
49
+ files:
50
+ - LICENSE
51
+ - NEWS.md
52
+ - Rakefile
53
+ - README.md
54
+ - TODO.md
55
+ - lib/rbdbg/debugger.rb
56
+ - lib/rbdbg.rb
57
+ - rbdbg.gemspec
58
+ - bin/rbdbg
59
+ has_rdoc: true
60
+ homepage: http://www.hammackj.com/projects/rbdbg
61
+ licenses: []
62
+
63
+ post_install_message:
64
+ rdoc_options: []
65
+
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: "0"
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 1.3.6
80
+ requirements: []
81
+
82
+ rubyforge_project: rbdbg
83
+ rubygems_version: 1.6.2
84
+ signing_key:
85
+ specification_version: 3
86
+ summary: RbDbg
87
+ test_files: []
88
+