lite-form 1.0.5 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -11
- data/.travis.yml +1 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +85 -69
- data/lib/lite/form/version.rb +1 -1
- data/lite-form.gemspec +2 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 586b7faedfe8c9173df9f3ed5a3190e182df29464beef8aaa50d416bbd0ddfea
|
4
|
+
data.tar.gz: f04200d3a486afc90c0971c0d6b8ef493d6a6015eaa7c0b795fbf3c9b3abbeb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b6c37f2dcfd4ff626f610b673b8597f09f1a389d0ce6f1e16097e926160baf34e160d8d90e49cf7a54c37ff95e8a6d6e56a833f82fcb817a13dbae44253f257
|
7
|
+
data.tar.gz: ae9667fed2747f42a888d625f8333177d554001a7c30b7e014523df0aa29d205158d707cf4d388e36dea12e4e61e9eea1ee0637deadbffd32fb4af0626dc7964
|
data/.rubocop.yml
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-performance
|
3
|
+
- rubocop-rake
|
3
4
|
- rubocop-rspec
|
4
5
|
AllCops:
|
5
|
-
TargetRubyVersion:
|
6
|
+
TargetRubyVersion: 3.0
|
7
|
+
NewCops: enable
|
6
8
|
DisplayCopNames: true
|
7
9
|
DisplayStyleGuide: true
|
10
|
+
Gemspec/RequiredRubyVersion:
|
11
|
+
Enabled: false
|
8
12
|
Layout/EmptyLinesAroundAttributeAccessor:
|
9
13
|
Enabled: true
|
10
14
|
Layout/EmptyLinesAroundBlockBody:
|
@@ -32,17 +36,9 @@ RSpec/ExampleLength:
|
|
32
36
|
Enabled: false
|
33
37
|
RSpec/MultipleExpectations:
|
34
38
|
Enabled: false
|
39
|
+
Style/ArgumentsForwarding:
|
40
|
+
Enabled: false
|
35
41
|
Style/Documentation:
|
36
42
|
Enabled: false
|
37
43
|
Style/ExpandPathArguments:
|
38
44
|
Enabled: false
|
39
|
-
Style/ExponentialNotation:
|
40
|
-
Enabled: true
|
41
|
-
Style/HashEachMethods:
|
42
|
-
Enabled: true
|
43
|
-
Style/HashTransformKeys:
|
44
|
-
Enabled: true
|
45
|
-
Style/HashTransformValues:
|
46
|
-
Enabled: true
|
47
|
-
Style/SlicingWithRange:
|
48
|
-
Enabled: false
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,8 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.1.0] - 2021-07-19
|
10
|
+
### Added
|
11
|
+
- Added Ruby 3.0 support
|
12
|
+
|
9
13
|
## [1.0.5] - 2020-05-20
|
10
14
|
### Added
|
15
|
+
- Added ruby 2.7 support
|
11
16
|
- Added save args
|
12
17
|
- Added more callback support
|
13
18
|
### Removed
|
data/Gemfile.lock
CHANGED
@@ -1,64 +1,71 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-form (1.0
|
4
|
+
lite-form (1.1.0)
|
5
5
|
activemodel
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (6.
|
11
|
-
actionview (= 6.
|
12
|
-
activesupport (= 6.
|
13
|
-
rack (~> 2.0, >= 2.0.
|
10
|
+
actionpack (6.1.4)
|
11
|
+
actionview (= 6.1.4)
|
12
|
+
activesupport (= 6.1.4)
|
13
|
+
rack (~> 2.0, >= 2.0.9)
|
14
14
|
rack-test (>= 0.6.3)
|
15
15
|
rails-dom-testing (~> 2.0)
|
16
16
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
17
|
-
actionview (6.
|
18
|
-
activesupport (= 6.
|
17
|
+
actionview (6.1.4)
|
18
|
+
activesupport (= 6.1.4)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
22
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
23
|
-
activemodel (6.
|
24
|
-
activesupport (= 6.
|
25
|
-
activerecord (6.
|
26
|
-
activemodel (= 6.
|
27
|
-
activesupport (= 6.
|
28
|
-
activesupport (6.
|
23
|
+
activemodel (6.1.4)
|
24
|
+
activesupport (= 6.1.4)
|
25
|
+
activerecord (6.1.4)
|
26
|
+
activemodel (= 6.1.4)
|
27
|
+
activesupport (= 6.1.4)
|
28
|
+
activesupport (6.1.4)
|
29
29
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
30
|
-
i18n (>=
|
31
|
-
minitest (
|
32
|
-
tzinfo (~>
|
33
|
-
zeitwerk (~> 2.
|
34
|
-
ast (2.4.
|
30
|
+
i18n (>= 1.6, < 2)
|
31
|
+
minitest (>= 5.1)
|
32
|
+
tzinfo (~> 2.0)
|
33
|
+
zeitwerk (~> 2.3)
|
34
|
+
ast (2.4.2)
|
35
35
|
builder (3.2.4)
|
36
36
|
colorize (0.8.1)
|
37
|
-
concurrent-ruby (1.1.
|
37
|
+
concurrent-ruby (1.1.9)
|
38
38
|
crass (1.0.6)
|
39
|
-
database_cleaner (
|
40
|
-
|
41
|
-
|
42
|
-
|
39
|
+
database_cleaner (2.0.1)
|
40
|
+
database_cleaner-active_record (~> 2.0.0)
|
41
|
+
database_cleaner-active_record (2.0.1)
|
42
|
+
activerecord (>= 5.a)
|
43
|
+
database_cleaner-core (~> 2.0.0)
|
44
|
+
database_cleaner-core (2.0.1)
|
45
|
+
diff-lcs (1.4.4)
|
46
|
+
erubi (1.10.0)
|
47
|
+
fasterer (0.9.0)
|
43
48
|
colorize (~> 0.7)
|
44
49
|
ruby_parser (>= 3.14.1)
|
45
50
|
generator_spec (0.9.4)
|
46
51
|
activesupport (>= 3.0.0)
|
47
52
|
railties (>= 3.0.0)
|
48
|
-
i18n (1.8.
|
53
|
+
i18n (1.8.10)
|
49
54
|
concurrent-ruby (~> 1.0)
|
50
|
-
loofah (2.
|
55
|
+
loofah (2.10.0)
|
51
56
|
crass (~> 1.0.2)
|
52
57
|
nokogiri (>= 1.5.9)
|
53
58
|
method_source (1.0.0)
|
54
|
-
mini_portile2 (2.
|
55
|
-
minitest (5.14.
|
56
|
-
nokogiri (1.
|
57
|
-
mini_portile2 (~> 2.
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
59
|
+
mini_portile2 (2.5.3)
|
60
|
+
minitest (5.14.4)
|
61
|
+
nokogiri (1.11.7)
|
62
|
+
mini_portile2 (~> 2.5.0)
|
63
|
+
racc (~> 1.4)
|
64
|
+
parallel (1.20.1)
|
65
|
+
parser (3.0.2.0)
|
66
|
+
ast (~> 2.4.1)
|
67
|
+
racc (1.5.2)
|
68
|
+
rack (2.2.3)
|
62
69
|
rack-test (1.1.0)
|
63
70
|
rack (>= 1.0, < 3)
|
64
71
|
rails-dom-testing (2.0.3)
|
@@ -66,50 +73,58 @@ GEM
|
|
66
73
|
nokogiri (>= 1.6)
|
67
74
|
rails-html-sanitizer (1.3.0)
|
68
75
|
loofah (~> 2.3)
|
69
|
-
railties (6.
|
70
|
-
actionpack (= 6.
|
71
|
-
activesupport (= 6.
|
76
|
+
railties (6.1.4)
|
77
|
+
actionpack (= 6.1.4)
|
78
|
+
activesupport (= 6.1.4)
|
72
79
|
method_source
|
73
|
-
rake (>= 0.
|
74
|
-
thor (
|
80
|
+
rake (>= 0.13)
|
81
|
+
thor (~> 1.0)
|
75
82
|
rainbow (3.0.0)
|
76
|
-
rake (13.0.
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
rspec-
|
81
|
-
rspec-
|
82
|
-
|
83
|
-
|
84
|
-
|
83
|
+
rake (13.0.6)
|
84
|
+
regexp_parser (2.1.1)
|
85
|
+
rexml (3.2.5)
|
86
|
+
rspec (3.10.0)
|
87
|
+
rspec-core (~> 3.10.0)
|
88
|
+
rspec-expectations (~> 3.10.0)
|
89
|
+
rspec-mocks (~> 3.10.0)
|
90
|
+
rspec-core (3.10.1)
|
91
|
+
rspec-support (~> 3.10.0)
|
92
|
+
rspec-expectations (3.10.1)
|
85
93
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
-
rspec-support (~> 3.
|
87
|
-
rspec-mocks (3.
|
94
|
+
rspec-support (~> 3.10.0)
|
95
|
+
rspec-mocks (3.10.2)
|
88
96
|
diff-lcs (>= 1.2.0, < 2.0)
|
89
|
-
rspec-support (~> 3.
|
90
|
-
rspec-support (3.
|
91
|
-
rubocop (
|
97
|
+
rspec-support (~> 3.10.0)
|
98
|
+
rspec-support (3.10.2)
|
99
|
+
rubocop (1.18.3)
|
92
100
|
parallel (~> 1.10)
|
93
|
-
parser (>=
|
101
|
+
parser (>= 3.0.0.0)
|
94
102
|
rainbow (>= 2.2.2, < 4.0)
|
103
|
+
regexp_parser (>= 1.8, < 3.0)
|
95
104
|
rexml
|
105
|
+
rubocop-ast (>= 1.7.0, < 2.0)
|
96
106
|
ruby-progressbar (~> 1.7)
|
97
|
-
unicode-display_width (>= 1.4.0, <
|
98
|
-
rubocop-
|
99
|
-
|
100
|
-
rubocop-
|
101
|
-
rubocop (>= 0.
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
107
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
108
|
+
rubocop-ast (1.8.0)
|
109
|
+
parser (>= 3.0.1.1)
|
110
|
+
rubocop-performance (1.11.4)
|
111
|
+
rubocop (>= 1.7.0, < 2.0)
|
112
|
+
rubocop-ast (>= 0.4.0)
|
113
|
+
rubocop-rake (0.6.0)
|
114
|
+
rubocop (~> 1.0)
|
115
|
+
rubocop-rspec (2.4.0)
|
116
|
+
rubocop (~> 1.0)
|
117
|
+
rubocop-ast (>= 1.1.0)
|
118
|
+
ruby-progressbar (1.11.0)
|
119
|
+
ruby_parser (3.16.0)
|
120
|
+
sexp_processor (~> 4.15, >= 4.15.1)
|
121
|
+
sexp_processor (4.15.3)
|
106
122
|
sqlite3 (1.4.2)
|
107
|
-
thor (1.0
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
zeitwerk (2.3.0)
|
123
|
+
thor (1.1.0)
|
124
|
+
tzinfo (2.0.4)
|
125
|
+
concurrent-ruby (~> 1.0)
|
126
|
+
unicode-display_width (2.0.0)
|
127
|
+
zeitwerk (2.4.2)
|
113
128
|
|
114
129
|
PLATFORMS
|
115
130
|
ruby
|
@@ -125,8 +140,9 @@ DEPENDENCIES
|
|
125
140
|
rspec
|
126
141
|
rubocop
|
127
142
|
rubocop-performance
|
143
|
+
rubocop-rake
|
128
144
|
rubocop-rspec
|
129
145
|
sqlite3
|
130
146
|
|
131
147
|
BUNDLED WITH
|
132
|
-
2.
|
148
|
+
2.2.24
|
data/lib/lite/form/version.rb
CHANGED
data/lite-form.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
)
|
26
26
|
else
|
27
27
|
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
28
|
-
|
28
|
+
'public gem pushes.'
|
29
29
|
end
|
30
30
|
|
31
31
|
# Specify which files should be added to the gem when it is released.
|
@@ -48,6 +48,7 @@ Gem::Specification.new do |spec|
|
|
48
48
|
spec.add_development_dependency 'rspec'
|
49
49
|
spec.add_development_dependency 'rubocop'
|
50
50
|
spec.add_development_dependency 'rubocop-performance'
|
51
|
+
spec.add_development_dependency 'rubocop-rake'
|
51
52
|
spec.add_development_dependency 'rubocop-rspec'
|
52
53
|
spec.add_development_dependency 'sqlite3'
|
53
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop-rake
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: rubocop-rspec
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,7 +192,7 @@ dependencies:
|
|
178
192
|
- - ">="
|
179
193
|
- !ruby/object:Gem::Version
|
180
194
|
version: '0'
|
181
|
-
description:
|
195
|
+
description:
|
182
196
|
email:
|
183
197
|
- j.gomez@drexed.com
|
184
198
|
executables: []
|
@@ -216,7 +230,7 @@ homepage: http://drexed.github.io/lite-form
|
|
216
230
|
licenses:
|
217
231
|
- MIT
|
218
232
|
metadata: {}
|
219
|
-
post_install_message:
|
233
|
+
post_install_message:
|
220
234
|
rdoc_options: []
|
221
235
|
require_paths:
|
222
236
|
- lib
|
@@ -231,8 +245,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
245
|
- !ruby/object:Gem::Version
|
232
246
|
version: '0'
|
233
247
|
requirements: []
|
234
|
-
rubygems_version: 3.
|
235
|
-
signing_key:
|
248
|
+
rubygems_version: 3.2.24
|
249
|
+
signing_key:
|
236
250
|
specification_version: 4
|
237
251
|
summary: Ruby Form based framework (aka form objects)
|
238
252
|
test_files: []
|