rb-scpt 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -0
  3. data/.gitignore +6 -0
  4. data/Manifest.txt +96 -0
  5. data/Rakefile +10 -23
  6. data/{src → ext/ae}/SendThreadSafe.c +1 -1
  7. data/{src/rbae.c → ext/ae/ae.c} +7 -4
  8. data/{extconf.rb → ext/ae/extconf.rb} +6 -33
  9. data/{src/lib → lib}/_aem/aemreference.rb +2 -1
  10. data/{src/lib → lib}/_aem/codecs.rb +4 -4
  11. data/{src/lib → lib}/_aem/connect.rb +6 -6
  12. data/{src/lib → lib}/_aem/findapp.rb +4 -4
  13. data/{src/lib → lib}/_aem/send.rb +10 -12
  14. data/{src/lib → lib}/_appscript/defaultterminology.rb +3 -3
  15. data/{src/lib → lib}/_appscript/referencerenderer.rb +2 -2
  16. data/{src/lib → lib}/_appscript/safeobject.rb +4 -4
  17. data/{src/lib → lib}/_appscript/terminology.rb +4 -4
  18. data/{src/lib → lib}/aem.rb +5 -5
  19. data/{src/lib → lib}/rb-scpt.rb +0 -2
  20. data/lib/version.rb +3 -0
  21. data/rb-scpt.gemspec +15 -10
  22. data/test/test_aemreference.rb +3 -3
  23. data/test/test_appscriptcommands.rb +16 -18
  24. data/test/test_appscriptreference.rb +1 -1
  25. data/test/test_codecs.rb +13 -8
  26. data/test/test_findapp.rb +9 -9
  27. data/test/test_mactypes.rb +5 -3
  28. data/test/test_osax.rb +25 -13
  29. data.tar.gz.sig +0 -0
  30. metadata +62 -41
  31. metadata.gz.sig +0 -0
  32. data/Makefile +0 -327
  33. data/bin/rb-scpt-1.0.0.gem +0 -0
  34. data/bin/rb-scpt-1.0.1.gem +0 -0
  35. data/rb-scpt-1.0.2.gem +0 -0
  36. /data/{src → ext/ae}/SendThreadSafe.h +0 -0
  37. /data/{src/lib → lib}/_aem/encodingsupport.rb +0 -0
  38. /data/{src/lib → lib}/_aem/mactypes.rb +0 -0
  39. /data/{src/lib → lib}/_aem/typewrappers.rb +0 -0
  40. /data/{src/lib → lib}/_appscript/reservedkeywords.rb +0 -0
  41. /data/{src/lib → lib}/kae.rb +0 -0
  42. /data/{src/lib → lib}/osax.rb +0 -0
@@ -3,17 +3,11 @@
3
3
  require 'minitest/autorun'
4
4
  require 'rb-scpt'
5
5
 
6
- # rb-appscript 0.5.0+ should no longer require the following kludge:
7
- #class AS_SafeObject
8
- # def self.hide(name)
9
- # end
10
- #end
11
-
12
6
  class TC_AppscriptNewApp < Minitest::Test
13
7
 
14
8
  def test_by_name
15
9
  [
16
- '/Applications/TextEdit.app',
10
+ '/System/Applications/TextEdit.app',
17
11
  'Finder.app',
18
12
  'System Events'
19
13
  ].each do |name|
@@ -22,8 +16,8 @@ class TC_AppscriptNewApp < Minitest::Test
22
16
  assert_instance_of(Appscript::Application, a)
23
17
  assert_instance_of(Appscript::Reference, a.name)
24
18
  end
25
- assert_equal('app("/Applications/TextEdit.app")', Appscript.app('TextEdit').to_s)
26
- assert_equal('app("/Applications/TextEdit.app")', Appscript.app.by_name('TextEdit').to_s)
19
+ assert_equal('app("/System/Applications/TextEdit.app")', Appscript.app('TextEdit').to_s)
20
+ assert_equal('app("/System/Applications/TextEdit.app")', Appscript.app.by_name('TextEdit').to_s)
27
21
 
28
22
  assert_raises(Appscript::ApplicationNotFoundError) { Appscript.app('/non-existent/app') }
29
23
  assert_raises(Appscript::ApplicationNotFoundError) { Appscript.app('non-existent.app') }
@@ -39,7 +33,7 @@ class TC_AppscriptNewApp < Minitest::Test
39
33
  assert_instance_of(Appscript::Application, a)
