sender 1.5.4 → 1.5.5
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.
- metadata +19 -90
- data/.autotest +0 -11
- data/CHANGELOG.rdoc +0 -72
- data/Manifest.txt +0 -24
- data/Rakefile +0 -25
- data/VERSION.rdoc +0 -1
- data/ext/sender/RPSender_internal.c +0 -37
- data/ext/sender/RPSender_internal.h +0 -15
- data/ext/sender/RubySourceSupport.c +0 -47
- data/ext/sender/RubySourceSupport.h +0 -77
- data/ext/sender/rb_Global.c +0 -151
- data/ext/sender/rb_Global.h +0 -11
- data/ext/sender/rb_Global_internal.h +0 -8
- data/ext/sender/rb_Kernel.c +0 -683
- data/ext/sender/rb_Kernel.h +0 -31
- data/ext/sender/rb_Kernel_internal.h +0 -10
- data/ext/sender/sender.c +0 -16
- data/lib/sender/sender.bundle +0 -0
- data/mkmf.log +0 -69
- data/sender.gemspec +0 -51
- data/test/test_sender.rb +0 -22
data/ext/sender/rb_Kernel.h
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
#ifndef RP_SENDER_KERNEL
|
|
3
|
-
#define RP_SENDER_KERNEL
|
|
4
|
-
|
|
5
|
-
#include "ruby.h"
|
|
6
|
-
|
|
7
|
-
#define RPRUBY_SENDER_ERROR_STACK_LEVEL_LESS_THAN_ZERO "Maximum level for stack trace specified was less than zero."
|
|
8
|
-
|
|
9
|
-
void Init_senderKernel();
|
|
10
|
-
|
|
11
|
-
VALUE rb_RPRuby_Sender_Kernel_backtrace( int argc,
|
|
12
|
-
VALUE* args,
|
|
13
|
-
VALUE rb_self );
|
|
14
|
-
VALUE rb_RPRuby_Sender_Kernel_each_backtrace_frame( int argc,
|
|
15
|
-
VALUE* args,
|
|
16
|
-
VALUE rb_self );
|
|
17
|
-
VALUE rb_RPRuby_Sender_Kernel_backtrace_includes( int argc,
|
|
18
|
-
VALUE* args,
|
|
19
|
-
VALUE rb_self );
|
|
20
|
-
VALUE rb_RPRuby_Sender_Kernel_backtrace_includes_one_of( int argc,
|
|
21
|
-
VALUE* args,
|
|
22
|
-
VALUE rb_self );
|
|
23
|
-
VALUE rb_RPRuby_Sender_Kernel_backtrace_frame_with( int argc,
|
|
24
|
-
VALUE* args,
|
|
25
|
-
VALUE rb_self );
|
|
26
|
-
VALUE rb_RPRuby_Sender_Kernel_backtrace_frames_with( int argc,
|
|
27
|
-
VALUE* args,
|
|
28
|
-
VALUE rb_self );
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#endif
|
data/ext/sender/sender.c
DELETED
data/lib/sender/sender.bundle
DELETED
|
Binary file
|
data/mkmf.log
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
have_header: checking for vm_core.h... -------------------- no
|
|
2
|
-
|
|
3
|
-
"gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -Iext/sender -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -march=x86-64 -g -ggdb3 -gdwarf-2 -g3 -maccumulate-outgoing-args -D_FILE_OFFSET_BITS=64 -fno-common -pipe conftest.c -L. -L/usr/local/lib -L. -L/usr/local/lib -lruby.1.9.1-static -lpthread -ldl -lobjc "
|
|
4
|
-
checked program was:
|
|
5
|
-
/* begin */
|
|
6
|
-
1: #include "ruby.h"
|
|
7
|
-
2:
|
|
8
|
-
3: int main() {return 0;}
|
|
9
|
-
/* end */
|
|
10
|
-
|
|
11
|
-
"gcc -E -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -Iext/sender -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -march=x86-64 -g -ggdb3 -gdwarf-2 -g3 -maccumulate-outgoing-args -D_FILE_OFFSET_BITS=64 -fno-common -pipe conftest.c -o conftest.i"
|
|
12
|
-
conftest.c:3:21: error: vm_core.h: No such file or directory
|
|
13
|
-
checked program was:
|
|
14
|
-
/* begin */
|
|
15
|
-
1: #include "ruby.h"
|
|
16
|
-
2:
|
|
17
|
-
3: #include <vm_core.h>
|
|
18
|
-
/* end */
|
|
19
|
-
|
|
20
|
-
--------------------
|
|
21
|
-
|
|
22
|
-
have_header: checking for vm_core.h... -------------------- yes
|
|
23
|
-
|
|
24
|
-
"gcc -E -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -Iext/sender -I/usr/local/include/ruby-1.9.1/ruby-1.9.2-rc1 -march=x86-64 -g -ggdb3 -gdwarf-2 -g3 -maccumulate-outgoing-args -D_FILE_OFFSET_BITS=64 -fno-common -pipe conftest.c -o conftest.i"
|
|
25
|
-
checked program was:
|
|
26
|
-
/* begin */
|
|
27
|
-
1: #include "ruby.h"
|
|
28
|
-
2:
|
|
29
|
-
3: #include <vm_core.h>
|
|
30
|
-
/* end */
|
|
31
|
-
|
|
32
|
-
--------------------
|
|
33
|
-
|
|
34
|
-
have_header: checking for iseq.h... -------------------- yes
|
|
35
|
-
|
|
36
|
-
"gcc -E -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -Iext/sender -I/usr/local/include/ruby-1.9.1/ruby-1.9.2-rc1 -march=x86-64 -g -ggdb3 -gdwarf-2 -g3 -maccumulate-outgoing-args -D_FILE_OFFSET_BITS=64 -fno-common -pipe conftest.c -o conftest.i"
|
|
37
|
-
checked program was:
|
|
38
|
-
/* begin */
|
|
39
|
-
1: #include "ruby.h"
|
|
40
|
-
2:
|
|
41
|
-
3: #include <iseq.h>
|
|
42
|
-
/* end */
|
|
43
|
-
|
|
44
|
-
--------------------
|
|
45
|
-
|
|
46
|
-
have_header: checking for eval_intern.h... -------------------- yes
|
|
47
|
-
|
|
48
|
-
"gcc -E -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -Iext/sender -I/usr/local/include/ruby-1.9.1/ruby-1.9.2-rc1 -march=x86-64 -g -ggdb3 -gdwarf-2 -g3 -maccumulate-outgoing-args -D_FILE_OFFSET_BITS=64 -fno-common -pipe conftest.c -o conftest.i"
|
|
49
|
-
checked program was:
|
|
50
|
-
/* begin */
|
|
51
|
-
1: #include "ruby.h"
|
|
52
|
-
2:
|
|
53
|
-
3: #include <eval_intern.h>
|
|
54
|
-
/* end */
|
|
55
|
-
|
|
56
|
-
--------------------
|
|
57
|
-
|
|
58
|
-
have_header: checking for version.h... -------------------- yes
|
|
59
|
-
|
|
60
|
-
"gcc -E -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -Iext/sender -I/usr/local/include/ruby-1.9.1/ruby-1.9.2-rc1 -march=x86-64 -g -ggdb3 -gdwarf-2 -g3 -maccumulate-outgoing-args -D_FILE_OFFSET_BITS=64 -fno-common -pipe conftest.c -o conftest.i"
|
|
61
|
-
checked program was:
|
|
62
|
-
/* begin */
|
|
63
|
-
1: #include "ruby.h"
|
|
64
|
-
2:
|
|
65
|
-
3: #include <version.h>
|
|
66
|
-
/* end */
|
|
67
|
-
|
|
68
|
-
--------------------
|
|
69
|
-
|
data/sender.gemspec
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
|
|
3
|
-
Gem::Specification.new do |s|
|
|
4
|
-
s.name = %q{sender}
|
|
5
|
-
s.version = "1.5.4"
|
|
6
|
-
|
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
|
-
s.authors = ["Asher"]
|
|
9
|
-
s.date = %q{2010-08-24}
|
|
10
|
-
s.description = %q{Adds :__sender__ and :__caller__ to the built-in :__callee__ and :__method__ methods in Ruby 1.9.1.
|
|
11
|
-
|
|
12
|
-
Also provides object-oriented :backtrace supporting n-levels backward, :each_backtrace_frame for iteration, :backtrace_includes?,
|
|
13
|
-
and :backtrace_includes_one_of? for context inspection, and :backtrace_frame_with and :backtrace_frames_with, which return
|
|
14
|
-
matching frame information for the frame(s) matching the given description.}
|
|
15
|
-
s.email = ["asher@ridiculouspower.com"]
|
|
16
|
-
s.extensions = ["ext/sender/extconf.rb"]
|
|
17
|
-
s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.rdoc", "README.rdoc", "VERSION.rdoc"]
|
|
18
|
-
s.files = [".autotest", "CHANGELOG.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "VERSION.rdoc", "ext/sender/RPSender_internal.c", "ext/sender/RPSender_internal.h", "ext/sender/RubySourceSupport.c", "ext/sender/RubySourceSupport.h", "ext/sender/extconf.rb", "ext/sender/rb_Global.c", "ext/sender/rb_Global.h", "ext/sender/rb_Global_internal.h", "ext/sender/rb_Kernel.c", "ext/sender/rb_Kernel.h", "ext/sender/rb_Kernel_internal.h", "ext/sender/sender.c", "lib/VERSION.rdoc", "lib/sender.rb", "lib/sender/sender.bundle", "mkmf.log", "sender.gemspec", "test/test_sender.rb"]
|
|
19
|
-
s.homepage = %q{http://rubygems.org/gems/sender}
|
|
20
|
-
s.rdoc_options = ["--main", "README.rdoc"]
|
|
21
|
-
s.require_paths = ["lib"]
|
|
22
|
-
s.rubyforge_project = %q{asher}
|
|
23
|
-
s.rubygems_version = %q{1.3.7}
|
|
24
|
-
s.summary = %q{Adds :__sender__ and :__caller__ to the built-in :__callee__ and :__method__ methods in Ruby 1.9.1}
|
|
25
|
-
s.test_files = ["test/test_sender.rb"]
|
|
26
|
-
|
|
27
|
-
if s.respond_to? :specification_version then
|
|
28
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
29
|
-
s.specification_version = 3
|
|
30
|
-
|
|
31
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
32
|
-
s.add_runtime_dependency(%q<core-source>, [">= 0"])
|
|
33
|
-
s.add_runtime_dependency(%q<mkmfmf>, [">= 0"])
|
|
34
|
-
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
|
|
35
|
-
s.add_development_dependency(%q<rake-compiler>, [">= 0"])
|
|
36
|
-
s.add_development_dependency(%q<hoe>, [">= 2.6.1"])
|
|
37
|
-
else
|
|
38
|
-
s.add_dependency(%q<core-source>, [">= 0"])
|
|
39
|
-
s.add_dependency(%q<mkmfmf>, [">= 0"])
|
|
40
|
-
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
|
41
|
-
s.add_dependency(%q<rake-compiler>, [">= 0"])
|
|
42
|
-
s.add_dependency(%q<hoe>, [">= 2.6.1"])
|
|
43
|
-
end
|
|
44
|
-
else
|
|
45
|
-
s.add_dependency(%q<core-source>, [">= 0"])
|
|
46
|
-
s.add_dependency(%q<mkmfmf>, [">= 0"])
|
|
47
|
-
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
|
|
48
|
-
s.add_dependency(%q<rake-compiler>, [">= 0"])
|
|
49
|
-
s.add_dependency(%q<hoe>, [">= 2.6.1"])
|
|
50
|
-
end
|
|
51
|
-
end
|
data/test/test_sender.rb
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
require "test/unit"
|
|
2
|
-
require "sender"
|
|
3
|
-
|
|
4
|
-
class TestSender < Test::Unit::TestCase
|
|
5
|
-
|
|
6
|
-
def test___sender__
|
|
7
|
-
assert_equal self, __sender__
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
def test___caller__
|
|
11
|
-
assert_equal :run, __caller__
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
def test_Kernel_backtrace
|
|
15
|
-
# not sure how to test this
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
def test_Kernel_backtrace_includes
|
|
19
|
-
# not sure how to test this
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
end
|