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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0803f2aea2e54e900f31119d591a1b5efa128f09'
4
- data.tar.gz: 47b47687ed0bdf847c6c036eaabb6d4f79c4920e
3
+ metadata.gz: 88517cd81d52290765c991921da1b15292749835
4
+ data.tar.gz: ffd0dd0a75fc9607d02e27f882b4750e9028ed15
5
5
  SHA512:
6
- metadata.gz: f62b3713160d59ce955981e98a5d821f0ad4aa81ac43e153905c6cdf986cad8a1fb002f3ad5961da62cf54c240496600d69154d664336734a6fa6f5bf0d54603
7
- data.tar.gz: 1e5468c3716e0d98161959935a1fa9c04f7b17a75db11eac40b3165cf535b608325eddab2583ea8c15a456da4a98bc9fd4a47cccbc743faed79c9602491aae3f
6
+ metadata.gz: c1220e7a74ce376147c3e83dced2f0c6484fd952fb2267c3633b8cbda482a090f8b224bfc0ce8258b36b80da4055b77ff056dc3e96eb5c7b9c14b9a22767ea68
7
+ data.tar.gz: 48d05054e557edfd52b2e4444fe977539851a43e23019cd624935dac8951e7f3bf5761530ff700e1117ff58e512beeed5d824b87bcdf64bfcf35d36ffe6da7ea
@@ -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
- Repla.application_exists || abort('The Repla application is not installed.')
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.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roben Kleene