40
34
  assert_instance_of(Appscript::Reference, a.name)
41
35
  end
42
- assert_equal('app("/Applications/TextEdit.app")', Appscript.app.by_id('com.apple.textedit').to_s)
36
+ assert_equal('app("/System/Applications/TextEdit.app")', Appscript.app.by_id('com.apple.textedit').to_s)
43
37
 
44
38
  assert_raises(Appscript::ApplicationNotFoundError) { Appscript.app.by_id('non.existent.app') }
45
39
  end
@@ -47,7 +41,7 @@ class TC_AppscriptNewApp < Minitest::Test
47
41
  def test_by_creator
48
42
  a = Appscript.app.by_creator('ttxt')
49
43
  assert_instance_of(Appscript::Reference, a.name)
50
- assert_equal('app("/Applications/TextEdit.app")', a.to_s)
44
+ assert_equal('app("/System/Applications/TextEdit.app")', a.to_s)
51
45
  assert_raises(Appscript::ApplicationNotFoundError) { Appscript.app.by_id('!@$o') }
52
46
  end
53
47
 
@@ -60,9 +54,9 @@ class TC_AppscriptNewApp < Minitest::Test
60
54
  end
61
55
 
62
56
  def test_by_aem_app
63
- a = Appscript.app.by_aem_app(AEM::Application.by_path('/Applications/TextEdit.app'))
57
+ a = Appscript.app.by_aem_app(AEM::Application.by_path('/System/Applications/TextEdit.app'))
64
58
  assert_instance_of(Appscript::Reference, a.name)
65
- assert_equal('app.by_aem_app(AEM::Application.by_path("/Applications/TextEdit.app"))', a.to_s)
59
+ assert_equal('app.by_aem_app(AEM::Application.by_path("/System/Applications/TextEdit.app"))', a.to_s)
66
60
  end
67
61
  end
68
62
 
@@ -75,6 +69,8 @@ class TC_AppscriptCommands < Minitest::Test
75
69
  end
76
70
 
77
71
  def test_commands_1
72
+ skip "Not on CI" if ENV["CI"]
73
+
78
74
  assert_equal('TextEdit', @te.name.get)
79
75
  d = @te.make(:new=>:document, :with_properties=>{:text=>'test test_commands'})
80
76
  assert_instance_of(Appscript::Reference, d)
@@ -105,6 +101,8 @@ class TC_AppscriptCommands < Minitest::Test
105
101
  end
106
102
 
107
103
  def test_commands_2
104
+ skip "Not on CI" if ENV["CI"]
105
+
108
106
  d = @te.make(:new=>:document, :at=>@te.documents.end)
109
107
 
110
108
  @te.set(d.text, :to=> 'test1')
@@ -138,12 +136,12 @@ class TC_AppscriptCommands < Minitest::Test
138
136
  end
139
137
 
140
138
  def test_command_error
141
- begin
139
+ e = assert_raises Appscript::CommandError do
142
140
  @f.items[10000].get
143
- rescue Appscript::CommandError => e
144
- assert_equal(-1728, e.to_i)
145
- assert_equal("CommandError\n\t\tOSERROR: -1728\n\t\tMESSAGE: Can't get reference.\n\t\tOFFENDING OBJECT: app(\"/System/Library/CoreServices/Finder.app\").items[10000]\n\t\tCOMMAND: app(\"/System/Library/CoreServices/Finder.app\").items[10000].get()\n", e.to_s)
146
- assert_instance_of(AEM::EventError, e.real_error)
147
141
  end
142
+
143
+ assert_equal(-1728, e.to_i)
144
+ assert_equal("CommandError\n\t\tOSERROR: -1728\n\t\tMESSAGE: Can't get reference.\n\t\tOFFENDING OBJECT: 10000\n\t\tEXPECTED TYPE: :file_url\n\t\tCOMMAND: app(\"/System/Library/CoreServices/Finder.app\").items[10000].get()\n", e.to_s)
145
+ assert_instance_of(AEM::EventError, e.real_error)
148
146
  end
149
147
  end
@@ -96,7 +96,7 @@ class TC_AppscriptReferences < Minitest::Test
96
96
  val2 = @te.AS_app_data.unpack(d)
97
97
  if val.class == @te.AS_app_data.unpack(d).class # note: Appscript::Reference and Appscript::GenericReference currently aren't comparable with each other, so the next test would always fail for those
98
98
  assert_equal(val, val2)
