ragweed 0.2.8 → 0.2.9

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.8
1
+ 0.2.9
@@ -21,10 +21,12 @@ class Ragweed::Process
21
21
  # result in failure unless you PTRACE_POKE first and
22
22
  # get the rest of the original value at the address
23
23
  def write(off, data)
24
- while off < data.size
25
- Ragweed::Wraptux::ptrace(Ragweed::Wraptux::Ptrace::POKE_TEXT, @pid, off, data[off,4].unpack('L').first)
26
- off += 4
27
- end
24
+ data_off = 0
25
+ while data_off < data.size
26
+ Ragweed::Wraptux::ptrace(Ragweed::Wraptux::Ptrace::POKE_TEXT, @pid, off, data[data_off,4].unpack('L').first)
27
+ off += 4
28
+ data_off +=4
29
+ end
28
30
  end
29
31
 
30
32
  def read32(off); read(off, 4).unpack("L").first; end
data/ragweed.gemspec CHANGED
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{ragweed}
8
- s.version = "0.2.8"
7
+ s.name = "ragweed"
8
+ s.version = "0.2.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{tduehr}, %q{struct}, %q{tqbf}]
12
- s.date = %q{2011-12-12}
13
- s.description = %q{General debugging tool written in Ruby for OSX/Win32/Linux}
14
- s.email = %q{td@matasano.com}
11
+ s.authors = ["tduehr", "struct", "tqbf"]
12
+ s.date = "2012-07-23"
13
+ s.description = "General debugging tool written in Ruby for OSX/Win32/Linux"
14
+ s.email = "td@matasano.com"
15
15
  s.extra_rdoc_files = [
16
16
  "README.rdoc",
17
17
  "README.txt"
@@ -70,11 +70,11 @@ Gem::Specification.new do |s|
70
70
  "spec/spec_helper.rb",
71
71
  "test/test_ragweed.rb"
72
72
  ]
73
- s.homepage = %q{http://www.matasano.com/research/ragweed/}
74
- s.rdoc_options = [%q{--inline-source}, %q{--line-numbers}, %q{--main}, %q{README.rdoc}]
75
- s.require_paths = [%q{lib}]
76
- s.rubygems_version = %q{1.8.6}
77
- s.summary = %q{Scriptable debugger}
73
+ s.homepage = "http://www.matasano.com/research/ragweed/"
74
+ s.rdoc_options = ["--inline-source", "--line-numbers", "--main", "README.rdoc"]
75
+ s.require_paths = ["lib"]
76
+ s.rubygems_version = "1.8.24"
77
+ s.summary = "Scriptable debugger"
78
78
 
79
79
  if s.respond_to? :specification_version then
80
80
  s.specification_version = 3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragweed
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 8
10
- version: 0.2.8
9
+ - 9
10
+ version: 0.2.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - tduehr
@@ -17,10 +17,9 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-12-12 00:00:00 Z
20
+ date: 2012-07-23 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
- name: ffi
24
23
  prerelease: false
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
25
  none: false
@@ -33,6 +32,7 @@ dependencies:
33
32
  - 0
34
33
  version: "1.0"
35
34
  type: :runtime
35
+ name: ffi
36
36
  version_requirements: *id001
37
37
  description: General debugging tool written in Ruby for OSX/Win32/Linux
38
38
  email: td@matasano.com
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  requirements: []
129
129
 
130
130
  rubyforge_project:
131
- rubygems_version: 1.8.6
131
+ rubygems_version: 1.8.24
132
132
  signing_key:
133
133
  specification_version: 3
134
134
  summary: Scriptable debugger