linear-cli 0.5.3 → 0.5.4
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/CHANGELOG.md +12 -1
- data/Readme.adoc +17 -2
- data/changelog/0.5.3/added_support_for_multiline_descriptions_without_failing.yml +4 -0
- data/changelog/0.5.4/tag.yml +1 -0
- data/lib/linear/api.rb +8 -1
- data/lib/linear/cli/sub_commands.rb +1 -1
- data/lib/linear/cli/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3178678b69a93bd4717bb28038fc549ed8cd3724ee1d987eab4be8d486025f04
|
4
|
+
data.tar.gz: ad68d009c3068e5787ac4b2a24520768954e7a648533c355a04702c3496a7c48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5257b5c0e526ac9a51c974382769e9a0602793132f8b0ec7b8f35e7ba1c6e6ab6032b988d4c89e3af9b7959e09a9642e6d66a07f7c9e626444979517a016da0b
|
7
|
+
data.tar.gz: 49682ab5cf46469c720584fe72887581451a17f66edab356e1643fd391dd6fb441f06dbbfeb7d5decd96d4e76096ee51f11cd64a1c64cc90cfd44832d1d93d7a
|
data/CHANGELOG.md
CHANGED
@@ -2,8 +2,19 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [0.5.4] - 2024-02-04
|
6
|
+
|
7
|
+
## [0.5.3] - 2024-02-03
|
8
|
+
### Added
|
9
|
+
- Added support for multiline descriptions without failing (@bougyman)
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
- Changed default branch to use upstream default branch name (@bougyman)
|
13
|
+
|
5
14
|
## [0.5.2] - 2024-02-03
|
6
15
|
### Added
|
7
16
|
- Added new changelog management system (changelog-rb) (@bougyman)
|
8
17
|
|
9
|
-
[Unreleased]: https://github.com/rubyists/linear-cli/compare/
|
18
|
+
[Unreleased]: https://github.com/rubyists/linear-cli/compare/0.5.4...HEAD
|
19
|
+
[0.5.4]: https://github.com/rubyists/linear-cli/compare/v0.5.3...0.5.4
|
20
|
+
[0.5.3]: https://github.com/rubyists/linear-cli/compare/v0.5.2...v0.5.3
|
data/Readme.adoc
CHANGED
@@ -82,6 +82,7 @@ $ lc w --teams
|
|
82
82
|
----
|
83
83
|
$ lcls
|
84
84
|
$ lcls --full
|
85
|
+
$ lcls -f CRY-1
|
85
86
|
----
|
86
87
|
|
87
88
|
==== Assign one or more issues to yourself (take em!)
|
@@ -100,7 +101,21 @@ $ lc issue take CRY-456 CRY-789
|
|
100
101
|
|
101
102
|
[source,sh]
|
102
103
|
----
|
103
|
-
$ lc i c --title "My new issue" --description "This is a new issue"
|
104
|
+
$ lc i c --title "My new issue" --description "This is a new issue" --labels Bug,Feature --team CRY
|
105
|
+
$ lc i c -t "My new issue" -T CRY -l Improvment,Feature
|
104
106
|
----
|
105
107
|
|
106
|
-
NOTE: If you don't provide a title or description, you will be prompted to enter them.
|
108
|
+
NOTE: If you don't provide a title, team, labels or description, you will be prompted to enter them.
|
109
|
+
|
110
|
+
==== Develop an issue
|
111
|
+
|
112
|
+
This will switch to the branch for the issue, creating the branch if it doesn't exist.
|
113
|
+
|
114
|
+
'dev' is a shortcut for the 'develop' subcommand of the issue command
|
115
|
+
|
116
|
+
[source,sh]
|
117
|
+
----
|
118
|
+
$ lc i dev CRY-1234
|
119
|
+
----
|
120
|
+
|
121
|
+
TIP: You may pass the --dev option to the create subcommand to immediately develop the creted issue.
|
@@ -0,0 +1 @@
|
|
1
|
+
date: 2024-02-04
|
data/lib/linear/api.rb
CHANGED
@@ -41,7 +41,13 @@ module Rubyists
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def query(query)
|
44
|
-
call format('{ "query":
|
44
|
+
call format('{ "query": %s }', query.to_s.to_json)
|
45
|
+
rescue StandardError => e
|
46
|
+
logger.error('Error in query', query:, error: e)
|
47
|
+
raise e unless Rubyists::Linear.verbosity > 2
|
48
|
+
|
49
|
+
require 'pry'
|
50
|
+
binding.pry # rubocop:disable Lint/Debugger
|
45
51
|
end
|
46
52
|
|
47
53
|
def api_key
|
@@ -51,6 +57,7 @@ module Rubyists
|
|
51
57
|
@api_key = ENV.fetch('LINEAR_API_KEY')
|
52
58
|
end
|
53
59
|
end
|
60
|
+
# Acts as a singleton for a GraphApi instance
|
54
61
|
Api = Rubyists::Linear::GraphApi.new
|
55
62
|
end
|
56
63
|
end
|
data/lib/linear/cli/version.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.4
|
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-02-
|
11
|
+
date: 2024-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base64
|
@@ -194,8 +194,10 @@ files:
|
|
194
194
|
- Readme.adoc
|
195
195
|
- changelog/0.5.2/added_new_changelog_management_system_changelog_rb.yml
|
196
196
|
- changelog/0.5.2/tag.yml
|
197
|
+
- changelog/0.5.3/added_support_for_multiline_descriptions_without_failing.yml
|
197
198
|
- changelog/0.5.3/changed_default_branch_to_use_upstream_default_branch_name.yml
|
198
199
|
- changelog/0.5.3/tag.yml
|
200
|
+
- changelog/0.5.4/tag.yml
|
199
201
|
- changelog/unreleased/.gitkeep
|
200
202
|
- exe/lc
|
201
203
|
- exe/lcls
|