deco_lite 1.5.13 → 1.5.14

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: 676d2904e6346697fa7a377b0eed01784a0553c5e258437dc8df7292a0f8518e
4
- data.tar.gz: 972278dea54c90c64d795e0a4e48a6254c2dc22218998340ded7d45deb702e61
3
+ metadata.gz: 900cbdd181c7ded022def3d632bcfbd9ffef884b4448032be1fad87ba8c4906f
4
+ data.tar.gz: 184befad8f046c2b091d4154dd6034dd9a581ff5a117ed1149e5c7d11b527c97
5
5
  SHA512:
6
- metadata.gz: 0a388c8500b5653590ffc10b3c6a8da9b455f468e6fb1e36676fdc9f85b622506200e6155e6933e37668d445975b8e7d5ead234a945c4496342b4f3b7bc93caf
7
- data.tar.gz: bc3b6beadcc94bfb8e80ead466bd2f0fc45a07f31aa83397007fe431242b20785fbc21e668fad1f47bbd2ec02f2d9d4b441ca8d49f345aca9f5e2cb8919f291b
6
+ metadata.gz: 1b013d8e738ca16cb99e9c56b1d20f8f7eaf0b42ab5134b17d5d5c56c128e59be864ab00aecaa3ae7e49f1ed8c7ea0d1cc5fb6a1cb9f48f803cec8e546005910
7
+ data.tar.gz: 0f711eddb8df356ba8022509d35db713b82499baf77281fedf292288eccd30d29ff2aa0016edd382c34c744154313fb0822b946c9c039d79c4c6722234333469
@@ -1,40 +1,60 @@
1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
- # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
-
8
1
  name: Ruby
9
2
 
10
3
  on:
11
4
  push:
12
- branches: [ "main" ]
5
+ branches: ["main"]
13
6
  pull_request:
14
- branches: [ "main" ]
7
+ branches: ["main"]
15
8
 
16
9
  permissions:
17
10
  contents: read
18
11
 
19
12
  jobs:
20
13
  test:
21
-
22
- runs-on: ubuntu-latest
14
+ runs-on: ${{ matrix.os }}
23
15
  strategy:
24
16
  matrix:
25
- # Use `rbenv install -l` and only use the latest stable
26
- # version of ruby.
27
- ruby-version: ["3.1.2", "3.1.4", "3.2.2"]
17
+ os:
18
+ [
19
+ ubuntu-latest,
20
+ ubuntu-20.04,
21
+ macos-latest,
22
+ macos-13,
23
+ macos-12,
24
+ windows-latest,
25
+ windows-2019,
26
+ ]
27
+ ruby: ["3.1", "3.2", "3.3"]
28
28
 
29
29
  steps:
30
- - uses: actions/checkout@v3
31
- - name: Set up Ruby
32
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
33
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
34
- # uses: ruby/setup-ruby@v1
35
- uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
36
- with:
37
- ruby-version: ${{ matrix.ruby-version }}
38
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
39
- - name: Run tests
40
- run: bundle exec rake
30
+ - uses: actions/checkout@v3
31
+
32
+ - name: Set timezone on Linux
33
+ if: contains(matrix.os, 'ubuntu')
34
+ run: sudo timedatectl set-timezone 'America/New_York'
35
+
36
+ - name: Set timezone on macOS
37
+ if: contains(matrix.os, 'macos')
38
+ run: sudo systemsetup -settimezone America/New_York
39
+
40
+ - name: Set timezone on Windows
41
+ if: contains(matrix.os, 'windows')
42
+ run: tzutil /s "Eastern Standard Time"
43
+
44
+ - name: Set up Ruby
45
+ uses: ruby/setup-ruby@v1
46
+ with:
47
+ ruby-version: ${{ matrix.ruby }}
48
+ bundler-cache: true
49
+
50
+ - name: Update RubyGems
51
+ run: gem update --system
52
+
53
+ - name: Disable bundler frozen setting
54
+ run: bundle config set frozen false
55
+
56
+ - name: Install dependencies
57
+ run: bundle install
58
+
59
+ - name: Run tests
60
+ run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  require:
2
2
  - rubocop-performance
