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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f6348e50f8c224acb7db926a6e68cdaee3e317fae28c4976d775de547679c0c
4
- data.tar.gz: de5fb7c924d72a17a3e7d75c09ec45a0c68b3d7ac3f0491398b62ae5df1ed416
3
+ metadata.gz: 586b7faedfe8c9173df9f3ed5a3190e182df29464beef8aaa50d416bbd0ddfea
4
+ data.tar.gz: f04200d3a486afc90c0971c0d6b8ef493d6a6015eaa7c0b795fbf3c9b3abbeb3
5
5
  SHA512:
6
- metadata.gz: '058745e0775a9d844551ae3df8913046cdb402bccfec011c089798c16ed5cee54c5bba3fa5368f8949d0ec1e13622365b9cc0945ced0301122b51f406c169b16'
7
- data.tar.gz: e1538f82e2fdc246b9ff679bf304e7d5f5718c3127941381b3b7fd417405e5bdef3bd4d8f19583c404cf0bf8be5aa081f87be31420a15b2b07d5a7b14fbeeda9
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: 2.6
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
@@ -4,6 +4,7 @@ cache: bundler
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  - ruby-head
8
9
  matrix:
9
10
  fast_finish: true
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.5)
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.0.3.1)
11
- actionview (= 6.0.3.1)
12
- activesupport (= 6.0.3.1)
13
- rack (~> 2.0, >= 2.0.8)
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.0.3.1)
18
- activesupport (= 6.0.3.1)
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.0.3.1)
24
- activesupport (= 6.0.3.1)
25
- activerecord (6.0.3.1)
26
- activemodel (= 6.0.3.1)
27
- activesupport (= 6.0.3.1)
28
- activesupport (6.0.3.1)
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 (>= 0.7, < 2)
31
- minitest (~> 5.1)
32
- tzinfo (~> 1.1)
33
- zeitwerk (~> 2.2, >= 2.2.2)
34
- ast (2.4.0)
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.6)
37
+ concurrent-ruby (1.1.9)
38
38
  crass (1.0.6)
39
- database_cleaner (1.8.5)
40
- diff-lcs (1.3)
41
- erubi (1.9.0)
42
- fasterer (0.8.3)
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.2)
53
+ i18n (1.8.10)
49
54
  concurrent-ruby (~> 1.0)
50
- loofah (2.5.0)
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.4.0)
55
- minitest (5.14.1)
56
- nokogiri (1.10.9)
57
- mini_portile2 (~> 2.4.0)
58
- parallel (1.19.1)
59
- parser (2.7.1.2)
60
- ast (~> 2.4.0)
61
- rack (2.2.2)
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.0.3.1)
70
- actionpack (= 6.0.3.1)
71
- activesupport (= 6.0.3.1)
76
+ railties (6.1.4)
77
+ actionpack (= 6.1.4)
78
+ activesupport (= 6.1.4)
72
79
  method_source
73
- rake (>= 0.8.7)
74
- thor (>= 0.20.3, < 2.0)
80
+ rake (>= 0.13)
81
+ thor (~> 1.0)
75
82
  rainbow (3.0.0)
76
- rake (13.0.1)
77
- rexml (3.2.4)
78
- rspec (3.9.0)
79
- rspec-core (~> 3.9.0)
80
- rspec-expectations (~> 3.9.0)
81
- rspec-mocks (~> 3.9.0)
82
- rspec-core (3.9.2)
83
- rspec-support (~> 3.9.3)
84
- rspec-expectations (3.9.2)
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.9.0)
87
- rspec-mocks (3.9.1)
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.9.0)
90
- rspec-support (3.9.3)
91
- rubocop (0.83.0)
97
+ rspec-support (~> 3.10.0)
98
+ rspec-support (3.10.2)
99
+ rubocop (1.18.3)
92
100
  parallel (~> 1.10)
93
- parser (>= 2.7.0.1)
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, < 2.0)
98
- rubocop-performance (1.5.2)
99
- rubocop (>= 0.71.0)
100
- rubocop-rspec (1.39.0)
101
- rubocop (>= 0.68.1)
102
- ruby-progressbar (1.10.1)
103
- ruby_parser (3.14.2)
104
- sexp_processor (~> 4.9)
105
- sexp_processor (4.14.1)
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.1)
108
- thread_safe (0.3.6)
109
- tzinfo (1.2.7)
110
- thread_safe (~> 0.1)
111
- unicode-display_width (1.7.0)
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.1.4
148
+ 2.2.24
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Form
5
5
 
6
- VERSION ||= '1.0.5'
6
+ VERSION = '1.1.0'
7
7
 
8
8
  end
9
9
  end
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
- 'public gem pushes.'
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.5
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: 2020-05-21 00:00:00.000000000 Z
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.1.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: []