Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?
Hi, I have made a template for NSDocument-based MacRuby applications and would be very happy for it to be included in the next release, if it would be helpful. The template can be found here: http://jgranby.net/articles/2009/macruby-nsdocument-template.html Kind regards, James Granby ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?
Awesome James! I just committed it to trunk, in r2282. Thanks a lot! Laurent On Aug 11, 2009, at 11:55 AM, James Granby wrote: Hi, I have made a template for NSDocument-based MacRuby applications and would be very happy for it to be included in the next release, if it would be helpful. The template can be found here: http://jgranby.net/articles/2009/macruby-nsdocument-template.html Kind regards, James Granby ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?
Really nice James, thanks a lot. - Matt On Tue, Aug 11, 2009 at 12:08 PM, Laurent Sansonetti wrote: > Awesome James! > > I just committed it to trunk, in r2282. > > Thanks a lot! > > Laurent > > > On Aug 11, 2009, at 11:55 AM, James Granby wrote: > > Hi, >> >> I have made a template for NSDocument-based MacRuby applications and would >> be very happy for it to be included in the next release, if it would be >> helpful. The template can be found here: >> >> http://jgranby.net/articles/2009/macruby-nsdocument-template.html >> >> Kind regards, >> >> James Granby >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] URI specs
Sorry for the late response. I merged your patch in r2285.
Thanks a lot :)
Laurent
On Aug 9, 2009, at 8:55 PM, dan sinclair wrote:
Hello,
I started poking at the URI specs to see what I could get working.
The attached patch was required to make the specs run (URI provides
11 arguments to initialize).
I then started taking a look at why the equality spec fails and have
tracked it back to the dup call not returning the same values in the
duplicate object. This can be seen by doing a self.to_s and uri.to_s
in the normalize function of lib/uri/generic.rb.
self.to_s -> http://example.com/#fragMENT
uri.to_s -> http://example.com/
For some reason, the fragment instance variable is being dropped
from the duplicated object while all of the other instance variables
are being copied over.
You can see the same behaviour with the following script
class Foo
def initialize(a, b, c, d, e, f, g, h, i, j, k)
@a = a
@b = b
@c = c
@d = d
@e = e
@f = f
@g = g
@h = h
@i = i
@j = j
@k = k
end
def to_s
"#...@a} #...@b} #...@c} #...@d} #...@e} #...@f} #...@g} #...@h} #...@i} #...@j}
#...@k}"
end
end
f = Foo.new("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k")
g = f.dup
puts f.to_s
puts g.to_s
---
titania:test dj2$ macruby ./dup.rb
a b c d e f g h i j k
a b c d e f g h i j false
dan
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?
Laurent, I have r2286 but I'm not seeing the template within "New Project". It seems that I have gone from r2272 to r2286 with no visible updates and/or additions. -Conrad On Tue, Aug 11, 2009 at 12:08 PM, Laurent Sansonetti wrote: > Awesome James! > > I just committed it to trunk, in r2282. > > Thanks a lot! > > Laurent > > > On Aug 11, 2009, at 11:55 AM, James Granby wrote: > > Hi, >> >> I have made a template for NSDocument-based MacRuby applications and would >> be very happy for it to be included in the next release, if it would be >> helpful. The template can be found here: >> >> http://jgranby.net/articles/2009/macruby-nsdocument-template.html >> >> Kind regards, >> >> James Granby >> ___ >> MacRuby-devel mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >> > > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?
Did you run `sudo rake install'? I just installed trunk on another machine and was able to find the template in Xcode (under the "User Templates" section). Otherwise, what's your environment and version of Xcode? Thanks, Laurent On Aug 11, 2009, at 2:30 PM, Conrad Taylor wrote: Laurent, I have r2286 but I'm not seeing the template within "New Project". It seems that I have gone from r2272 to r2286 with no visible updates and/or additions. -Conrad On Tue, Aug 11, 2009 at 12:08 PM, Laurent Sansonetti > wrote: Awesome James! I just committed it to trunk, in r2282. Thanks a lot! Laurent On Aug 11, 2009, at 11:55 AM, James Granby wrote: Hi, I have made a template for NSDocument-based MacRuby applications and would be very happy for it to be included in the next release, if it would be helpful. The template can be found here: http://jgranby.net/articles/2009/macruby-nsdocument-template.html Kind regards, James Granby ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?
One more question.. are you sure you are on trunk and not on the experimental branch anymore? Laurent On Aug 11, 2009, at 3:16 PM, Laurent Sansonetti wrote: Did you run `sudo rake install'? I just installed trunk on another machine and was able to find the template in Xcode (under the "User Templates" section). Otherwise, what's your environment and version of Xcode? Thanks, Laurent On Aug 11, 2009, at 2:30 PM, Conrad Taylor wrote: Laurent, I have r2286 but I'm not seeing the template within "New Project". It seems that I have gone from r2272 to r2286 with no visible updates and/or additions. -Conrad On Tue, Aug 11, 2009 at 12:08 PM, Laurent Sansonetti > wrote: Awesome James! I just committed it to trunk, in r2282. Thanks a lot! Laurent On Aug 11, 2009, at 11:55 AM, James Granby wrote: Hi, I have made a template for NSDocument-based MacRuby applications and would be very happy for it to be included in the next release, if it would be helpful. The template can be found here: http://jgranby.net/articles/2009/macruby-nsdocument-template.html Kind regards, James Granby ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] MacRuby Document-based Application template in XCode?
Laurent, that was the issue. Thanks, -Conrad On Tue, Aug 11, 2009 at 3:17 PM, Laurent Sansonetti wrote: > One more question.. are you sure you are on trunk and not on the > experimental branch anymore? > > Laurent > > > On Aug 11, 2009, at 3:16 PM, Laurent Sansonetti wrote: > > Did you run `sudo rake install'? I just installed trunk on another machine >> and was able to find the template in Xcode (under the "User Templates" >> section). >> >> Otherwise, what's your environment and version of Xcode? >> >> Thanks, >> Laurent >> >> On Aug 11, 2009, at 2:30 PM, Conrad Taylor wrote: >> >> Laurent, I have r2286 but I'm not seeing the template within "New >>> Project". It seems that I have gone from r2272 to r2286 with no visible >>> updates and/or additions. >>> >>> -Conrad >>> >>> On Tue, Aug 11, 2009 at 12:08 PM, Laurent Sansonetti < >>> [email protected]> wrote: >>> Awesome James! >>> >>> I just committed it to trunk, in r2282. >>> >>> Thanks a lot! >>> >>> Laurent >>> >>> >>> On Aug 11, 2009, at 11:55 AM, James Granby wrote: >>> >>> Hi, >>> >>> I have made a template for NSDocument-based MacRuby applications and >>> would be very happy for it to be included in the next release, if it would >>> be helpful. The template can be found here: >>> >>> http://jgranby.net/articles/2009/macruby-nsdocument-template.html >>> >>> Kind regards, >>> >>> James Granby >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >>> ___ >>> MacRuby-devel mailing list >>> [email protected] >>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >>> >> >> > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
