pullbox 0.1.8 → 0.1.9

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
  SHA256:
3
- metadata.gz: 43456b6e946feae054b5b8656385d84b955d07439d1437e5c75a2afd82c5e93f
4
- data.tar.gz: 6dd4b7ee156586b3663ca6a955c82ab7b85f692b2cb71aa52f58f6acdb9af215
3
+ metadata.gz: 87d2b40cfd8b7a1181675f57462fa4f890be85459ba6d9263877078d287545b1
4
+ data.tar.gz: 0eadb9f720a6705c246cfd934e713f83438f19ac6ccb7e3adc4f972cf160d191
5
5
  SHA512:
6
- metadata.gz: '0905793cceaa9222fc9dc273aab4a4c620b563969c9933f9fbde85fc437c3183beee837b116a98e779077b56c796e729667d2271ebe66676bbc1e6ca53338b4a'
7
- data.tar.gz: ae6d24c1bb6c4383c8ea077c611b6f860e25ba74740a1215ffca9c0dd67f92e58183801cdccc62f458dbfc3990221c237c1e5e891e6f6b337818f64df9322c3c
6
+ metadata.gz: 5f692094c2dce32ac9cb7f49628d8ee8add36649b55e5a31ff960a1b66973c3b6bb3565e93b4bcc8bf554a9bd8ff1b702cf8eb65353c5edd9a014b303a432c1d
7
+ data.tar.gz: 7af4e33fd4eb976a6923660a4ed4b166653f7f6e73a4c91bae80f0cdbb3e47f214d7b30d508e68a0fb83021a2615d258cfb44741631b82abc1c7be59371756d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.9] - 2023-03-19
4
+
5
+ - Add option to start app in `move_app`.
6
+
3
7
  ## [0.1.8] - 2023-03-19
4
8
 
5
9
  - `mailmate_beta` improved. Now downloads and installs beta releasess automatically.
@@ -79,7 +79,7 @@ button_construct << defaults[:buttons].join('", "')
79
79
  `osascript -e '#{applescript}'`.strip
80
80
  end
81
81
 
82
- def self.move_app(name, app_path)
82
+ def self.move_app(name, app_path, launch = true)
83
83
  applescript = <<-APS.strip
84
84
  #{intro}
85
85
 
@@ -90,8 +90,11 @@ button_construct << defaults[:buttons].join('", "')
90
90
  end try
91
91
  delay 3
92
92
  tell application "Finder"
93
- set theResult to move (POSIX file "#{app_path}") as alias to theApplicationsFolder with replacing
93
+ move (POSIX file "#{app_path}") as alias to theApplicationsFolder with replacing
94
94
  end tell
95
+ if #{launch} then
96
+ tell application "#{name}" to activate
97
+ end if
95
98
  APS
96
99
  system "osascript -e '#{applescript}'"
97
100
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pullbox
4
- VERSION = "0.1.8"
4
+ VERSION = "0.1.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pullbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - PuLLi