3
+ - rubocop-rake
3
4
  - rubocop-rspec
4
5
 
5
6
  AllCops:
@@ -7,14 +8,14 @@ AllCops:
7
8
  TargetRubyVersion: 3.1.2
8
9
  NewCops: enable
9
10
  Exclude:
10
- - '.git/**/*'
11
- - '.idea/**/*'
12
- - 'init/*'
13
- - 'Rakefile'
14
- - '*.gemspec'
15
- - 'spec/**/*'
16
- - 'vendor/**/*'
17
- - 'scratch*.rb'
11
+ - ".git/**/*"
12
+ - ".idea/**/*"
13
+ - "init/*"
14
+ - "Rakefile"
15
+ - "*.gemspec"
16
+ - "spec/**/*"
17
+ - "vendor/**/*"
18
+ - "scratch*.rb"
18
19
 
19
20
  # Align the elements of a hash literal if they span more than one line.
20
21
  Layout/HashAlignment:
@@ -79,7 +80,7 @@ Layout/MultilineMethodCallIndentation:
79
80
  # Allow `debug` in tasks for now
80
81
  Lint/Debugger:
81
82
  Exclude:
82
- - 'RakeFile'
83
+ - "RakeFile"
83
84
 
84
85
  # A calculated magnitude based on number of assignments, branches, and
85
86
  # conditions.
@@ -91,9 +92,9 @@ Metrics/AbcSize:
91
92
  # Avoid long blocks with many lines.
92
93
  Metrics/BlockLength:
93
94
  Exclude:
94
- - 'RakeFile'
95
- - 'db/seeds.rb'
96
- - 'spec/**/*.rb'
95
+ - "RakeFile"
96
+ - "db/seeds.rb"
97
+ - "spec/**/*.rb"
97
98
 
98
99
  # Avoid classes longer than 100 lines of code.
99
100
  # NOTE: This is temporarily disabled until we can eliminate existing Rubocop
@@ -101,7 +102,7 @@ Metrics/BlockLength:
101
102
  Metrics/ClassLength:
102
103
  Max: 200
103
104
  Exclude:
104
- - 'spec/**/*.rb'
105
+ - "spec/**/*.rb"
105
106
 
106
107
  # A complexity metric that is strongly correlated to the number of test cases
107
108
  # needed to validate a method.
@@ -111,8 +112,8 @@ Metrics/CyclomaticComplexity:
111
112
  # Limit lines to 80 characters
112
113
  Layout/LineLength:
113
114
  Exclude:
114
- - 'RakeFile'
115
- - 'spec/**/*.rb'
115
+ - "RakeFile"
116
+ - "spec/**/*.rb"
116
117
 
117
118
  # Avoid methods longer than 15 lines of code.
118
119
  Metrics/MethodLength:
@@ -121,7 +122,6 @@ Metrics/MethodLength:
121
122
  - swagger_path
122
123
  - operation
123
124
 
124
-
125
125
  # A complexity metric geared towards measuring complexity for a human reader.
126
126
  Metrics/PerceivedComplexity:
127
127
  Max: 10
@@ -158,7 +158,7 @@ Style/GuardClause:
158
158
 
159
159
  Style/MixinUsage:
160
160
  Exclude:
161
- - 'RakeFile'
161
+ - "RakeFile"
162
162
 
163
163
  # Avoid multi-line method signatures.
164
164
  Style/MultilineMethodSignature:
data/CHANGELOG.md CHANGED
@@ -1,159 +1,187 @@
1
+ ### 1.5.14 2024-08-09
2
+
3
+ - Changes
4
+ - Update ruby gems
5
+ - Update rexml gem to patch CVE
6
+
1
7
  ### 1.5.13 2024-02-19
2
8
 
3
- * Changes
4
- * Update ruby gems
9
+ - Changes
10
+ - Update post install message.
11
+ - Update ruby gems
5
12
 
6
13
  ### 1.5.12 2024-02-08
7
14
 
8
- * Changes
9
- * Update ruby gems
15
+ - Changes
16
+ - Update ruby gems
10
17
 
11
18
  ### 1.5.11 2024-01-21