99
- assert_predicate val, :eql?, val2
99
+ assert_operator val, :eql?, val2
100
100
  end
101
101
  end
102
102
  end
data/test/test_codecs.rb CHANGED
@@ -78,8 +78,13 @@ class TC_Codecs < Minitest::Test
78
78
  data = num(data)
79
79
  d = @c.pack(val)
80
80
  assert_equal(type, d.type)
81
- assert_equal(data, d.data)
82
- assert_equal(val, @c.unpack(d))
81
+ assert_equal(data.b, d.data)
82
+
83
+ if type == KAE::TypeFloat then
84
+ assert_in_epsilon(val, @c.unpack(d))
85
+ else
86
+ assert_equal(val, @c.unpack(d))
87
+ end
83
88
  end
84
89
  end
85
90
 
@@ -101,7 +106,7 @@ class TC_Codecs < Minitest::Test
101
106
  data = ut16(data)
102
107
  d = @c.pack(val)
103
108
  assert_equal(KAE::TypeUnicodeText, d.type)
104
- assert_equal(data, d.data)
109
+ assert_equal(data.b, d.data)
105
110
  assert_equal(val, @c.unpack(d))
106
111
  end
107
112
  assert_raises(TypeError) { @c.pack("\x88") } # non-valid UTF8 strings should raise error when coercing from typeUTF8Text to typeUnicodeText
@@ -116,17 +121,17 @@ class TC_Codecs < Minitest::Test
116
121
  data = num(data)
117
122
  d = @c.pack(t)
118
123
  assert_equal(KAE::TypeLongDateTime, d.type)
119
- assert_equal(data, d.data)
124
+ assert_equal(data.b, d.data)
120
125
  assert_equal(t, @c.unpack(AE::AEDesc.new(KAE::TypeLongDateTime, data)))
121
126
  end
122
127
  end
123
128
 
124
129
  def test_file
125
- path = '/Applications/TextEdit.app'
130
+ path = '/System/Applications/TextEdit.app'
126
131
  d = @c.pack(MacTypes::Alias.path(path))
127
132
  assert_equal(path, @c.unpack(d).to_s)
128
133
 
129
- path = '/Applications/TextEdit.app'
134
+ path = '/System/Applications/TextEdit.app'
130
135
  d = @c.pack(MacTypes::FileURL.path(path))
131
136
  assert_equal(path, @c.unpack(d).to_s)
132
137
  end
@@ -141,10 +146,10 @@ class TC_Codecs < Minitest::Test
141
146
  d = @c.pack(val)
142
147
  val2 = @c.unpack(d)
143
148
  assert_equal(val, val2)
144
- assert_predicate val, :eql?, val2
149
+ assert_operator val, :eql?, val2
145
150
  val2 = @c.unpack(d)
146
151
  assert_equal(val2, val)
147
- assert_predicate val2, :eql?, val
152
+ assert_operator val2, :eql?, val
148
153
  end
149
154
  assert_raises(ArgumentError) { AEM::AEType.new(3) }
150
155
  assert_raises(ArgumentError) { AEM::AEType.new("docum") }
data/test/test_findapp.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/ruby -w
2
2
 
3
- require 'minitest/autorun'
3
+ require "minitest/autorun"
4
4
  require "_aem/findapp"
5
5
 
6
6
 
@@ -8,15 +8,15 @@ class TC_FindApp < Minitest::Test
8
8
 
9
9
  def test_find
10
10
  [
11
- ['/Applications/iCal.app', '/Applications/iCal.app'],
12
- ['ical.app', '/Applications/iCal.app'],
13
- ['ICAL', '/Applications/iCal.app'],
14
- ].each do |val, res|
15
- assert_equal(res, FindApp.by_name(val))
11
+ "/System/Applications/Calendar.app",
12
+ "Calendar.app",
13
+ "Calendar",
14
+ ].each do |name|
15
+ assert_equal("/System/Applications/Calendar.app", FindApp.by_name(name))
16
16
  end
17
- assert_equal('/Applications/TextEdit.app', FindApp.by_creator('ttxt'))
18
- assert_equal('/System/Library/CoreServices/Finder.app', FindApp.by_id('com.apple.finder'))
19
- assert_raises(FindApp::ApplicationNotFoundError) { FindApp.by_name('NON-EXISTENT-APP') }
17
+ assert_equal("/System/Applications/TextEdit.app", FindApp.by_creator("ttxt"))
18
+ assert_equal("/System/Library/CoreServices/Finder.app", FindApp.by_id("com.apple.finder"))
19
+ assert_raises(FindApp::ApplicationNotFoundError) { FindApp.by_name("NON-EXISTENT-APP") }
20
20
 
