deco_lite 1.5.9 → 1.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/deco_lite-bug-report.md +30 -0
- data/.github/ISSUE_TEMPLATE/deco_lite-feature-request.md +20 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +46 -18
- data/README.md +2 -2
- data/deco_lite.gemspec +1 -1
- data/lib/deco_lite/field_assignable.rb +1 -1
- data/lib/deco_lite/field_creatable.rb +3 -3
- data/lib/deco_lite/version.rb +1 -1
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db0470d2013b0e2af9e0ced5925bda182ab7c5ff563248841581b48163bde0b2
|
4
|
+
data.tar.gz: cc89b484d9670a934d9aa625dbe39fce86373560f5f30ddb88d07f72766b8a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c462e33b417a11deeab797be8687eba29d9d98c2ea8885cadb2cedb436a974421708531364a001775d1a1a3bcff4981a24d63a7efb2bc9c842c649d46a906b84
|
7
|
+
data.tar.gz: 96986aeee94f2a0af7e47367896c23f4511d2f7c65afc3e0afe9821773d6c01943fc599e72480da8e62a803fbfe8b1fb7db62fbf2772616f819d13c59bdbfb03
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
name: deco_lite bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: "[BUG] deco_lite"
|
5
|
+
labels: bug
|
6
|
+
assignees: gangelo
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Describe the bug**
|
11
|
+
A clear and concise description of what the bug is.
|
12
|
+
|
13
|
+
**To Reproduce**
|
14
|
+
Steps to reproduce the behavior:
|
15
|
+
1. I did '...'
|
16
|
+
2. And this happened, see error, etc.
|
17
|
+
|
18
|
+
**Expected behavior**
|
19
|
+
A clear and concise description of what you expected to happen.
|
20
|
+
|
21
|
+
**Screenshots**
|
22
|
+
If applicable, add screenshots to help explain your problem.
|
23
|
+
|
24
|
+
**Comsumer info (please complete the following information):**
|
25
|
+
- deco_lite version [e.g. 1.0.0]
|
26
|
+
- Ruby version [e.g. 3.0.1]
|
27
|
+
- OS: [e.g. iOS]
|
28
|
+
|
29
|
+
**Additional context**
|
30
|
+
Add any other context about the problem here.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
name: deco_lite feature request
|
3
|
+
about: Suggest an idea for deco_lite
|
4
|
+
title: "[ENHANCEMENT] deco_lite"
|
5
|
+
labels: enhancement
|
6
|
+
assignees: gangelo
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12
|
+
|
13
|
+
**Describe the solution you'd like**
|
14
|
+
A clear and concise description of what you want to happen.
|
15
|
+
|
16
|
+
**Describe alternatives you've considered**
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
18
|
+
|
19
|
+
**Additional context**
|
20
|
+
Add any other context or screenshots about the feature request here.
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
deco_lite (1.5.
|
4
|
+
deco_lite (1.5.11)
|
5
5
|
activemodel (>= 7.0.8, <= 7.12.0)
|
6
6
|
activesupport (>= 7.0.8, <= 7.12.0)
|
7
7
|
immutable_struct_ex (>= 1.0, < 2.0)
|
@@ -10,9 +10,9 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activemodel (7.1.
|
14
|
-
activesupport (= 7.1.
|
15
|
-
activesupport (7.1.
|
13
|
+
activemodel (7.1.3)
|
14
|
+
activesupport (= 7.1.3)
|
15
|
+
activesupport (7.1.3)
|
16
16
|
base64
|
17
17
|
bigdecimal
|
18
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -24,26 +24,52 @@ GEM
|
|
24
24
|
tzinfo (~> 2.0)
|
25
25
|
ast (2.4.2)
|
26
26
|
base64 (0.2.0)
|
27
|
-
bigdecimal (3.1.
|
27
|
+
bigdecimal (3.1.6)
|
28
28
|
byebug (11.1.3)
|
29
29
|
coderay (1.1.3)
|
30
|
-
concurrent-ruby (1.2.
|
30
|
+
concurrent-ruby (1.2.3)
|
31
31
|
connection_pool (2.4.1)
|
32
32
|
diff-lcs (1.5.0)
|
33
33
|
docile (1.4.0)
|
34
34
|
drb (2.2.0)
|
35
35
|
ruby2_keywords
|
36
|
+
dry-configurable (1.1.0)
|
37
|
+
dry-core (~> 1.0, < 2)
|
38
|
+
zeitwerk (~> 2.6)
|
39
|
+
dry-core (1.0.1)
|
40
|
+
concurrent-ruby (~> 1.0)
|
41
|
+
zeitwerk (~> 2.6)
|
42
|
+
dry-inflector (1.0.0)
|
43
|
+
dry-initializer (3.1.1)
|
44
|
+
dry-logic (1.5.0)
|
45
|
+
concurrent-ruby (~> 1.0)
|
46
|
+
dry-core (~> 1.0, < 2)
|
47
|
+
zeitwerk (~> 2.6)
|
48
|
+
dry-schema (1.13.3)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
51
|
+
dry-core (~> 1.0, < 2)
|
52
|
+
dry-initializer (~> 3.0)
|
53
|
+
dry-logic (>= 1.4, < 2)
|
54
|
+
dry-types (>= 1.7, < 2)
|
55
|
+
zeitwerk (~> 2.6)
|
56
|
+
dry-types (1.7.2)
|
57
|
+
bigdecimal (~> 3.0)
|
58
|
+
concurrent-ruby (~> 1.0)
|
59
|
+
dry-core (~> 1.0)
|
60
|
+
dry-inflector (~> 1.0)
|
61
|
+
dry-logic (~> 1.4)
|
62
|
+
zeitwerk (~> 2.6)
|
36
63
|
i18n (1.14.1)
|
37
64
|
concurrent-ruby (~> 1.0)
|
38
|
-
immutable_struct_ex (1.0.
|
65
|
+
immutable_struct_ex (1.0.8)
|
39
66
|
json (2.7.1)
|
40
|
-
kwalify (0.7.2)
|
41
67
|
language_server-protocol (3.17.0.3)
|
42
|
-
mad_flatter (3.0.
|
68
|
+
mad_flatter (3.0.6)
|
43
69
|
activesupport (>= 7.0.8, < 7.2.0)
|
44
70
|
immutable_struct_ex (>= 1.0, < 2.0)
|
45
71
|
method_source (1.0.0)
|
46
|
-
minitest (5.
|
72
|
+
minitest (5.21.2)
|
47
73
|
mutex_m (0.2.0)
|
48
74
|
parallel (1.24.0)
|
49
75
|
parser (3.2.2.4)
|
@@ -58,11 +84,12 @@ GEM
|
|
58
84
|
racc (1.7.3)
|
59
85
|
rainbow (3.1.1)
|
60
86
|
rake (13.1.0)
|
61
|
-
reek (6.
|
62
|
-
|
87
|
+
reek (6.2.0)
|
88
|
+
dry-schema (~> 1.13.0)
|
63
89
|
parser (~> 3.2.0)
|
64
90
|
rainbow (>= 2.0, < 4.0)
|
65
|
-
|
91
|
+
rexml (~> 3.1)
|
92
|
+
regexp_parser (2.9.0)
|
66
93
|
rexml (3.2.6)
|
67
94
|
rspec (3.12.0)
|
68
95
|
rspec-core (~> 3.12.0)
|
@@ -90,14 +117,14 @@ GEM
|
|
90
117
|
unicode-display_width (>= 2.4.0, < 3.0)
|
91
118
|
rubocop-ast (1.30.0)
|
92
119
|
parser (>= 3.2.1.0)
|
93
|
-
rubocop-capybara (2.
|
120
|
+
rubocop-capybara (2.20.0)
|
121
|
+
rubocop (~> 1.41)
|
122
|
+
rubocop-factory_bot (2.25.1)
|
94
123
|
rubocop (~> 1.41)
|
95
|
-
rubocop-
|
96
|
-
rubocop (~> 1.33)
|
97
|
-
rubocop-performance (1.20.1)
|
124
|
+
rubocop-performance (1.20.2)
|
98
125
|
rubocop (>= 1.48.1, < 2.0)
|
99
126
|
rubocop-ast (>= 1.30.0, < 2.0)
|
100
|
-
rubocop-rspec (2.
|
127
|
+
rubocop-rspec (2.26.1)
|
101
128
|
rubocop (~> 1.40)
|
102
129
|
rubocop-capybara (~> 2.17)
|
103
130
|
rubocop-factory_bot (~> 2.22)
|
@@ -112,6 +139,7 @@ GEM
|
|
112
139
|
tzinfo (2.0.6)
|
113
140
|
concurrent-ruby (~> 1.0)
|
114
141
|
unicode-display_width (2.5.0)
|
142
|
+
zeitwerk (2.6.12)
|
115
143
|
|
116
144
|
PLATFORMS
|
117
145
|
x86_64-darwin-19
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# DecoLite
|
2
2
|
[![Ruby](https://github.com/gangelo/deco_lite/actions/workflows/ruby.yml/badge.svg)](https://github.com/gangelo/deco_lite/actions/workflows/ruby.yml)
|
3
|
-
[![GitHub version](http://badge.fury.io/gh/gangelo%2Fdeco_lite.svg?refresh=
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/deco_lite.svg?refresh=
|
3
|
+
[![GitHub version](http://badge.fury.io/gh/gangelo%2Fdeco_lite.svg?refresh=3)](https://badge.fury.io/gh/gangelo%2Fdeco_lite)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/deco_lite.svg?refresh=3)](https://badge.fury.io/rb/deco_lite)
|
5
5
|
[![](http://ruby-gem-downloads-badge.herokuapp.com/deco_lite?type=total)](http://www.rubydoc.info/gems/deco_lite/)
|
6
6
|
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/deco_lite/)
|
7
7
|
[![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/deco_lite/issues)
|
data/deco_lite.gemspec
CHANGED
@@ -46,7 +46,7 @@ Gem::Specification.new do |spec|
|
|
46
46
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
47
47
|
spec.require_paths = ['lib']
|
48
48
|
|
49
|
-
spec.required_ruby_version = Gem::Requirement.new(
|
49
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 3.0.1', '< 4.0')
|
50
50
|
|
51
51
|
spec.add_runtime_dependency 'activemodel', '>= 7.0.8', '<= 7.12.0'
|
52
52
|
spec.add_runtime_dependency 'activesupport', '>= 7.0.8', '<= 7.12.0'
|
@@ -33,13 +33,13 @@ module DecoLite
|
|
33
33
|
# rubocop:disable Lint/UnusedMethodArgument
|
34
34
|
def create_field_getter(field_name:, options:)
|
35
35
|
define_singleton_method(field_name) do
|
36
|
-
instance_variable_get "@#{field_name}"
|
36
|
+
instance_variable_get :"@#{field_name}"
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
40
|
def create_field_setter(field_name:, options:)
|
41
|
-
define_singleton_method("#{field_name}=") do |value|
|
42
|
-
instance_variable_set "@#{field_name}", value
|
41
|
+
define_singleton_method(:"#{field_name}=") do |value|
|
42
|
+
instance_variable_set :"@#{field_name}", value
|
43
43
|
end
|
44
44
|
end
|
45
45
|
# rubocop:enable Lint/UnusedMethodArgument
|
data/lib/deco_lite/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deco_lite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene M. Angelo, Jr.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -291,6 +291,8 @@ executables: []
|
|
291
291
|
extensions: []
|
292
292
|
extra_rdoc_files: []
|
293
293
|
files:
|
294
|
+
- ".github/ISSUE_TEMPLATE/deco_lite-bug-report.md"
|
295
|
+
- ".github/ISSUE_TEMPLATE/deco_lite-feature-request.md"
|
294
296
|
- ".github/dependabot.yml"
|
295
297
|
- ".github/workflows/ruby.yml"
|
296
298
|
- ".gitignore"
|
@@ -339,9 +341,12 @@ require_paths:
|
|
339
341
|
- lib
|
340
342
|
required_ruby_version: !ruby/object:Gem::Requirement
|
341
343
|
requirements:
|
342
|
-
- - "
|
344
|
+
- - ">="
|
345
|
+
- !ruby/object:Gem::Version
|
346
|
+
version: 3.0.1
|
347
|
+
- - "<"
|
343
348
|
- !ruby/object:Gem::Version
|
344
|
-
version: '
|
349
|
+
version: '4.0'
|
345
350
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
346
351
|
requirements:
|
347
352
|
- - ">="
|