rb-appscript 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,12 @@
1
+ 2009-07-18 -- 0.5.3
2
+
3
+ - fixed pALL code in defaultterminology
4
+
5
+ - fixed OSAX module initialisation code (previously didn't initialise if ScriptingAddition.new was called directly)
6
+
7
+ - fixed out-of-date URLs in appscript manual
8
+
9
+
1
10
  2009-07-05 -- 0.5.2
2
11
 
3
12
  - removed deprecated AEM::Application.is_running? method
@@ -225,7 +225,7 @@ app('TextEdit').documents[1].text.paragraphs</code></pre>
225
225
 
226
226
  <h3>Additional resources</h3>
227
227
 
228
- <p>Background information links can be found on the <a href="http://rb-appscript.rubyforge.org">rb-appscript website</a>.</p>
228
+ <p>Background information links can be found on the <a href="http://appscript.sourceforge.net">appscript website</a>.</p>
229
229
 
230
230
  <hr />
231
231
 
@@ -37,7 +37,7 @@
37
37
 
38
38
  <h3>ASDictionary</h3>
39
39
 
40
- <p>ASDictionary, available from the appscript website's <a href="http://rb-appscript.rubyforge.org/downloads.html">Downloads page</a>, provides a convenient GUI interface for exporting application terminology resources in plain text and HTML formats. ASDictionary can export HTML dictionaries in both single-file format and a frame-based format similar to rdoc's.</p>
40
+ <p>ASDictionary, available from the appscript website's <a href="http://appscript.sourceforge.net/tools.html">Tools page</a>, provides a convenient GUI interface for exporting application terminology resources in plain text and HTML formats. ASDictionary can export HTML dictionaries in both single-file format and a frame-based format similar to rdoc's.</p>
41
41
 
42
42
  <p>In addition, the <code>asdict</code> tool bundled with ASDictionary can be used to export application dictionaries in HTML format, or browse them interactively from the command line. See ASDictionary's documentation for more information.</p>
43
43
 
@@ -59,7 +59,7 @@ require 'appscript'
59
59
 
60
60
  <h3>Dealing with problem applications</h3>
61
61
 
62
- <p>Appscript provides a number of mechanisms for dealing with problematic applications. See the <a href="http://rb-appscript.rubyforge.org">appscript website</a> for more information.</p>
62
+ <p>Appscript provides a number of mechanisms for dealing with problematic applications. See the <a href="http://appscript.sourceforge.net">appscript website</a> for more information.</p>
63
63
 
64
64
 
65
65
  <h3>Credits</h3>
@@ -74,7 +74,7 @@ require 'appscript'
74
74
 
75
75
  <h3>Website</h3>
76
76
 
77
- <p><a href="http://rb-appscript.rubyforge.org">http://rb-appscript.rubyforge.org</a></p>
77
+ <p><a href="http://appscript.sourceforge.net">http://appscript.sourceforge.net</a></p>
78
78
 
79
79
 
80
80
  <h3>Copyright</h3>
data/rb-appscript.gemspec CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
2
2
 
3
3
  spec = Gem::Specification.new do |s|
4
4
  s.name = "rb-appscript"
5
- s.version = "0.5.2"
5
+ s.version = "0.5.3"
6
6
  s.author = "HAS"
7
7
  s.homepage = "http://appscript.sourceforge.net/rb-appscript"
8
8
  s.rubyforge_project="rb-appscript"
@@ -192,7 +192,7 @@ module DefaultTerminology
192
192
 
193
193
  Properties = {
194
194
  'pcls' => :class_,
195
- 'pAll' => :properties_,
195
+ 'pALL' => :properties_,
196
196
  'ID ' => :id_,
197
197
  }
198
198
 
data/src/lib/appscript.rb CHANGED
@@ -11,7 +11,7 @@ require "_aem/mactypes"
11
11
 
12
12
  module Appscript
13
13
 
14
- Version = '0.5.2'
14
+ Version = '0.5.3'
15
15
 
16
16
  # The following methods and classes are of interest to end users:
17
17
  # app, con, its, CommandError, ApplicationNotFoundError, CantLaunchApplicationError
data/src/lib/osax.rb CHANGED
@@ -97,7 +97,6 @@ module OSAX
97
97
  #
98
98
  # without the additional overhead of creating a new ScriptingAddition object each time.
99
99
  #
100
- OSAX._init_caches if OSAXCache == {}
101
100
  if name == nil and app_name == nil
102
101
  if @_standard_additions == nil
103
102
  @_standard_additions = ScriptingAddition.new('StandardAdditions')
@@ -142,6 +141,7 @@ module OSAX
142
141
  @_osax_name = name
143
142
  if not terms
144
143
  osax_name = name.downcase.sub(/(?i)\.osax$/, '')
144
+ OSAX._init_caches if OSAXCache == {}
145
145
  path, terminology_tables = OSAXCache[osax_name]
146
146
  if not path
147
147
  raise ArgumentError, "Scripting addition not found: #{name.inspect}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-appscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - HAS
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-05 00:00:00 +01:00
12
+ date: 2009-07-18 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15