12
19
 
13
- * Changes
14
- * Update ruby gems
20
+ - Changes
21
+ - Update ruby gems
15
22
 
16
23
  ### 1.5.10 2024-01-07
17
24
 
18
- * Changes
19
- * Update ruby gems
20
- * Relax ruby version requirement to Gem::Requirement.new('>= 3.0.1', '< 4.0')
25
+ - Changes
26
+ - Update ruby gems
27
+ - Relax ruby version requirement to Gem::Requirement.new('>= 3.0.1', '< 4.0')
21
28
 
22
29
  ### 1.5.9 2023-12-27
23
30
 
24
- * Changes
25
- * Update ruby gems
31
+ - Changes
32
+ - Update ruby gems
26
33
 
27
34
  ### 1.5.8 2023-12-02
28
35
 
29
- * Changes
30
- * Update ruby gems
36
+ - Changes
37
+ - Update ruby gems
31
38
 
32
39
  ### 1.5.7 2023-10-30
33
40
 
34
- * Changes
35
- * Update ruby gems
41
+ - Changes
42
+ - Update ruby gems
36
43
 
37
44
  ### 1.5.6 2023-10-30
38
45
 
39
- * Changes
40
- * Update ruby gems
46
+ - Changes
47
+ - Update ruby gems
41
48
 
42
49
  ### 1.5.5
43
50
 
44
- * Changes
45
- * Update ruby gems
46
- * Fix rubocop violations
51
+ - Changes
52
+ - Update ruby gems
53
+ - Fix rubocop violations
47
54
 
48
55
  ### 1.5.4
49
56
 
50
- * Changes
51
- * Update ruby gems
57
+ - Changes
58
+ - Update ruby gems
52
59
 
53
60
  ### 1.5.3
54
- * Bugs
55
- * Fix bug that raised an exception when using `validates_with <Custom Validator>` because `#attributes` is not found on custom validators.
56
- * Changes
57
- * You can now use `validates_with <Custom Validator>` by passing the attribute name(s) to your custom validator via the `#options` hash with a key of `:attributes` OR `:fields`. For example: `validates_with MyCustomValidator, attributes: %i[field1 field2]` of `validates_with MyCustomValidator, fields: %i[field1 field2]`
58
- * Updated README.md for the above change.
59
- * Update bundled gems.
61
+
62
+ - Bugs
63
+ - Fix bug that raised an exception when using `validates_with <Custom Validator>` because `#attributes` is not found on custom validators.
64
+ - Changes
65
+ - You can now use `validates_with <Custom Validator>` by passing the attribute name(s) to your custom validator via the `#options` hash with a key of `:attributes` OR `:fields`. For example: `validates_with MyCustomValidator, attributes: %i[field1 field2]` of `validates_with MyCustomValidator, fields: %i[field1 field2]`
66
+ - Updated README.md for the above change.
67
+ - Update bundled gems.
68
+
60
69
  ### 1.5.2
61
- * Changes
62
- * Update ruby gems. Remedy activesupport dependabot alert.
70
+
71
+ - Changes
72
+ - Update ruby gems. Remedy activesupport dependabot alert.
63
73
 
64
74
  ### 1.5.1
65
- * Changes
66
- * Update ruby gems.
75
+
76
+ - Changes
77
+ - Update ruby gems.
67
78
 
68
79
  ### 1.5.0
69
- * Changes
70
- * Update ruby gems.
80
+
81
+ - Changes
82
+ - Update ruby gems.
71
83
 
72
84
  ### 1.4.0
73
- * Changes
74
- * Required ruby version is now '~> 3.0'
75
- * Prohibit SimpleCov from starting 2x in spec_helper.rb.
85
+
86
+ - Changes
87
+ - Required ruby version is now '~> 3.0'
88
+ - Prohibit SimpleCov from starting 2x in spec_helper.rb.
76
89
 
77
90
  ### 1.3.0
78
- * Changes
79
- * Update gem description in .gemspec.
91
+
92
+ - Changes
93
+ - Update gem description in .gemspec.
80
94
 
81
95
  ### 1.2.1
