[ANN]RubyCocoa 0.4.1 was released!

RubyCocoa 0.4.1 was released!

   http://rubycocoa.sourceforge.net/
   (The web site have been moved from http://www.fobj.com/rubycocoa/)

The '.pkg' binary packages are available for Mac OS X 10.3/10.2.
All of framework, library, documents, samples and Xcode/ProjectBuilder
templates are contained in the package. These items will be installed
into the appropriate place. It is available to start of RubyCocoa
programming or use of RubyCocoa application immediately.

== Changes from 0.4.0

  * enable bundling RubyCocoa.framework within an application bundle

    Change a build configration of RubyCocoa.framework project, to
    execute a RubyCocoa application on the environment which is not
    installed RubyCocoa. It allows that RubyCocoa application itself
    bundles with RubyCocoa.framework.

  * Mac OS X 10.3 and Xcode supported
                                                                                
== What's RubyCocoa?

  RubyCocoa is a Mac OS X framework that allows Cocoa programming in
  the Object-Oriented Scripting Language Ruby.

  RubyCocoa allows writing a Cocoa application in Ruby. It allows
  creating and using a Cocoa object in a Ruby script. In Cocoa
  application, mixture of program written by both Ruby and Objective-C
  is possible.

  Some cases using RubyCocoa:

    * Exploration of a Cocoa object's feature with 'irb' interactively
    * Prototyping of a Cocoa application
    * Cocoa application that include good feature of Ruby and Objective-C
    * Wrapping Mac OS X native GUI for Ruby script

In article <20050326204320.276549%00000000@i.nifty.jp>,

···

kimura wataru <kimuraw@i.nifty.jp> wrote:

RubyCocoa 0.4.1 was released!

  http://rubycocoa.sourceforge.net/
  (The web site have been moved from http://www.fobj.com/rubycocoa/\)

The '.pkg' binary packages are available for Mac OS X 10.3/10.2.
All of framework, library, documents, samples and Xcode/ProjectBuilder
templates are contained in the package. These items will be installed
into the appropriate place. It is available to start of RubyCocoa
programming or use of RubyCocoa application immediately.

== Changes from 0.4.0

* enable bundling RubyCocoa.framework within an application bundle

   Change a build configration of RubyCocoa.framework project, to
   execute a RubyCocoa application on the environment which is not
   installed RubyCocoa. It allows that RubyCocoa application itself
   bundles with RubyCocoa.framework.

* Mac OS X 10.3 and Xcode supported
                                                                      
== What's RubyCocoa?

RubyCocoa is a Mac OS X framework that allows Cocoa programming in
the Object-Oriented Scripting Language Ruby.

RubyCocoa allows writing a Cocoa application in Ruby. It allows
creating and using a Cocoa object in a Ruby script. In Cocoa
application, mixture of program written by both Ruby and Objective-C
is possible.

Some cases using RubyCocoa:

   * Exploration of a Cocoa object's feature with 'irb' interactively
   * Prototyping of a Cocoa application
   * Cocoa application that include good feature of Ruby and Objective-C
   * Wrapping Mac OS X native GUI for Ruby script

Thanks.

Will this work with Ruby 1.8.2?

Phil

this is terrific news! what build config has to be changed in order to
support this? i've been looking through the distribution and can't find
it. i'm assuming it adds a self-contained libruby to the RubyCocoa
framework bundle (i've been working on hacking this together on my own
but it was really ugly so far), does it let us also add third-party
modules that our app depends on?

doug

···

On Sat, Mar 26, 2005 at 08:43:42PM +0900, kimura wataru wrote:

== Changes from 0.4.0

  * enable bundling RubyCocoa.framework within an application bundle

    Change a build configration of RubyCocoa.framework project, to
    execute a RubyCocoa application on the environment which is not
    installed RubyCocoa. It allows that RubyCocoa application itself
    bundles with RubyCocoa.framework.

--
"Contrary to what most people say, the most dangerous animal in the
world is not the lion or the tiger or even the elephant. It's a shark
riding on an elephant's back, just trampling and eating everything they
see." -- Jack Handey

Phil Tomson wrote:

In article <20050326204320.276549%00000000@i.nifty.jp>,

RubyCocoa 0.4.1 was released!

http://rubycocoa.sourceforge.net/
(The web site have been moved from http://www.fobj.com/rubycocoa/\)

The '.pkg' binary packages are available for Mac OS X 10.3/10.2. All of framework, library, documents, samples and Xcode/ProjectBuilder templates are contained in the package. These items will be installed into the appropriate place. It is available to start of RubyCocoa programming or use of RubyCocoa application immediately.

== Changes from 0.4.0

* enable bundling RubyCocoa.framework within an application bundle

  Change a build configration of RubyCocoa.framework project, to execute a RubyCocoa application on the environment which is not installed RubyCocoa. It allows that RubyCocoa application itself bundles with RubyCocoa.framework.

* Mac OS X 10.3 and Xcode supported
                                                                     
== What's RubyCocoa?

RubyCocoa is a Mac OS X framework that allows Cocoa programming in
the Object-Oriented Scripting Language Ruby.

RubyCocoa allows writing a Cocoa application in Ruby. It allows
creating and using a Cocoa object in a Ruby script. In Cocoa
application, mixture of program written by both Ruby and Objective-C
is possible.

Some cases using RubyCocoa:

  * Exploration of a Cocoa object's feature with 'irb' interactively
  * Prototyping of a Cocoa application
  * Cocoa application that include good feature of Ruby and Objective-C
  * Wrapping Mac OS X native GUI for Ruby script

Thanks.

Will this work with Ruby 1.8.2?

Yes.

···

kimura wataru <kimuraw@i.nifty.jp> wrote:

The changed build config is INSTALL_PATH.

from ChangeLog:
  for bundling within an application bundle, set INSTALL_PATH to
  "@executable_path/../Frameworks". suggested by Rod Schmidt.

You can package third-party mouldes in your application,
for example:

1. copy libraries into your application

YourApp.app/Contents/Resouces/
                             /rb_main.rb
                             /(your scripts)
                             /redist/(third-party libraries)

2. add LOAD_PATH

in rb_main.rb:

require 'osx/cocoa'

def rb_main_init
  path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation
  # add LOAD_PATH for libraries packaged into this application
  path_redist = path + '/redist'
  $LOAD_PATH.push path_redist
   :
  snip
   :

···

On Sat, Mar 26, 2005 at 08:43:42PM +0900, kimura wataru wrote:

== Changes from 0.4.0

  * enable bundling RubyCocoa.framework within an application bundle

    Change a build configration of RubyCocoa.framework project, to
    execute a RubyCocoa application on the environment which is not
    installed RubyCocoa. It allows that RubyCocoa application itself
    bundles with RubyCocoa.framework.

this is terrific news! what build config has to be changed in order to
support this? i've been looking through the distribution and can't find
it. i'm assuming it adds a self-contained libruby to the RubyCocoa
framework bundle (i've been working on hacking this together on my own
but it was really ugly so far), does it let us also add third-party
modules that our app depends on?

doug