vident-typed-phlex 0.1.0 → 0.3.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: 12eb9aa5550366e02e2684dac229f9b859ab1af731d166cf238143cbf63437dc
4
- data.tar.gz: deb17c92e9aaa80075f34cbb91b0a8b5115955848d80d35d3d45f87d094f95b7
3
+ metadata.gz: ba3ae2acdcff6665f8e7e38c2023a64f72f328c1b9eca876b31040a6fea1158c
4
+ data.tar.gz: 3df18c113ec163dcd2ef1bbd66a0078e8dba23e21e2dfcf0e3af3e1b72b4770f
5
5
  SHA512:
6
- metadata.gz: 106bf47a5fbf4ccbe2ebe74809d22aba45c65819bca2f8871b056f9daa112b1a6a1eae3917039c913127f3be3982fd2933656442cae520f1b66be1c2cf89e747
7
- data.tar.gz: 2cad99582ecb49af4660bfe2e877630855956cf10803a1192d5cf29cf4a8366edf6828e6bd7dd5ba6a6f4c0e8d70c956e63c3fb9a056eba62aec2eef1c69aafb
6
+ metadata.gz: 611f72cab160ec5d1c3bfe172c4f7167db2d89470314ccd55b43ef786700f71c1ea4549470524082b31a8567e8bcd355c8b6c86d2762674c95058009f66c984f
7
+ data.tar.gz: 352d159d6430b9a8df80d9cc0a552aed5ba863d9a82d01907ddfdf1acf29c843e82b496ab940ab55daca05d3a96838d994ef7daec4d42c92f43bc7a2c92c6b07
data/README.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Vident::Typed::Phlex
2
- Short description and motivation.
2
+
3
+ Adds typed attributes to Vident Phlex based components.
4
+
5
+ ```ruby
6
+ class ApplicationComponent < ::Vident::Typed::Phlex::HTML
7
+ end
8
+ ```
9
+
10
+ For more details see [vident](https://github.com/stevegeek/vident).
3
11
 
4
12
  ## Usage
5
13
  How to use my plugin.
@@ -3,7 +3,7 @@
3
3
  module Vident
4
4
  module Typed
5
5
  module Phlex
6
- class HTML < ::Phlex::HTML
6
+ class HTML < ::Vident::Phlex::Core
7
7
  include ::Vident::Typed::Component
8
8
 
9
9
  class << self
@@ -15,12 +15,6 @@ module Vident
15
15
  super
16
16
  end
17
17
  end
18
-
19
- # Helper to create the main element
20
- def parent_element(**options)
21
- @parent_element ||= ::Vident::Phlex::RootComponent.new(**parent_element_attributes(options))
22
- end
23
- alias_method :root, :parent_element
24
18
  end
25
19
  end
26
20
  end
@@ -1,7 +1,7 @@
1
1
  module Vident
2
2
  module Typed
3
3
  module Phlex
4
- VERSION = "0.1.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vident-typed-phlex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ierodiaconou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-01 00:00:00.000000000 Z
11
+ date: 2023-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '7'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '8'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,13 +27,16 @@ dependencies:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '7'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '8'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: vident-phlex
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: 0.1.0
39
+ version: 0.3.0
34
40
  - - "<"
35
41
  - !ruby/object:Gem::Version
36
42
  version: '1'
@@ -40,7 +46,7 @@ dependencies:
40
46
  requirements:
41
47
  - - ">="
42
48
  - !ruby/object:Gem::Version
43
- version: 0.1.0
49
+ version: 0.3.0
44
50
  - - "<"
45
51
  - !ruby/object:Gem::Version
46
52
  version: '1'
@@ -100,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
106
  - !ruby/object:Gem::Version
101
107
  version: '0'
102
108
  requirements: []
103
- rubygems_version: 3.4.6
109
+ rubygems_version: 3.4.10
104
110
  signing_key:
105
111
  specification_version: 4
106
112
  summary: Vident with Phlex & typed attributes