82
- * Bugs
83
- * Fix bug that did not recognize loaded field values if `attr_accessors` were previously created for the loaded fields due to model validations being present. If `ActiveModel` validators are present on the model, DecoLite will automatically create `attr_accessors` for the fields associated with the validations. The presence of these fields being automatically loaded prohibited any fields subsequently loaded having the same field names to not be recognized as having been loaded, causing validation to validate incorrectly (the model did not recognize the fields as having been loaded).
84
- * Fix bug that wiped out field values previously loaded if `ActiveModel` validations were present for fields having the same name. This is because DecoLite will automatically create `attr_accessors` for the fields associated with the validations, initializing these automatically created field vars to be initialized to nil. The auto-creation of these `attr_accessors` was taking place in #initialize AFTER the initial load of any Hash passed to #initialize in the :hash param, so the values loaded were getting nilled out.
85
- * Changes
86
- * Add specs to test the above scenarios.
96
+
97
+ - Bugs
98
+ - Fix bug that did not recognize loaded field values if `attr_accessors` were previously created for the loaded fields due to model validations being present. If `ActiveModel` validators are present on the model, DecoLite will automatically create `attr_accessors` for the fields associated with the validations. The presence of these fields being automatically loaded prohibited any fields subsequently loaded having the same field names to not be recognized as having been loaded, causing validation to validate incorrectly (the model did not recognize the fields as having been loaded).
99
+ - Fix bug that wiped out field values previously loaded if `ActiveModel` validations were present for fields having the same name. This is because DecoLite will automatically create `attr_accessors` for the fields associated with the validations, initializing these automatically created field vars to be initialized to nil. The auto-creation of these `attr_accessors` was taking place in #initialize AFTER the initial load of any Hash passed to #initialize in the :hash param, so the values loaded were getting nilled out.
100
+ - Changes
101
+ - Add specs to test the above scenarios.
87
102
 
88
103
  ### 1.2.0
89
- * Changes
90
- * Update the README.md file with better explainations and examples.
104
+
105
+ - Changes
106
+ - Update the README.md file with better explainations and examples.
91
107
 
92
108
  ### 1.1.0
93
- * Changes
94
- * Update mad_flatter gem to v2.0.0.
109
+
110
+ - Changes
111
+ - Update mad_flatter gem to v2.0.0.
95
112
 
96
113
  ### 1.0.0
97
- * Breaking changes
98
- * Removed `FieldRequireable` and moved this code to the `Model` class because determination of required fields loaded is now determined in the `Model` class, rather than checking the existance of model attributes.
99
- * Removed `RequiredFieldsOptionable` since determination of whether or not required fields were loaded no longer depends on the existance of model attributes, this option was removed. `Model#required_fields` model attributes can now be created unconditionally, and still determine whether or not reqired fields were loaded or not.
100
- * Since `FieldRequireable` has been removed, along with `#required_fields`, the `Model#required_fields` can now be overridden or manipulated to designate required fields. Required fields will cause validtion to fail if those fields are not loaded into the model like before.
101
- * The reason for the aforementioned changes is that the whole paradigm to validate "required fields" (i.e. fields required when loading a Hash) based on model attributes introduced complexity/awkwardness in using the `DecoLite::Model` class, as well as complexity in the `DecoLite` codebase. These changes makes things simpler and cleaner.
102
- * Remove deprecated `DecoLite::Model#load`. Use `DecoLite::Model#load!` instead.
103
- * Changes
104
- * Update README.md file accordingly.
114
+
115
+ - Breaking changes
116
+ - Removed `FieldRequireable` and moved this code to the `Model` class because determination of required fields loaded is now determined in the `Model` class, rather than checking the existance of model attributes.
117
+ - Removed `RequiredFieldsOptionable` since determination of whether or not required fields were loaded no longer depends on the existance of model attributes, this option was removed. `Model#required_fields` model attributes can now be created unconditionally, and still determine whether or not reqired fields were loaded or not.
118
+ - Since `FieldRequireable` has been removed, along with `#required_fields`, the `Model#required_fields` can now be overridden or manipulated to designate required fields. Required fields will cause validtion to fail if those fields are not loaded into the model like before.
119
+ - The reason for the aforementioned changes is that the whole paradigm to validate "required fields" (i.e. fields required when loading a Hash) based on model attributes introduced complexity/awkwardness in using the `DecoLite::Model` class, as well as complexity in the `DecoLite` codebase. These changes makes things simpler and cleaner.
120
+ - Remove deprecated `DecoLite::Model#load`. Use `DecoLite::Model#load!` instead.
121
+ - Changes
122
+ - Update README.md file accordingly.
105
123
 
