Share

AspectR-Fork

Tracker: Patches

5 Fixing some Problems i had with recent ruby - ID: 1656802
Last Update: Attachment added ( erazor_de )

First:
I had some Problems with every actual aspectr version (0.3.5 (aspectr),
0.3.6 (at rubyforge), 0.4.0 (aspectr-fork)) using ruby 1.8.5 on
windows(cygwin) and Linux.

I modified some things to get it to work on my machines:

- type is deprecated: i replaced it with class - this only affects one
exception-description.

- object_id is the new id: added object_id to @never_wrap. And replaced id
with object_id in tests/atest_aspectr.rb

- the str[other_str] = new_str raises an error if not matching - contrary
to the documentation. So i replaced it with a gsub statement.

- I dont understand the intricate construction in lines 204-205. My
solution does the same or am i missing something?

- aspectr.rb should be installed in sitelibdir, not sitedir

Whats still missing:
- Tests are not running: Replacing with testsuite of aspectr-0-3-6 (which
uses test/unit not runit) works flawless.
- Replace install.rb with that of aspectr-0-3-6 and change rubylibdir to
sitelibdir is a much easier way of installing (without changing rights for
parent dir etc).


Stefan Achatz ( erazor_de ) - 2007-02-10 15:33

5

Open

None

Nobody/Anonymous

None

Unstable (example)

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
aspectr-0-4-0.patch resolves some issues with 0.4.0 Download

Change ( 1 )

Field Old Value Date By
File Added 215332: aspectr-0-4-0.patch 2007-02-10 15:33 erazor_de