turbo_reflex 0.0.4 → 0.0.5

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: c9fe08630cc0c938fc6b2eb4ed55b841bd968d3b1a9e47c4d7831eba6877994f
4
- data.tar.gz: 41e2891f690ec5d77c0c3ec537145f4126e750351bcd9b9040fa701374a35afa
3
+ metadata.gz: 2d6d4c209dc726f3acbcf3c34c8db4298386d256f6930ee5cd0b24f5c96a0dae
4
+ data.tar.gz: ebc254c6656288ec944399b606f4dd34f7e0c5039bb7876617dcd47afb60e1f2
5
5
  SHA512:
6
- metadata.gz: f2069894ceef06beac578f28a4c4729ab272e089fbe4556f71743ef2d7dfdd328512102ac24d0cf4d8d1f5379fc67e2c356e1ec05b74a207ddf656ac470d7bdf
7
- data.tar.gz: f316ed002e6560cd93d4d30c600c51d5181c82a500e75b93baad27195d0934fd5ebf4fb0ea1cdecd72fd7b5d6654f4671c104d9d46c30e446c77df876a7f9911
6
+ metadata.gz: e8becdfa0b5c3eadb830de48ed44986901bea970fbab6d1f78bb07d382c5f483cad6aff7e95fe18e06520d33af52144069c9f3d79d3b3d471cf56fb14055669c
7
+ data.tar.gz: e74050000180f047a78bbb6361da9861dd63c29f3a2ad3d2d3f4298f6d8f94614b9922159c0fbf8f86396f8948176b4a22ca11a83890e0acd1424d2aba8ec775
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- turbo_reflex (0.0.4)
4
+ turbo_reflex (0.0.5)
5
5
  rails (>= 6.1)
6
6
  turbo-rails (>= 1.1)
7
7
 
@@ -75,8 +75,8 @@ module TurboReflex::Controller
75
75
  protected
76
76
 
77
77
  def perform_turbo_reflex
78
- turbo_reflex_instance.public_send turbo_reflex_method_name
79
78
  @turbo_reflex_performed = true
79
+ turbo_reflex_instance.public_send turbo_reflex_method_name
80
80
  end
81
81
 
82
82
  def append_turbo_reflex_turbo_streams
@@ -1,6 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class TurboReflex::TurboReflexesController < TurboReflex::ApplicationController
3
+ class TurboReflex::TurboReflexesController < ActionController::Base
4
+ include TurboReflex::Controller
5
+
4
6
  def show
5
7
  return head(:ok) unless turbo_reflex_instance&.turbo_streams.present?
6
8
  render html: view_context.turbo_reflex_frame_tag do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TurboReflex
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.5"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turbo_reflex",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Reflexes for Turbo Frames that help you build robust reactive applications",
5
5
  "main": "app/javascript/turbo_reflex.js",
6
6
  "repository": "https://github.com/hopsoft/turbo_reflex",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo_reflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -326,7 +326,6 @@ files:
326
326
  - app/assets/images/turbo-reflex-logo-light.webp
327
327
  - app/assets/images/turbo-reflex-mark.webp
328
328
  - app/controllers/concerns/turbo_reflex/controller.rb
329
- - app/controllers/turbo_reflex/application_controller.rb
330
329
  - app/controllers/turbo_reflex/turbo_reflexes_controller.rb
331
330
  - app/helpers/turbo_reflex/turbo_reflex_helper.rb
332
331
  - app/javascript/elements.js
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class TurboReflex::ApplicationController < ActionController::Base
4
- include TurboReflex::Controller
5
- end