formie 1.1.0 → 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: cfe4a0b9ed817eb315c1e2a747746a8cbf0089d8f48998df22f1d1bdbab6af9a
4
- data.tar.gz: 79b1686a7d0069eb6d5a8fc5efe09d249fba17d52b046cba3a53d42deb5514c7
3
+ metadata.gz: 3a1d2e65e6116a643eede8f609a0e4619fdfa54b5d839a2a076a4b05617df887
4
+ data.tar.gz: df3a704e017f1cf22feb4f10dfbe929ccc5e8542c8be46831b0d4af724be2d1d
5
5
  SHA512:
6
- metadata.gz: 565548b5914977f2fa2244cc46852f303601a66f446191f52d0f1b19256bbe45f9cc834deeca13b3d7e6f2b40d55e481a31b5579f3b2bd829cf51b5a995a4573
7
- data.tar.gz: 5123b2894e320641887f809de931e8bda8e2ef209b470b0d9224d9dc0fec976e671966a06439f515f44359afc11bd1c3d4fad0828b5361aea1e7f272f306860c
6
+ metadata.gz: fff6a5c9a4e733c5de8f2cf6d9553f329d23f2272c7b6edf44a3e98e0c71a456759158b6fcd5056d16a423ace09fc6d6f080a97434f681fa783e93d18993799c
7
+ data.tar.gz: b463351210be4c7a19efdd3386e6d8816abafe9ce745c509888b0cc71bb3d363fd6f44986e894a49748cdbe0da7aefbd0093593bc98eef74e8e296a82ba84d2c
@@ -1,7 +1,6 @@
1
1
  # see also https://github.com/whitequark/parser/blob/master/.github/workflows/test.yml
2
2
  name: Rake
3
3
 
4
- #on: [push, pull_request]
5
4
  on: [push]
6
5
 
7
6
  jobs:
@@ -9,20 +8,20 @@ jobs:
9
8
  strategy:
10
9
  fail-fast: false
11
10
  matrix:
12
- os: [ubuntu-latest]
13
- # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
14
- ruby: ["2.7", "3.0", "3.1", head]
15
- test_command: ["bundle exec rake test"]
16
- 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
17
18
 
18
19
  steps:
19
- - uses: actions/checkout@v3
20
- - uses: ruby/setup-ruby@v1
21
- with:
22
- ruby-version: ${{ matrix.ruby }}
23
- - name: Bundle install
24
- run: |
25
- bundle config path /home/runner/bundle
26
- bundle install
27
- bundle update
28
- - 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/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1.3
1
+ ruby-3.2.2
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.0.4)
4
+ formie (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (7.0.4)
10
- actionpack (= 7.0.4)
11
- activesupport (= 7.0.4)
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)
15
- actionpack (= 7.0.4)
16
- activejob (= 7.0.4)
17
- activerecord (= 7.0.4)
18
- activestorage (= 7.0.4)
19
- activesupport (= 7.0.4)
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)
25
- actionpack (= 7.0.4)
26
- actionview (= 7.0.4)
27
- activejob (= 7.0.4)
28
- activesupport (= 7.0.4)
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)
35
- actionview (= 7.0.4)
36
- activesupport (= 7.0.4)
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)
42
- actionpack (= 7.0.4)
43
- activerecord (= 7.0.4)
44
- activestorage (= 7.0.4)
45
- activesupport (= 7.0.4)
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)
49
- activesupport (= 7.0.4)
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)
55
- activesupport (= 7.0.4)
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)
58
- activesupport (= 7.0.4)
59
- activerecord (7.0.4)
60
- activemodel (= 7.0.4)
61
- activesupport (= 7.0.4)
62
- activestorage (7.0.4)
63
- actionpack (= 7.0.4)
64
- activejob (= 7.0.4)
65
- activerecord (= 7.0.4)
66
- activesupport (= 7.0.4)
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)
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.1)
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.38.0)
93
+ capybara (3.39.2)
83
94
  addressable
84
95
  matrix
85
96
  mini_mime (>= 0.1.3)
@@ -92,132 +103,157 @@ GEM
92
103
  activesupport (>= 3.0.0)
93
104
  railties (>= 3.0.0)
94
105
  thor (>= 0.14.6)
95
- concurrent-ruby (1.1.10)
106
+ concurrent-ruby (1.2.2)
107
+ connection_pool (2.4.1)
96
108
  crass (1.0.6)
97
- date (3.3.2)
109
+ date (3.3.4)
98
110
  docile (1.4.0)
