turbo_boost-commands 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of turbo_boost-commands might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31d86b3d0bcbbfefda466f5981d4268a593bab8c15ff9eecc8536a780f4cdbcf
4
- data.tar.gz: 4a3c0a02dba994d270cab58adf1c027178790793efc0595ee9cb57e93c6ffba8
3
+ metadata.gz: dc51cfaa7ad5b91259e3b3ff2c9f06b293bd189e0fbbbacf3495da438ff26dbe
4
+ data.tar.gz: 28faca7c348832170506a3dae946fb98cbc34d7dbca64670be1773e0dc427f88
5
5
  SHA512:
6
- metadata.gz: e56a339c7bb7e0f3e636127fdc18ae9df28c3d1e5c6bd762d886353111a88f6d50f0a63911d0b06bfe8cc5b7794e164f4194769d866be1199f27e8b4164dad0d
7
- data.tar.gz: aaca1ef1eb38fdb7c644dc13f4b5707d622da3f15c8a161e762b9c5ba9329b8e5eb7cfe2ae6e98f81f0cc67146eb71123adbf60c0ba28705ef5214c2fa1f9d56
6
+ metadata.gz: 52d7e7b94f652d985411c687513f0e64f61c99279edbdb851653404ad1fa7fef91d1bf3e9db7e12813035b4d7eb4298945117cff96068af03aa1723dcdde19ed
7
+ data.tar.gz: c7ec6d0bb100429dcadb3bc31a464312fbfa632b12bc5f7e0a949c45364f15069ad7cbea605d225a0a9450e762d06bffec71c898449c0c145d3340707e9d20f3
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  </h1>
9
9
  <p align="center">
10
10
  <a href="http://blog.codinghorror.com/the-best-code-is-no-code-at-all/">
11
- <img alt="Lines of Code" src="https://img.shields.io/badge/loc-1490-47d299.svg" />
11
+ <img alt="Lines of Code" src="https://img.shields.io/badge/loc-1493-47d299.svg" />
12
12
  </a>
13
13
  <a href="https://codeclimate.com/github/hopsoft/turbo_boost-commands/maintainability">
14
14
  <img src="https://api.codeclimate.com/v1/badges/fe1162a742fe83a4fdfd/maintainability" />
@@ -166,7 +166,10 @@ class TurboBoost::Commands::Runner
166
166
 
167
167
  def handle_command_event(event, error: nil)
168
168
  case event
169
- when :aborted, :errored then prevent_controller_action(error: error)
169
+ when :aborted
170
+ prevent_controller_action error: error
171
+ append_streams_to_response_body
172
+ when :errored then prevent_controller_action(error: error)
170
173
  when :performed then prevent_controller_action if should_prevent_controller_action?
171
174
  end
172
175
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TurboBoost
4
4
  module Commands
5
- VERSION = "0.0.6"
5
+ VERSION = "0.0.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo_boost-commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Hopkins (hopsoft)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-09 00:00:00.000000000 Z
11
+ date: 2023-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails