when NSOnState then false
else
raise "The value to transform should be either NSOffState or
NSOnState."
end
If this is a bug, I'll write a testcase.
-
Brian Marick, independent consultant
Mostly on agile methods with a testin
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
On Apr 4, 2009, at 4:55 AM, John Shea wrote:
Brian Marick has a good chapter on testing in his "RubyCocoa,
bringing some love. " using standard ruby testing
methodologies. You can get this as a pdf book (its not out in print
yet)
Thanks. Note, though, that I don't t
tra return values is not included in MacRuby?
-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
___
MacRuby-devel mailing list
[email protected]
ee/master
-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.or
ithub.com/marick/cocoa-examples-translated/tree/master
I meant that I don't want to translate /Developer/Examples examples to
MacRuby if someone's already doing it.
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, ww
e for
MacRuby).
<http://mwrc2009.confreaks.com/videos/13-mar-2009-17-00-test-driving-guis-with-rubycocoa-brian-marick-large.mp4
>
This week, I'll be updating my tooling for MacRuby and starting to use
it to reimplement the /Developer/Examples Objective-C samples.
(Shameless plu
es anyone have any ideas? Here's the code:
http://pastie.org/739072
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
is
macruby_deploy all I should need?
3. Any ideas about how to make it work?
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
__
Xcode.
On May 2, 2010, at 1:16 PM, Matt Aimonetti wrote:
> Are you trying to compile an Xcode or hotcocoa project?
>
> - Matt
>
> On Sun, May 2, 2010 at 11:10 AM, Brian Marick wrote:
> I'm trying to get a standalone distribution working (one with the MacRuby
> fra
You are my hero. I set RUBYOPT in .MacOS/environment.plist long ago.
On May 2, 2010, at 3:18 PM, Laurent Sansonetti wrote:
> Hi Brian,
>
> Would you have by any chance a RUBYOPT environment variable set to "-r
> rubygems" in the default environment?
>
>
a test to jump to the failing code. You can't do that
unless you have the full pathname.
I will file a ticket if this is a real bug.
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampl
Oh, forgot to mention: Ramaze also uses (or used to) use the caller() result to
find its root and would probably break too.
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampler.com/blog
t worth
fixing. But it'll cause more problems when macruby ships with OSX and people
stop embedding.
I'll file a ticket if needed.
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.c
I see that this works in 0.7. Sorry for the waste of bandwidth.
On May 3, 2010, at 11:27 AM, Brian Marick wrote:
> Suppose you have foo.rb:
>
> def __DIR__
>caller[0]
>raise 'death'
> end
>
> puts __DIR__
>
>
> If you call that from, sa
n MacRuby are generated by walking through the
> stack and sometimes some entries are missing. File/line numbering is
> retrieved from DWARF metadata but sometimes it's incorrectly compiled. So,
> bug reports are welcome :-)
>
> Laurent
>
> On May 3, 2010, at 1:12 PM, Bri
I've been looking for a combination of unit testing and mocking packages for
macruby. (The mocking is the real problem.) If anyone does TDD with mocks: what
do you use?
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with
Thanks to James Mead, I now know that at least simple examples work with 0.6
and these gems:
mocha-macruby (0.9.8.20100129120100)
test-unit (2.0.7)
On May 4, 2010, at 10:58 AM, Brian Marick wrote:
> I've been looking for a combination of unit testing and mocking packages for
> ma
n passed 1" do
> assert_equal 1, fact(1)
> end
> should "return 6 when passed 3" do
> assert_equal 6, fact(3)
> end
> end
> end
>
> I'll keep on digging, but if anyone has any insight, I'd appreciate it!
>
> /\/\i
ointer target type\ntmailscanner.c: In function
'atomsym':\ntmailscanner.c:430: warning: initialization discards qualifiers
from pointer target type\nlipo: can't open input file: /var/tmp//ccheFt8w.out
(No such file or directory)\nmake: *** [tmailscanner.o] Error 1\n"]
Sorry - I posted that too fast. Ignore it. I'll do more digging.
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampler.com/blog, www.twitter.com/m
say "compiling against MacRuby?")
=
Hacking around that gets tmailscanner.c to compile, but tmail also requires
'nkf.bundle', which exists in 1.8 but not in MacRuby. I might try to compile
the version out of 1.9, but this pile of yak hair is getting pretty deep
nkf.o -L.
-L/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/lib -arch i386 -arch
x86_64 -lmacruby
It's been 15-some years since I last used a C compiler in anger, so I'm out of
my depth.
-----
Brian Marick, independent consultant
Mostly on agile methods with a tes
make it into 0.6. Is it a priority for 0.7?
-
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
___
MacRuby-devel
24 matches
Mail list logo