deco_lite 1.5.10 → 1.5.11
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/.github/ISSUE_TEMPLATE/deco_lite-bug-report.md +30 -0
- data/.github/ISSUE_TEMPLATE/deco_lite-feature-request.md +20 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +13 -13
- data/README.md +2 -2
- 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 +4 -2
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,10 +24,10 @@ 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)
|
|
@@ -62,14 +62,14 @@ GEM
|
|
|
62
62
|
zeitwerk (~> 2.6)
|
|
63
63
|
i18n (1.14.1)
|
|
64
64
|
concurrent-ruby (~> 1.0)
|
|
65
|
-
immutable_struct_ex (1.0.
|
|
65
|
+
immutable_struct_ex (1.0.8)
|
|
66
66
|
json (2.7.1)
|
|
67
67
|
language_server-protocol (3.17.0.3)
|
|
68
|
-
mad_flatter (3.0.
|
|
68
|
+
mad_flatter (3.0.6)
|
|
69
69
|
activesupport (>= 7.0.8, < 7.2.0)
|
|
70
70
|
immutable_struct_ex (>= 1.0, < 2.0)
|
|
71
71
|
method_source (1.0.0)
|
|
72
|
-
minitest (5.
|
|
72
|
+
minitest (5.21.2)
|
|
73
73
|
mutex_m (0.2.0)
|
|
74
74
|
parallel (1.24.0)
|
|
75
75
|
parser (3.2.2.4)
|
|
@@ -89,7 +89,7 @@ GEM
|
|
|
89
89
|
parser (~> 3.2.0)
|
|
90
90
|
rainbow (>= 2.0, < 4.0)
|
|
91
91
|
rexml (~> 3.1)
|
|
92
|
-
regexp_parser (2.
|
|
92
|
+
regexp_parser (2.9.0)
|
|
93
93
|
rexml (3.2.6)
|
|
94
94
|
rspec (3.12.0)
|
|
95
95
|
rspec-core (~> 3.12.0)
|
|
@@ -119,9 +119,9 @@ GEM
|
|
|
119
119
|
parser (>= 3.2.1.0)
|
|
120
120
|
rubocop-capybara (2.20.0)
|
|
121
121
|
rubocop (~> 1.41)
|
|
122
|
-
rubocop-factory_bot (2.25.
|
|
123
|
-
rubocop (~> 1.
|
|
124
|
-
rubocop-performance (1.20.
|
|
122
|
+
rubocop-factory_bot (2.25.1)
|
|
123
|
+
rubocop (~> 1.41)
|
|
124
|
+
rubocop-performance (1.20.2)
|
|
125
125
|
rubocop (>= 1.48.1, < 2.0)
|
|
126
126
|
rubocop-ast (>= 1.30.0, < 2.0)
|
|
127
127
|
rubocop-rspec (2.26.1)
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# DecoLite
|
|
2
2
|
[](https://github.com/gangelo/deco_lite/actions/workflows/ruby.yml)
|
|
3
|
-
[](https://badge.fury.io/gh/gangelo%2Fdeco_lite)
|
|
4
|
+
[](https://badge.fury.io/rb/deco_lite)
|
|
5
5
|
[](http://www.rubydoc.info/gems/deco_lite/)
|
|
6
6
|
[](http://www.rubydoc.info/gems/deco_lite/)
|
|
7
7
|
[](https://github.com/gangelo/deco_lite/issues)
|
|
@@ -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: 2024-01-
|
|
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"
|