deco_lite 1.5.10 → 1.5.12
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 +10 -0
- data/Gemfile.lock +31 -31
- 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: 7ba43519d2e7d261c3ad1435d19a24d297b335a3153b14cf9f0d78da501fcc43
|
4
|
+
data.tar.gz: f21265ca49e71c2f105254bb47476b38732e1959c3353d924d485a860155e461
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2f50e57a1fb82ac614aadb90cda2a1b6cd4381c3c8b9408025ffba83ec7bd63427918f2cf714258237cdf84fe7403805d65d1a7c0ef2ef90e54c44976d2f770
|
7
|
+
data.tar.gz: ef1e2258043ab008cf3c5cb2eec5a4f09c2f460bec64401117da4bc0d9a73557d900fa1bcf6d0e0b96f3fda253065b397e7464f17f610c0deb78524b343d3c5a
|
@@ -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.12)
|
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,12 +24,12 @@ 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
|
-
diff-lcs (1.5.
|
32
|
+
diff-lcs (1.5.1)
|
33
33
|
docile (1.4.0)
|
34
34
|
drb (2.2.0)
|
35
35
|
ruby2_keywords
|
@@ -62,17 +62,17 @@ 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.22.2)
|
73
73
|
mutex_m (0.2.0)
|
74
74
|
parallel (1.24.0)
|
75
|
-
parser (3.
|
75
|
+
parser (3.3.0.5)
|
76
76
|
ast (~> 2.4.1)
|
77
77
|
racc
|
78
78
|
pry (0.14.2)
|
@@ -84,31 +84,31 @@ GEM
|
|
84
84
|
racc (1.7.3)
|
85
85
|
rainbow (3.1.1)
|
86
86
|
rake (13.1.0)
|
87
|
-
reek (6.
|
87
|
+
reek (6.3.0)
|
88
88
|
dry-schema (~> 1.13.0)
|
89
|
-
parser (~> 3.
|
89
|
+
parser (~> 3.3.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
|
-
rspec (3.
|
95
|
-
rspec-core (~> 3.
|
96
|
-
rspec-expectations (~> 3.
|
97
|
-
rspec-mocks (~> 3.
|
98
|
-
rspec-core (3.
|
99
|
-
rspec-support (~> 3.
|
100
|
-
rspec-expectations (3.
|
94
|
+
rspec (3.13.0)
|
95
|
+
rspec-core (~> 3.13.0)
|
96
|
+
rspec-expectations (~> 3.13.0)
|
97
|
+
rspec-mocks (~> 3.13.0)
|
98
|
+
rspec-core (3.13.0)
|
99
|
+
rspec-support (~> 3.13.0)
|
100
|
+
rspec-expectations (3.13.0)
|
101
101
|
diff-lcs (>= 1.2.0, < 2.0)
|
102
|
-
rspec-support (~> 3.
|
103
|
-
rspec-mocks (3.
|
102
|
+
rspec-support (~> 3.13.0)
|
103
|
+
rspec-mocks (3.13.0)
|
104
104
|
diff-lcs (>= 1.2.0, < 2.0)
|
105
|
-
rspec-support (~> 3.
|
106
|
-
rspec-support (3.
|
107
|
-
rubocop (1.
|
105
|
+
rspec-support (~> 3.13.0)
|
106
|
+
rspec-support (3.13.0)
|
107
|
+
rubocop (1.60.2)
|
108
108
|
json (~> 2.3)
|
109
109
|
language_server-protocol (>= 3.17.0)
|
110
110
|
parallel (~> 1.10)
|
111
|
-
parser (>= 3.
|
111
|
+
parser (>= 3.3.0.2)
|
112
112
|
rainbow (>= 2.2.2, < 4.0)
|
113
113
|
regexp_parser (>= 1.8, < 3.0)
|
114
114
|
rexml (>= 3.2.5, < 4.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)
|
@@ -139,7 +139,7 @@ GEM
|
|
139
139
|
tzinfo (2.0.6)
|
140
140
|
concurrent-ruby (~> 1.0)
|
141
141
|
unicode-display_width (2.5.0)
|
142
|
-
zeitwerk (2.6.
|
142
|
+
zeitwerk (2.6.13)
|
143
143
|
|
144
144
|
PLATFORMS
|
145
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=5)](https://badge.fury.io/gh/gangelo%2Fdeco_lite)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/deco_lite.svg?refresh=5)](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)
|
@@ -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.12
|
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-
|
11
|
+
date: 2024-02-08 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"
|