jets 6.0.4 → 6.0.5

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: e63e03b5c6e874d66b030c95e0fe78008c242ba29190b342af6fb296216f8c30
4
- data.tar.gz: 7890a095dc745f3bb2e141603c965272a22cc0d7517b997b1d25dc417caba2eb
3
+ metadata.gz: cb11705dd76229a0cf5e7504b49d1f6a95cfda3dce9e19ff2759167fb2786f80
4
+ data.tar.gz: ed1737956ecaec3920c45138537e46322015a999787d4c2120fcbb93cc4822b2
5
5
  SHA512:
6
- metadata.gz: 10046fdb11e1faa30b29e3c695923661ad6d00c2888a1be9705c9d4b89fa0fb95dcc37720bd72fa87b1cab3e0db58af315388fcc28b6a7891eaeb93013504fbf
7
- data.tar.gz: 8ebdfc0d5d5d7fe453d5b9a738704264f3c231ca580fabad286df7635e0407219ee8794ac307413294cbbfa6a3c9f42c3066bed0fb684f0906596d9aa8c21137
6
+ metadata.gz: f2c25b3732fb74b68b42d3dc12612e3068631effc94662ee2d552461e1693d14a1756b9aaf026ec79bf34c4ecb6889baa879c3e6e219afd780497cf41dee969d
7
+ data.tar.gz: e618428ad3a8ef5c1978a08da364627849e4f8d106373f68479ba250d959d46c18ab82899b112577ea3a747f68dd9a01c0f08f6421121fce59f46f8bdfc08b8b
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [6.0.5] - 2024-12-04
7
+ - [#737](https://github.com/rubyonjets/jets/pull/737) jets login prompt message when likely ci env
8
+
6
9
  ## [6.0.4] - 2024-11-13
7
10
  - [#735](https://github.com/rubyonjets/jets/pull/735) fix du check for macosx
8
11
  - [#736](https://github.com/rubyonjets/jets/pull/736) git commit check
@@ -46,7 +46,17 @@ module Jets::Api
46
46
  You can get an api key from www.rubyonjets.com
47
47
  EOL
48
48
  print "Please provide your api key: "
49
- $stdin.gets.strip
49
+ input = $stdin.gets
50
+ if input.nil?
51
+ # puts "No input provided. Exiting. Are you running this in a non-TTY environment?"
52
+ puts <<~EOL
53
+ Error: No input provided. Exiting.
54
+ This might be running inside a non-TTY environment like a script or a CI/CD pipeline.
55
+ Are you sure the API key was set?
56
+ EOL
57
+ exit 1
58
+ end
59
+ input.strip
50
60
  end
51
61
 
52
62
  # interface method: do not remove
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "6.0.4"
2
+ VERSION = "6.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.4
4
+ version: 6.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-13 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-logs