summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2012-04-27 10:30:40 +0000
committertaca <taca>2012-04-27 10:30:40 +0000
commit1598561d898a6b7cb12178ff3ce7ff68fe0da53e (patch)
tree66a993aac82b4a8d4939e1e3c545c68de003d39a
parentf850e815d376fd60670457c3d3eae4ba5f755890 (diff)
downloadpkgsrc-1598561d898a6b7cb12178ff3ce7ff68fe0da53e.tar.gz
Update sysutils/ruby-rb-appscript to 0.6.1.
2010-03-19 -- 0.6.1 * removed 32-bit only AE.run_application_event_loop, AE.quit_application_event_loop * updated AE.launch_application to use LSOpenApplication * minor documentation fixes 2010-12-17 -- 0.6.0 * added UTF-8 Encoding support in Ruby 1.9+; added AEMCodecs::Codecs#use_ascii_8bit for optionally disabling it * AEM::Codecs#pack now accepts Date, DateTime instances; added AEM::Codecs#use_date_time method for unpacking typeLongDateTime descriptors as DateTime instead of Time instances * removed AE.get_app_terminology() as it relied on deprecated Carbon APIs * added AE.copy_scripting_definition() * the OSAX module now now uses OSACopyScriptingDefinition() to obtain scripting addition terminology, so works in both 32- and 64-bit Ruby. Note that in addition to limitations of OSACopyScriptingDefinition (e.g. aete-to-sdef conversion is not 100% reliable), the SdefParser is limited in capability (no support for xi:include, class-extension, synonym elements), but should suffice for parsing relatively simple osax dictionaries. * modified Terminology.dump() to retrieve aete resources via 'ascrgdte' events; added OSAX.dump() method * added workaround for transaction id bug in some versions of OS X 10.6 * renamed AEMReference::Base class to AEMReference::Query * renamed Send::CommandError class to Send::EventError; note that AEM re-exports it as AEM::EventError and [for backwards compatibilty] AEM::CommandError 2009-07-18 -- 0.5.3 * fixed pALL code in defaultterminology * fixed OSAX module initialisation code (previously didn't initialise if ScriptingAddition.new was called directly) * fixed out-of-date URLs in appscript manual 2009-07-05 -- 0.5.2 * removed deprecated AEM::Application.is_running? method * added #dont_cache_unpacked_specifiers, #pack_strings_as_type compatibility options to AEM::Codecs * added default definitions for 'item' type, 'items' elements, 'properties' property as Apple have removed the 'item' class definition from skeleton.sdef (the default terminology for Cocoa apps) * property and elements methods now raise ArgumentError if passed arguments; previously, malformed elements selectors, e.g. app('TextEdit').documents(1).text, would be silently ignored, resulting in unexpected behaviour * Codecs#unpack now tries to coerce descriptors of typeVersion to unicode text (works on 10.4+) c.f. AppleScript (note: itunes.version.get returns the wrong version number otherwise; this appears to be an iTunes bug, but is masked by current AppleScript behaviour) * #process_exists_for_url?, #remote_app in connect.rb now raise error if URL string doesn't contain a colon (process will crash otherwise due to an OS bug) * improved error reporting in Reference#[] when a malformed generic reference containing a command expands to a non-reference value. e.g. its.name.get() would previously expand the the value of the object's 'name' property, typically a string, resulting in a cryptic NoMethodError; this now raises a descriptive ArgumentError. * fixed bug where Terminology module would error on zero-length keywords in problem dictionaries (e.g. MS Word 12.1.7) * AEM::Codecs now correctly unpacks AEDescs of typeBoolean whose data >1 byte * fixed inconsistent escaping of application-defined property/element names that overlap built-in type/enum/property names but uses different codes. e.g. Adobe Illustrator defines 'rotation' as 'SxRx' - this overlaps built-in definition ('rotation' = 'trot'), so is escaped as 'rotation_'. Previously only the Keyword was escaped (i.e. :rotation_ but ref.rotation) now both are escaped (i.e. :rotation_, ref.rotation_). Users should update existing code as needed. * restructured defaultterminology.rb to make it easier to maintain * changed default terminology mapping for :data from KAE::CRawData ('rdat') to KAE::TypeData ('tdta') * the OSAX module now obtains list of installed scripting additions on first use instead of import (the .osax scanning code uses System Events via AEM, and sending Apple events in event loop-based application before the event loop is started can disrupt the process's handling of incoming Apple events)
-rw-r--r--sysutils/ruby-rb-appscript/Makefile4
-rw-r--r--sysutils/ruby-rb-appscript/PLIST21
-rw-r--r--sysutils/ruby-rb-appscript/distinfo8
3 files changed, 21 insertions, 12 deletions
diff --git a/sysutils/ruby-rb-appscript/Makefile b/sysutils/ruby-rb-appscript/Makefile
index 51e22df66c0..088363be6c3 100644
--- a/sysutils/ruby-rb-appscript/Makefile
+++ b/sysutils/ruby-rb-appscript/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2010/09/10 07:59:29 taca Exp $
+# $NetBSD: Makefile,v 1.3 2012/04/27 10:30:40 taca Exp $
-DISTNAME= rb-appscript-0.5.1
+DISTNAME= rb-appscript-0.6.1
CATEGORIES= sysutils ruby
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/sysutils/ruby-rb-appscript/PLIST b/sysutils/ruby-rb-appscript/PLIST
index 0ebd4c52c53..4e0a7e7b4c4 100644
--- a/sysutils/ruby-rb-appscript/PLIST
+++ b/sysutils/ruby-rb-appscript/PLIST
@@ -1,17 +1,15 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 21:28:48 joerg Exp $
-${GEM_HOME}/cache/rb-appscript-${PKGVERSION}.gem
+@comment $NetBSD: PLIST,v 1.4 2012/04/27 10:30:40 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGES
-${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/Makefile
${GEM_LIBDIR}/README
${GEM_LIBDIR}/SendThreadSafe.o
-${GEM_LIBDIR}/TODO
${GEM_LIBDIR}/ae.${RUBY_DLEXT}
${GEM_LIBDIR}/doc/aem-manual/01_introduction.html
${GEM_LIBDIR}/doc/aem-manual/02_apioverview.html
${GEM_LIBDIR}/doc/aem-manual/03_packingandunpackingdata.html
${GEM_LIBDIR}/doc/aem-manual/04_references.html
-${GEM_LIBDIR}/doc/aem-manual/05_targettingapplications.html
+${GEM_LIBDIR}/doc/aem-manual/05_targetingapplications.html
${GEM_LIBDIR}/doc/aem-manual/06_buildingandsendingevents.html
${GEM_LIBDIR}/doc/aem-manual/07_findapp.html
${GEM_LIBDIR}/doc/aem-manual/08_examples.html
@@ -39,12 +37,22 @@ ${GEM_LIBDIR}/doc/appscript-manual/relationships_example.gif
${GEM_LIBDIR}/doc/appscript-manual/ruby_to_itunes_event.gif
${GEM_LIBDIR}/doc/full.css
${GEM_LIBDIR}/doc/index.html
+${GEM_LIBDIR}/doc/mactypes-manual/01_introduction.html
+${GEM_LIBDIR}/doc/mactypes-manual/02_aliasclass.html
+${GEM_LIBDIR}/doc/mactypes-manual/03_fileurlclass.html
+${GEM_LIBDIR}/doc/mactypes-manual/04_unitsclass.html
${GEM_LIBDIR}/doc/mactypes-manual/index.html
+${GEM_LIBDIR}/doc/osax-manual/01_introduction.html
+${GEM_LIBDIR}/doc/osax-manual/02_interface.html
+${GEM_LIBDIR}/doc/osax-manual/03_examples.html
+${GEM_LIBDIR}/doc/osax-manual/04_notes.html
${GEM_LIBDIR}/doc/osax-manual/index.html
+${GEM_LIBDIR}/doc/rb-appscript-logo.png
${GEM_LIBDIR}/extconf.rb
${GEM_LIBDIR}/lib/_aem/aemreference.rb
${GEM_LIBDIR}/lib/_aem/codecs.rb
${GEM_LIBDIR}/lib/_aem/connect.rb
+${GEM_LIBDIR}/lib/_aem/encodingsupport.rb
${GEM_LIBDIR}/lib/_aem/findapp.rb
${GEM_LIBDIR}/lib/_aem/mactypes.rb
${GEM_LIBDIR}/lib/_aem/send.rb
@@ -83,6 +91,7 @@ ${GEM_LIBDIR}/src/SendThreadSafe.h
${GEM_LIBDIR}/src/lib/_aem/aemreference.rb
${GEM_LIBDIR}/src/lib/_aem/codecs.rb
${GEM_LIBDIR}/src/lib/_aem/connect.rb
+${GEM_LIBDIR}/src/lib/_aem/encodingsupport.rb
${GEM_LIBDIR}/src/lib/_aem/findapp.rb
${GEM_LIBDIR}/src/lib/_aem/mactypes.rb
${GEM_LIBDIR}/src/lib/_aem/send.rb
@@ -108,4 +117,4 @@ ${GEM_LIBDIR}/test/test_findapp.rb
${GEM_LIBDIR}/test/test_mactypes.rb
${GEM_LIBDIR}/test/test_osax.rb
${GEM_LIBDIR}/test/testall.sh
-${GEM_HOME}/specifications/rb-appscript-${PKGVERSION}.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/sysutils/ruby-rb-appscript/distinfo b/sysutils/ruby-rb-appscript/distinfo
index 78c15fb83dc..9bfb8335631 100644
--- a/sysutils/ruby-rb-appscript/distinfo
+++ b/sysutils/ruby-rb-appscript/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/04/19 09:27:36 seb Exp $
+$NetBSD: distinfo,v 1.2 2012/04/27 10:30:40 taca Exp $
-SHA1 (rb-appscript-0.5.1.gem) = 8743a1926b6abe574ffa9a1a29afc96e59156627
-RMD160 (rb-appscript-0.5.1.gem) = fc342979ca4044dbb9a01eb77218619db041f8c0
-Size (rb-appscript-0.5.1.gem) = 199168 bytes
+SHA1 (rb-appscript-0.6.1.gem) = d5576c0ab3d14f8270aac5304bcd151a81292e5b
+RMD160 (rb-appscript-0.6.1.gem) = 9148020831582e815c3c5ab68c53ca70df9e3209
+Size (rb-appscript-0.6.1.gem) = 223232 bytes