howzit 2.0.30 → 2.0.32

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: d66bce7888fe2c4f20b84e2aa89f70ba76103453ff6fe5ed89b385c4debdb170
4
- data.tar.gz: df96e786640586dbd52345d088118e50f0b56125f86c35431c3acec05df0042f
3
+ metadata.gz: 60d256888b71fff3d25c94ba6cf19bf8cbfcc9b683b220ac129ebe4def27c3ad
4
+ data.tar.gz: 57b4585039f4d277c88160402fcef38c5fc77c2c600f7e9008db6ffc2cfc6dd4
5
5
  SHA512:
6
- metadata.gz: 04c1f202b01923c688316b849f1410c50c8d3ae6d0f2e64a17fc5acfcc002f6037e9c29bfdd8f483dea8a710d4fa3ef8d17d91e4c542faeed6dd23b6c3f4cc48
7
- data.tar.gz: 1d008476828a051cb82a656e9d05b81fa96d6c4939df5aaf5de3bc39456c636c0f71f16979565beaaac056513503a9413a08e4ea43e4634d2386dec3a0ea5af8
6
+ metadata.gz: 7b9aa6a457a57ee619999b274d0371a18d99e6f2da8cc1ca6334a67e99e5e7010457a7b384a4be0b2b8ae0bbcb1cec5eac8061ab77dd817f38f21b8b559d6eff
7
+ data.tar.gz: c9d2b38a01f78bcad831a37bd14b35c9c1b20d106fd908c0088c6750d4aaa365ed75546b904e06a1a922fbf73982be530ebc9ffe0c65e74201d4375ace9b97c0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ### 2.0.32
2
+
3
+ 2023-01-15 10:46
4
+
5
+ #### IMPROVED
6
+
7
+ - When using fzf chooser, make matching exact to avoid running multiple topics
8
+
9
+ ### 2.0.31
10
+
11
+ 2022-08-31 07:17
12
+
13
+ #### FIXED
14
+
15
+ - Color template formatting of task output
16
+
1
17
  ### 2.0.30
2
18
 
3
19
  2022-08-31 07:15
data/README.md CHANGED
@@ -37,6 +37,11 @@ You can install `howzit` by running:
37
37
 
38
38
  gem install howzit
39
39
 
40
+ If you run into permission errors using the above command, you'll need to either use `sudo` (`sudo gem install howzit`) or if you're using Homebrew, you have the option to install via [brew-gem](https://github.com/sportngin/brew-gem):
41
+
42
+ brew install brew-gem
43
+ brew gem install howzit
44
+
40
45
  ### Usage
41
46
 
42
47
  [See the wiki](https://github.com/ttscoff/howzit/wiki) for documentation.
@@ -786,6 +786,7 @@ module Howzit
786
786
  else
787
787
  titles = matches.map { |topic| topic.title }
788
788
  res = Prompt.choose(titles)
789
+ Howzit.options[:matching] = 'exact'
789
790
  res.each { |title| topic_matches.concat(find_topic(title)) }
790
791
  end
791
792
  end
data/lib/howzit/topic.rb CHANGED
@@ -83,7 +83,7 @@ module Howzit
83
83
  total = "{bw}#{@results[:total]}{by} #{@results[:total] == 1 ? 'task' : 'tasks'}".c
84
84
  errors = "{bw}#{@results[:errors]}{by} #{@results[:errors] == 1 ? 'error' : 'errors'}".c
85
85
  @results[:message] += if @results[:errors].zero?
86
- "{bg}\u{2713} {by}Ran #{total}{x}"
86
+ "{bg}\u{2713} {by}Ran #{total}{x}".c
87
87
  elsif Howzit.options[:force]
88
88
  "{br}\u{2715} {by}Completed #{total} with #{errors}{x}".c
89
89
  else
@@ -3,5 +3,5 @@
3
3
  # Primary module for this gem.
4
4
  module Howzit
5
5
  # Current Howzit version.
6
- VERSION = '2.0.30'
6
+ VERSION = '2.0.32'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: howzit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.30
4
+ version: 2.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-31 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler