From: Eloy D. <elo...@gm...> - 2007-11-26 20:30:34
|
Hello, We are pleased to announce the second release of Rucola today. http://rucola.rubyforge.org/ This release has some major enhancements and therefore uses the new =20 RubyCocoa 0.13. We're happy to announce that Chris McGrath & Satoshi Nakagawa have =20 joined the team. Chris added the foundation for ActiveRecord usage with Rucola. (No =20 fixtures etc yet.) And Satoshi-san uses the crash reporter plugin in his excellent =20 RubyCocoa based irc client LimeChat, for which he has provided lots of patches. Also there's support for autotest and some plugins. And lots of other improvements. Cheers, Rucola team. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D A Framework for building Cocoa applications in Ruby Rucola is a light weight framework that helps you write RubyCocoa apps. It allows you to build, test, and deploy applications using rake =20 commands, eliminating the need to use XCode, however you can use XCode if you =20 wish. Rucola provides a set of generators to help you generate controllers, =20= window controllers, and document-based applications. It also provides APIs for simplifying =20= some of Objective-C=92s ways of doing things. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D CHANGES: RUCOLA Core: - Initializer: Spec'd the class methods of Initializer. - Initializer: Change initializer to check if environment is release =20 rather than debug so that we can have the same setup for debug and =20 test. Fixes problem when AR plugin installed in app. - Plugin: Added script/generate rucola_plugin for rucola apps - Plugin: Add the initial Plugin code and hook it into the initializer - Plugin: Added Plugin#after_launch which uses a PluginRunner class =20 that uses NSNotifications to run plugin hooks after the application =20 has started. - Notifications: Added a helper for firing notifications. - Notifications: Moved notification name resolution to a separate =20 method, and don't raise NameErrors when the constant doesn't exist. - Support: Added Rucola::InfoPlist#app_name & Rucola::RCApp#app_name =20 which return the CFBundleExecutable value from the Info.plist file. - Testing: Added the code to make autotest play nice with a rucola app!! - Testing: Added autotest sound plugin, original idea from: Jeremy =20 Seitz. - Testing: Added autotest images plugin, copyright: John Nunemaker. - Testing: Added useful skeleton tests using test/spec and mocha. - Testing: Added a few more test helpers which provide a shortcut for =20= getting ivars (ib_outlets). - InitializeHooks: The initialize_hooks will now call #after_init on =20 an instance if it exists. This is so that #init doesn't have to be =20 overriden to setup defaults etc. - Generator: Updated the generators with better banners. - Generator: The document_model_generator will not longer run if no =20 extension is specified, but rather display the usage banner. - Nib: Fixed bugs where destructive methods were called on immutable =20 objects. This was a change in RubyCocoa. - Nib: Nib#add_class now takes an optional superclass. - Rake: Fixed a bug in the xcode rake task where the local var =20 'executable' was not passed explicitly into the thread. So the app =20 would sometimes not come to the front. - Rake: The rake test task will now print with the -rr pretty test/=20 spec output. - Rake: Modified xcode:build rake task to do xcodebuild everytime. =20 Otherwise changes in the nibs will not be reflected in the app bundle. - Rake: Make main.rake load tasks from vendor/plugins/*/tasks/*.rake EXTRAS: - AR: Add basic ActiveRecord model, proxy and migration generator. - AR: The AR generator also adds the proxy and =20 ActiveRecordSetController to the specified nibs. - AR: Move the ActiveRecord code into a rucola_activerecord plugin - AR: Added support for migrations and other AR tasks - Samples: Added another simple sample app (Leecher) which simply =20 downloads files and displays the progress. - SACrashReporter: Fixed bug if ~/Library/Logs/CrashReporter doesn't =20 exist. - SACrashReporter: Fixed bug in the crash log naming style on 10.5. - SACrashReporter: The crash reporter will never be ran if it's the =20 very first time. - SACrashReporter: Replaced the http posting with the cocoa equivalent =20= and display message while the reporter is doing the post. - SACrashReporter: On Leopard every crash is logged in an individual =20 file, now reads and writes those too. - SACrashReporter: SACrashReporter/init.rb now uses the new Plugin =20 system to alter Initializer.do_boot and run SACrashReporter.submit =20 after the application has started. - Rucola TM Bundle: Going to the view from the application controller =20= will now open the MainMenu.nib in IB.= |