bunchcli 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5a5b54ca9072d61c0e990f9f87b69168a4aec155f49f77a72df0900c69d6ae8
4
- data.tar.gz: 6ed75949425a9d4e4ffbf4b4919978be42943955a1f844933a93ffc124e38af6
3
+ metadata.gz: 50e2a9587c1e477ebfba689ac13604b9a10c18669ca8669d90e66b579167f515
4
+ data.tar.gz: '099d0e718b8ef7d4a54257158a6ae4b8914309c4ab730aa9bcbb5458b10faf6a'
5
5
  SHA512:
6
- metadata.gz: 49ef4d2054f5171c1ceecad6371bee24085d26c499af0c4c99439edea38490ce2df00e2518b72f22042bf092af0835b95ac6499c103b8e78537a957d50561e98
7
- data.tar.gz: 5a999f1fce45730a160c34b2b4dc61dc9723830cf619e5b6440203eb465151b39cec16665938381e5d2804b9e99686932974d7fd63c64403df203cf2a61cea8c
6
+ metadata.gz: b0527a019699115059a9015ca482b240300cabd85c397b02592ded404b02e85c8cec71cc8e97782578469d3e706e15da855963c828ff4cf3b01e9c5988d373d8
7
+ data.tar.gz: 250aec6aeadeadfd87f68f30c1fa8c70c43b46c1f23aac5efb963319756693f5b756eb7bd4f6cfc0c7bb946a782b40d203c3acd0f8f31daa97e4136711215629
@@ -1,3 +1,12 @@
1
+ ### 1.1.2
2
+
3
+ - Allow app name in x-success if bundle id can't be found
4
+
5
+ ### 1.1
6
+
7
+ - Add interactive URL builder
8
+ - Snippet handling
9
+
1
10
  ### 1.0
2
11
 
3
12
  - Initial release
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bunchcli (1.1.0)
4
+ bunchcli (1.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -17,12 +17,13 @@ module Util
17
17
  shortname = app.sub(/\.app$/, '')
18
18
  apps = `mdfind -onlyin /Applications -onlyin /Applications/Setapp -onlyin /Applications/Utilities -onlyin ~/Applications -onlyin /Developer/Applications 'kMDItemKind==Application'`
19
19
 
20
- app = apps.split(/\n/).select! { |line| line.chomp =~ /#{shortname}\.app$/ }[0]
20
+ foundapp = apps.split(/\n/).select! { |line| line.chomp =~ /#{shortname}\.app$/i }[0]
21
21
 
22
- if app
23
- bid = `mdls -name kMDItemCFBundleIdentifier -r "#{app}"`.chomp
22
+ if foundapp
23
+ bid = `mdls -name kMDItemCFBundleIdentifier -r "#{foundapp}"`.chomp
24
24
  else
25
- warn "Could not locate bundle id for #{shortname}"
25
+ # warn "Could not locate bundle id for #{shortname}, using provided app name"
26
+ bid = app
26
27
  end
27
28
  bid
28
29
  end
@@ -1,3 +1,3 @@
1
1
  module BunchCLI
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunchcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-01-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: