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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebf7737de8d4afca91ebff32ec0bfb2164f52964e5a4c611fb6957d31576ba70
4
- data.tar.gz: 402816d39d77d39b74914fdca1d33d83e47f8ee548324cd314a86fce59806848
3
+ metadata.gz: 3a1d2e65e6116a643eede8f609a0e4619fdfa54b5d839a2a076a4b05617df887
4
+ data.tar.gz: df3a704e017f1cf22feb4f10dfbe929ccc5e8542c8be46831b0d4af724be2d1d
5
5
  SHA512:
6
- metadata.gz: 5db6b5b77f7fa7cfdd2370768fa9e5410ae2fcca5d483a9733658f8cff19f716513f1b67245dd9cc52eced89709fa10de8a97eb39a5c273911ebd58a913b7901
7
- data.tar.gz: 76a452db8870277aefe56e004ff540149b529df31010aae0d57695126623cfe34eaf09f38f049bfd4a4584e909c68267d8f8f437b24fcb2a339bcbd9041cb866
6
+ metadata.gz: fff6a5c9a4e733c5de8f2cf6d9553f329d23f2272c7b6edf44a3e98e0c71a456759158b6fcd5056d16a423ace09fc6d6f080a97434f681fa783e93d18993799c
7
+ data.tar.gz: b463351210be4c7a19efdd3386e6d8816abafe9ce745c509888b0cc71bb3d363fd6f44986e894a49748cdbe0da7aefbd0093593bc98eef74e8e296a82ba84d2c
@@ -8,19 +8,20 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- os: [ubuntu-latest]
12
- ruby: ["2.7", "3.0", "3.2", head]
13
- test_command: ["bundle exec rake test"]
14
- runs-on: ${{ matrix.os }}
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
- - uses: actions/checkout@v3
18
- - uses: ruby/setup-ruby@v1
19
- with:
20
- ruby-version: ${{ matrix.ruby }}
21
- - name: Bundle install
22
- run: |
23
- bundle config path /home/runner/bundle
24
- bundle install
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
@@ -1,5 +1,6 @@
1
1
  .bundle/
2
2
  coverage/
3
+ .watchr
3
4
 
4
5
  *.gem
5
6
  *.log
@@ -8,6 +9,6 @@ coverage/
8
9
  **/*.gem
9
10
  **/*.log
10
11
  **/*.lock
11
- **/*.sqlite3
12
+ **/test.sqlite3*
12
13
 
13
14
  test/internal/tmp/
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.0
1
+ rails-7.1
data/Appraisals CHANGED
@@ -1,3 +1,7 @@
1
+ appraise "rails-7.1" do
2
+ gem "rails", "~> 7.1"
3
+ end
4
+
1
5
  appraise "rails-7.0" do
2
6
  gem "rails", "~> 7.0"
3
7
  gem "dryer-config", "~> 7.0"
data/Gemfile.lock CHANGED
@@ -1,85 +1,96 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formie (1.1.1)
4
+ formie (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (7.0.4.3)
10
- actionpack (= 7.0.4.3)
11
- activesupport (= 7.0.4.3)
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
- actionmailbox (7.0.4.3)
15
- actionpack (= 7.0.4.3)
16
- activejob (= 7.0.4.3)
17
- activerecord (= 7.0.4.3)
18
- activestorage (= 7.0.4.3)
19
- activesupport (= 7.0.4.3)
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.0.4.3)
25
- actionpack (= 7.0.4.3)
26
- actionview (= 7.0.4.3)
27
- activejob (= 7.0.4.3)
28
- activesupport (= 7.0.4.3)
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.0)
34
- actionpack (7.0.4.3)
35
- actionview (= 7.0.4.3)
36
- activesupport (= 7.0.4.3)
37
- rack (~> 2.0, >= 2.2.0)
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.0)
40
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
41
- actiontext (7.0.4.3)
42
- actionpack (= 7.0.4.3)
43
- activerecord (= 7.0.4.3)
44
- activestorage (= 7.0.4.3)
45
- activesupport (= 7.0.4.3)
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.0.4.3)
49
- activesupport (= 7.0.4.3)
52
+ actionview (7.1.2)
53
+ activesupport (= 7.1.2)
50
54
  builder (~> 3.1)
