deco_lite 1.5.9 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a27ccdf334e89ce959a36320c2aaa1fc29f5cde774b9fabfcb5fe249e7596c9
4
- data.tar.gz: 598a47372f437aff611791a98354f085eda5eb72cc05135291528c196fbd8925
3
+ metadata.gz: db0470d2013b0e2af9e0ced5925bda182ab7c5ff563248841581b48163bde0b2
4
+ data.tar.gz: cc89b484d9670a934d9aa625dbe39fce86373560f5f30ddb88d07f72766b8a50
5
5
  SHA512:
6
- metadata.gz: b279545ec8b982ad48224aa9e6e6cf92af2c7dc0308029cf82bffaf432f8a3c434b1670285bbcc0c520d07cef1fcb0803728865bc7c166094afa673b36ee39de
7
- data.tar.gz: 198d7e75e5e61d099504a774975e38b16b69894e2005e7779ea86f166b80b0534c323f2b544585cc0c98124ec69a14288f8a9ec067fb559fcad21e16623c8151
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
@@ -1,3 +1,14 @@
1
+ ### 1.5.11 2024-01-21
2
+
3
+ * Changes
4
+ * Update ruby gems
5
+
6
+ ### 1.5.10 2024-01-07
7
+
8
+ * Changes
9
+ * Update ruby gems
10
+ * Relax ruby version requirement to Gem::Requirement.new('>= 3.0.1', '< 4.0')
11
+
1
12
  ### 1.5.9 2023-12-27
2
13
 
3
14
  * Changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deco_lite (1.5.9)
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.2)
14
- activesupport (= 7.1.2)
15
- activesupport (7.1.2)
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.5)
27
+ bigdecimal (3.1.6)
28
28
  byebug (11.1.3)
29
29
  coderay (1.1.3)
30
- concurrent-ruby (1.2.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.5)
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.5)
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.20.0)
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.1.4)
62
- kwalify (~> 0.7.0)
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
- regexp_parser (2.8.3)
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.19.0)
120
+ rubocop-capybara (2.20.0)
121
+ rubocop (~> 1.41)
122
+ rubocop-factory_bot (2.25.1)
94
123
  rubocop (~> 1.41)
95
- rubocop-factory_bot (2.24.0)
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.25.0)
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=1)](https://badge.fury.io/gh/gangelo%2Fdeco_lite)
4
- [![Gem Version](https://badge.fury.io/rb/deco_lite.svg?refresh=1)](https://badge.fury.io/rb/deco_lite)
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("~> 3.0")
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'
@@ -16,7 +16,7 @@ module DecoLite
16
16
 
17
17
  # rubocop:disable Lint/UnusedMethodArgument
18
18
  def set_field_value(field_name:, value:, options:)
19
- send("#{field_name}=", value)
19
+ send(:"#{field_name}=", value)
20
20
  end
21
21
  # rubocop:enable Lint/UnusedMethodArgument
22
22
  end
@@ -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
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the version of this gem.
4
4
  module DecoLite
5
- VERSION = '1.5.9'
5
+ VERSION = '1.5.11'
6
6
  end
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.9
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: 2023-12-28 00:00:00.000000000 Z
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: '3.0'
349
+ version: '4.0'
345
350
  required_rubygems_version: !ruby/object:Gem::Requirement
346
351
  requirements:
347
352
  - - ">="