f_components 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23b88d28e2e9948702351020207b6aff6fddbd01e54e9f4ebfdb0532e08eee06
4
- data.tar.gz: 90a0556f1bd62124ba52d0643cdd8274e6512f23e65bbabbdab239126f67d65c
3
+ metadata.gz: 320cc1e1b8ce62c1d06bd3c028332c2c308a8533c498e11d405a90a291498ba2
4
+ data.tar.gz: 6a35d41435e422dc09d836f506f4dd603e4e696aaec8ab8de3b33a1ab2834a2e
5
5
  SHA512:
6
- metadata.gz: db56d7fc4a18a99bac2bc3d70b650f1eb49df41dfd4305de745fa3f285c13673ac14a482db220349eee6d2e7820f31d5fbc016b539946befd67235210f1c3568
7
- data.tar.gz: 7a0d5d29de3e02f3ca7478477480fa65ea8ee68cc146d368a7e8d7f01fd3135bdba968e5846c1e340b328dc46ebfbfab6bf9d6c2fc31f56055fd3b8d0a06749f
6
+ metadata.gz: 8f19cccf530478671770a4a288a94dc1d508d48244a494d790c482f3c274855618f93a82265dfcfc9909a4d8adff970a7c7d998a9bec8068b804119ce26999dd
7
+ data.tar.gz: 1c5e86b81e041f4493d20e6d158dc77354ec3dda78afb321f9b60c5f513898722ea8f9b538f5f1319de64fed061ddc3f76bc26ebdccc790d3e03fae6c7ca7aea
@@ -1,16 +1,16 @@
1
1
  <div data-controller="f-table-component">
2
2
  <%=
3
- desktop_table(
3
+ render(FComponents::Table::Desktop::Component.(
4
4
  columns: columns,
5
5
  rows: rows,
6
6
  actions: @actions,
7
7
  check_boxes: @check_boxes,
8
8
  **@options
9
- )
9
+ ))
10
10
  %>
11
11
 
12
12
  <%=
13
- mobile_table(
13
+ render(FComponents::Table::Mobile::Component.(
14
14
  columns: columns,
15
15
  rows: rows,
16
16
  main_column: @main_column,
@@ -18,6 +18,6 @@
18
18
  check_boxes: @check_boxes,
19
19
  resources: @resources,
20
20
  **@options
21
- )
21
+ ))
22
22
  %>
23
23
  </div>
@@ -3,9 +3,6 @@
3
3
  module FComponents
4
4
  module Table
5
5
  class Component < Base
6
- renders_one :desktop_table, Table::Desktop::Component
7
- renders_one :mobile_table, Table::Mobile::Component
8
-
9
6
  def initialize(options)
10
7
  @options = options
11
8
  @values = {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FComponents
4
- VERSION = '0.2.1'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: f_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fretadao tech
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2024-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.27'
61
+ version: '3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.27'
68
+ version: '3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: webpacker
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  requirements: []
154
- rubygems_version: 3.1.2
154
+ rubygems_version: 3.2.32
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Library of view_components