linear-cli 0.9.18 → 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: fdfa5217a71c9c72e813abafa1d9b84173f7cc84fbba9346ade9ff9b9a4a656a
4
- data.tar.gz: 306e2f48788f60e3f89b721bfa31116dc671897e57d6279f7de32cbb430f45b8
3
+ metadata.gz: 2cf5ca3b329b479c702917f8b32ab5b381c769ce54bdad06aa19acb93604abc5
4
+ data.tar.gz: c00cc890a0616715ed4ff5fa188bb3143ca96cadcfcd140587c141a0d292cab9
5
5
  SHA512:
6
- metadata.gz: e8a499e75976dd0877fa02d93b2f2a911b521633e917d702fad681e0e378e9d5b1fa0d79706b9fb54ecae910f32bd78dcfeb6c1c5fa6c5ff9bc63e3d601b90c4
7
- data.tar.gz: 4967fc24d83629772911e084a4210c10bfa1dfb379fa56ca4e48df9f26e9dcbb700809f73a26b1001533e3fd893680cdb954acd5853c13369f302030c45e6847
6
+ metadata.gz: 44b4d5e238e78e980dc156db68a3419172bd1bffa16ee28e5a8aaccab322c6fb2664c60ebb83a78189785177ba66ac69ad08b7bbdd4b57feb124519fca4c6c34
7
+ data.tar.gz: e824e5234ad12c5fdcc110ee5ea93bd3ccf0fb04be7468f6400bd3e2913c6468739280a1b556a3ece481e13d623c06b482d4c63376e42a9e26fa64c2eb7f6994
data/.overcommit.yml ADDED
@@ -0,0 +1,10 @@
1
+ ---
2
+ PreCommit:
3
+ RuboCop:
4
+ enabled: true
5
+ BundleAudit:
6
+ enabled: true
7
+ BundleCheck:
8
+ enabled: true
9
+ BundleOutdated:
10
+ enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.9.18'
5
+ VERSION = '0.9.20'
6
6
  end
7
7
  end
@@ -20,9 +20,9 @@ module Rubyists
20
20
  argument :issue_ids, type: :array, required: true, desc: 'Issue Identifiers'
21
21
 
22
22
  def call(issue_ids:, **options)
23
- me = Rubyists::Linear::User.me
24
23
  updates = issue_ids.map do |issue_id|
25
- gimme_da_issue! issue_id, me # gimme_da_issue! is defined in Rubyists::Linear::CLI::Issue
24
+ Rubyists::Linear::Issue.find(issue_id)
25
+ gimme_da_issue! issue_id # gimme_da_issue! is defined in Rubyists::Linear::CLI::Issue
26
26
  rescue NotFoundError => e
27
27
  logger.warn e.message
28
28
  next
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linear-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.18
4
+ version: 0.9.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-12 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -205,6 +205,7 @@ executables:
205
205
  extensions: []
206
206
  extra_rdoc_files: []
207
207
  files:
208
+ - ".overcommit.yml"
208
209
  - CHANGELOG.md
209
210
  - LICENSE.txt
210
211
  - Rakefile