phlex-stimulus 0.1.0 → 0.1.1

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: 0f20ab06752e9826fc2e3861ee9878cd26448f2094ccbd5779ffacb64b6fe364
4
- data.tar.gz: 9b0bb287d885da0b196d9aab1b21d9d9b1048f2d4d19e2c15d969dfba7f0a1e2
3
+ metadata.gz: e8b9c452165c2b08a52c6685507e9c1f94b22005458554346556e46a33998135
4
+ data.tar.gz: 68a407b65227a84bca594379893193e45ac26f6801d19549e6de9b0813295d5d
5
5
  SHA512:
6
- metadata.gz: 4afabcd2606a43cdf8f029e27afa3dc86c119fd68f6e5cda842ba729ac9df2659110b048f1cbb56df7f502a343cf61f6b6da8e163373780cc6d3af151f82de99
7
- data.tar.gz: 9c25eddafac1a456cb42303eac937eb5f95b898a446daa85ffe981528c210bbe0b92dbce5a79812b26d3ace3e4567489bec9940dbc22f594680ab91138d6fb41
6
+ metadata.gz: 0c2f73b22f3dc37438baec632612c45bafb250f1269257c1d0b91913637d55956f122b85c6c92a50cea8b23b6b1b903624ee2dca9eb0cf3569541f0a259de210
7
+ data.tar.gz: a9db4932ae974c748b8eab8f8935ed4e591f6f974b9c2f19e0edadf85fe542d79d5547b62db8dd69ccd78e99d0b05b7fdf1a4ff24103fc69126b325ade3189e4
data/CHANGELOG.md CHANGED
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  Add changes in new features here. Do not change the gem's version in pull/merge requests.
11
11
 
12
+ ## [0.1.1] - 27.07.2026
13
+
14
+ [Diff](https://github.com/espago/phlex-stimulus/compare/v0.1.0...v0.1.1)
15
+
16
+ - Add missing require
17
+ - Fix RBI generation
18
+
12
19
  ## [0.1.0] - 22.07.2026
13
20
 
14
21
  [Diff](https://github.com/espago/phlex-stimulus/compare/v0.0.0...v0.1.0)
@@ -8,6 +8,9 @@ class Components::Base < Phlex::Stimulus::Components::Base
8
8
  # Include any helpers you want to be available across all components
9
9
  include Phlex::Rails::Helpers::Routes
10
10
 
11
+ #: -> ApplicationController::HelperProxy
12
+ def h = view_context
13
+
11
14
  if Rails.env.development?
12
15
  #: -> void
13
16
  def before_template
@@ -7,7 +7,6 @@ module Phlex::Stimulus
7
7
  #
8
8
  # @abstract
9
9
  class Base < Phlex::HTML
10
- #: -> ApplicationController::HelperProxy
11
10
  def h = view_context
12
11
 
13
12
  #: -> String
@@ -7,3 +7,4 @@ module Phlex::Stimulus
7
7
  end
8
8
 
9
9
  require_relative 'components/base'
10
+ require_relative 'components/controller'
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Phlex
5
5
  module Stimulus
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
8
8
  end
@@ -1,12 +1,5 @@
1
1
  # typed: true
2
2
 
3
- class ApplicationController
4
- module HelperProxy
5
- sig { params(path: String).returns(T.nilable(String))}
6
- def resolve_asset_path(path); end
7
- end
8
- end
9
-
10
3
  module Zeitwerk
11
4
  class GemLoader; end
12
5
  class Loader; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlex-stimulus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Espago