repla 0.6.1 → 0.6.2
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.
- checksums.yaml +4 -4
- data/lib/repla/lib/module.rb +2 -1
- data/lib/repla.rb +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88517cd81d52290765c991921da1b15292749835
|
|
4
|
+
data.tar.gz: ffd0dd0a75fc9607d02e27f882b4750e9028ed15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1220e7a74ce376147c3e83dced2f0c6484fd952fb2267c3633b8cbda482a090f8b224bfc0ce8258b36b80da4055b77ff056dc3e96eb5c7b9c14b9a22767ea68
|
|
7
|
+
data.tar.gz: 48d05054e557edfd52b2e4444fe977539851a43e23019cd624935dac8951e7f3bf5761530ff700e1117ff58e512beeed5d824b87bcdf64bfcf35d36ffe6da7ea
|
data/lib/repla/lib/module.rb
CHANGED
|
@@ -79,7 +79,8 @@ module Repla
|
|
|
79
79
|
# TODO: `self.run_applescript` should be private but now all of a sudden
|
|
80
80
|
# instances method can't call private class methods?
|
|
81
81
|
def self.run_applescript(script, arguments = nil)
|
|
82
|
-
command = "osascript #{script.shell_escape}"
|
|
82
|
+
# command = "osascript #{script.shell_escape}"
|
|
83
|
+
command = "osascript #{script}"
|
|
83
84
|
|
|
84
85
|
if arguments
|
|
85
86
|
command += ' ' + arguments.compact.map(&:to_s).map do |x|
|
data/lib/repla.rb
CHANGED
|
@@ -7,4 +7,11 @@ module Repla
|
|
|
7
7
|
require_relative 'repla/lib/module'
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
# Exists: Removing for now because there is no safe way of determinining if
|
|
11
|
+
# the application is installed.
|
|
12
|
+
# 1. There's one method that uses the Finder, but that requires prompting the
|
|
13
|
+
# user after Mojave
|
|
14
|
+
# 2. There's another method that doesn't use the Finder, but it will hang if
|
|
15
|
+
# the process originates from the app
|
|
16
|
+
# The hang may only be in tests?
|
|
17
|
+
# Repla.application_exists || abort('The Repla application is not installed.')
|