99
- erubi (1.11.0)
100
- globalid (1.0.0)
101
- activesupport (>= 5.0)
102
- i18n (1.12.0)
111
+ drb (2.2.0)
112
+ ruby2_keywords
113
+ erubi (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.19.1)
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)
108
- mail (2.8.0)
126
+ nokogiri (>= 1.12.0)
127
+ mail (2.8.1)
109
128
  mini_mime (>= 0.1.1)
110
129
  net-imap
111
130
  net-pop
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.16.3)
118
- net-imap (0.3.2)
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.8)
128
- nokogiri (1.13.10-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.1.3.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.1)
136
- rack (2.2.4)
137
- rack-test (2.0.2)
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)
161
+ rack-test (2.1.0)
138
162
  rack (>= 1.3)
139
- rails (7.0.4)
140
- actioncable (= 7.0.4)
141
- actionmailbox (= 7.0.4)
142
- actionmailer (= 7.0.4)
143
- actionpack (= 7.0.4)
144
- actiontext (= 7.0.4)
145
- actionview (= 7.0.4)
146
- activejob (= 7.0.4)
147
- activemodel (= 7.0.4)
148
- activerecord (= 7.0.4)
149
- activestorage (= 7.0.4)
150
- activesupport (= 7.0.4)
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)
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.4.4)
157
- loofah (~> 2.19, >= 2.19.1)
158
- railties (7.0.4)
159
- actionpack (= 7.0.4)
160
- activesupport (= 7.0.4)
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.6.1)
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.40.0)
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.1.2.1)
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.23.0, < 2.0)
212
+ rubocop-ast (>= 1.30.0, < 2.0)
178
213
  ruby-progressbar (~> 1.7)
179
- unicode-display_width (>= 1.4.0, < 3.0)
180
- rubocop-ast (1.24.0)
181
- parser (>= 3.1.1.0)
182
- ruby-progressbar (1.11.0)
183
- simplecov (0.21.2)
214
+ unicode-display_width (>= 2.4.0, < 3.0)
215
+ rubocop-ast (1.30.0)
216
+ parser (>= 3.2.1.0)
217
+ ruby-progressbar (1.13.0)
218
+ ruby2_keywords (0.0.5)
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 (4.1.0)
190
- temple (>= 0.7.6, < 0.9)
191
- tilt (>= 2.0.6, < 2.1)
192
- spring (4.1.0)
193
- sqlite3 (1.5.4-x86_64-linux)
194
- temple (0.8.2)
195
- thor (1.2.1)
196
- tilt (2.0.11)
197
- timeout (0.3.1)
198
- tzinfo (2.0.5)
225
+ slim (5.2.0)
226
+ temple (~> 0.10.0)
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)
235
+ tzinfo (2.0.6)
199
236
  concurrent-ruby (~> 1.0)
200
- unicode-display_width (2.3.0)
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.6)
244
+ zeitwerk (2.6.12)
207
245
 
208
246
  PLATFORMS
209
247
  x86_64-linux
210
248
 
211
249
  DEPENDENCIES
212
250
  appraisal
213
- bundler
214
251
  capybara
215
252
  combustion
216
253
  formie!
217
254
  minitest
218
255
  observr
219
256
  rails
220
- rake
221
257
  ricecream
222
258
  rubocop
223
259
  simplecov
@@ -226,4 +262,4 @@ DEPENDENCIES
226
262
  sqlite3
227
263
 
228
264
  BUNDLED WITH
