fast_ci 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd1932ce58a8a70869d78bd3f2565e6579913fa30e714c401e0f495c67d972bf
4
- data.tar.gz: efe6e817a021281f499863617df04b6b8e2686dc9c61fafa40a8b54acffa1f80
3
+ metadata.gz: fb41363c3f2f501d704a926f3f303a598511321587a29c11637da3c4c7575aae
4
+ data.tar.gz: c8f82f7ecdba6962cf364807ba92bfe7f0cc2725a903e9669e55477853db78a1
5
5
  SHA512:
6
- metadata.gz: c8eb904233f82aa9474b89212e653308127fd897c8156f10c3eada6cbfe0fccc69831c6f41e55b798c755067b2049e3f393cda2e4141afc9a70ded67994168b8
7
- data.tar.gz: 58bb57f5560a0d40004d31dae417773d8b2e490bd85b77e8b9eeec6c638367815c3a633b071086202df22b87affbcf7c2f19eadd6536267de1fbf71a4374e829
6
+ metadata.gz: 8d248e5e58f8437d7fac17568606bd0dde08ea502d0b6aab33affb57ea8e24575fc9a8e6e5324a02463c0f1886d10d05aa23918b5e890525add1da4364097fbd
7
+ data.tar.gz: 9d6913a04a6abf413b702baa7134fad68e65597d7a74857514c9e8ffc58a135373ff2b19730d93ba2dd36a407096b7c419f52c6a5d842acaff65dfdfe2c3529b
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- fast_ci (1.0.10)
14
+ fast_ci (1.0.11)
15
15
  async-websocket (<= 0.20.0)
16
16
  brakeman (>= 5.4.1)
17
17
  console (>= 1.10.0)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastCI
4
- VERSION = "1.0.10"
4
+ VERSION = "1.0.11"
5
5
  end
data/lib/fast_ci.rb CHANGED
@@ -132,6 +132,8 @@ module FastCI
132
132
  self.connection = connection
133
133
  self.task = task
134
134
  yield
135
+
136
+ leave
135
137
  end
136
138
  rescue Async::WebSocket::ProtocolError => e
137
139
  case e.message
@@ -145,9 +147,6 @@ module FastCI
145
147
  STDERR.puts "Failed to connect: General connection error!"
146
148
  exit 2
147
149
  end
148
- ensure
149
-
150
- leave
151
150
  end
152
151
  end
153
152
  end
@@ -199,7 +198,7 @@ module FastCI
199
198
  def leave
200
199
  send_msg("leave")
201
200
  connection.close
202
- rescue StandardError => e
201
+ rescue
203
202
  # noop
204
203
  end
205
204
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nesha Zoric
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-05 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: console