Delete deprecated method NSBehaviorAttachment#objc_export()

use objc_method() to define Objective-C methods to Ruby classes.

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2514 f4f36d40-9719-0410-9868-dde021a23eda
Use HAVE_RUBY_ST_H for ruby/st.h, not HAVE_RUBY_RUBY_H

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2515 f4f36d40-9719-0410-9868-dde021a23eda
Refactaring pseudo-openclass of Objective-C classes

this feature is enabled only with ruby-1.8.
on ruby-2.0 or later, RubyCocoa should call ns_import automatically
at require_framework and initializing application.

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2516 f4f36d40-9719-0410-9868-dde021a23eda
Add OSX::NSNumber#to_int

add missing method #to_int to OSX::NSNumber.

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2517 f4f36d40-9719-0410-9868-dde021a23eda
Fix test failure with ruby-2.0 or later

fix failure TC_NSDictionary#test_fetch_error with ruby-2.[01].
Hash#fetch possible raises KeyError on ruby-1.9 or later, not IndexError.

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2518 f4f36d40-9719-0410-9868-dde021a23eda