standard_id 0.14.1 → 0.14.2

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: 980f1a28f34af1f7255514b5e09f7dc994d613673efb6e145827a6ddafe7fb5c
4
- data.tar.gz: 4a663933f61433dc0236d4b2847c8005687a915a595dd00bc8dbfdc48084b40b
3
+ metadata.gz: 86f8a8439f93dda629769f1c0a8a26494733ae862295bbe416f5294c4818562c
4
+ data.tar.gz: b97caba35aa2f704f3dd6fd37796e602276be1c84bc76f89390688ed01512ff9
5
5
  SHA512:
6
- metadata.gz: 8b4871d0545f56edd61faa5d076219c2eef54dc65f5466987194c86b5a136fc013a55a9b836b8c7ad667e9f1ed510f8c65e8b4b69dfe8f9ba5f1b280fdcdad99
7
- data.tar.gz: e890d50f439fcc48f0d741947b9e2674f83fbfc5701f1d159a0a3d8f70397f369f7af79a02d8b6484bd6869bbc553f1f8970a34cba3cdcced174e4bd7e379ac6
6
+ metadata.gz: 2f2697a1def9d53f287e9c6cda65c9e86894f8dd8d4f91b9e5af5cfb47d87f85502bb6953786f61707582e6d4485a6df90d2d18fe74ce7fe36e08638aaa0d4c6
7
+ data.tar.gz: f6899943cae7817977ddc8d37345f5e26739e9fbe0ff7a41864d6490c86dc85f525e67b7ad71d16a5d039edda03c24eb73be6b387a044b1705535eec3934a377
@@ -24,7 +24,7 @@ module StandardId
24
24
  # Generate the Inertia component name based on controller and action
25
25
  def inertia_component_name(action = nil)
26
26
  namespace = StandardId.config.inertia_component_namespace.presence || "standard_id"
27
- controller_name = self.class.name.demodulize.delete_suffix("Controller")
27
+ controller_name = self.class.name.demodulize.delete_suffix("Controller").underscore
28
28
  action_str = (action || self.action_name).to_s
29
29
 
30
30
  "#{namespace}/#{controller_name}/#{action_str}"
@@ -1,3 +1,3 @@
1
1
  module StandardId
2
- VERSION = "0.14.1"
2
+ VERSION = "0.14.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.14.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaryl Sim