linear-cli 0.7.2 → 0.7.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80e40a55128542927047fc4469b07ca4d62e21dfa4340c842c07dfc50c9d4338
|
4
|
+
data.tar.gz: 36d3481ef7b65a2bdffeb46b99d9e98ee52c47e9ad97a41fa0716219a5f0038b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86c6fc9b11f43136c03978add50a793d7cf615bd44eb908b71fddb8d7535d97cc4feb0cf59801b3b5803d127d8452e055bd0fbe819b115ea55658c9e5bed2008
|
7
|
+
data.tar.gz: 9aab63258d4d6242a38f911c12a09a6394fdd37065ba018b2ba4c5e139d25a27e4c6f1b73cea8b977d3c3eb40fd8ba45ca323d63d3e90a2774eed90e2ddc5757
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [0.7.3] - 2024-02-04
|
6
|
+
### Fixed
|
7
|
+
- Fixed problem with issue relationship to user (@bougyman)
|
8
|
+
|
5
9
|
## [0.7.2] - 2024-02-04
|
6
10
|
### Fixed
|
7
11
|
- Fixed problem when trying to develop an unassigned issue (@bougyman)
|
@@ -37,8 +41,9 @@
|
|
37
41
|
### Added
|
38
42
|
- Added new changelog management system (changelog-rb) (@bougyman)
|
39
43
|
|
40
|
-
[Unreleased]: https://github.com/rubyists/linear-cli/compare/0.7.
|
41
|
-
[0.7.
|
44
|
+
[Unreleased]: https://github.com/rubyists/linear-cli/compare/0.7.3...HEAD
|
45
|
+
[0.7.3]: https://github.com/rubyists/linear-cli/compare/v0.7.2...0.7.3
|
46
|
+
[0.7.2]: https://github.com/rubyists/linear-cli/compare/v0.7.1...v0.7.2
|
42
47
|
[0.7.1]: https://github.com/rubyists/linear-cli/compare/v0.7.0...v0.7.1
|
43
48
|
[0.7.0]: https://github.com/rubyists/linear-cli/compare/v0.6.1...v0.7.0
|
44
49
|
[0.6.1]: https://github.com/rubyists/linear-cli/compare/v0.6.0...v0.6.1
|
@@ -0,0 +1 @@
|
|
1
|
+
date: 2024-02-04
|
data/lib/linear/cli/version.rb
CHANGED
@@ -61,7 +61,6 @@ module Rubyists
|
|
61
61
|
|
62
62
|
def gimme_da_issue!(issue_id, me: Rubyists::Linear::User.me) # rubocop:disable Naming/MethodParameterName
|
63
63
|
logger.trace('Looking up issue', issue_id:, me:)
|
64
|
-
require 'pry'; binding.pry
|
65
64
|
issue = Rubyists::Linear::Issue.find(issue_id)
|
66
65
|
if issue.assignee && issue.assignee[:id] == me.id
|
67
66
|
prompt.say("You are already assigned #{issue_id}")
|
data/lib/linear/models/user.rb
CHANGED
@@ -18,17 +18,17 @@ module Rubyists
|
|
18
18
|
email
|
19
19
|
end
|
20
20
|
|
21
|
-
def self.
|
21
|
+
def self.base_fragment
|
22
22
|
@with_teams = fragment('UserWithTeams', 'User') do
|
23
23
|
___ Base
|
24
24
|
teams do
|
25
|
-
nodes { ___ Team
|
25
|
+
nodes { ___ Team.base_fragment }
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
def self.me(
|
31
|
-
fragment =
|
30
|
+
def self.me(**)
|
31
|
+
fragment = base_fragment
|
32
32
|
q = query do
|
33
33
|
viewer do
|
34
34
|
___ fragment
|
@@ -48,7 +48,7 @@ module Rubyists
|
|
48
48
|
query do
|
49
49
|
user(id:) do
|
50
50
|
assignedIssues(first:, filter: { completedAt: { null: true } }) do
|
51
|
-
nodes { ___ Issue
|
51
|
+
nodes { ___ Issue.base_fragment }
|
52
52
|
end
|
53
53
|
end
|
54
54
|
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.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tj (bougyman) Vanderpoel
|
@@ -215,6 +215,8 @@ files:
|
|
215
215
|
- changelog/0.7.1/tag.yml
|
216
216
|
- changelog/0.7.2/fixed_problem_when_trying_to_develop_an_unassigned_issue.yml
|
217
217
|
- changelog/0.7.2/tag.yml
|
218
|
+
- changelog/0.7.3/fixed_problem_with_issue_relationship_to_user.yml
|
219
|
+
- changelog/0.7.3/tag.yml
|
218
220
|
- changelog/unreleased/.gitkeep
|
219
221
|
- exe/lc
|
220
222
|
- exe/lc.sh
|