21
21
  # assert_equal("/Users/has/\306\222\303\270u\314\210.app", FindApp.by_name("\306\222\303\270u\314\210.app")) # utf8 paths work ok
22
22
  end
@@ -18,6 +18,8 @@ class TC_MacTypes < Minitest::Test
18
18
  end
19
19
 
20
20
  def test_alias
21
+ skip "MacTypes::Alias needs to be ported off of Carbon's aliases"
22
+
21
23
  # make alias
22
24
  f = MacTypes::Alias.path(@path1)
23
25
 
@@ -42,9 +44,9 @@ class TC_MacTypes < Minitest::Test
42
44
  # check alias keeps track of moved file
43
45
  `mv #{@path1} #{@path2}`
44
46
  # puts "alias path 2: #{f}" # /private/tmp/moved-codecs-test.HWr1EnE3
45
- assert_equal(p2, f.to_s)
47
+ assert_equal(p2.b, f.to_s)
46
48
 
47
- assert_equal(p2, normalize(f.path))
49
+ assert_equal(p2.b, normalize(f.path))
48
50
 
49
51
  # check a FileNotFoundError is raised if getting path/FileURL for a filesystem object that no longer exists
50
52
  `rm #{@path2}`
@@ -63,7 +65,7 @@ class TC_MacTypes < Minitest::Test
63
65
  assert_equal('/non/existent path', g.to_s)
64
66
 
65
67
  assert_equal('furl', g.desc.type)
66
- assert_equal('file://localhost/non/existent%20path', g.desc.data)
68
+ assert_equal('file:///non/existent%20path', g.desc.data)
67
69
 
68
70
  assert_equal('MacTypes::FileURL.path("/non/existent path")', g.to_file_url.inspect)
69
71
 
data/test/test_osax.rb CHANGED
@@ -6,7 +6,7 @@ require 'osax'
6
6
  class TC_OSAX < Minitest::Test
7
7
 
8
8
  def test_1
9
- sa = OSAX.osax('Standardadditions')
9
+ sa = OSAX.osax('StandardAdditions')
10
10
 
11
11
  assert_equal(65, sa.ASCII_number('A'))
12
12
 
@@ -18,35 +18,47 @@ class TC_OSAX < Minitest::Test
18
18
  assert_raises(RuntimeError) { sa.non_existent_command }
19
19
  end
20
20
 
21
+ # These calls to `sa.ASCII_number` aren't valid anymore. They will
22
+ # intentionally raise a -10004 (privilege violation occurred) error
23
+ # due to unnecessary cross-application scripting (ie, the command is
24
+ # perfectly fine in the current application rather than the "remote"
25
+ # application). See:
26
+ #
27
+ # https://developer.apple.com/library/archive/releasenotes/AppleScript/RN-AppleScript/RN-10_6/RN-10_6.html#//apple_ref/doc/uid/TP40000982-CH106-SW6
28
+ #
29
+ # As such, maybe these tests should be performing something with the
30
+ # finder? Hrm. Nope! That's an error too. `sa` is the
31
+ # StandardAdditions osax and nothing shall change that. I'm not
32
+ # really sure what these tests were trying to achive tbh.
33
+
21
34
  def test_2
22
- sa = OSAX.osax('Standardadditions').by_name('Finder')
23
- assert_equal(65, sa.ASCII_number('A'))
35
+ sa = OSAX.osax('StandardAdditions').by_name('Finder')
36
+ # assert_equal(65, sa.ASCII_number('A'))
24
37
  assert_equal(MacTypes::Alias.path("/System/Library/CoreServices/Finder.app/"), sa.path_to(nil))
25
38
  end
26
39
 
27
40
  def test_3
28
- sa = OSAX.osax('Standardadditions').by_creator('MACS')
29
- assert_equal(65, sa.ASCII_number('A'))
41
+ sa = OSAX.osax('StandardAdditions').by_creator('MACS')
42
+ # assert_equal(65, sa.ASCII_number('A'))
30
43
  assert_equal(MacTypes::Alias.path("/System/Library/CoreServices/Finder.app/"), sa.path_to(nil))
31
44
  end
32
45
 
33
46
  def test_4