229
- 2.3.26
265
+ 2.4.22
data/MIT-LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2011-2022 Dittmar Krall (www.matiq.com)
3
+ Copyright (c) 2011-2023 Dittmar Krall (www.matiq.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
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?
@@ -62,7 +64,6 @@ before_filter do
62
64
  end
63
65
  ```
64
66
 
65
-
66
67
  ## Examples (see also tests)
67
68
 
68
69
  ```ruby
@@ -103,7 +104,5 @@ span Hello Slim
103
104
 
104
105
  ## Miscellaneous
105
106
 
106
- Copyright (c) 2009-2022 Dittmar Krall (www.matiq.com),
107
- released under the MIT license:
108
-
109
- * https://opensource.org/licenses/MIT
107
+ Copyright (c) 2009-2023 Dittmar Krall (www.matiq.com),
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,20 +14,15 @@ 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
 
26
- s.add_development_dependency "bundler"
27
- s.add_development_dependency "rake"
28
24
  s.add_development_dependency "appraisal"
29
25
  s.add_development_dependency "combustion"
30
-
31
26
  s.add_development_dependency "minitest"
32
27
  s.add_development_dependency "sqlite3"
33
28
  end
@@ -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,9 @@
1
1
  # rubocop: disable all
2
2
 
3
3
  module Formie
4
- VERSION = "1.1.0" # 2022-12-18
4
+ VERSION = "1.1.2" # 2023-12-10
5
+ # VERSION = "1.1.1" # 2023-04-17
6
+ # VERSION = "1.1.0" # 2022-12-18
5
7
  # VERSION = "1.0.4" # 2021-06-20
6
8
  # VERSION = "1.0.3" # 2020-07-23
7
9
  # VERSION = "1.0.0" # 2019-09-26
metadata CHANGED
@@ -1,43 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
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: 2022-12-18 00:00:00.000000000 Z
11
+ date: 2023-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
13
  - !ruby/object:Gem::Dependency
42
14
  name: appraisal
43
15
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +81,6 @@ files:
109
81
  - ".gitignore"
110
82
  - ".ruby-gemset"
111
83
  - ".ruby-version"
112
- - ".watchr"
113
84
  - Appraisals
114
85
  - Gemfile
115
86
  - Gemfile.lock
@@ -120,6 +91,7 @@ files:
120
91
  - formie.gemspec
121
92
  - gemfiles/rails_6.1.gemfile
122
93
  - gemfiles/rails_7.0.gemfile
94
+ - gemfiles/rails_7.1.gemfile
123
95
  - lib/formie.rb
124
96
  - lib/formie/engine.rb
125
97
  - lib/formie/version.rb
@@ -154,11 +126,10 @@ files:
154
126
  - test/internal/db/migrate/20141016161801_create_orders.rb
155
127
  - test/internal/db/schema.rb
156
128
  - test/test_helper.rb
157
- homepage: http://matiq.com
129
+ homepage: https://github.com/matique/formie
158
130
  licenses:
159
131
  - MIT
160
- metadata:
161
- source_code_uri: https://github.com/matique/formie
132
+ metadata: {}
162
133
  post_install_message:
163
134
  rdoc_options: []
164
135
  require_paths:
@@ -174,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
145
  - !ruby/object:Gem::Version
175
146
  version: '0'
176
147
  requirements: []
177
- rubygems_version: 3.3.26
148
+ rubygems_version: 3.4.20
178
149
  signing_key:
179
150
  specification_version: 4
180
151
  summary: Formie is like a Rails helper, but uses the notation of a partial.
data/.watchr DELETED
@@ -1,59 +0,0 @@
1
- TESTING = %w[test]
2
- HH = "#" * 22 unless defined?(HH)
3
- H = "#" * 5 unless defined?(H)
4
-
5
- def usage
6
- puts <<-EOS
7
- Ctrl-\\ or ctrl-4 Running all tests
8
- Ctrl-C Exit
9
- EOS
10
- end
11
-
12
- def run(cmd)
13
- puts "#{HH} #{Time.now} #{HH}"
14
- puts "#{H} #{cmd}"
15
- system "/usr/bin/time --format '#{HH} Elapsed time %E' #{cmd}"
16
- end
17
-
18
- def run_it(type, file)
19
- case type
20
- when "test" then run %(bundle exec ruby -I test #{file})
21
- # when 'spec'; run %(rspec -X #{file})
22
- else; puts "#{H} unknown type: #{type}, file: #{file}"
23
- end
24
- end
25
-
26
- def run_all_tests
27
- puts "\n#{HH} Running all tests #{HH}\n"
28
- TESTING.each { |dir| run "bundle exec rake #{dir}" if File.exist?(dir) }
29
- end
30
-
31
- def run_matching_files(base)
32
- base = base.split("_").first
33
- TESTING.each { |type|
34
- files = Dir["#{type}/**/*.rb"].select { |file| file =~ /#{base}_.*.rb/ }
35
- run_it type, files.join(" ") unless files.empty?
36
- }
37
- end
38
-
39
- TESTING.each { |type|
40
- watch("#{type}/#{type}_helper.rb") { run_all_tests }
41
- watch("lib/.*.rb") { run_all_tests }
42
- watch("#{type}/.*/*_#{type}.rb") { |match| run_it type, match[0] }
43
- watch("#{type}/data/(.*).rb") { |match|
44
- m1 = match[1]
45
- run_matching_files("#{type}/#{m1}/#{m1}_#{type}.rb")
46
- }
47
- }
48
-
49
- %w[rb erb haml slim].each { |type|
50
- watch(".*/(.*).#{type}") { |match|
51
- run_matching_files(match[1])
52
- }
53
- }
54
-
55
- # Ctrl-\ or ctrl-4
56
- Signal.trap("QUIT") { run_all_tests }
57
- # Ctrl-C
58
- Signal.trap("INT") { abort("Interrupted\n") }
59
- usage