cpl 1.0.3 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d187c354ac6a9a75c0aea498f8fbc060f741809d075439ee22663fdf06f265d
4
- data.tar.gz: ffde2f0f3be4663ba85baadf599c6a12882c2ba11734f9220d26366bacc5368d
3
+ metadata.gz: 21ed6f8fb3464917aa82b84973c7f7ce8436e7a4f8efaad6dd5c7018fb079299
4
+ data.tar.gz: 7820a60e8390cbd9225d5cc9f458c4818697fef7ce4cbccc9593410fdcb6e202
5
5
  SHA512:
6
- metadata.gz: 70941d48b8ccc5bb3fb46b6c96c91fd0d3c2f13f2a702822ee6541231d90957df5a3b3c9d60d2091afad9f6e76be8870953f69085a97315c2a865d534d0c1ce7
7
- data.tar.gz: 3a109996c812ec2b2e9dc76c189bd5d3518835e5b221ff8f12416982f3542f1753dcba441dbb3ec32224e807d0c83db54fe78e21cad43da0d829b8d65593a6d5
6
+ metadata.gz: b382e5b481448da16ddca1e720407463747876005cb18e2efb198ec50aa6df6b117366e1be8bbd3ea55dd5cbee92ce6eb30d3d44ef0d7189f3146afb8fcb674b
7
+ data.tar.gz: 8770e0be52ecce004c2989d6dea9102ef147e3164a9573274c3f555e26261cfa355fadcb4a548b8f431bae84edf63ac8830ccac6a295aa035fd87e35af5716f4
data/CHANGELOG.md CHANGED
@@ -14,6 +14,28 @@ Changes since the last non-beta release.
14
14
 
15
15
  _Please add entries here for your pull requests that are not yet released._
16
16
 
17
+ ## [1.0.4] - 2023-07-21
18
+
19
+ ### Fixed
20
+
21
+ - Fixed issue where `run` commands fail when not providing image. [PR 68](https://github.com/shakacode/heroku-to-control-plane/pull/68) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
22
+
23
+ ## [1.0.3] - 2023-07-07
24
+
25
+ ### Fixed
26
+
27
+ - Fixed `run` commands when specifying image. [PR 62](https://github.com/shakacode/heroku-to-control-plane/pull/62) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
28
+ - Fixed `run:cleanup` command for non-interactive workloads. [PR 63](https://github.com/shakacode/heroku-to-control-plane/pull/63) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
29
+ - Fixed `run:cleanup` command for all apps that start with name. [PR 64](https://github.com/shakacode/heroku-to-control-plane/pull/64) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
30
+ - Fixed `cleanup-old-images` command for all apps that start with name. [PR 65](https://github.com/shakacode/heroku-to-control-plane/pull/65) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
31
+ - Fixed `--help` option. [PR 66](https://github.com/shakacode/heroku-to-control-plane/pull/66) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
32
+
33
+ ### Added
34
+
35
+ - Added `--use-local-token` option to `run:detached` command. [PR 61](https://github.com/shakacode/heroku-to-control-plane/pull/61) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
36
+
37
+ ## [1.0.2] - 2023-07-02
38
+
17
39
  ### Added
18
40
 
19
41
  - Added steps to migrate to docs. [PR 57](https://github.com/shakacode/heroku-to-control-plane/pull/57) by [Rafael Gomes](https://github.com/rafaelgomesxyz).
@@ -33,6 +55,9 @@ _Please add entries here for your pull requests that are not yet released._
33
55
 
34
56
  - Initial release
35
57
 
36
- [Unreleased]: https://github.com/shakacode/heroku-to-control-plane/compare/v1.0.1...HEAD
58
+ [Unreleased]: https://github.com/shakacode/heroku-to-control-plane/compare/v1.0.4...HEAD
59
+ [1.0.4]: https://github.com/shakacode/heroku-to-control-plane/compare/v1.0.3...v1.0.4
60
+ [1.0.3]: https://github.com/shakacode/heroku-to-control-plane/compare/v1.0.2...v1.0.3
61
+ [1.0.2]: https://github.com/shakacode/heroku-to-control-plane/compare/v1.0.1...v1.0.2
37
62
  [1.0.1]: https://github.com/shakacode/heroku-to-control-plane/compare/v1.0.0...v1.0.1
38
63
  [1.0.0]: https://github.com/shakacode/heroku-to-control-plane/releases/tag/v1.0.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cpl (1.0.3)
4
+ cpl (1.0.4)
5
5
  debug (~> 1.7.1)
6
6
  dotenv (~> 2.8.1)
7
7
  psych (~> 5.1.0)
@@ -25,8 +25,8 @@ GEM
25
25
  hashdiff (1.0.1)
26
26
  iniparse (1.5.0)
27
27
  io-console (0.6.0)
28
- irb (1.7.1)
29
- reline (>= 0.3.0)
28
+ irb (1.7.4)
29
+ reline (>= 0.3.6)
30
30
  json (2.6.3)
31
31
  overcommit (0.60.0)
32
32
  childprocess (>= 0.6.3, < 5)
@@ -41,7 +41,7 @@ GEM
41
41
  rainbow (3.1.1)
42
42
  rake (13.0.6)
43
43
  regexp_parser (2.6.2)
44
- reline (0.3.5)
44
+ reline (0.3.6)
45
45
  io-console (~> 0.5)
46
46
  rexml (3.2.5)
47
47
  rspec (3.12.0)
data/lib/command/run.rb CHANGED
@@ -100,7 +100,7 @@ module Command
100
100
  # Override image if specified
101
101
  image = config.options[:image]
102
102
  image = latest_image if image == "latest"
103
- container_spec["image"] = "/org/#{config.org}/image/#{image}"
103
+ container_spec["image"] = "/org/#{config.org}/image/#{image}" if image
104
104
 
105
105
  # Set runner
106
106
  container_spec["env"] ||= []
@@ -91,7 +91,7 @@ module Command
91
91
  # Override image if specified
92
92
  image = config.options[:image]
93
93
  image = latest_image if image == "latest"
94
- container_spec["image"] = "/org/#{config.org}/image/#{image}"
94
+ container_spec["image"] = "/org/#{config.org}/image/#{image}" if image
95
95
 
96
96
  # Set cron job props
97
97
  spec["type"] = "cron"
data/lib/cpl/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cpl
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  MIN_CPLN_VERSION = "0.0.71"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-07-07 00:00:00.000000000 Z
12
+ date: 2023-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debug