linear-cli 0.9.19 → 0.9.20

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: f8b5d0243a88d0bf959a14f147c7966fa661839059d2b4c17d4905c9ea7d9b8d
4
- data.tar.gz: 3162551cd445f432cc01e42643c5d428ed86e3e4fad93cab4fc829519a1b0c96
3
+ metadata.gz: 2cf5ca3b329b479c702917f8b32ab5b381c769ce54bdad06aa19acb93604abc5
4
+ data.tar.gz: c00cc890a0616715ed4ff5fa188bb3143ca96cadcfcd140587c141a0d292cab9
5
5
  SHA512:
6
- metadata.gz: 3f98055e6ecbb47cb3725609f01491648d43854bcb010b09eb7ec5c92a227e37c31cd6ef74a192ea08d726e3350b9401d038ea9ac383458555f82ec807727860
7
- data.tar.gz: 3c5bc6ed193aaa0995625185f3dfb3c98f0eb5f83c960077b145bd5921382170623ae5c62c08bc361d6d5089e7e52366cadfab2af9755e7f6329726d31c8193b
6
+ metadata.gz: 44b4d5e238e78e980dc156db68a3419172bd1bffa16ee28e5a8aaccab322c6fb2664c60ebb83a78189785177ba66ac69ad08b7bbdd4b57feb124519fca4c6c34
7
+ data.tar.gz: e824e5234ad12c5fdcc110ee5ea93bd3ccf0fb04be7468f6400bd3e2913c6468739280a1b556a3ece481e13d623c06b482d4c63376e42a9e26fa64c2eb7f6994
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.9.19'
5
+ VERSION = '0.9.20'
6
6
  end
7
7
  end
@@ -21,6 +21,7 @@ module Rubyists
21
21
 
22
22
  def call(issue_ids:, **options)
23
23
  updates = issue_ids.map do |issue_id|
24
+ Rubyists::Linear::Issue.find(issue_id)
24
25
  gimme_da_issue! issue_id # gimme_da_issue! is defined in Rubyists::Linear::CLI::Issue
25
26
  rescue NotFoundError => e
26
27
  logger.warn e.message
@@ -55,7 +55,7 @@ module Rubyists
55
55
  sym = camel_name.to_sym
56
56
  ff = full_fragment
57
57
  query_data = Api.query(query { __node(camel_name, id: id_val) { ___ ff } })
58
- raise NotFoundError, "No #{just_name} found with id #{id_val}" if query_data[sym].nil?
58
+ raise NotFoundError, "No #{just_name} found with id #{id_val}" if query_data.nil? || query_data[sym].nil?
59
59
 
60
60
  new query_data[sym]
61
61
  end
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.9.19
4
+ version: 0.9.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel