linear-cli 0.9.6 → 0.9.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9fa1b0d8144a4b5a6094b71094e3eb5a208bec5a57e29059d2ffc6f183b5f18
4
- data.tar.gz: d597e61be7585ed604fc0c075eb2967218af115bb039472dbac40aecbe6fd944
3
+ metadata.gz: 206acc6e3f37ddfc4b71d7052d971d50911f74155c3b1e88354d281e05a16ea8
4
+ data.tar.gz: '092888c48a9784629c60dcf2461789cf7c8da49b9f90b4930d934823d29ce039'
5
5
  SHA512:
6
- metadata.gz: 5f9f8387ac773de8f029e95f9328c3031544087421022cd32a2c975f96788cc5f55380512b4d6b30e8383e2449ca1e51567e06eb64661d3a7297b3ea65134700
7
- data.tar.gz: c2e6ad48e7814b7d0840f343bb7ee7db6d933436d5887d8d151534d9622e59de9d0461f5234c0df2e87385a7f87b59723a536f0704277723558f13b162b1d444
6
+ metadata.gz: 7968be38b37617ca245c41018abf729353e3604fa9f8ed5afaccea1177177215f066aa65e8963f6b079d7164a112241afa8a892b9c4b87035ce255beac9ed8cc
7
+ data.tar.gz: 1ff9e18663995a62f17622d0069426d62f495cd68c42dd81c3f76f7a86eb667e7ce79a8a0dcb7b7f841335026b2f427a3718c8d6601bf615428127961c5c54eb
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.8] - 2024-02-08
6
+ ### Added
7
+ - Added the console subcommand to get a pry console (@bougyman)
8
+
9
+ ## [0.9.7] - 2024-02-08
10
+ ### Added
11
+ - Added the plc wrapper for container running, and ssh for git ops in the container (@bougyman)
12
+
5
13
  ## [0.9.5] - 2024-02-08
6
14
  ### Added
7
15
  - Added build_image to build/push container image (@bougyman)
@@ -88,8 +96,10 @@
88
96
  ### Added
89
97
  - Added new changelog management system (changelog-rb) (@bougyman)
90
98
 
91
- [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.5...HEAD
92
- [0.9.5]: https://github.com/rubyists/linear-cli/compare/v0.9.4...0.9.5
99
+ [Unreleased]: https://github.com/rubyists/linear-cli/compare/0.9.8...HEAD
100
+ [0.9.8]: https://github.com/rubyists/linear-cli/compare/v0.9.7...0.9.8
101
+ [0.9.7]: https://github.com/rubyists/linear-cli/compare/v0.9.5...v0.9.7
102
+ [0.9.5]: https://github.com/rubyists/linear-cli/compare/v0.9.4...v0.9.5
93
103
  [0.9.4]: https://github.com/rubyists/linear-cli/compare/v0.9.3...v0.9.4
94
104
  [0.9.3]: https://github.com/rubyists/linear-cli/compare/v0.9.1...v0.9.3
95
105
  [0.9.1]: https://github.com/rubyists/linear-cli/compare/v0.9.0...v0.9.1
@@ -0,0 +1,4 @@
1
+ type: Added
2
+ title: >
3
+ Added the plc wrapper for container running, and ssh for git ops in the container
4
+ author: bougyman
@@ -0,0 +1 @@
1
+ date: 2024-02-08
@@ -0,0 +1,4 @@
1
+ type: Added
2
+ title: >
3
+ Added the console subcommand to get a pry console
4
+ author: bougyman
@@ -0,0 +1 @@
1
+ date: 2024-02-08
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubyists
4
4
  module Linear
5
- VERSION = '0.9.6'
5
+ VERSION = '0.9.8'
6
6
  end
7
7
  end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'semantic_logger'
4
+ require 'pry'
5
+
6
+ module Rubyists
7
+ # Namespace for Linear
8
+ module Linear
9
+ # Namespace for CLI
10
+ module CLI
11
+ Console = Class.new Dry::CLI::Command
12
+ # The Console command
13
+ class Console
14
+ include SemanticLogger::Loggable
15
+ include Rubyists::Linear::CLI::CommonOptions
16
+
17
+ desc 'Open a console session'
18
+
19
+ def call(**)
20
+ Dir.mktmpdir('.linear-cli-console') do |dir|
21
+ Rubyists::Linear.tmpdir = dir
22
+ Rubyists::Linear.pry
23
+ end
24
+ end
25
+
26
+ prepend Rubyists::Linear::CLI::Caller
27
+ end
28
+ register 'console', Console, aliases: %w[pry]
29
+ end
30
+ end
31
+ end
data/oci/Containerfile CHANGED
@@ -17,7 +17,7 @@ RUN gem i semantic_logger && bundle install && bundle exec rake build
17
17
 
18
18
  ############### Build step done ###############
19
19
  FROM docker.io/ruby:3.3.0-alpine3.19
20
- ARG PACKAGES="bash sqlite sqlite-dev ruby-dev build-base github-cli"
20
+ ARG PACKAGES="bash sqlite sqlite-dev ruby-dev build-base github-cli openssh"
21
21
  ARG APP_VERSION
22
22
 
23
23
  # install packages
data/oci/plc ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bash
2
+ exec podman run -v ~/.ssh:/root/.ssh -w /git -v .:/git -e GITHUB_TOKEN="$GITHUB_TOKEN" -e LINEAR_API_KEY="$LINEAR_API_KEY" --rm -it ghcr.io/rubyists/linear-cli:stable lc "$@"
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.6
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tj (bougyman) Vanderpoel
@@ -253,6 +253,10 @@ files:
253
253
  - changelog/0.9.5/added_build_image_to_build_push_container_image.yml
254
254
  - changelog/0.9.5/added_user_information_to_comment_list_in_issue_view.yml
255
255
  - changelog/0.9.5/tag.yml
256
+ - changelog/0.9.7/added_the_plc_wrapper_for_container_running_and_ssh_for_git_ops_in_the_container.yml
257
+ - changelog/0.9.7/tag.yml
258
+ - changelog/0.9.8/added_the_console_subcommand_to_get_a_pry_console.yml
259
+ - changelog/0.9.8/tag.yml
256
260
  - changelog/unreleased/.gitkeep
257
261
  - cinemas/listings.cinema
258
262
  - cinemas/listings.cinema.gif
@@ -276,6 +280,7 @@ files:
276
280
  - lib/linear/cli/version.rb
277
281
  - lib/linear/cli/watcher.rb
278
282
  - lib/linear/cli/what_for.rb
283
+ - lib/linear/commands/console.rb
279
284
  - lib/linear/commands/issue.rb
280
285
  - lib/linear/commands/issue/create.rb
281
286
  - lib/linear/commands/issue/develop.rb
@@ -304,6 +309,7 @@ files:
304
309
  - linear-cli.gemspec
305
310
  - oci/Containerfile
306
311
  - oci/build_image
312
+ - oci/plc
307
313
  homepage: https://github.com/rubyists/linear-cli
308
314
  licenses:
309
315
  - MIT