34
- sa = OSAX.osax('Standardadditions').by_id('com.apple.finder')
35
- assert_equal(65, sa.ASCII_number('A'))
47
+ sa = OSAX.osax('StandardAdditions').by_id('com.apple.Finder')
48
+ # assert_equal(65, sa.ASCII_number('A'))
36
49
  assert_equal(MacTypes::Alias.path("/System/Library/CoreServices/Finder.app/"), sa.path_to(nil))
37
50
  end
38
51
 
39
52
  def test_5
40
- sa = OSAX.osax('Standardadditions').by_pid(`top -l1 | grep Finder | awk '{ print $1 }'`.to_i)
53
+ pid = `top -l1 | grep Finder | awk '{ print $1 }'`.to_i
54
+ sa = OSAX.osax('StandardAdditions').by_pid(pid)
55
+ # assert_equal(65, sa.ASCII_number('A'))
41
56
  assert_equal(MacTypes::Alias.path("/System/Library/CoreServices/Finder.app/"), sa.path_to(nil))
42
- assert_equal(65, sa.ASCII_number('A'))
43
57
  end
44
58
 
45
59
  def test_6
46
- sa = OSAX.osax('Standardadditions').by_aem_app(AEM::Application.by_path("/System/Library/CoreServices/Finder.app/"))
47
- assert_equal(65, sa.ASCII_number('A'))
60
+ sa = OSAX.osax('StandardAdditions').by_aem_app(AEM::Application.by_path("/System/Library/CoreServices/Finder.app/"))
61
+ # assert_equal(65, sa.ASCII_number('A'))
48
62
  assert_equal(MacTypes::Alias.path("/System/Library/CoreServices/Finder.app/"), sa.path_to(nil))
49
63
  end
50
-
51
-
52
64
  end
data.tar.gz.sig ADDED
Binary file
metadata CHANGED
@@ -1,29 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-scpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - hhas
8
8
  - Brendan Thompson
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2018-07-13 00:00:00.000000000 Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIDPjCCAiagAwIBAgIBCDANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
15
+ ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
16
+ GRYDY29tMB4XDTI0MDEwMjIxMjEyM1oXDTI1MDEwMTIxMjEyM1owRTETMBEGA1UE
17
+ AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
18
+ JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
19
+ b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
20
+ taCPaLmfYIaFcHHCSY4hYDJijRQkLxPeB3xbOfzfLoBDbjvx5JxgJxUjmGa7xhcT
21
+ oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
22
+ GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
23
+ qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
24
+ gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
25
+ HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
26
+ AQCygvpmncmkiSs9r/Kceo4bBPDszhTv6iBi4LwMReqnFrpNLMOWJw7xi8x+3eL2
27
+ XS09ZPNOt2zm70KmFouBMgOysnDY4k2dE8uF6B8JbZOO8QfalW+CoNBliefOTcn2
28
+ bg5IOP7UoGM5lC174/cbDJrJnRG9bzig5FAP0mvsgA8zgTRXQzIUAZEo92D5K7p4
29
+ B4/O998ho6BSOgYBI9Yk1ttdCtti6Y+8N9+fZESsjtWMykA+WXWeGUScHqiU+gH8
30
+ S7043fq9EbQdBr2AXdj92+CDwuTfHI6/Hj5FVBDULufrJaan4xUgL70Hvc6pTTeW
31
+ deKfBjgVAq7EYHu1AczzlUly
32
+ -----END CERTIFICATE-----
33
+ date: 2024-04-26 00:00:00.000000000 Z
13
34
  dependencies: []
14
- description:
35
+ description:
15
36
  email: brendan@btsystems.com.au
16
37
  executables: []
17
38
  extensions:
18
- - extconf.rb
39
+ - ext/ae/extconf.rb
19
40
  extra_rdoc_files: []
20
41
  files:
42
+ - ".gitignore"
21
43
  - CHANGES
22
- - Makefile
44
+ - Manifest.txt
23
45
  - README.md
24
46
  - Rakefile
25
- - bin/rb-scpt-1.0.0.gem
26
- - bin/rb-scpt-1.0.1.gem
27
47
  - doc/aem-manual/01_introduction.html
28
48
  - doc/aem-manual/02_apioverview.html
29
49
  - doc/aem-manual/03_packingandunpackingdata.html
@@ -67,8 +87,28 @@ files:
67
87
  - doc/osax-manual/04_notes.html
68
88
  - doc/osax-manual/index.html
69
89
  - doc/rb-appscript-logo.png
