Permalink
Browse files

0.2.0.rc1 - Initial support for 1.9.2

  • Loading branch information...
1 parent 5455371 commit 0dd1772f95c1112f43ec704292f3b25cd84998ab @ileitch committed Nov 25, 2010
Showing with 8 additions and 2 deletions.
  1. +1 −0 bin/hijack
  2. +3 −2 hijack.gemspec
  3. +4 −0 lib/hijack.rb
View
@@ -14,6 +14,7 @@ new_argv.options do |opts|
opts.on("--debug", "Enable debugging.") { |v| options[:debug] = true }
opts.on("--mute", "Ignore stdout/stderr writes from the remote process.") { |v| options[:mute] = true }
opts.on("-e", "--execute=FILE", String, "Execute the specified file in the remote process and then disconnect.") { |v| options[:execute] = v }
+ opts.on("--version", "Display this version of Hijack.") { |v| puts "Hijack #{Hijack.version}"; exit }
opts.on("-h", "--help", "Show this help message.") { puts opts; exit }
opts.parse!
end
View
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: hijack
version: !ruby/object:Gem::Version
- version: 0.1.9
+ version: 0.2.0.rc1
platform: ruby
authors:
- Ian Leitch
@@ -14,7 +14,7 @@ default_executable:
dependencies: []
description: Provides an irb session to an existing ruby process.
-email: ian.leitch@systino.net
+email: port001@gmail.com
executables:
- hijack
extensions: []
@@ -32,6 +32,7 @@ files:
- lib/hijack/helper.rb
- lib/hijack/payload.rb
- lib/hijack/workspace.rb
+- lib/hijack/output_receiver.rb
- lib/hijack.rb
- test/app.rb
- test/gc.rb
View
@@ -29,4 +29,8 @@ def self.socket_for(pid)
def self.socket_path_for(pid)
"/tmp/hijack.#{pid}.sock"
end
+
+ def self.version
+ "0.2.0.rc1"
+ end
end

0 comments on commit 0dd1772

Please sign in to comment.