51
- erubi (~> 1.4)
52
- rails-dom-testing (~> 2.0)
53
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
54
- activejob (7.0.4.3)
55
- activesupport (= 7.0.4.3)
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.0.4.3)
58
- activesupport (= 7.0.4.3)
59
- activerecord (7.0.4.3)
60
- activemodel (= 7.0.4.3)
61
- activesupport (= 7.0.4.3)
62
- activestorage (7.0.4.3)
63
- actionpack (= 7.0.4.3)
64
- activejob (= 7.0.4.3)
65
- activerecord (= 7.0.4.3)
66
- activesupport (= 7.0.4.3)
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
- mini_mime (>= 1.1.0)
69
- activesupport (7.0.4.3)
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.4)
83
+ addressable (2.8.6)
75
84
  public_suffix (>= 2.0.2, < 6.0)
76
- appraisal (2.4.1)
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.0)
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.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.0)
101
- activesupport (>= 5.0)
102
- i18n (1.12.0)
114
+ globalid (1.2.1)
115
+ activesupport (>= 6.1)
116
+ i18n (1.14.1)
103
117
  concurrent-ruby (~> 1.0)
104
- json (2.6.3)
105
- loofah (2.20.0)
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.5.9)
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
- method_source (1.0.0)
116
- mini_mime (1.1.2)
117
- minitest (5.18.0)
118
- net-imap (0.3.4)
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.1)
142
+ net-protocol (0.2.2)
124
143
  timeout
125
- net-smtp (0.3.3)
144
+ net-smtp (0.4.0)
126
145
  net-protocol
127
- nio4r (2.5.9)
128
- nokogiri (1.14.3-x86_64-linux)
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.22.1)
132
- parser (3.2.2.0)
150
+ parallel (1.23.0)
151
+ parser (3.2.2.4)
133
152
  ast (~> 2.4.1)
134
- public_suffix (5.0.1)
135
- racc (1.6.2)
136
- rack (2.2.6.4)
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
- rails (7.0.4.3)
140
- actioncable (= 7.0.4.3)
141
- actionmailbox (= 7.0.4.3)
142
- actionmailer (= 7.0.4.3)
143
- actionpack (= 7.0.4.3)
144
- actiontext (= 7.0.4.3)
145
- actionview (= 7.0.4.3)
146
- activejob (= 7.0.4.3)
147
- activemodel (= 7.0.4.3)
148
- activerecord (= 7.0.4.3)
149
- activestorage (= 7.0.4.3)
150
- activesupport (= 7.0.4.3)
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.0.4.3)
153
- rails-dom-testing (2.0.3)
154
- activesupport (>= 4.2.0)
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.5.0)
157
- loofah (~> 2.19, >= 2.19.1)
158
- railties (7.0.4.3)
159
- actionpack (= 7.0.4.3)
160
- activesupport (= 7.0.4.3)
161
- method_source
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.5)
193
+ thor (~> 1.0, >= 1.2.2)
194
+ zeitwerk (~> 2.6)
165
195
  rainbow (3.1.1)
166
- rake (13.0.6)
167
- regexp_parser (2.8.0)
168
- rexml (3.2.5)
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.50.2)
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.0.0)
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.28.0, < 2.0)
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.28.0)
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.1.0)
225
+ slim (5.2.0)
190
226
  temple (~> 0.10.0)
191
- tilt (>= 2.0.6, < 2.2)
192
- spring (4.1.1)
193
- sqlite3 (1.6.2-x86_64-linux)
194
- temple (0.10.0)
195
- thor (1.2.1)
196
- tilt (2.1.0)
197
- timeout (0.3.2)
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.4.2)
201
- websocket-driver (0.7.5)
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.7)
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.10
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 = <<-'END'
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 = "http://matiq.com"
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: "../"
@@ -1,7 +1,8 @@
1
1
  # rubocop: disable all
2
2
 
3
3
  module Formie
4
- VERSION = "1.1.1" # 2023-04-17
4
+ VERSION = "1.1.2" # 2023-12-10
5
+ # VERSION = "1.1.1" # 2023-04-17
5
6
  # VERSION = "1.1.0" # 2022-12-18
6
7
  # VERSION = "1.0.4" # 2021-06-20
7
8
  # VERSION = "1.0.3" # 2020-07-23
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.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-04-17 00:00:00.000000000 Z
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: http://matiq.com
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.10
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.