106
124
  ### 0.3.2
107
- * Changes
108
- * Refactor FieldAssignable to remove call to FieldCreatable#create_field_accessor as this breaks single responsibility rule; which, in this case, makes sense to remove. FieldCreatable#create_field_accessor can be called wherever creation of a attr_accessor is needed.
109
- * Refactor specs in keeping with above changes.
110
- * README.md changes.
111
- * Bugs
112
- * Fix bug where loading fields with the options: { fields: :strict } option raises an error for field that already exists.
125
+
126
+ - Changes
127
+ - Refactor FieldAssignable to remove call to FieldCreatable#create_field_accessor as this breaks single responsibility rule; which, in this case, makes sense to remove. FieldCreatable#create_field_accessor can be called wherever creation of a attr_accessor is needed.
128
+ - Refactor specs in keeping with above changes.
129
+ - README.md changes.
130
+ - Bugs
131
+ - Fix bug where loading fields with the options: { fields: :strict } option raises an error for field that already exists.
113
132
 
114
133
  ### 0.3.1
115
- * Changes
116
- * Added `DecoLite::FieldRequireable::MISSING_REQUIRED_FIELD_ERROR_TYPE` for required field type errors.
117
- * Update README.md with more examples.
134
+
135
+ - Changes
136
+ - Added `DecoLite::FieldRequireable::MISSING_REQUIRED_FIELD_ERROR_TYPE` for required field type errors.
137
+ - Update README.md with more examples.
118
138
 
119
139
  ### 0.3.0
120
- * Changes
121
- * `DecoLite::Model#new` how accepts a :hash named parameter that will load the Hash as if calling `DecoLite::Model.new.load!(hash: <hash>)`.
122
- * `DecoLite::Model#new now creates attr_accessors (fields) for any attribute that has an ActiveModel validator associated with it. This prevents errors raised when #validate is called before data is #load!ed.
123
- * `DecoLite::Model#new` now creates attr_accessors (fields) for any field returned from `DecoLite::Model#reqired_fields` IF the required_fields: :auto option is set.
124
- * bin/console now starts a pry-byebug session.
140
+
141
+ - Changes
142
+ - `DecoLite::Model#new` how accepts a :hash named parameter that will load the Hash as if calling `DecoLite::Model.new.load!(hash: <hash>)`.
143
+ - `DecoLite::Model#new now creates attr_accessors (fields) for any attribute that has an ActiveModel validator associated with it. This prevents errors raised when #validate is called before data is #load!ed.
144
+ - `DecoLite::Model#new` now creates attr_accessors (fields) for any field returned from `DecoLite::Model#reqired_fields` IF the required_fields: :auto option is set.
145
+ - bin/console now starts a pry-byebug session.
125
146
 
126
147
  ### 0.2.5
127
- * Changes
128
- * Remove init of `@field_names = []` in `Model#initialize` as unnecessary - FieldNamesPersistable takes care of this.
129
- * Bug fixes
130
- * Fix but that does not take into account option :namespace when determining whether or not a field name conflicts with an existing attribute (already exists).
148
+
149
+ - Changes
150
+ - Remove init of `@field_names = []` in `Model#initialize` as unnecessary - FieldNamesPersistable takes care of this.
151
+ - Bug fixes
152
+ - Fix but that does not take into account option :namespace when determining whether or not a field name conflicts with an existing attribute (already exists).
131
153
 
132
154
  ### 0.2.4
