snibbets 2.0.34 → 2.0.35

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: 4bfb107dedc2d689ec1ed371dcaf1ef7fb240218af43831856acb552789a0ce2
4
- data.tar.gz: 482355a0c4a27d707d92633c47adeb2be0db027a37311412cb903f7d47cdb0b6
3
+ metadata.gz: 52a6ea620e56135407c912002d9a91e4892ca290beefb8acc9f48322b3fe0ac4
4
+ data.tar.gz: 9048ea2234f47fc0d514a885ae8f3bfb9a763e3de7e6ec3be1c7c4986b5298da
5
5
  SHA512:
6
- metadata.gz: 40afbc2d33dc562db0e5e21ec7fe40fc10872f279c1bc95b67deb6aac9cff90e663abc0100e49c2a08ea4500e0e2eb4f442bcf34259a54b0b901cf53c883c7ce
7
- data.tar.gz: 072cccc7e2c90dc557f4af25b9338a7cec21b00c0545b5155b07f413d6560b7d964008a8919a638b0c0b67089ccd12d568951c314c75c29d896694a3de45e19e
6
+ metadata.gz: 11a0747b70dd570d10085fa9c3b722f9a56f49b24118c8b2236d0d5d6059c9137c51f364491093e4bfbec5c923b69bb032812e45e6ed96513a30e890c260110b
7
+ data.tar.gz: e6e0f630d72e5095618fc97134bc647322328c17d14b781d4d921bcca60df681e8c2ad2e5a84ae1f8dcf23b3f25338f12eea95db8e1c2ca44e956784aa5828cc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 2.0.35
2
+
3
+ 2023-08-21 11:16
4
+
5
+ #### FIXED
6
+
7
+ - Mdfind returns nil on linux
8
+
1
9
  ### 2.0.34
2
10
 
3
11
  2023-06-17 09:17
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snibbets (2.0.34)
4
+ snibbets (2.0.35)
5
5
  mdless (~> 1.0, >= 1.0.32)
6
6
  tty-reader (~> 0.9, >= 0.9.0)
7
7
  tty-which (~> 0.5, >= 0.5.0)
data/README.md CHANGED
@@ -68,7 +68,7 @@ To install Snibbets:
68
68
 
69
69
  gem install snibbets
70
70
 
71
- If you're using the system Ruby, you may need to use `sudo gem install snibbets`.
71
+ If you're using the system Ruby, use `gem install --user-install snibbets` instead.
72
72
 
73
73
  ### Configuration
74
74
 
@@ -159,7 +159,7 @@ Snibbet's implementation of Skylighting has limited but better-looking themes, a
159
159
  ### Usage
160
160
 
161
161
  ```
162
- Snibbets v2.0.34
162
+ Snibbets v2.0.35
163
163
 
164
164
  Usage: snibbets [options] query
165
165
  -a, --all If a file contains multiple snippets, output all of them (no menu)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Snibbets
4
- VERSION = '2.0.34'
4
+ VERSION = '2.0.35'
5
5
  end
data/lib/snibbets.rb CHANGED
@@ -74,7 +74,7 @@ module Snibbets
74
74
  end
75
75
  else
76
76
  mdfind = TTY::Which.which('mdfind')
77
- if mdfind.empty?
77
+ if mdfind.nil? || mdfind.empty?
78
78
  nil
79
79
  else
80
80
  name_only = Snibbets.options[:name_only] ? '-name ' : ''
data/snibbets.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.require_paths << 'lib'
24
24
  spec.extra_rdoc_files = ['README.md']
25
- spec.rdoc_options << '--title' << 'na' << '--main' << 'README.md' << '--markup' << 'markdown'
25
+ spec.rdoc_options << '--title' << 'snibbets' << '--main' << 'README.md' << '--markup' << 'markdown'
26
26
 
27
27
  spec.bindir = "bin"
28
28
  spec.executables << 'snibbets'
data/src/_README.md CHANGED
@@ -70,7 +70,7 @@ To install Snibbets:
70
70
 
71
71
  gem install snibbets
72
72
 
73
- If you're using the system Ruby, you may need to use `sudo gem install snibbets`.
73
+ If you're using the system Ruby, use `gem install --user-install snibbets` instead.
74
74
 
75
75
  ### Configuration
76
76
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snibbets
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.34
4
+ version: 2.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-17 00:00:00.000000000 Z
11
+ date: 2023-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -311,7 +311,7 @@ metadata:
311
311
  post_install_message:
312
312
  rdoc_options:
313
313
  - "--title"
314
- - na
314
+ - snibbets
315
315
  - "--main"
316
316
  - README.md
317
317
  - "--markup"