formie 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +15 -14
- data/.gitignore +2 -1
- data/.ruby-gemset +1 -1
- data/Appraisals +4 -0
- data/Gemfile.lock +149 -111
- data/README.md +3 -3
- data/formie.gemspec +2 -4
- data/gemfiles/rails_7.1.gemfile +17 -0
- data/lib/formie/version.rb +2 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a1d2e65e6116a643eede8f609a0e4619fdfa54b5d839a2a076a4b05617df887
|
4
|
+
data.tar.gz: df3a704e017f1cf22feb4f10dfbe929ccc5e8542c8be46831b0d4af724be2d1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fff6a5c9a4e733c5de8f2cf6d9553f329d23f2272c7b6edf44a3e98e0c71a456759158b6fcd5056d16a423ace09fc6d6f080a97434f681fa783e93d18993799c
|
7
|
+
data.tar.gz: b463351210be4c7a19efdd3386e6d8816abafe9ce745c509888b0cc71bb3d363fd6f44986e894a49748cdbe0da7aefbd0093593bc98eef74e8e296a82ba84d2c
|
data/.github/workflows/rake.yml
CHANGED
@@ -8,19 +8,20 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
ruby_version: ["3.0", 3.2]
|
12
|
+
gemfile:
|
13
|
+
- Gemfile
|
14
|
+
- gemfiles/Gemfile.rails-7.1
|
15
|
+
- gemfiles/Gemfile.rails-7.0
|
16
|
+
- gemfiles/Gemfile.rails-6.1
|
17
|
+
runs-on: ubuntu-latest
|
15
18
|
|
16
19
|
steps:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
bundle
|
25
|
-
bundle update
|
26
|
-
- run: ${{ matrix.test_command }}
|
20
|
+
- uses: actions/checkout@v3
|
21
|
+
- name: Set up Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby_version }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Build and test with Rake
|
27
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rails-7.
|
1
|
+
rails-7.1
|
data/Appraisals
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,85 +1,96 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
formie (1.1.
|
4
|
+
formie (1.1.2)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actioncable (7.
|
10
|
-
actionpack (= 7.
|
11
|
-
activesupport (= 7.
|
9
|
+
actioncable (7.1.2)
|
10
|
+
actionpack (= 7.1.2)
|
11
|
+
activesupport (= 7.1.2)
|
12
12
|
nio4r (~> 2.0)
|
13
13
|
websocket-driver (>= 0.6.1)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
14
|
+
zeitwerk (~> 2.6)
|
15
|
+
actionmailbox (7.1.2)
|
16
|
+
actionpack (= 7.1.2)
|
17
|
+
activejob (= 7.1.2)
|
18
|
+
activerecord (= 7.1.2)
|
19
|
+
activestorage (= 7.1.2)
|
20
|
+
activesupport (= 7.1.2)
|
20
21
|
mail (>= 2.7.1)
|
21
22
|
net-imap
|
22
23
|
net-pop
|
23
24
|
net-smtp
|
24
|
-
actionmailer (7.
|
25
|
-
actionpack (= 7.
|
26
|
-
actionview (= 7.
|
27
|
-
activejob (= 7.
|
28
|
-
activesupport (= 7.
|
25
|
+
actionmailer (7.1.2)
|
26
|
+
actionpack (= 7.1.2)
|
27
|
+
actionview (= 7.1.2)
|
28
|
+
activejob (= 7.1.2)
|
29
|
+
activesupport (= 7.1.2)
|
29
30
|
mail (~> 2.5, >= 2.5.4)
|
30
31
|
net-imap
|
31
32
|
net-pop
|
32
33
|
net-smtp
|
33
|
-
rails-dom-testing (~> 2.
|
34
|
-
actionpack (7.
|
35
|
-
actionview (= 7.
|
36
|
-
activesupport (= 7.
|
37
|
-
|
34
|
+
rails-dom-testing (~> 2.2)
|
35
|
+
actionpack (7.1.2)
|
36
|
+
actionview (= 7.1.2)
|
37
|
+
activesupport (= 7.1.2)
|
38
|
+
nokogiri (>= 1.8.5)
|
39
|
+
racc
|
40
|
+
rack (>= 2.2.4)
|
41
|
+
rack-session (>= 1.0.1)
|
38
42
|
rack-test (>= 0.6.3)
|
39
|
-
rails-dom-testing (~> 2.
|
40
|
-
rails-html-sanitizer (~> 1.
|
41
|
-
actiontext (7.
|
42
|
-
actionpack (= 7.
|
43
|
-
activerecord (= 7.
|
44
|
-
activestorage (= 7.
|
45
|
-
activesupport (= 7.
|
43
|
+
rails-dom-testing (~> 2.2)
|
44
|
+
rails-html-sanitizer (~> 1.6)
|
45
|
+
actiontext (7.1.2)
|
46
|
+
actionpack (= 7.1.2)
|
47
|
+
activerecord (= 7.1.2)
|
48
|
+
activestorage (= 7.1.2)
|
49
|
+
activesupport (= 7.1.2)
|
46
50
|
globalid (>= 0.6.0)
|
47
51
|
nokogiri (>= 1.8.5)
|
48
|
-
actionview (7.
|
49
|
-
activesupport (= 7.
|
52
|
+
actionview (7.1.2)
|
53
|
+
activesupport (= 7.1.2)
|
50
54
|
builder (~> 3.1)
|
51
|
-
erubi (~> 1.
|
52
|
-
rails-dom-testing (~> 2.
|
53
|
-
rails-html-sanitizer (~> 1.
|
54
|
-
activejob (7.
|
55
|
-
activesupport (= 7.
|
55
|
+
erubi (~> 1.11)
|
56
|
+
rails-dom-testing (~> 2.2)
|
57
|
+
rails-html-sanitizer (~> 1.6)
|
58
|
+
activejob (7.1.2)
|
59
|
+
activesupport (= 7.1.2)
|
56
60
|
globalid (>= 0.3.6)
|
57
|
-
activemodel (7.
|
58
|
-
activesupport (= 7.
|
59
|
-
activerecord (7.
|
60
|
-
activemodel (= 7.
|
61
|
-
activesupport (= 7.
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
61
|
+
activemodel (7.1.2)
|
62
|
+
activesupport (= 7.1.2)
|
63
|
+
activerecord (7.1.2)
|
64
|
+
activemodel (= 7.1.2)
|
65
|
+
activesupport (= 7.1.2)
|
66
|
+
timeout (>= 0.4.0)
|
67
|
+
activestorage (7.1.2)
|
68
|
+
actionpack (= 7.1.2)
|
69
|
+
activejob (= 7.1.2)
|
70
|
+
activerecord (= 7.1.2)
|
71
|
+
activesupport (= 7.1.2)
|
67
72
|
marcel (~> 1.0)
|
68
|
-
|
69
|
-
|
73
|
+
activesupport (7.1.2)
|
74
|
+
base64
|
75
|
+
bigdecimal
|
70
76
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
77
|
+
connection_pool (>= 2.2.5)
|
78
|
+
drb
|
71
79
|
i18n (>= 1.6, < 2)
|
72
80
|
minitest (>= 5.1)
|
81
|
+
mutex_m
|
73
82
|
tzinfo (~> 2.0)
|
74
|
-
addressable (2.8.
|
83
|
+
addressable (2.8.6)
|
75
84
|
public_suffix (>= 2.0.2, < 6.0)
|
76
|
-
appraisal (2.
|
85
|
+
appraisal (2.5.0)
|
77
86
|
bundler
|
78
87
|
rake
|
79
88
|
thor (>= 0.14.0)
|
80
89
|
ast (2.4.2)
|
90
|
+
base64 (0.2.0)
|
91
|
+
bigdecimal (3.1.4)
|
81
92
|
builder (3.2.4)
|
82
|
-
capybara (3.39.
|
93
|
+
capybara (3.39.2)
|
83
94
|
addressable
|
84
95
|
matrix
|
85
96
|
mini_mime (>= 0.1.3)
|
@@ -93,18 +104,26 @@ GEM
|
|
93
104
|
railties (>= 3.0.0)
|
94
105
|
thor (>= 0.14.6)
|
95
106
|
concurrent-ruby (1.2.2)
|
107
|
+
connection_pool (2.4.1)
|
96
108
|
crass (1.0.6)
|
97
|
-
date (3.3.
|
109
|
+
date (3.3.4)
|
98
110
|
docile (1.4.0)
|
111
|
+
drb (2.2.0)
|
112
|
+
ruby2_keywords
|
99
113
|
erubi (1.12.0)
|
100
|
-
globalid (1.1
|
101
|
-
activesupport (>=
|
102
|
-
i18n (1.
|
114
|
+
globalid (1.2.1)
|
115
|
+
activesupport (>= 6.1)
|
116
|
+
i18n (1.14.1)
|
103
117
|
concurrent-ruby (~> 1.0)
|
104
|
-
|
105
|
-
|
118
|
+
io-console (0.6.0)
|
119
|
+
irb (1.10.1)
|
120
|
+
rdoc
|
121
|
+
reline (>= 0.3.8)
|
122
|
+
json (2.7.1)
|
123
|
+
language_server-protocol (3.17.0.3)
|
124
|
+
loofah (2.22.0)
|
106
125
|
crass (~> 1.0.2)
|
107
|
-
nokogiri (>= 1.
|
126
|
+
nokogiri (>= 1.12.0)
|
108
127
|
mail (2.8.1)
|
109
128
|
mini_mime (>= 0.1.1)
|
110
129
|
net-imap
|
@@ -112,98 +131,117 @@ GEM
|
|
112
131
|
net-smtp
|
113
132
|
marcel (1.0.2)
|
114
133
|
matrix (0.4.2)
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
net-imap (0.
|
134
|
+
mini_mime (1.1.5)
|
135
|
+
minitest (5.20.0)
|
136
|
+
mutex_m (0.2.0)
|
137
|
+
net-imap (0.4.7)
|
119
138
|
date
|
120
139
|
net-protocol
|
121
140
|
net-pop (0.1.2)
|
122
141
|
net-protocol
|
123
|
-
net-protocol (0.2.
|
142
|
+
net-protocol (0.2.2)
|
124
143
|
timeout
|
125
|
-
net-smtp (0.
|
144
|
+
net-smtp (0.4.0)
|
126
145
|
net-protocol
|
127
|
-
nio4r (2.
|
128
|
-
nokogiri (1.
|
146
|
+
nio4r (2.7.0)
|
147
|
+
nokogiri (1.15.5-x86_64-linux)
|
129
148
|
racc (~> 1.4)
|
130
149
|
observr (1.0.5)
|
131
|
-
parallel (1.
|
132
|
-
parser (3.2.2.
|
150
|
+
parallel (1.23.0)
|
151
|
+
parser (3.2.2.4)
|
133
152
|
ast (~> 2.4.1)
|
134
|
-
|
135
|
-
|
136
|
-
|
153
|
+
racc
|
154
|
+
psych (5.1.1.1)
|
155
|
+
stringio
|
156
|
+
public_suffix (5.0.4)
|
157
|
+
racc (1.7.3)
|
158
|
+
rack (3.0.8)
|
159
|
+
rack-session (2.0.0)
|
160
|
+
rack (>= 3.0.0)
|
137
161
|
rack-test (2.1.0)
|
138
162
|
rack (>= 1.3)
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
163
|
+
rackup (2.1.0)
|
164
|
+
rack (>= 3)
|
165
|
+
webrick (~> 1.8)
|
166
|
+
rails (7.1.2)
|
167
|
+
actioncable (= 7.1.2)
|
168
|
+
actionmailbox (= 7.1.2)
|
169
|
+
actionmailer (= 7.1.2)
|
170
|
+
actionpack (= 7.1.2)
|
171
|
+
actiontext (= 7.1.2)
|
172
|
+
actionview (= 7.1.2)
|
173
|
+
activejob (= 7.1.2)
|
174
|
+
activemodel (= 7.1.2)
|
175
|
+
activerecord (= 7.1.2)
|
176
|
+
activestorage (= 7.1.2)
|
177
|
+
activesupport (= 7.1.2)
|
151
178
|
bundler (>= 1.15.0)
|
152
|
-
railties (= 7.
|
153
|
-
rails-dom-testing (2.0
|
154
|
-
activesupport (>=
|
179
|
+
railties (= 7.1.2)
|
180
|
+
rails-dom-testing (2.2.0)
|
181
|
+
activesupport (>= 5.0.0)
|
182
|
+
minitest
|
155
183
|
nokogiri (>= 1.6)
|
156
|
-
rails-html-sanitizer (1.
|
157
|
-
loofah (~> 2.
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
184
|
+
rails-html-sanitizer (1.6.0)
|
185
|
+
loofah (~> 2.21)
|
186
|
+
nokogiri (~> 1.14)
|
187
|
+
railties (7.1.2)
|
188
|
+
actionpack (= 7.1.2)
|
189
|
+
activesupport (= 7.1.2)
|
190
|
+
irb
|
191
|
+
rackup (>= 1.0.0)
|
162
192
|
rake (>= 12.2)
|
163
|
-
thor (~> 1.0)
|
164
|
-
zeitwerk (~> 2.
|
193
|
+
thor (~> 1.0, >= 1.2.2)
|
194
|
+
zeitwerk (~> 2.6)
|
165
195
|
rainbow (3.1.1)
|
166
|
-
rake (13.0
|
167
|
-
|
168
|
-
|
196
|
+
rake (13.1.0)
|
197
|
+
rdoc (6.6.1)
|
198
|
+
psych (>= 4.0.0)
|
199
|
+
regexp_parser (2.8.3)
|
200
|
+
reline (0.4.1)
|
201
|
+
io-console (~> 0.5)
|
202
|
+
rexml (3.2.6)
|
169
203
|
ricecream (0.2.1)
|
170
|
-
rubocop (1.
|
204
|
+
rubocop (1.58.0)
|
171
205
|
json (~> 2.3)
|
206
|
+
language_server-protocol (>= 3.17.0)
|
172
207
|
parallel (~> 1.10)
|
173
|
-
parser (>= 3.2.
|
208
|
+
parser (>= 3.2.2.4)
|
174
209
|
rainbow (>= 2.2.2, < 4.0)
|
175
210
|
regexp_parser (>= 1.8, < 3.0)
|
176
211
|
rexml (>= 3.2.5, < 4.0)
|
177
|
-
rubocop-ast (>= 1.
|
212
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
178
213
|
ruby-progressbar (~> 1.7)
|
179
214
|
unicode-display_width (>= 2.4.0, < 3.0)
|
180
|
-
rubocop-ast (1.
|
215
|
+
rubocop-ast (1.30.0)
|
181
216
|
parser (>= 3.2.1.0)
|
182
217
|
ruby-progressbar (1.13.0)
|
218
|
+
ruby2_keywords (0.0.5)
|
183
219
|
simplecov (0.22.0)
|
184
220
|
docile (~> 1.1)
|
185
221
|
simplecov-html (~> 0.11)
|
186
222
|
simplecov_json_formatter (~> 0.1)
|
187
223
|
simplecov-html (0.12.3)
|
188
224
|
simplecov_json_formatter (0.1.4)
|
189
|
-
slim (5.
|
225
|
+
slim (5.2.0)
|
190
226
|
temple (~> 0.10.0)
|
191
|
-
tilt (>= 2.0
|
192
|
-
spring (4.1.
|
193
|
-
sqlite3 (1.6.
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
227
|
+
tilt (>= 2.1.0)
|
228
|
+
spring (4.1.3)
|
229
|
+
sqlite3 (1.6.9-x86_64-linux)
|
230
|
+
stringio (3.1.0)
|
231
|
+
temple (0.10.3)
|
232
|
+
thor (1.3.0)
|
233
|
+
tilt (2.3.0)
|
234
|
+
timeout (0.4.1)
|
198
235
|
tzinfo (2.0.6)
|
199
236
|
concurrent-ruby (~> 1.0)
|
200
|
-
unicode-display_width (2.
|
201
|
-
|
237
|
+
unicode-display_width (2.5.0)
|
238
|
+
webrick (1.8.1)
|
239
|
+
websocket-driver (0.7.6)
|
202
240
|
websocket-extensions (>= 0.1.0)
|
203
241
|
websocket-extensions (0.1.5)
|
204
242
|
xpath (3.2.0)
|
205
243
|
nokogiri (~> 1.8)
|
206
|
-
zeitwerk (2.6.
|
244
|
+
zeitwerk (2.6.12)
|
207
245
|
|
208
246
|
PLATFORMS
|
209
247
|
x86_64-linux
|
@@ -224,4 +262,4 @@ DEPENDENCIES
|
|
224
262
|
sqlite3
|
225
263
|
|
226
264
|
BUNDLED WITH
|
227
|
-
2.4.
|
265
|
+
2.4.22
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Formie
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/formie.svg)](https://badge.fury.io/rb/formie)
|
4
|
+
[![GEM Downloads](https://img.shields.io/gem/dt/formie?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/formie)
|
5
|
+
|
4
6
|
|
5
7
|
Tired of programming each HTML tag?
|
6
8
|
Are you in search of DRYness for Rails views?
|
@@ -103,6 +105,4 @@ span Hello Slim
|
|
103
105
|
## Miscellaneous
|
104
106
|
|
105
107
|
Copyright (c) 2009-2023 Dittmar Krall (www.matiq.com),
|
106
|
-
released under the MIT license
|
107
|
-
|
108
|
-
* https://opensource.org/licenses/MIT
|
108
|
+
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/formie.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "formie"
|
7
7
|
s.version = Formie::VERSION
|
8
8
|
s.summary = "Formie is like a Rails helper, but uses the notation of a partial."
|
9
|
-
s.description = <<-
|
9
|
+
s.description = <<-END
|
10
10
|
Formie implements low level template-based Rails helpers. It injects
|
11
11
|
the formies into the ActionView module. The form-bounded as well as
|
12
12
|
the unbounded templates are supported. Still, the ActionView
|
@@ -14,12 +14,10 @@ Gem::Specification.new do |s|
|
|
14
14
|
END
|
15
15
|
s.authors = ["Dittmar Krall"]
|
16
16
|
s.email = ["dittmar.krall@matiq.com"]
|
17
|
-
s.homepage = "
|
17
|
+
s.homepage = "https://github.com/matique/formie"
|
18
18
|
s.license = "MIT"
|
19
19
|
s.platform = Gem::Platform::RUBY
|
20
20
|
|
21
|
-
s.metadata["source_code_uri"] = "https://github.com/matique/formie"
|
22
|
-
|
23
21
|
s.files = `git ls-files -z`.split("\x0")
|
24
22
|
s.require_paths = ["lib"]
|
25
23
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rails", "~> 7.1"
|
6
|
+
|
7
|
+
group :test do
|
8
|
+
gem "capybara"
|
9
|
+
gem "observr"
|
10
|
+
gem "ricecream"
|
11
|
+
gem "rubocop", require: false
|
12
|
+
gem "simplecov", require: false
|
13
|
+
gem "slim"
|
14
|
+
gem "spring"
|
15
|
+
end
|
16
|
+
|
17
|
+
gemspec path: "../"
|
data/lib/formie/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- formie.gemspec
|
92
92
|
- gemfiles/rails_6.1.gemfile
|
93
93
|
- gemfiles/rails_7.0.gemfile
|
94
|
+
- gemfiles/rails_7.1.gemfile
|
94
95
|
- lib/formie.rb
|
95
96
|
- lib/formie/engine.rb
|
96
97
|
- lib/formie/version.rb
|
@@ -125,11 +126,10 @@ files:
|
|
125
126
|
- test/internal/db/migrate/20141016161801_create_orders.rb
|
126
127
|
- test/internal/db/schema.rb
|
127
128
|
- test/test_helper.rb
|
128
|
-
homepage:
|
129
|
+
homepage: https://github.com/matique/formie
|
129
130
|
licenses:
|
130
131
|
- MIT
|
131
|
-
metadata:
|
132
|
-
source_code_uri: https://github.com/matique/formie
|
132
|
+
metadata: {}
|
133
133
|
post_install_message:
|
134
134
|
rdoc_options: []
|
135
135
|
require_paths:
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.4.
|
148
|
+
rubygems_version: 3.4.20
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Formie is like a Rails helper, but uses the notation of a partial.
|