133
- * Changes
134
- * Change DecoLite::Model#load to #load! as it alters the object, give deprecation warning when calling #load.
135
- * FieldConflictable now expliticly prohibits loading fields that conflict with attributes that are native to the receiver. In other words, you cannot load fields with names like :to_s, :tap, :hash, etc.
136
- * FieldCreatable now creates attr_accessors on the instance using #define_singleton_method, not at the class level (i.e. self.class.attr_accessor) (see bug fixes).
137
- * Bug fixes
138
- * Fix bug that used self.class.attr_accessor in DecoLite::FieldCreatable to create attributes, which forced every object of that class subsequently created have the accessors created which caused field name conflicts across DecoLite::Model objects.
155
+
156
+ - Changes
157
+ - Change DecoLite::Model#load to #load! as it alters the object, give deprecation warning when calling #load.
158
+ - FieldConflictable now expliticly prohibits loading fields that conflict with attributes that are native to the receiver. In other words, you cannot load fields with names like :to_s, :tap, :hash, etc.
159
+ - FieldCreatable now creates attr_accessors on the instance using #define_singleton_method, not at the class level (i.e. self.class.attr_accessor) (see bug fixes).
160
+ - Bug fixes
161
+ - Fix bug that used self.class.attr_accessor in DecoLite::FieldCreatable to create attributes, which forced every object of that class subsequently created have the accessors created which caused field name conflicts across DecoLite::Model objects.
139
162
 
140
163
  ### 0.2.3
141
- * Bug fixes
142
- * Fix bug that added duplcate field names to Model#field_names.
164
+
165
+ - Bug fixes
166
+ - Fix bug that added duplcate field names to Model#field_names.
143
167
 
144
168
  ### 0.2.2
145
- * Bug fixes
146
- * Fix bug requiring support codez in lib/deco_lite.rb.
169
+
170
+ - Bug fixes
171
+ - Fix bug requiring support codez in lib/deco_lite.rb.
147
172
 
148
173
  ### 0.2.1
149
- * Changes
150
- * Add mad_flatter gem runtime dependency.
151
- * Refactor to let mad_flatter handle the Hash flattening.
174
+
175
+ - Changes
176
+ - Add mad_flatter gem runtime dependency.
177
+ - Refactor to let mad_flatter handle the Hash flattening.
152
178
 
153
179
  ### 0.1.1
154
- * Changes
155
- * Update gems and especially rake gem version to squash CVE-2020-8130, see https://github.com/advisories/GHSA-jppv-gw3r-w3q8.
156
- * Fix rubocop violations.
180
+
181
+ - Changes
182
+ - Update gems and especially rake gem version to squash CVE-2020-8130, see https://github.com/advisories/GHSA-jppv-gw3r-w3q8.
183
+ - Fix rubocop violations.
157
184
 
158
185
  ### 0.1.0
159
- * Initial commit
186
+
187
+ - Initial commit
data/Gemfile CHANGED
@@ -12,9 +12,10 @@ gem 'rake', '>= 13.0', '< 14.0'
12
12
 
13
13
  group :development do
14
14
  gem 'reek', '>= 6.1', '< 7.0'
15
- gem 'rubocop', '>= 1.35', '< 2.0'
16
- gem 'rubocop-performance', '>= 1.14', '< 2.0'
17
- gem 'rubocop-rspec', '>= 2.12', '< 3.0'
15
+ gem 'rubocop', '>= 1.65', '< 2.0'
16
+ gem 'rubocop-performance', '>= 1.21', '< 2.0'
17
+ gem 'rubocop-rake', '>= 0.6', '< 1.0'
18
+ gem 'rubocop-rspec', '>= 3.0.4', '< 4.0'
18
19
  end
19
20
 
20
21
  group :test do
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deco_lite (1.5.13)
4
+ deco_lite (1.5.14)
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.3)
14
- activesupport (= 7.1.3)
15
- activesupport (7.1.3)
13
+ activemodel (7.1.3.4)
14
+ activesupport (= 7.1.3.4)
15
+ activesupport (7.1.3.4)
16
16
  base64
17
17
  bigdecimal
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -24,28 +24,27 @@ GEM
24
24
  tzinfo (~> 2.0)
25
25
  ast (2.4.2)
26
26
  base64 (0.2.0)
