view_component_helper 0.3.0 → 0.4.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/view_component_helper/version.rb +1 -1
- data/lib/view_component_helper/view_helper.rb +1 -4
- data/lib/view_component_helper.rb +3 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2adce6fa5662babcef3d27480a9dd60419c4377f7873d7a2980f4a7f8ba6caa2
|
4
|
+
data.tar.gz: 5a808fbad6cc4a40c62071eb2a9f73ebebb009b2b3203906693f703cc7b1fb0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4112da99d4026dc9370f8e4be166cc683ec1341927524847b53f9f142a41635f1a14627183995b6a5c84dedb07c0a4ae16f4bc69f4da68f1e1347d927fd1ec58
|
7
|
+
data.tar.gz: eb122338823574e3391eccd766ef6add3366b6935cb9af14587f7c116c13a2836c9a9f573c2f7a20a187bd59c87e2ffa335c26931c96fea217c8b11b4a655bce
|
data/Gemfile.lock
CHANGED
@@ -8,10 +8,7 @@ module ViewComponentHelper
|
|
8
8
|
private
|
9
9
|
|
10
10
|
def component_class_for(path)
|
11
|
-
|
12
|
-
component_name = class_names.map(&:capitalize).join("::")
|
13
|
-
|
14
|
-
component_name.constantize
|
11
|
+
component_name.classify.constantize
|
15
12
|
end
|
16
13
|
end
|
17
14
|
|
@@ -1,8 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
module ViewComponentHelper
|
7
|
-
class Error < StandardError; end
|
8
|
-
end
|
3
|
+
require "addressable/uri"
|
4
|
+
require "view_component_helper/view_helper"
|
5
|
+
require "view_component_helper/version"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: view_component_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yamitake
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'The ''view_component_helper'' gem streamlines View helper method invocation
|
14
14
|
for view_component. Simplify integration and boost productivity. '
|