bp3-formtastic 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +11 -0
- data/CLAUDE.md +65 -0
- data/Gemfile.lock +65 -61
- data/README.md +1 -1
- data/bp3-formtastic.gemspec +1 -1
- data/lib/bp3/formtastic/railtie.rb +0 -2
- data/lib/bp3/formtastic/version.rb +1 -1
- data/lib/bp3/formtastic/viz_form_builder.rb +10 -1
- data/lib/bp3/formtastic.rb +1 -1
- metadata +214 -189
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fd3ffac297d866c0119b0595d1478ac38e17c6c65445e2edd4cfe2e96be22c8
|
|
4
|
+
data.tar.gz: bf2ca8b5eb192ee301bd58b2c7bf3715a61885906c936a9ac7c506a5379ff550
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e339206e6748223caf870725c52dec600662714a12f9ef643a7f6855c4634762490f55e1d23a46cda50757f23b42d7b0bb5076806b3a0b306920752ddfe9647
|
|
7
|
+
data.tar.gz: bd1c14a698a7aff99cc9cf6ee1a676337f42383b437c69a467c2eb24e3a94d6c7443bb3043ec959dda53cffce8bebd124c1fc459a849e96bca86aae102adcc4b
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.3.0] - 2026-11-20
|
|
4
|
+
|
|
5
|
+
- Require Ruby 4.0.10 and update Bundler to 4.1.0
|
|
6
|
+
- Remove constantize memoization
|
|
7
|
+
|
|
8
|
+
## [0.2.3] - 2026-10-28
|
|
9
|
+
|
|
10
|
+
- Ensure tenant and workspace for Vizfact::Input records
|
|
11
|
+
File created input control records under the controller's current site, tenant and workspace
|
|
12
|
+
- Remove a no-op builder id substitution and its UUID_REGEX
|
|
13
|
+
|
|
3
14
|
## [0.2.2] - 2026-01-12
|
|
4
15
|
|
|
5
16
|
- Update gems
|
data/CLAUDE.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
## Project Overview
|
|
6
|
+
|
|
7
|
+
bp3-formtastic adapts `formtastic` for BP3 (persuavis/black_phoebe_3), a multi-site multi-tenant Rails
|
|
8
|
+
application. It lets each site hide individual form inputs, controlled by records of an "input control"
|
|
9
|
+
class (`Vizfact::Input` in the application), keyed by controller, action and field.
|
|
10
|
+
|
|
11
|
+
## Commands
|
|
12
|
+
|
|
13
|
+
The gems run on Ruby 3.4.6 (`.ruby-version`). Prefix commands with `~/.rvm/bin/rvm 3.4.6 do` when the
|
|
14
|
+
shell is not already on it; a missing `rspec` means the wrong Ruby, not a missing bundle.
|
|
15
|
+
|
|
16
|
+
- `bundle exec rake` - specs and RuboCop (the default task)
|
|
17
|
+
- `bundle exec rspec spec/path/to/file_spec.rb[:LINE]` - one file or example
|
|
18
|
+
- `bundle exec rubocop` / `bundle exec rubocop -a`
|
|
19
|
+
- `bin/setup`, `bin/console`, `rake install`
|
|
20
|
+
|
|
21
|
+
## Architecture
|
|
22
|
+
|
|
23
|
+
**VizFormBuilder** (`lib/bp3/formtastic/viz_form_builder.rb`), a `Formtastic::FormBuilder`
|
|
24
|
+
- on initialize, loads the input control records for the controller's `current_site`, controller class and
|
|
25
|
+
action into `vizfacts`
|
|
26
|
+
- `viz(element_name, element_ident)` finds the record matching the field name (`object[attribute]`) or
|
|
27
|
+
DOM id
|
|
28
|
+
|
|
29
|
+
**VizFormBuilderWithCreate** (`viz_form_builder_with_create.rb`)
|
|
30
|
+
- creates a missing record (`show_element: true`) for every input it meets, so operators can then hide it.
|
|
31
|
+
It names `Vizfact::Input` directly. The application uses it outside the test environment
|
|
32
|
+
|
|
33
|
+
**Railtie** (`railtie.rb`), in an `after_initialize` block, only when `Rails.env` is defined
|
|
34
|
+
- prepends `PrependInputs` to `Formtastic::Inputs::Base`. `input_wrapping` renders nothing for the `rqid`
|
|
35
|
+
and `sqnr` columns, and nothing when the matching record has `show_element` false
|
|
36
|
+
- it falls through to formtastic when there is no column, no input control class, or a builder without
|
|
37
|
+
`viz`, so plain formtastic builders are unaffected
|
|
38
|
+
|
|
39
|
+
**Configuration** (`lib/bp3/formtastic.rb`): `Bp3::Formtastic.input_control_class_name`; `.input_control_class`
|
|
40
|
+
constantizes and caches it, and returns nil when unset. The application sets it in
|
|
41
|
+
`config/initializers/bp3-formtastic.rb` and also redefines `input_control_class` in a `to_prepare` block so
|
|
42
|
+
code reloading in development does not leave a stale class. It picks the builder in
|
|
43
|
+
`config/initializers/formtastic.rb`.
|
|
44
|
+
|
|
45
|
+
`lib/bp3/formtastic.rb` requires `action_dispatch` first to avoid an
|
|
46
|
+
`uninitialized constant Rails::Engine::Configuration::ActionDispatch` error when loading formtastic.
|
|
47
|
+
|
|
48
|
+
## Testing
|
|
49
|
+
|
|
50
|
+
The spec only checks the version; the builders and the Railtie need a Rails view context to exercise. Try
|
|
51
|
+
a change against the application (black_phoebe_3) by putting this repo's `lib` ahead of the bundled gem.
|
|
52
|
+
|
|
53
|
+
## Code Style
|
|
54
|
+
|
|
55
|
+
- RuboCop (`.rubocop.yml`): target Ruby 3.2.2, NewCops, rubocop-rake and rubocop-rspec; AbcSize 26,
|
|
56
|
+
MethodLength 15, BlockLength 66, ModuleLength 150; `Lint/ConstantDefinitionInBlock` and `Lint/Void`
|
|
57
|
+
are off for `lib/bp3/**/railtie.rb`, where classes are reopened inside a block
|
|
58
|
+
- Constants holding a regex end in `_REGEX`
|
|
59
|
+
- Every file starts with `# frozen_string_literal: true`
|
|
60
|
+
- American English; no trailing whitespace on any added or modified line
|
|
61
|
+
|
|
62
|
+
## Release
|
|
63
|
+
|
|
64
|
+
Bump `lib/bp3/formtastic/version.rb` and add a `CHANGELOG.md` entry. `rake release` tags, pushes and
|
|
65
|
+
publishes to rubygems.org; leave releasing and committing to the user.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bp3-formtastic (0.
|
|
4
|
+
bp3-formtastic (0.3.0)
|
|
5
5
|
actionpack (~> 8.1)
|
|
6
6
|
actionview (~> 8.1)
|
|
7
7
|
activesupport (~> 8.1)
|
|
@@ -11,9 +11,9 @@ PATH
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
actionpack (8.1.
|
|
15
|
-
actionview (= 8.1.
|
|
16
|
-
activesupport (= 8.1.
|
|
14
|
+
actionpack (8.1.4)
|
|
15
|
+
actionview (= 8.1.4)
|
|
16
|
+
activesupport (= 8.1.4)
|
|
17
17
|
nokogiri (>= 1.8.5)
|
|
18
18
|
rack (>= 2.2.4)
|
|
19
19
|
rack-session (>= 1.0.1)
|
|
@@ -21,13 +21,13 @@ GEM
|
|
|
21
21
|
rails-dom-testing (~> 2.2)
|
|
22
22
|
rails-html-sanitizer (~> 1.6)
|
|
23
23
|
useragent (~> 0.16)
|
|
24
|
-
actionview (8.1.
|
|
25
|
-
activesupport (= 8.1.
|
|
24
|
+
actionview (8.1.4)
|
|
25
|
+
activesupport (= 8.1.4)
|
|
26
26
|
builder (~> 3.1)
|
|
27
27
|
erubi (~> 1.11)
|
|
28
28
|
rails-dom-testing (~> 2.2)
|
|
29
29
|
rails-html-sanitizer (~> 1.6)
|
|
30
|
-
activesupport (8.1.
|
|
30
|
+
activesupport (8.1.4)
|
|
31
31
|
base64
|
|
32
32
|
bigdecimal
|
|
33
33
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -42,54 +42,53 @@ GEM
|
|
|
42
42
|
uri (>= 0.13.1)
|
|
43
43
|
ast (2.4.3)
|
|
44
44
|
base64 (0.3.0)
|
|
45
|
-
bigdecimal (4.
|
|
45
|
+
bigdecimal (4.1.3)
|
|
46
46
|
builder (3.3.0)
|
|
47
|
-
byebug (
|
|
48
|
-
|
|
47
|
+
byebug (13.0.0)
|
|
48
|
+
reline (>= 0.6.0)
|
|
49
|
+
concurrent-ruby (1.3.8)
|
|
49
50
|
connection_pool (3.0.2)
|
|
50
|
-
crass (1.0.
|
|
51
|
-
date (3.5.1)
|
|
51
|
+
crass (1.0.8)
|
|
52
52
|
diff-lcs (1.6.2)
|
|
53
53
|
drb (2.2.3)
|
|
54
|
-
erb (6.0.
|
|
54
|
+
erb (6.0.7)
|
|
55
55
|
erubi (1.13.1)
|
|
56
|
-
formtastic (
|
|
57
|
-
actionpack (>=
|
|
58
|
-
i18n (1.
|
|
56
|
+
formtastic (6.0.0)
|
|
57
|
+
actionpack (>= 7.2.0)
|
|
58
|
+
i18n (1.15.2)
|
|
59
59
|
concurrent-ruby (~> 1.0)
|
|
60
|
-
io-console (0.
|
|
61
|
-
irb (1.
|
|
60
|
+
io-console (0.9.4)
|
|
61
|
+
irb (1.18.0)
|
|
62
62
|
pp (>= 0.6.0)
|
|
63
|
+
prism (>= 1.3.0)
|
|
63
64
|
rdoc (>= 4.0.0)
|
|
64
65
|
reline (>= 0.4.2)
|
|
65
|
-
json (
|
|
66
|
-
language_server-protocol (3.17.0.
|
|
66
|
+
json (3.1.0)
|
|
67
|
+
language_server-protocol (3.17.0.6)
|
|
67
68
|
lint_roller (1.1.0)
|
|
68
69
|
logger (1.7.0)
|
|
69
|
-
loofah (2.25.
|
|
70
|
+
loofah (2.25.2)
|
|
70
71
|
crass (~> 1.0.2)
|
|
71
72
|
nokogiri (>= 1.12.0)
|
|
72
|
-
minitest (6.0.
|
|
73
|
+
minitest (6.0.6)
|
|
74
|
+
drb (~> 2.0)
|
|
73
75
|
prism (~> 1.5)
|
|
74
|
-
nokogiri (1.19.
|
|
76
|
+
nokogiri (1.19.4-x86_64-darwin)
|
|
75
77
|
racc (~> 1.4)
|
|
76
|
-
parallel (
|
|
77
|
-
parser (3.3.
|
|
78
|
+
parallel (2.3.0)
|
|
79
|
+
parser (3.3.13.0)
|
|
78
80
|
ast (~> 2.4.1)
|
|
79
81
|
racc
|
|
80
|
-
pp (0.6.
|
|
82
|
+
pp (0.6.4)
|
|
81
83
|
prettyprint
|
|
82
|
-
prettyprint (0.2.
|
|
83
|
-
prism (1.
|
|
84
|
-
psych (5.3.1)
|
|
85
|
-
date
|
|
86
|
-
stringio
|
|
84
|
+
prettyprint (0.2.1)
|
|
85
|
+
prism (1.9.0)
|
|
87
86
|
racc (1.8.1)
|
|
88
|
-
rack (3.2.
|
|
89
|
-
rack-session (2.1.
|
|
87
|
+
rack (3.2.7)
|
|
88
|
+
rack-session (2.1.2)
|
|
90
89
|
base64 (>= 0.1.0)
|
|
91
90
|
rack (>= 3.0.0)
|
|
92
|
-
rack-test (2.
|
|
91
|
+
rack-test (2.3.0)
|
|
93
92
|
rack (>= 1.3)
|
|
94
93
|
rackup (2.3.1)
|
|
95
94
|
rack (>= 3)
|
|
@@ -97,12 +96,12 @@ GEM
|
|
|
97
96
|
activesupport (>= 5.0.0)
|
|
98
97
|
minitest
|
|
99
98
|
nokogiri (>= 1.6)
|
|
100
|
-
rails-html-sanitizer (1.
|
|
101
|
-
loofah (~> 2.
|
|
99
|
+
rails-html-sanitizer (1.7.1)
|
|
100
|
+
loofah (~> 2.25, >= 2.25.2)
|
|
102
101
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
103
|
-
railties (8.1.
|
|
104
|
-
actionpack (= 8.1.
|
|
105
|
-
activesupport (= 8.1.
|
|
102
|
+
railties (8.1.4)
|
|
103
|
+
actionpack (= 8.1.4)
|
|
104
|
+
activesupport (= 8.1.4)
|
|
106
105
|
irb (~> 1.13)
|
|
107
106
|
rackup (>= 1.0.0)
|
|
108
107
|
rake (>= 12.2)
|
|
@@ -110,13 +109,18 @@ GEM
|
|
|
110
109
|
tsort (>= 0.2)
|
|
111
110
|
zeitwerk (~> 2.6)
|
|
112
111
|
rainbow (3.1.1)
|
|
113
|
-
rake (13.
|
|
114
|
-
|
|
112
|
+
rake (13.4.2)
|
|
113
|
+
rbs (4.2.0)
|
|
114
|
+
logger
|
|
115
|
+
prism (>= 1.6.0)
|
|
116
|
+
tsort
|
|
117
|
+
rdoc (8.1.0)
|
|
115
118
|
erb
|
|
116
|
-
|
|
119
|
+
prism (>= 1.6.0)
|
|
120
|
+
rbs (>= 4.0.0)
|
|
117
121
|
tsort
|
|
118
|
-
regexp_parser (2.
|
|
119
|
-
reline (0.
|
|
122
|
+
regexp_parser (2.13.1)
|
|
123
|
+
reline (0.7.0)
|
|
120
124
|
io-console (~> 0.5)
|
|
121
125
|
rspec (3.13.2)
|
|
122
126
|
rspec-core (~> 3.13.0)
|
|
@@ -127,43 +131,43 @@ GEM
|
|
|
127
131
|
rspec-expectations (3.13.5)
|
|
128
132
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
129
133
|
rspec-support (~> 3.13.0)
|
|
130
|
-
rspec-mocks (3.13.
|
|
134
|
+
rspec-mocks (3.13.8)
|
|
131
135
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
132
136
|
rspec-support (~> 3.13.0)
|
|
133
|
-
rspec-support (3.13.
|
|
134
|
-
rubocop (1.
|
|
135
|
-
json (
|
|
137
|
+
rspec-support (3.13.7)
|
|
138
|
+
rubocop (1.92.1)
|
|
139
|
+
json (>= 2.3)
|
|
136
140
|
language_server-protocol (~> 3.17.0.2)
|
|
137
141
|
lint_roller (~> 1.1.0)
|
|
138
|
-
parallel (
|
|
142
|
+
parallel (>= 1.10)
|
|
139
143
|
parser (>= 3.3.0.2)
|
|
140
144
|
rainbow (>= 2.2.2, < 4.0)
|
|
141
|
-
regexp_parser (>= 2.
|
|
142
|
-
rubocop-ast (>= 1.
|
|
145
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
146
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
143
147
|
ruby-progressbar (~> 1.7)
|
|
144
148
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
145
|
-
rubocop-ast (1.
|
|
149
|
+
rubocop-ast (1.50.0)
|
|
146
150
|
parser (>= 3.3.7.2)
|
|
147
151
|
prism (~> 1.7)
|
|
148
152
|
rubocop-rake (0.7.1)
|
|
149
153
|
lint_roller (~> 1.1)
|
|
150
154
|
rubocop (>= 1.72.1)
|
|
151
|
-
rubocop-rspec (3.
|
|
155
|
+
rubocop-rspec (3.10.2)
|
|
152
156
|
lint_roller (~> 1.1)
|
|
153
|
-
|
|
157
|
+
regexp_parser (>= 2.0)
|
|
158
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
154
159
|
ruby-progressbar (1.13.0)
|
|
155
160
|
securerandom (0.4.1)
|
|
156
|
-
stringio (3.2.0)
|
|
157
161
|
thor (1.5.0)
|
|
158
162
|
tsort (0.2.0)
|
|
159
163
|
tzinfo (2.0.6)
|
|
160
164
|
concurrent-ruby (~> 1.0)
|
|
161
|
-
unicode-display_width (3.
|
|
162
|
-
unicode-emoji (~> 4.
|
|
163
|
-
unicode-emoji (4.
|
|
164
|
-
uri (1.1.
|
|
165
|
+
unicode-display_width (3.3.0)
|
|
166
|
+
unicode-emoji (~> 4.3)
|
|
167
|
+
unicode-emoji (4.3.0)
|
|
168
|
+
uri (1.1.2)
|
|
165
169
|
useragent (0.16.11)
|
|
166
|
-
zeitwerk (2.
|
|
170
|
+
zeitwerk (2.8.3)
|
|
167
171
|
|
|
168
172
|
PLATFORMS
|
|
169
173
|
x86_64-darwin-22
|
|
@@ -180,4 +184,4 @@ DEPENDENCIES
|
|
|
180
184
|
rubocop-rspec (>= 2.25)
|
|
181
185
|
|
|
182
186
|
BUNDLED WITH
|
|
183
|
-
|
|
187
|
+
4.1.0
|
data/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Rails.application.config.after_initialize do
|
|
|
32
32
|
Formtastic::Helpers::FormHelper.builder = Bp3::Formtastic::VizFormBuilder
|
|
33
33
|
end
|
|
34
34
|
```
|
|
35
|
-
Specify `Bp3::
|
|
35
|
+
Specify `Bp3::Formtastic::VizFormBuilderWithCreate` if you want new `Bp3::Formtastic.input_control_class_name`
|
|
36
36
|
records to be added for each form input encountered on a form.
|
|
37
37
|
|
|
38
38
|
## Development
|
data/bp3-formtastic.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
# spec.description = "TODO: Write a longer description or delete this line."
|
|
13
13
|
spec.homepage = 'https://www.black-phoebe.com'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
|
-
spec.required_ruby_version = '>=
|
|
15
|
+
spec.required_ruby_version = '>= 4.0.10'
|
|
16
16
|
|
|
17
17
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
18
18
|
|
|
@@ -10,7 +10,6 @@ module Bp3
|
|
|
10
10
|
module ::Formtastic
|
|
11
11
|
module Inputs
|
|
12
12
|
EXCLUDED_COLUMNS = %w[rqid sqnr].freeze
|
|
13
|
-
UUID_REGEX = /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/
|
|
14
13
|
|
|
15
14
|
# PrependInputs provides formtastic input overrides
|
|
16
15
|
module PrependInputs
|
|
@@ -20,7 +19,6 @@ module Bp3
|
|
|
20
19
|
return super unless builder.respond_to?(:viz)
|
|
21
20
|
return nil if column.name.in?(EXCLUDED_COLUMNS)
|
|
22
21
|
|
|
23
|
-
builder.id&.gsub(/_#{UUID_REGEX}/, '')
|
|
24
22
|
viz = builder.viz(field_name, dom_id)
|
|
25
23
|
return nil if viz.present? && !viz.show_element
|
|
26
24
|
|
|
@@ -27,8 +27,14 @@ module Bp3
|
|
|
27
27
|
|
|
28
28
|
private
|
|
29
29
|
|
|
30
|
+
# Filed under the site load_vizfacts reads from, so the next render finds the record, and under
|
|
31
|
+
# that site's tenant and workspace. Left to the model's defaults, a page acting on a target site
|
|
32
|
+
# would take its site, tenant or workspace from the target instead.
|
|
30
33
|
def vizfact_attrs(element_name, element_ident)
|
|
31
34
|
{
|
|
35
|
+
sites_site: site,
|
|
36
|
+
tenant: template.controller.send(:current_tenant),
|
|
37
|
+
workspaces_workspace: template.controller.send(:current_workspace),
|
|
32
38
|
element_controller: template.controller.class.name,
|
|
33
39
|
element_action: template.controller.action_name,
|
|
34
40
|
element_name:,
|
|
@@ -40,13 +46,16 @@ module Bp3
|
|
|
40
46
|
def load_vizfacts
|
|
41
47
|
return if input_control_class.nil?
|
|
42
48
|
|
|
43
|
-
site = template.controller.send(:current_site)
|
|
44
49
|
controller = template.controller.class.name
|
|
45
50
|
action = template.controller.action_name
|
|
46
51
|
@vizfacts = input_control_class.where(sites_site: site, element_controller: controller,
|
|
47
52
|
element_action: action).to_a
|
|
48
53
|
end
|
|
49
54
|
|
|
55
|
+
def site
|
|
56
|
+
@site ||= template.controller.send(:current_site)
|
|
57
|
+
end
|
|
58
|
+
|
|
50
59
|
def input_control_class
|
|
51
60
|
Bp3::Formtastic.input_control_class
|
|
52
61
|
end
|
data/lib/bp3/formtastic.rb
CHANGED
metadata
CHANGED
|
@@ -1,215 +1,240 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bp3-formtastic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Wim den Braven
|
|
7
|
+
- Wim den Braven
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- !ruby/object:Gem::
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
- !ruby/object:Gem::
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
- !ruby/object:Gem::Dependency
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
- !ruby/object:Gem::
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: actionpack
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
-
|
|
17
|
+
- ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: "8.1"
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
-
|
|
25
|
+
- ~>
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: "8.1"
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: actionview
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
-
|
|
33
|
+
- ~>
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: "8.1"
|
|
36
|
+
type: :runtime
|
|
37
|
+
prerelease: false
|
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
-
|
|
41
|
+
- ~>
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: "8.1"
|
|
44
|
+
- !ruby/object:Gem::Dependency
|
|
45
|
+
name: activesupport
|
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
-
|
|
49
|
+
- ~>
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: "8.1"
|
|
52
|
+
type: :runtime
|
|
53
|
+
prerelease: false
|
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
-
|
|
57
|
+
- ~>
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: "8.1"
|
|
60
|
+
- !ruby/object:Gem::Dependency
|
|
61
|
+
name: formtastic
|
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
-
|
|
65
|
+
- ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: "5.0"
|
|
68
|
+
type: :runtime
|
|
69
|
+
prerelease: false
|
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
-
|
|
73
|
+
- ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: "5.0"
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
name: railties
|
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
-
|
|
81
|
+
- ~>
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: "8.1"
|
|
84
|
+
type: :runtime
|
|
85
|
+
prerelease: false
|
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
-
|
|
89
|
+
- ~>
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: "8.1"
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: byebug
|
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
-
|
|
97
|
+
- ">="
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: "0"
|
|
100
|
+
type: :development
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
-
|
|
105
|
+
- ">="
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: "0"
|
|
108
|
+
- !ruby/object:Gem::Dependency
|
|
109
|
+
name: rake
|
|
110
|
+
requirement: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
-
|
|
113
|
+
- ">="
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: "13.0"
|
|
116
|
+
type: :development
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
-
|
|
121
|
+
- ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: "13.0"
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: rspec
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
-
|
|
129
|
+
- ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: "3.0"
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
-
|
|
137
|
+
- ">="
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: "3.0"
|
|
140
|
+
- !ruby/object:Gem::Dependency
|
|
141
|
+
name: rubocop
|
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
-
|
|
145
|
+
- ">="
|
|
146
|
+
- !ruby/object:Gem::Version
|
|
147
|
+
version: "1.21"
|
|
148
|
+
type: :development
|
|
149
|
+
prerelease: false
|
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
151
|
+
requirements:
|
|
152
|
+
-
|
|
153
|
+
- ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: "1.21"
|
|
156
|
+
- !ruby/object:Gem::Dependency
|
|
157
|
+
name: rubocop-rake
|
|
158
|
+
requirement: !ruby/object:Gem::Requirement
|
|
159
|
+
requirements:
|
|
160
|
+
-
|
|
161
|
+
- ">="
|
|
162
|
+
- !ruby/object:Gem::Version
|
|
163
|
+
version: "0.6"
|
|
164
|
+
type: :development
|
|
165
|
+
prerelease: false
|
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
167
|
+
requirements:
|
|
168
|
+
-
|
|
169
|
+
- ">="
|
|
170
|
+
- !ruby/object:Gem::Version
|
|
171
|
+
version: "0.6"
|
|
172
|
+
- !ruby/object:Gem::Dependency
|
|
173
|
+
name: rubocop-rspec
|
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
|
175
|
+
requirements:
|
|
176
|
+
-
|
|
177
|
+
- ">="
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: "2.25"
|
|
180
|
+
type: :development
|
|
181
|
+
prerelease: false
|
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
-
|
|
185
|
+
- ">="
|
|
186
|
+
- !ruby/object:Gem::Version
|
|
187
|
+
version: "2.25"
|
|
166
188
|
email:
|
|
167
|
-
- wimdenbraven@persuavis.com
|
|
189
|
+
- wimdenbraven@persuavis.com
|
|
168
190
|
executables: []
|
|
169
191
|
extensions: []
|
|
170
192
|
extra_rdoc_files: []
|
|
171
193
|
files:
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
- CHANGELOG.md
|
|
176
|
-
-
|
|
177
|
-
- Gemfile
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
- lib/bp3
|
|
184
|
-
- lib/bp3/formtastic
|
|
185
|
-
- lib/bp3/formtastic/
|
|
186
|
-
- lib/bp3/formtastic/
|
|
187
|
-
- lib/bp3/formtastic/
|
|
188
|
-
-
|
|
189
|
-
|
|
194
|
+
- .rspec
|
|
195
|
+
- .rubocop.yml
|
|
196
|
+
- .yardopts
|
|
197
|
+
- CHANGELOG.md
|
|
198
|
+
- CLAUDE.md
|
|
199
|
+
- Gemfile
|
|
200
|
+
- Gemfile.lock
|
|
201
|
+
- LICENSE.txt
|
|
202
|
+
- README.md
|
|
203
|
+
- Rakefile
|
|
204
|
+
- bp3-formtastic.gemspec
|
|
205
|
+
- lib/bp3-formtastic.rb
|
|
206
|
+
- lib/bp3/formtastic.rb
|
|
207
|
+
- lib/bp3/formtastic/railtie.rb
|
|
208
|
+
- lib/bp3/formtastic/version.rb
|
|
209
|
+
- lib/bp3/formtastic/viz_form_builder.rb
|
|
210
|
+
- lib/bp3/formtastic/viz_form_builder_with_create.rb
|
|
211
|
+
- sig/bp3/formtastic.rbs
|
|
212
|
+
homepage: "https://www.black-phoebe.com"
|
|
190
213
|
licenses:
|
|
191
|
-
- MIT
|
|
214
|
+
- MIT
|
|
192
215
|
metadata:
|
|
193
|
-
allowed_push_host: https://rubygems.org
|
|
194
|
-
homepage_uri: https://www.black-phoebe.com
|
|
195
|
-
source_code_uri: https://github.com/persuavis/bp3-formtastic
|
|
196
|
-
changelog_uri: https://github.com/persuavis/bp3-formtastic/blob/main/CHANGELOG.md
|
|
197
|
-
rubygems_mfa_required:
|
|
216
|
+
allowed_push_host: "https://rubygems.org"
|
|
217
|
+
homepage_uri: "https://www.black-phoebe.com"
|
|
218
|
+
source_code_uri: "https://github.com/persuavis/bp3-formtastic"
|
|
219
|
+
changelog_uri: "https://github.com/persuavis/bp3-formtastic/blob/main/CHANGELOG.md"
|
|
220
|
+
rubygems_mfa_required: "true"
|
|
198
221
|
rdoc_options: []
|
|
199
222
|
require_paths:
|
|
200
|
-
- lib
|
|
223
|
+
- lib
|
|
201
224
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
225
|
requirements:
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
226
|
+
-
|
|
227
|
+
- ">="
|
|
228
|
+
- !ruby/object:Gem::Version
|
|
229
|
+
version: 4.0.10
|
|
206
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
231
|
requirements:
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
232
|
+
-
|
|
233
|
+
- ">="
|
|
234
|
+
- !ruby/object:Gem::Version
|
|
235
|
+
version: "0"
|
|
211
236
|
requirements: []
|
|
212
|
-
rubygems_version:
|
|
237
|
+
rubygems_version: 4.1.0
|
|
213
238
|
specification_version: 4
|
|
214
239
|
summary: bp3-formtastic adapts formtastic for BP3 (persuavis/black_phoebe_3).
|
|
215
240
|
test_files: []
|