formify 0.22.6 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +66 -50
- data/lib/formify/spec_helpers.rb +2 -2
- data/lib/formify/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: c887c8a776ab984f94b1d64c73d7e28779de34e709c3ef4cebef4665d2801971
|
4
|
+
data.tar.gz: 6af09d75c4c709ab41799e8f0c2c6565c0cf6b3665b99f43755d9118805a6094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 771ef430abf27a4bde2b7b3aace33d0a368e52a21f9b9e4552d392393a904b41db2dbd48a8474ffebb8e074d18cb43947afd953c54ff4c36652a0adb73c6193b
|
7
|
+
data.tar.gz: baa59bc4615e19dcb326b6b82ae46f4a546bdaa683f6e6c51b81e6ac38395f5e23ef9d06537f98fa377e20319c0c02af0c10a5787fc8cddd25459c9803b5811f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
formify (0.
|
4
|
+
formify (0.23.0)
|
5
5
|
rails
|
6
6
|
resonad
|
7
7
|
with_advisory_lock
|
@@ -9,48 +9,61 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (
|
13
|
-
actionpack (=
|
12
|
+
actioncable (6.0.0)
|
13
|
+
actionpack (= 6.0.0)
|
14
14
|
nio4r (~> 2.0)
|
15
15
|
websocket-driver (>= 0.6.1)
|
16
|
-
|
17
|
-
actionpack (=
|
18
|
-
|
19
|
-
|
16
|
+
actionmailbox (6.0.0)
|
17
|
+
actionpack (= 6.0.0)
|
18
|
+
activejob (= 6.0.0)
|
19
|
+
activerecord (= 6.0.0)
|
20
|
+
activestorage (= 6.0.0)
|
21
|
+
activesupport (= 6.0.0)
|
22
|
+
mail (>= 2.7.1)
|
23
|
+
actionmailer (6.0.0)
|
24
|
+
actionpack (= 6.0.0)
|
25
|
+
actionview (= 6.0.0)
|
26
|
+
activejob (= 6.0.0)
|
20
27
|
mail (~> 2.5, >= 2.5.4)
|
21
28
|
rails-dom-testing (~> 2.0)
|
22
|
-
actionpack (
|
23
|
-
actionview (=
|
24
|
-
activesupport (=
|
29
|
+
actionpack (6.0.0)
|
30
|
+
actionview (= 6.0.0)
|
31
|
+
activesupport (= 6.0.0)
|
25
32
|
rack (~> 2.0)
|
26
33
|
rack-test (>= 0.6.3)
|
27
34
|
rails-dom-testing (~> 2.0)
|
28
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
29
|
-
|
30
|
-
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
+
actiontext (6.0.0)
|
37
|
+
actionpack (= 6.0.0)
|
38
|
+
activerecord (= 6.0.0)
|
39
|
+
activestorage (= 6.0.0)
|
40
|
+
activesupport (= 6.0.0)
|
41
|
+
nokogiri (>= 1.8.5)
|
42
|
+
actionview (6.0.0)
|
43
|
+
activesupport (= 6.0.0)
|
31
44
|
builder (~> 3.1)
|
32
45
|
erubi (~> 1.4)
|
33
46
|
rails-dom-testing (~> 2.0)
|
34
|
-
rails-html-sanitizer (~> 1.
|
35
|
-
activejob (
|
36
|
-
activesupport (=
|
47
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
+
activejob (6.0.0)
|
49
|
+
activesupport (= 6.0.0)
|
37
50
|
globalid (>= 0.3.6)
|
38
|
-
activemodel (
|
39
|
-
activesupport (=
|
40
|
-
activerecord (
|
41
|
-
activemodel (=
|
42
|
-
activesupport (=
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
activerecord (=
|
51
|
+
activemodel (6.0.0)
|
52
|
+
activesupport (= 6.0.0)
|
53
|
+
activerecord (6.0.0)
|
54
|
+
activemodel (= 6.0.0)
|
55
|
+
activesupport (= 6.0.0)
|
56
|
+
activestorage (6.0.0)
|
57
|
+
actionpack (= 6.0.0)
|
58
|
+
activejob (= 6.0.0)
|
59
|
+
activerecord (= 6.0.0)
|
47
60
|
marcel (~> 0.3.1)
|
48
|
-
activesupport (
|
61
|
+
activesupport (6.0.0)
|
49
62
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
50
63
|
i18n (>= 0.7, < 2)
|
51
64
|
minitest (~> 5.1)
|
52
65
|
tzinfo (~> 1.1)
|
53
|
-
|
66
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
54
67
|
builder (3.2.3)
|
55
68
|
concurrent-ruby (1.1.5)
|
56
69
|
coveralls (0.8.23)
|
@@ -62,13 +75,13 @@ GEM
|
|
62
75
|
crass (1.0.4)
|
63
76
|
diff-lcs (1.3)
|
64
77
|
docile (1.3.2)
|
65
|
-
erubi (1.
|
78
|
+
erubi (1.9.0)
|
66
79
|
globalid (0.4.2)
|
67
80
|
activesupport (>= 4.2.0)
|
68
81
|
i18n (1.6.0)
|
69
82
|
concurrent-ruby (~> 1.0)
|
70
83
|
json (2.2.0)
|
71
|
-
loofah (2.
|
84
|
+
loofah (2.3.0)
|
72
85
|
crass (~> 1.0.2)
|
73
86
|
nokogiri (>= 1.5.9)
|
74
87
|
mail (2.7.1)
|
@@ -79,37 +92,39 @@ GEM
|
|
79
92
|
mimemagic (0.3.3)
|
80
93
|
mini_mime (1.0.2)
|
81
94
|
mini_portile2 (2.4.0)
|
82
|
-
minitest (5.
|
83
|
-
nio4r (2.
|
84
|
-
nokogiri (1.10.
|
95
|
+
minitest (5.12.1)
|
96
|
+
nio4r (2.5.2)
|
97
|
+
nokogiri (1.10.4)
|
85
98
|
mini_portile2 (~> 2.4.0)
|
86
99
|
rack (2.0.7)
|
87
100
|
rack-test (1.1.0)
|
88
101
|
rack (>= 1.0, < 3)
|
89
|
-
rails (
|
90
|
-
actioncable (=
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
102
|
+
rails (6.0.0)
|
103
|
+
actioncable (= 6.0.0)
|
104
|
+
actionmailbox (= 6.0.0)
|
105
|
+
actionmailer (= 6.0.0)
|
106
|
+
actionpack (= 6.0.0)
|
107
|
+
actiontext (= 6.0.0)
|
108
|
+
actionview (= 6.0.0)
|
109
|
+
activejob (= 6.0.0)
|
110
|
+
activemodel (= 6.0.0)
|
111
|
+
activerecord (= 6.0.0)
|
112
|
+
activestorage (= 6.0.0)
|
113
|
+
activesupport (= 6.0.0)
|
99
114
|
bundler (>= 1.3.0)
|
100
|
-
railties (=
|
115
|
+
railties (= 6.0.0)
|
101
116
|
sprockets-rails (>= 2.0.0)
|
102
117
|
rails-dom-testing (2.0.3)
|
103
118
|
activesupport (>= 4.2.0)
|
104
119
|
nokogiri (>= 1.6)
|
105
|
-
rails-html-sanitizer (1.0
|
120
|
+
rails-html-sanitizer (1.2.0)
|
106
121
|
loofah (~> 2.2, >= 2.2.2)
|
107
|
-
railties (
|
108
|
-
actionpack (=
|
109
|
-
activesupport (=
|
122
|
+
railties (6.0.0)
|
123
|
+
actionpack (= 6.0.0)
|
124
|
+
activesupport (= 6.0.0)
|
110
125
|
method_source
|
111
126
|
rake (>= 0.8.7)
|
112
|
-
thor (>= 0.
|
127
|
+
thor (>= 0.20.3, < 2.0)
|
113
128
|
rake (10.5.0)
|
114
129
|
resonad (1.2.0)
|
115
130
|
rspec (3.8.0)
|
@@ -147,8 +162,9 @@ GEM
|
|
147
162
|
websocket-driver (0.7.1)
|
148
163
|
websocket-extensions (>= 0.1.0)
|
149
164
|
websocket-extensions (0.1.4)
|
150
|
-
with_advisory_lock (4.
|
165
|
+
with_advisory_lock (4.6.0)
|
151
166
|
activerecord (>= 4.2)
|
167
|
+
zeitwerk (2.1.10)
|
152
168
|
|
153
169
|
PLATFORMS
|
154
170
|
ruby
|
@@ -161,4 +177,4 @@ DEPENDENCIES
|
|
161
177
|
rspec (~> 3.0)
|
162
178
|
|
163
179
|
BUNDLED WITH
|
164
|
-
2.0.
|
180
|
+
2.0.2
|
data/lib/formify/spec_helpers.rb
CHANGED
@@ -39,9 +39,9 @@ module Formify
|
|
39
39
|
expect(error.attribute.try(:to_sym)).to eq(attribute.to_sym)
|
40
40
|
end
|
41
41
|
|
42
|
-
def expect_error_with_attribute_value(attribute, value, message: nil)
|
42
|
+
def expect_error_with_attribute_value(attribute, value, error_attribute: nil, message: nil)
|
43
43
|
initialized_form.send("#{attribute}=", value)
|
44
|
-
expect_error_with_attribute(attribute)
|
44
|
+
expect_error_with_attribute(error_attribute || attribute)
|
45
45
|
expect_error_message(message) if message
|
46
46
|
end
|
47
47
|
|
data/lib/formify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Jackson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
|
-
rubygems_version: 3.0.
|
164
|
+
rubygems_version: 3.0.4
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: Formify gives structure to using form objects in a Rails project.
|