[Rubycocoa-devel 1448] [ANN]RubyCocoa 1.2.0

Zurück zum Archiv-Index

kimura wataru kimur****@i*****
Sun Jul 27 16:16:43 JST 2014


Hi,

We released RubyCocoa 1.2.0.

  https://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.2.0/

RubyCocoa is a Mac OS X framework that allows Cocoa programming in the
object-oriented scripting language Ruby. In other words, it is a
bridge that let you access Objective-C objects from Ruby, and vice-versa.

You can learn more about RubyCocoa on our website:

  http://rubycocoa.sourceforge.net/

A source tarball as well as binary installers for Mac OS X 10.9 and
10.8 are provided. This version supports ruby-2.0 or later.

The release notes are following. Enjoy!

KIMURA Wataru

= RubyCocoa 1.2.0

== Changes 1.2.0 from 1.1.0: 2014-07-27

=== Improvements

  * support ruby-2.0 or later, mostly works as same as on ruby-1.8.
    * we release RubyCocoa installers as separated packages for ruby-1.8/2.0.
      replace RubyCocoa.framework if you try to run your RubyCocoa application
      with OS X 10.9 buitin ruby-2.0.
  * when called method is not found on an Objective-C object, RubyCocoa
    raises NoMethodError. (before: OSX::OCMessageSendException)

=== Deprecates

  * CocoaClass#objc_export() is deprecated. use objc_method().
  * OSX::NSObject#ocm_responds?() will be deprecated. use ocm_respond_to?().
  * OSX::NSData#dataWithRubyString(), OSX::NSMutableData#dataWithRubyString()
    will be deprecated. use [NSString dataUsingEncoding:]

=== Fixes

  * Fixed build errors on Yosemite DP.

=== Note for RubyCocoa with Ruby-2.0

  * String of ruby-2.x has its encodings.
    see https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/MigrationIssuesFrom18
     or http://magazine.rubyist.net/?0025-Ruby19_m17n (ja)
  * if you want to extend Objective-C class from bundle or dylib (not
    from framework) in Ruby code, you need to invoke OSX.ns_import.

        require 'path/to/your_bundle.bundle'
        OSX.ns_import :YourClass
        module OSX
          class YourClass
            : # extend class in Ruby code
          end
        end

=== Files

- RubyCocoa-1.2.0-OSX10.9-Ruby1.8.dmg
  * MD5(RubyCocoa-1.2.0-OSX10.9-Ruby1.8.dmg)= 3b2ba5559ab30d4791c2582dc005c362
  * SHA1(RubyCocoa-1.2.0-OSX10.9-Ruby1.8.dmg)= 6a7388a8a6dee393bac9419f340aa8a941d48b98
- RubyCocoa-1.2.0-OSX10.9-Ruby2.0.dmg
  * MD5(RubyCocoa-1.2.0-OSX10.9-Ruby2.0.dmg)= f72b999ac42936cb516a0b04ef57e2ec
  * SHA1(RubyCocoa-1.2.0-OSX10.9-Ruby2.0.dmg)= e8c05a81bd3d36b846e6644c7325545a88a40c22
- RubyCocoa-1.2.0.tar.gz
  * MD5(RubyCocoa-1.2.0.tar.gz)= 5aff3dec6165b2cdc23244fd59cc9138
  * SHA1(RubyCocoa-1.2.0.tar.gz)= 131d7b4dac43ad1e8f2d7959b43386c35e75d3cd
- RubyCocoa-1.2.0-OSX10.8.0.dmg
  * MD5(RubyCocoa-1.2.0-OSX10.8.dmg)= 465291c90b074b5d4fcaf25bab49692d
  * SHA1(RubyCocoa-1.2.0-OSX10.8.dmg)= 82169f65fb76d8be6acf3d4fce2abeb347873915

--
kimuraw




More information about the Rubycocoa-devel mailing list
Zurück zum Archiv-Index