proscenium-view_component 0.5.0 → 0.6.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67080ac650689cca4ae611fb82ef4ea4024c517ff876c2b1af95c349cfc032b1
|
|
4
|
+
data.tar.gz: 18b791fc9212a047573284c777424acd79730c9b91337c8691e68b30f516c9a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49986be8182e814223652421bd03e55af5e2ded402cb5f2eb0f8df1a9ac84322097f6d2a1d371e5cfdeefc16e5948626abb7e20bbcf7b69bb6057eef21ecd102
|
|
7
|
+
data.tar.gz: 8defd2fc98a3a92835fce3a2e15a92a3a2510bb853a9b1a41adbc76c7bc66cbd8a4c3116a1b889ca859f577d67347769736aa514dc3c5d30c8b9d659a1cddaad
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.4.
|
|
1
|
+
3.4.8
|
|
@@ -18,5 +18,12 @@ module Proscenium::ViewComponent
|
|
|
18
18
|
tag.div content || 'loading...'
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
|
+
|
|
22
|
+
def virtual_path
|
|
23
|
+
@virtual_path ||= begin
|
|
24
|
+
paths = Proscenium::Resolver.resolve(self.class.source_path.sub_ext('.jsx').to_s)
|
|
25
|
+
paths.is_a?(Array) ? paths.find { |x| x.ends_with?('.js') } : paths
|
|
26
|
+
end
|
|
27
|
+
end
|
|
21
28
|
end
|
|
22
29
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: proscenium-view_component
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joel Moss
|
|
@@ -49,14 +49,14 @@ dependencies:
|
|
|
49
49
|
requirements:
|
|
50
50
|
- - "~>"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: 4.
|
|
52
|
+
version: 4.1.1
|
|
53
53
|
type: :runtime
|
|
54
54
|
prerelease: false
|
|
55
55
|
version_requirements: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
57
|
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 4.
|
|
59
|
+
version: 4.1.1
|
|
60
60
|
description: Proscenium integration for ViewComponent
|
|
61
61
|
email:
|
|
62
62
|
- joel@developwithstyle.com
|
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
99
|
version: '0'
|
|
100
100
|
requirements: []
|
|
101
|
-
rubygems_version:
|
|
101
|
+
rubygems_version: 4.0.3
|
|
102
102
|
specification_version: 4
|
|
103
103
|
summary: Proscenium integration for ViewComponent
|
|
104
104
|
test_files: []
|