hotwire_native_rails 0.4.1 → 0.4.3

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: f97c2f9c30c5a5dfd25c07123c9a525682c75cb0070dd73ad58c738a2520e7a9
4
- data.tar.gz: 30165a99d3cb916c63fc452229069be475a167086a132ea272d04e139a4fee0e
3
+ metadata.gz: c93be4ec7b1c6d1da2a55b312102a3c9fab902f98d8db6ca563ec3cbb6aae841
4
+ data.tar.gz: 255c754a95d230bab1d4875e9a264b361cc7ab18e2b1e63ed1d8a551a8c80d9c
5
5
  SHA512:
6
- metadata.gz: aa950e7ed3f06c09efe76c941fc6e5a526abc94ba4fb4c68f6a5debeaeb23a03dfbe4090acd9cd459a4a0acf7619933f075b859134fe29dbd891210adae305b5
7
- data.tar.gz: c8aec60e28771debaae4d2065d2c9c38931c7d164b39f400534e76343f9d00861487ca45bee58a2ee7239e22372430c6027053529c9c030f38fb32fd6ea252a3
6
+ metadata.gz: c4f1b9031c143ff32fba6d2e760e42125eea3aba64b90dfdd465b72284da0c6e8289bde70e2b6ed4ddd2cdb817b0701d3c714511e72f888db34fc1869d16c802
7
+ data.tar.gz: dd763fa651b9f7ce2a27256ea641ea541e5e2436f01ed553967f8aff1595ef504b4f816488d8911e93a0730905153ec6ff7fc3e862293a01a693f690c41fb0de
data/README.md CHANGED
@@ -56,7 +56,7 @@ Make a release to rubygems:
56
56
  # 2. zip the gem
57
57
  gem build hotwire_native_rails.gemspec
58
58
  # 3. push the zip to rubygems
59
- gem push hotwire_native_rails-0.4.0.gem
59
+ gem push hotwire_native_rails-0.4.2.gem
60
60
  ```
61
61
 
62
62
  - [Github source](https://github.com/yshmarov/hotwire_native_rails)
@@ -100,8 +100,8 @@ class HotwireNativeGenerator < Rails::Generators::Base
100
100
  append_to_file "app/assets/stylesheets/application.css" do
101
101
  <<-CSS
102
102
 
103
- body.hotwire-native .hotwire-native:hidden {
104
- display: none;
103
+ body.hotwire-native .d-hotwire-native-none {
104
+ display: none !important;
105
105
  }
106
106
  CSS
107
107
  end
@@ -8,12 +8,17 @@ class HotwireNative::TabsController < ActionController::Base
8
8
  # end
9
9
 
10
10
  def tab1
11
- redirect_to organizations_path
11
+ redirect_to root_path
12
+ # redirect_to projects_path
12
13
  end
13
14
 
14
15
  def tab2
15
- redirect_to edit_user_registration_path
16
+ redirect_to root_path
17
+ # redirect_to edit_user_registration_path
16
18
  end
17
19
 
18
20
  # add more tabs (max 5)
21
+ # def tab3; end
22
+ # def tab4; end
23
+ # def tab5; end
19
24
  end
@@ -38,4 +38,9 @@ export default class extends BridgeComponent {
38
38
  this.element.click()
39
39
  })
40
40
  }
41
+
42
+ disconnect() {
43
+ super.disconnect()
44
+ this.send("disconnect")
45
+ }
41
46
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HotwireNativeRails
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotwire_native_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaro Shm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-16 00:00:00.000000000 Z
11
+ date: 2024-12-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: