Looks great, only a few notes:
* Ruby version guards inlince in the example are not allowed. You
should always use the version guard and in its block define the
example outlining the specific behaviour on that version. This means
some examples will have to broken up into smaller ones.
* To
Hi Eloy,
Welcome back. Unfortunatelly, due to API changes, the specs can't
all pass on 1.8 and 1.9 unless we use a version check mechanism.
My understanding was that we should focus on 1.9.2 preview 1.
What do you want me to do?
- Matt
Sent from my iPhone
On Aug 2, 2009, at 6:42, Eloy
Thanks Matt :)
Indeed, in order to specify the API changes between 1.8 and 1.9 you
should use version guards:
ruby_version_is ... 1.9 do
it works as such on all versions prior to 1.9 do
end
end
ruby_version_is 1.9 do
it works as such on 1.9 do
end
end
To guard
Welcome back \o/
$ sw_vers
ProductName:Mac OS X
ProductVersion: 10.6
BuildVersion: 10A421a
$ rake spec:ci
(in /Users/lrz/src/macruby-experimental)
./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
Hi, I'm getting the following after pulling the latest sources:
BEGIN Transcript:
darnoc-laptop:macruby-experimental conradwt$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.6
BuildVersion: 10A421a
darnoc-laptop:macruby-experimental conradwt$ rake spec:ci
(in
That's weird, did you do rake and rake install before starting the
specs? I think it must be done otherwise the C extension bundles won't
be properly loaded. (We should pass the appropriate flags to mspec so
that it loads C extension bundles from the local build directory.)
If it's still
The other day I also had the specs crashing. To fix it I had to remove
the installed MacRuby (/Library/Frameworks/MacRuby.framework/Versions/
0.5), followed by a rake clean/rake/rake install.
That's weird, did you do rake and rake install before starting the
specs? I think it must be done
On Sun, Aug 2, 2009 at 2:13 PM, Laurent Sansonetti lsansone...@apple.comwrote:
That's weird, did you do rake and rake install before starting the specs? I
think it must be done otherwise the C extension bundles won't be properly
loaded. (We should pass the appropriate flags to mspec so that it