70
- - extconf.rb
71
- - rb-scpt-1.0.2.gem
90
+ - ext/ae/SendThreadSafe.c
91
+ - ext/ae/SendThreadSafe.h
92
+ - ext/ae/ae.c
93
+ - ext/ae/extconf.rb
94
+ - lib/_aem/aemreference.rb
95
+ - lib/_aem/codecs.rb
96
+ - lib/_aem/connect.rb
97
+ - lib/_aem/encodingsupport.rb
98
+ - lib/_aem/findapp.rb
99
+ - lib/_aem/mactypes.rb
100
+ - lib/_aem/send.rb
101
+ - lib/_aem/typewrappers.rb
102
+ - lib/_appscript/defaultterminology.rb
103
+ - lib/_appscript/referencerenderer.rb
104
+ - lib/_appscript/reservedkeywords.rb
105
+ - lib/_appscript/safeobject.rb
106
+ - lib/_appscript/terminology.rb
107
+ - lib/aem.rb
108
+ - lib/kae.rb
109
+ - lib/osax.rb
110
+ - lib/rb-scpt.rb
111
+ - lib/version.rb
72
112
  - rb-scpt.gemspec
73
113
  - sample/AB_export_vcard.rb
74
114
  - sample/AB_list_people_with_emails.rb
@@ -87,26 +127,6 @@ files:
87
127
  - sample/Stagger_Finder_windows.rb
88
128
  - sample/TextEdit_demo.rb
89
129
  - sample/iTunes_top40_to_html.rb
90
- - src/SendThreadSafe.c
91
- - src/SendThreadSafe.h
92
- - src/lib/_aem/aemreference.rb
93
- - src/lib/_aem/codecs.rb
94
- - src/lib/_aem/connect.rb
95
- - src/lib/_aem/encodingsupport.rb
96
- - src/lib/_aem/findapp.rb
97
- - src/lib/_aem/mactypes.rb
98
- - src/lib/_aem/send.rb
99
- - src/lib/_aem/typewrappers.rb
100
- - src/lib/_appscript/defaultterminology.rb
101
- - src/lib/_appscript/referencerenderer.rb
102
- - src/lib/_appscript/reservedkeywords.rb
103
- - src/lib/_appscript/safeobject.rb
104
- - src/lib/_appscript/terminology.rb
105
- - src/lib/aem.rb
106
- - src/lib/kae.rb
107
- - src/lib/osax.rb
108
- - src/lib/rb-scpt.rb
109
- - src/rbae.c
110
130
  - test/README
111
131
  - test/test_aemreference.rb
112
132
  - test/test_appscriptcommands.rb
@@ -116,9 +136,10 @@ files:
116
136
  - test/test_mactypes.rb
117
137
  - test/test_osax.rb
118
138
  homepage: https://github.com/BrendanThompson/rb-scpt
119
- licenses: []
139
+ licenses:
140
+ - AML
120
141
  metadata: {}
121
- post_install_message:
142
+ post_install_message:
122
143
  rdoc_options: []
123
144
  require_paths:
124
145
  - lib
@@ -126,25 +147,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
147
  requirements:
127
148
  - - ">="
128
149
  - !ruby/object:Gem::Version
129
- version: '1.8'
150
+ version: '2.7'
130
151
  required_rubygems_version: !ruby/object:Gem::Requirement
131
152
  requirements:
132
153
  - - ">="
133
154
  - !ruby/object:Gem::Version
134
155
  version: '0'
135
156
  requirements: []
136
- rubyforge_project:
137
- rubygems_version: 2.7.6
138
- signing_key:
157
+ rubygems_version: 3.5.3
158
+ signing_key:
139
159
  specification_version: 4
140
160
  summary: This is a fork of the original rb-appscript. Ruby AppleScript (rb-scpt) is
141
161
  a high-level, user-friendly Apple event bridge that allows you to control scriptable
142
162
  Mac OS X applications using ordinary Ruby scripts.
143
163
  test_files:
164
+ - test/README
165
+ - test/test_aemreference.rb
166
+ - test/test_appscriptcommands.rb
167
+ - test/test_appscriptreference.rb
144
168
  - test/test_codecs.rb
169
+ - test/test_findapp.rb
145
170
  - test/test_mactypes.rb
146
- - test/test_appscriptcommands.rb
147
- - test/test_aemreference.rb
148
171
  - test/test_osax.rb
149
- - test/test_findapp.rb
150
- - test/test_appscriptreference.rb
metadata.gz.sig ADDED
Binary file