linear-cli 0.9.18 → 0.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.overcommit.yml +10 -0
- data/lib/linear/cli/version.rb +1 -1
- data/lib/linear/commands/issue/take.rb +2 -2
- data/lib/linear/models/base_model/class_methods.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cf5ca3b329b479c702917f8b32ab5b381c769ce54bdad06aa19acb93604abc5
|
|
4
|
+
data.tar.gz: c00cc890a0616715ed4ff5fa188bb3143ca96cadcfcd140587c141a0d292cab9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44b4d5e238e78e980dc156db68a3419172bd1bffa16ee28e5a8aaccab322c6fb2664c60ebb83a78189785177ba66ac69ad08b7bbdd4b57feb124519fca4c6c34
|
|
7
|
+
data.tar.gz: e824e5234ad12c5fdcc110ee5ea93bd3ccf0fb04be7468f6400bd3e2913c6468739280a1b556a3ece481e13d623c06b482d4c63376e42a9e26fa64c2eb7f6994
|
data/.overcommit.yml
ADDED
data/lib/linear/cli/version.rb
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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-
|
|
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
|