27
- bigdecimal (3.1.6)
27
+ bigdecimal (3.1.8)
28
28
  byebug (11.1.3)
29
29
  coderay (1.1.3)
30
- concurrent-ruby (1.2.3)
30
+ concurrent-ruby (1.3.3)
31
31
  connection_pool (2.4.1)
32
32
  diff-lcs (1.5.1)
33
- docile (1.4.0)
34
- drb (2.2.0)
35
- ruby2_keywords
36
- dry-configurable (1.1.0)
33
+ docile (1.4.1)
34
+ drb (2.2.1)
35
+ dry-configurable (1.2.0)
37
36
  dry-core (~> 1.0, < 2)
38
37
  zeitwerk (~> 2.6)
39
38
  dry-core (1.0.1)
40
39
  concurrent-ruby (~> 1.0)
41
40
  zeitwerk (~> 2.6)
42
- dry-inflector (1.0.0)
41
+ dry-inflector (1.1.0)
43
42
  dry-initializer (3.1.1)
44
43
  dry-logic (1.5.0)
45
44
  concurrent-ruby (~> 1.0)
46
45
  dry-core (~> 1.0, < 2)
47
46
  zeitwerk (~> 2.6)
48
- dry-schema (1.13.3)
47
+ dry-schema (1.13.4)
49
48
  concurrent-ruby (~> 1.0)
50
49
  dry-configurable (~> 1.0, >= 1.0.1)
51
50
  dry-core (~> 1.0, < 2)
@@ -60,19 +59,19 @@ GEM
60
59
  dry-inflector (~> 1.0)
61
60
  dry-logic (~> 1.4)
62
61
  zeitwerk (~> 2.6)
63
- i18n (1.14.1)
62
+ i18n (1.14.5)
64
63
  concurrent-ruby (~> 1.0)
65
- immutable_struct_ex (1.0.9)
66
- json (2.7.1)
64
+ immutable_struct_ex (1.0.11)
65
+ json (2.7.2)
67
66
  language_server-protocol (3.17.0.3)
68
- mad_flatter (3.0.7)
67
+ mad_flatter (3.0.8)
69
68
  activesupport (>= 7.0.8, < 7.2.0)
70
69
  immutable_struct_ex (>= 1.0, < 2.0)
71
- method_source (1.0.0)
72
- minitest (5.22.2)
70
+ method_source (1.1.0)
71
+ minitest (5.24.1)
73
72
  mutex_m (0.2.0)
74
- parallel (1.24.0)
75
- parser (3.3.0.5)
73
+ parallel (1.26.1)
74
+ parser (3.3.4.2)
76
75
  ast (~> 2.4.1)
77
76
  racc
78
77
  pry (0.14.2)
@@ -81,68 +80,70 @@ GEM
81
80
  pry-byebug (3.10.1)
82
81
  byebug (~> 11.0)
83
82
  pry (>= 0.13, < 0.15)
84
- racc (1.7.3)
83
+ racc (1.8.1)
85
84
  rainbow (3.1.1)
86
- rake (13.1.0)
85
+ rake (13.2.1)
87
86
  reek (6.3.0)
88
87
  dry-schema (~> 1.13.0)
89
88
  parser (~> 3.3.0)
90
89
  rainbow (>= 2.0, < 4.0)
91
90
  rexml (~> 3.1)
92
- regexp_parser (2.9.0)
93
- rexml (3.2.6)
91
+ regexp_parser (2.9.2)
92
+ rexml (3.3.4)
93
+ strscan
94
94
  rspec (3.13.0)
95
95
  rspec-core (~> 3.13.0)
96
96
  rspec-expectations (~> 3.13.0)
97
97
  rspec-mocks (~> 3.13.0)
98
98
  rspec-core (3.13.0)
99
99
  rspec-support (~> 3.13.0)
100
- rspec-expectations (3.13.0)
100
+ rspec-expectations (3.13.1)
101
101
  diff-lcs (>= 1.2.0, < 2.0)
102
102
  rspec-support (~> 3.13.0)
103
- rspec-mocks (3.13.0)
103
+ rspec-mocks (3.13.1)
104
104
  diff-lcs (>= 1.2.0, < 2.0)
