linear-cli 0.7.0 → 0.7.1

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: c16946d45cad9729159c78931d6200a4573df9acaff1994b86e2f542adc11427
4
- data.tar.gz: d2c8befedabc5771412f707e43edd375bd24ae48f6d6bb3acc658010ec168c91
3
+ metadata.gz: df0794178c2a028eeace27132cd5271f6b4e6b3002c36ba15d9b5548c5888cc2
4
+ data.tar.gz: 62e02c37d7c2b16a364b65fcd7b77f4babc6a1dda0d574441ac77bf27cc90762
5
5
  SHA512:
6
- metadata.gz: '081e4dd2dac54ec954c83b88f47a4734351a782eff189fed6ed482df2cbb626cce9a6da7365a06239b58418259857c04fd2cc929f678ae37e1425952955b1dd5'
7
- data.tar.gz: 0a5d7b545b2d69f5b8cddaed3aee0e57d1adef50a58f0234ff03b09ab7f39a0edb72765cde3ce7be66968c38a2df98828e1746731f86a7284207cc29af26574d
6
+ metadata.gz: e7fdfd36b6107fe7caa23b4b34d585cdcc2b693affdb7be5c3314b51e9ade3f429ed6175a5eeb55de38be931709204c72da40a1553080fbfccc5e2f145608c05
7
+ data.tar.gz: af11d48a295fb2fc2cbf4f8ef0c67209d88f582f488fc6145e500a56a8cfc9d562dedc2cbb26e69137fca3be62b3c5ae1311467d06e90ad182bdb77a9dda1e1c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.7.1] - 2024-02-04
6
+ ### Fixed
7
+ - Fixed extra output when commenting on an inssue (@bougyman)
8
+
5
9
  ## [0.7.0] - 2024-02-04
6
10
  ### Added
7
11
  - Added better help when using the lc bin and aliases (@bougyman)
@@ -29,8 +33,9 @@
29
33
  ### Added
30
34
  - Added new changelog management system (changelog-rb) (@bougyman)
31
35
 
32
- [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.7.0...HEAD
33
- [0.7.0]: https://github.com/rubyists/linear-cli/compare/v0.6.1...0.7.0
36
+ [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.7.1...HEAD
37
+ [0.7.1]: https://github.com/rubyists/linear-cli/compare/v0.7.0...0.7.1
38
+ [0.7.0]: https://github.com/rubyists/linear-cli/compare/v0.6.1...v0.7.0
34
39
  [0.6.1]: https://github.com/rubyists/linear-cli/compare/v0.6.0...v0.6.1
35
40
  [0.6.0]: https://github.com/rubyists/linear-cli/compare/v0.5.5...v0.6.0
36
41
  [0.5.5]: https://github.com/rubyists/linear-cli/compare/v0.5.4...v0.5.5
@@ -0,0 +1,4 @@
1
+ type: Fixed
2
+ title: >
3
+ Fixed extra output when commenting on an inssue
4
+ author: bougyman
@@ -0,0 +1 @@
1
+ date: 2024-02-04
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
7
7
  end
@@ -26,6 +26,7 @@ module Rubyists
26
26
 
27
27
  def call(issue_ids:, **options)
28
28
  prompt.error('You should provide at least one issue ID') && raise(SmellsBad) if issue_ids.empty?
29
+
29
30
  logger.debug('Updating issues', issue_ids:, options:)
30
31
  Rubyists::Linear::Issue.find_all(issue_ids).each do |issue|
31
32
  update_issue(issue, **options)
@@ -22,7 +22,6 @@ module Rubyists
22
22
  issue: %w[i issues] # aliases for the main issue command itself
23
23
  }.freeze
24
24
 
25
-
26
25
  def issue_comment(issue, comment)
27
26
  issue.add_comment(comment)
28
27
  prompt.ok("Comment added to #{issue.identifier}")
@@ -45,6 +44,7 @@ module Rubyists
45
44
  issue_comment(issue, options[:comment]) if options[:comment]
46
45
  return close_issue(issue, **options) if options[:close]
47
46
  return issue_pr(issue) if options[:pr]
47
+ return if options[:comment]
48
48
 
49
49
  prompt.warn('No action taken, no options specified')
50
50
  prompt.ok('Issue was not updated')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linear-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
@@ -211,6 +211,8 @@ files:
211
211
  - changelog/0.6.1/tag.yml
212
212
  - changelog/0.7.0/added_better_help_when_using_the_lc_bin_and_aliases.yml
213
213
  - changelog/0.7.0/tag.yml
214
+ - changelog/0.7.1/fixed_extra_output_when_commenting_on_an_inssue.yml
215
+ - changelog/0.7.1/tag.yml
214
216
  - changelog/unreleased/.gitkeep
215
217
  - exe/lc
216
218
  - exe/lc.sh