phlexible 0.5.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +107 -76
- data/lib/phlexible/rails/action_controller/implicit_render.rb +7 -1
- data/lib/phlexible/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 724ac705e7d87c0798b4c11ad0c2c8c7f7c1897d8fe65eb7e0b8a734d778e315
|
4
|
+
data.tar.gz: 2fb1b5e2588445b86089039277c392024f82d8b35ba0cd1ba5a23150e228e8a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66e9946f29427bb9f85fd82faeb11f8f831f4d2cc22d1799ad4240332210b7f9412e1bdeb994359d5ee9267587c0173f2cd2e6d58b86f721c0a37675e2fbd1ce
|
7
|
+
data.tar.gz: 49a78de0a072859d0b43c5833c94eeb4fda28c960ee3ea3976da5d42a19639498e8d8d9909816f184c12b9bef9b68b7cc139fe79cb99024fc64571b89643b3c6
|
data/Gemfile.lock
CHANGED
@@ -1,80 +1,89 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
phlexible (0.
|
4
|
+
phlexible (0.6.1)
|
5
5
|
phlex (~> 1.8.1)
|
6
6
|
phlex-rails (~> 1.0.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (7.
|
12
|
-
actionpack (= 7.
|
13
|
-
activesupport (= 7.
|
11
|
+
actioncable (7.1.1)
|
12
|
+
actionpack (= 7.1.1)
|
13
|
+
activesupport (= 7.1.1)
|
14
14
|
nio4r (~> 2.0)
|
15
15
|
websocket-driver (>= 0.6.1)
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
zeitwerk (~> 2.6)
|
17
|
+
actionmailbox (7.1.1)
|
18
|
+
actionpack (= 7.1.1)
|
19
|
+
activejob (= 7.1.1)
|
20
|
+
activerecord (= 7.1.1)
|
21
|
+
activestorage (= 7.1.1)
|
22
|
+
activesupport (= 7.1.1)
|
22
23
|
mail (>= 2.7.1)
|
23
24
|
net-imap
|
24
25
|
net-pop
|
25
26
|
net-smtp
|
26
|
-
actionmailer (7.
|
27
|
-
actionpack (= 7.
|
28
|
-
actionview (= 7.
|
29
|
-
activejob (= 7.
|
30
|
-
activesupport (= 7.
|
27
|
+
actionmailer (7.1.1)
|
28
|
+
actionpack (= 7.1.1)
|
29
|
+
actionview (= 7.1.1)
|
30
|
+
activejob (= 7.1.1)
|
31
|
+
activesupport (= 7.1.1)
|
31
32
|
mail (~> 2.5, >= 2.5.4)
|
32
33
|
net-imap
|
33
34
|
net-pop
|
34
35
|
net-smtp
|
35
|
-
rails-dom-testing (~> 2.
|
36
|
-
actionpack (7.
|
37
|
-
actionview (= 7.
|
38
|
-
activesupport (= 7.
|
39
|
-
|
36
|
+
rails-dom-testing (~> 2.2)
|
37
|
+
actionpack (7.1.1)
|
38
|
+
actionview (= 7.1.1)
|
39
|
+
activesupport (= 7.1.1)
|
40
|
+
nokogiri (>= 1.8.5)
|
41
|
+
rack (>= 2.2.4)
|
42
|
+
rack-session (>= 1.0.1)
|
40
43
|
rack-test (>= 0.6.3)
|
41
|
-
rails-dom-testing (~> 2.
|
42
|
-
rails-html-sanitizer (~> 1.
|
43
|
-
actiontext (7.
|
44
|
-
actionpack (= 7.
|
45
|
-
activerecord (= 7.
|
46
|
-
activestorage (= 7.
|
47
|
-
activesupport (= 7.
|
44
|
+
rails-dom-testing (~> 2.2)
|
45
|
+
rails-html-sanitizer (~> 1.6)
|
46
|
+
actiontext (7.1.1)
|
47
|
+
actionpack (= 7.1.1)
|
48
|
+
activerecord (= 7.1.1)
|
49
|
+
activestorage (= 7.1.1)
|
50
|
+
activesupport (= 7.1.1)
|
48
51
|
globalid (>= 0.6.0)
|
49
52
|
nokogiri (>= 1.8.5)
|
50
|
-
actionview (7.
|
51
|
-
activesupport (= 7.
|
53
|
+
actionview (7.1.1)
|
54
|
+
activesupport (= 7.1.1)
|
52
55
|
builder (~> 3.1)
|
53
|
-
erubi (~> 1.
|
54
|
-
rails-dom-testing (~> 2.
|
55
|
-
rails-html-sanitizer (~> 1.
|
56
|
-
activejob (7.
|
57
|
-
activesupport (= 7.
|
56
|
+
erubi (~> 1.11)
|
57
|
+
rails-dom-testing (~> 2.2)
|
58
|
+
rails-html-sanitizer (~> 1.6)
|
59
|
+
activejob (7.1.1)
|
60
|
+
activesupport (= 7.1.1)
|
58
61
|
globalid (>= 0.3.6)
|
59
|
-
activemodel (7.
|
60
|
-
activesupport (= 7.
|
61
|
-
activerecord (7.
|
62
|
-
activemodel (= 7.
|
63
|
-
activesupport (= 7.
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
62
|
+
activemodel (7.1.1)
|
63
|
+
activesupport (= 7.1.1)
|
64
|
+
activerecord (7.1.1)
|
65
|
+
activemodel (= 7.1.1)
|
66
|
+
activesupport (= 7.1.1)
|
67
|
+
timeout (>= 0.4.0)
|
68
|
+
activestorage (7.1.1)
|
69
|
+
actionpack (= 7.1.1)
|
70
|
+
activejob (= 7.1.1)
|
71
|
+
activerecord (= 7.1.1)
|
72
|
+
activesupport (= 7.1.1)
|
69
73
|
marcel (~> 1.0)
|
70
|
-
|
71
|
-
|
74
|
+
activesupport (7.1.1)
|
75
|
+
base64
|
76
|
+
bigdecimal
|
72
77
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
78
|
+
connection_pool (>= 2.2.5)
|
79
|
+
drb
|
73
80
|
i18n (>= 1.6, < 2)
|
74
81
|
minitest (>= 5.1)
|
82
|
+
mutex_m
|
75
83
|
tzinfo (~> 2.0)
|
76
84
|
ast (2.4.2)
|
77
85
|
base64 (0.1.1)
|
86
|
+
bigdecimal (3.1.4)
|
78
87
|
builder (3.2.4)
|
79
88
|
cgi (0.3.6)
|
80
89
|
combustion (1.3.7)
|
@@ -82,8 +91,11 @@ GEM
|
|
82
91
|
railties (>= 3.0.0)
|
83
92
|
thor (>= 0.14.6)
|
84
93
|
concurrent-ruby (1.2.2)
|
94
|
+
connection_pool (2.4.1)
|
85
95
|
crass (1.0.6)
|
86
96
|
date (3.3.3)
|
97
|
+
drb (2.1.1)
|
98
|
+
ruby2_keywords
|
87
99
|
erb (4.0.3)
|
88
100
|
cgi (>= 0.3.3)
|
89
101
|
erubi (1.12.0)
|
@@ -91,9 +103,13 @@ GEM
|
|
91
103
|
activesupport (>= 6.1)
|
92
104
|
i18n (1.14.1)
|
93
105
|
concurrent-ruby (~> 1.0)
|
106
|
+
io-console (0.6.0)
|
107
|
+
irb (1.8.3)
|
108
|
+
rdoc
|
109
|
+
reline (>= 0.3.8)
|
94
110
|
json (2.6.3)
|
95
111
|
language_server-protocol (3.17.0.3)
|
96
|
-
loofah (2.21.
|
112
|
+
loofah (2.21.4)
|
97
113
|
crass (~> 1.0.2)
|
98
114
|
nokogiri (>= 1.12.0)
|
99
115
|
mail (2.8.1)
|
@@ -102,17 +118,17 @@ GEM
|
|
102
118
|
net-pop
|
103
119
|
net-smtp
|
104
120
|
marcel (1.0.2)
|
105
|
-
method_source (1.0.0)
|
106
121
|
mini_mime (1.1.5)
|
107
122
|
minitest (5.20.0)
|
108
|
-
|
123
|
+
mutex_m (0.1.2)
|
124
|
+
net-imap (0.4.1)
|
109
125
|
date
|
110
126
|
net-protocol
|
111
127
|
net-pop (0.1.2)
|
112
128
|
net-protocol
|
113
129
|
net-protocol (0.2.1)
|
114
130
|
timeout
|
115
|
-
net-smtp (0.
|
131
|
+
net-smtp (0.4.0)
|
116
132
|
net-protocol
|
117
133
|
nio4r (2.5.9)
|
118
134
|
nokogiri (1.15.4-arm64-darwin)
|
@@ -122,7 +138,7 @@ GEM
|
|
122
138
|
nokogiri (1.15.4-x86_64-linux)
|
123
139
|
racc (~> 1.4)
|
124
140
|
parallel (1.23.0)
|
125
|
-
parser (3.2.2.
|
141
|
+
parser (3.2.2.4)
|
126
142
|
ast (~> 2.4.1)
|
127
143
|
racc
|
128
144
|
phlex (1.8.1)
|
@@ -136,24 +152,31 @@ GEM
|
|
136
152
|
phlex-testing-nokogiri (0.1.0)
|
137
153
|
nokogiri (~> 1.13)
|
138
154
|
phlex (>= 0.5)
|
155
|
+
psych (5.1.1.1)
|
156
|
+
stringio
|
139
157
|
racc (1.7.1)
|
140
|
-
rack (
|
158
|
+
rack (3.0.8)
|
159
|
+
rack-session (2.0.0)
|
160
|
+
rack (>= 3.0.0)
|
141
161
|
rack-test (2.1.0)
|
142
162
|
rack (>= 1.3)
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
163
|
+
rackup (2.1.0)
|
164
|
+
rack (>= 3)
|
165
|
+
webrick (~> 1.8)
|
166
|
+
rails (7.1.1)
|
167
|
+
actioncable (= 7.1.1)
|
168
|
+
actionmailbox (= 7.1.1)
|
169
|
+
actionmailer (= 7.1.1)
|
170
|
+
actionpack (= 7.1.1)
|
171
|
+
actiontext (= 7.1.1)
|
172
|
+
actionview (= 7.1.1)
|
173
|
+
activejob (= 7.1.1)
|
174
|
+
activemodel (= 7.1.1)
|
175
|
+
activerecord (= 7.1.1)
|
176
|
+
activestorage (= 7.1.1)
|
177
|
+
activesupport (= 7.1.1)
|
155
178
|
bundler (>= 1.15.0)
|
156
|
-
railties (= 7.
|
179
|
+
railties (= 7.1.1)
|
157
180
|
rails-dom-testing (2.2.0)
|
158
181
|
activesupport (>= 5.0.0)
|
159
182
|
minitest
|
@@ -161,23 +184,28 @@ GEM
|
|
161
184
|
rails-html-sanitizer (1.6.0)
|
162
185
|
loofah (~> 2.21)
|
163
186
|
nokogiri (~> 1.14)
|
164
|
-
railties (7.
|
165
|
-
actionpack (= 7.
|
166
|
-
activesupport (= 7.
|
167
|
-
|
187
|
+
railties (7.1.1)
|
188
|
+
actionpack (= 7.1.1)
|
189
|
+
activesupport (= 7.1.1)
|
190
|
+
irb
|
191
|
+
rackup (>= 1.0.0)
|
168
192
|
rake (>= 12.2)
|
169
|
-
thor (~> 1.0)
|
170
|
-
zeitwerk (~> 2.
|
193
|
+
thor (~> 1.0, >= 1.2.2)
|
194
|
+
zeitwerk (~> 2.6)
|
171
195
|
rainbow (3.1.1)
|
172
196
|
rake (13.0.6)
|
173
|
-
|
197
|
+
rdoc (6.5.0)
|
198
|
+
psych (>= 4.0.0)
|
199
|
+
regexp_parser (2.8.2)
|
200
|
+
reline (0.3.9)
|
201
|
+
io-console (~> 0.5)
|
174
202
|
rexml (3.2.6)
|
175
|
-
rubocop (1.
|
203
|
+
rubocop (1.57.1)
|
176
204
|
base64 (~> 0.1.1)
|
177
205
|
json (~> 2.3)
|
178
206
|
language_server-protocol (>= 3.17.0)
|
179
207
|
parallel (~> 1.10)
|
180
|
-
parser (>= 3.2.2.
|
208
|
+
parser (>= 3.2.2.4)
|
181
209
|
rainbow (>= 2.2.2, < 4.0)
|
182
210
|
regexp_parser (>= 1.8, < 3.0)
|
183
211
|
rexml (>= 3.2.5, < 4.0)
|
@@ -187,16 +215,19 @@ GEM
|
|
187
215
|
rubocop-ast (1.29.0)
|
188
216
|
parser (>= 3.2.1.0)
|
189
217
|
ruby-progressbar (1.13.0)
|
218
|
+
ruby2_keywords (0.0.5)
|
219
|
+
stringio (3.0.8)
|
190
220
|
sus (0.23.0)
|
191
221
|
thor (1.2.2)
|
192
222
|
timeout (0.4.0)
|
193
223
|
tzinfo (2.0.6)
|
194
224
|
concurrent-ruby (~> 1.0)
|
195
|
-
unicode-display_width (2.
|
225
|
+
unicode-display_width (2.5.0)
|
226
|
+
webrick (1.8.1)
|
196
227
|
websocket-driver (0.7.6)
|
197
228
|
websocket-extensions (>= 0.1.0)
|
198
229
|
websocket-extensions (0.1.5)
|
199
|
-
zeitwerk (2.6.
|
230
|
+
zeitwerk (2.6.12)
|
200
231
|
|
201
232
|
PLATFORMS
|
202
233
|
arm64-darwin-22
|
@@ -57,8 +57,14 @@ module Phlexible
|
|
57
57
|
render assign_phlex_accessors(view.new)
|
58
58
|
end
|
59
59
|
|
60
|
+
private
|
61
|
+
|
60
62
|
def phlex_view(action_name = @_action_name)
|
61
|
-
|
63
|
+
phlex_view_path(action_name).classify.safe_constantize
|
64
|
+
end
|
65
|
+
|
66
|
+
def phlex_view_path(action_name)
|
67
|
+
"#{controller_path}/#{action_name}_view"
|
62
68
|
end
|
63
69
|
end
|
64
70
|
end
|
data/lib/phlexible/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phlexible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Moss
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: phlex
|
@@ -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: 3.4.
|
101
|
+
rubygems_version: 3.4.20
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: A bunch of helpers and goodies intended to make life with Phlex even easier!
|