105
105
  rspec-support (~> 3.13.0)
106
- rspec-support (3.13.0)
107
- rubocop (1.60.2)
106
+ rspec-support (3.13.1)
107
+ rubocop (1.65.1)
108
108
  json (~> 2.3)
109
109
  language_server-protocol (>= 3.17.0)
110
110
  parallel (~> 1.10)
111
111
  parser (>= 3.3.0.2)
112
112
  rainbow (>= 2.2.2, < 4.0)
113
- regexp_parser (>= 1.8, < 3.0)
113
+ regexp_parser (>= 2.4, < 3.0)
114
114
  rexml (>= 3.2.5, < 4.0)
115
- rubocop-ast (>= 1.30.0, < 2.0)
115
+ rubocop-ast (>= 1.31.1, < 2.0)
116
116
  ruby-progressbar (~> 1.7)
117
117
  unicode-display_width (>= 2.4.0, < 3.0)
118
- rubocop-ast (1.30.0)
119
- parser (>= 3.2.1.0)
120
- rubocop-capybara (2.20.0)
121
- rubocop (~> 1.41)
122
- rubocop-factory_bot (2.25.1)
123
- rubocop (~> 1.41)
124
- rubocop-performance (1.20.2)
118
+ rubocop-ast (1.32.0)
119
+ parser (>= 3.3.1.0)
120
+ rubocop-performance (1.21.1)
125
121
  rubocop (>= 1.48.1, < 2.0)
126
- rubocop-ast (>= 1.30.0, < 2.0)
127
- rubocop-rspec (2.26.1)
128
- rubocop (~> 1.40)
129
- rubocop-capybara (~> 2.17)
130
- rubocop-factory_bot (~> 2.22)
122
+ rubocop-ast (>= 1.31.1, < 2.0)
123
+ rubocop-rake (0.6.0)
124
+ rubocop (~> 1.0)
125
+ rubocop-rspec (3.0.4)
126
+ rubocop (~> 1.61)
131
127
  ruby-progressbar (1.13.0)
132
- ruby2_keywords (0.0.5)
133
128
  simplecov (0.22.0)
134
129
  docile (~> 1.1)
135
130
  simplecov-html (~> 0.11)
136
131
  simplecov_json_formatter (~> 0.1)
137
132
  simplecov-html (0.12.3)
138
133
  simplecov_json_formatter (0.1.4)
134
+ strscan (3.1.0)
139
135
  tzinfo (2.0.6)
140
136
  concurrent-ruby (~> 1.0)
141
137
  unicode-display_width (2.5.0)
142
- zeitwerk (2.6.13)
138
+ zeitwerk (2.6.17)
143
139
 
144
140
  PLATFORMS
141
+ arm64-darwin-22
142
+ arm64-darwin-23
143
+ x64-mingw-ucrt
144
+ x64-mingw32
145
145
  x86_64-darwin-19
146
+ x86_64-darwin-20
146
147
  x86_64-darwin-21
147
148
  x86_64-linux
148
149
 
@@ -153,9 +154,10 @@ DEPENDENCIES
153
154
  rake (>= 13.0, < 14.0)
154
155
  reek (>= 6.1, < 7.0)
155
156
  rspec (>= 3.12, < 4.0)
156
- rubocop (>= 1.35, < 2.0)
157
- rubocop-performance (>= 1.14, < 2.0)
158
- rubocop-rspec (>= 2.12, < 3.0)
157
+ rubocop (>= 1.65, < 2.0)
158
+ rubocop-performance (>= 1.21, < 2.0)
159
+ rubocop-rake (>= 0.6, < 1.0)
160
+ rubocop-rspec (>= 3.0.4, < 4.0)
159
161
  simplecov (>= 0.22.0, < 1.0)
160
162
 
161
163
  BUNDLED WITH
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the version of this gem.
4
4
  module DecoLite
5
- VERSION = '1.5.13'
5
+ VERSION = '1.5.14'
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.13
4
+ version: 1.5.14
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-02-19 00:00:00.000000000 Z
11
+ date: 2024-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel