souls 1.8.1 → 1.8.2

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: 3bcc6b6cf8a6c30d8af389ff503ee32bb3f13c7ff3ed1acbb44581bbb5be72da
4
- data.tar.gz: c0b54355cad304fc531f934e0c5d10e1dcb5ab46742f9aabd3377469f60b24f6
3
+ metadata.gz: f741731a723bdab3f07a66283c1b436a3c74dd591dc0328f3509125cef72c5c6
4
+ data.tar.gz: 8599c47a3b32db14fb9e8c7d90e107b18533a23bd3c94f0d31996b2dc42417e1
5
5
  SHA512:
6
- metadata.gz: cbd2189b1f631e5910a5d9e3c293603104c36aeaf67de2f5bf1ca404aa9588100f47f75b0a07d7b4b912150b5624b5373a916f70429974eae67e41f2e2c6a7e7
7
- data.tar.gz: 1ea9e413b78a1e908ba5e68330dc2bffb6e9df2af29fd47f7b53ba2f2f3bddab1b6e553a34941ecf5d61fb13772828573f305f20f068e879de95bb7a2a2c808c
6
+ metadata.gz: 4cc4e5624a3f369567d5b87615047320a5924394ee81df055e6bd120062b5756d8ba532f8cb4cebc501b38dc9ca6c9474785477b5c3d6ff530fc7beb69fad880
7
+ data.tar.gz: b4f26cb19a20d14190cbe587f717eeff988fc7aa3ac9024c340f14d3fe90aeab5348145b0138504343bcafc15408f06d47fb411b1d0c97c9239251d3b0edcc10
@@ -30,8 +30,9 @@ module Souls
30
30
 
31
31
  desc "watch", "Watch GitHub Actions Workflow"
32
32
  def watch
33
- run_id = `gh run list | grep Mailer | awk '{print $7}'`.strip
34
- raise(StandardError, "No workflow is running.") if run_id.include?("push")
33
+ run_list = `gh run list | grep in_progress | awk '{print $8}'`
34
+ run_id = run_list.split("\n")
35
+ raise(StandardError, "No workflow is running.") if run_id.empty?
35
36
 
36
37
  system("gh run watch #{run_id}")
37
38
  end
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.8.1".freeze
2
+ VERSION = "1.8.2".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.8.1
1
+ 1.8.2
@@ -1 +1 @@
1
- 1.8.1
1
+ 1.8.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI