deco_lite 1.5.8 → 1.5.9

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: 1f2a9da9325d467020b10b9254983f1ac58808dae1da5d4f5800029fd17d670c
4
- data.tar.gz: c21a5b3b766842260c44149dde74c9daf2843132f918de376f044b99e59551c3
3
+ metadata.gz: 1a27ccdf334e89ce959a36320c2aaa1fc29f5cde774b9fabfcb5fe249e7596c9
4
+ data.tar.gz: 598a47372f437aff611791a98354f085eda5eb72cc05135291528c196fbd8925
5
5
  SHA512:
6
- metadata.gz: 99834f07b2b36c688a0ff9010fe853ec4d63bc1f28ff5a4955341a14e5fd8675880f44320f0fb3138cfdb5a6132301654f4ab220b5c8f4e4c9696f146a529edb
7
- data.tar.gz: f163e26c88dce5fcaf03c2698ecd69fceeea4dc78f13649a12cc42383d68d0cf6e51d249493ba5f21a93b1f09cfa2b75067cf2ac850482a5eb2e860b3c263e16
6
+ metadata.gz: b279545ec8b982ad48224aa9e6e6cf92af2c7dc0308029cf82bffaf432f8a3c434b1670285bbcc0c520d07cef1fcb0803728865bc7c166094afa673b36ee39de
7
+ data.tar.gz: 198d7e75e5e61d099504a774975e38b16b69894e2005e7779ea86f166b80b0534c323f2b544585cc0c98124ec69a14288f8a9ec067fb559fcad21e16623c8151
@@ -0,0 +1,40 @@
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
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ "main" ]
13
+ pull_request:
14
+ branches: [ "main" ]
15
+
16
+ permissions:
17
+ contents: read
18
+
19
+ jobs:
20
+ test:
21
+
22
+ runs-on: ubuntu-latest
23
+ strategy:
24
+ 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"]
28
+
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
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 1.5.9 2023-12-27
2
+
3
+ * Changes
4
+ * Update ruby gems
5
+
1
6
  ### 1.5.8 2023-12-02
2
7
 
3
8
  * Changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deco_lite (1.5.8)
4
+ deco_lite (1.5.9)
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)
@@ -24,7 +24,7 @@ GEM
24
24
  tzinfo (~> 2.0)
25
25
  ast (2.4.2)
26
26
  base64 (0.2.0)
27
- bigdecimal (3.1.4)
27
+ bigdecimal (3.1.5)
28
28
  byebug (11.1.3)
29
29
  coderay (1.1.3)
30
30
  concurrent-ruby (1.2.2)
@@ -35,17 +35,17 @@ GEM
35
35
  ruby2_keywords
36
36
  i18n (1.14.1)
37
37
  concurrent-ruby (~> 1.0)
38
- immutable_struct_ex (1.0.4)
39
- json (2.7.0)
38
+ immutable_struct_ex (1.0.5)
39
+ json (2.7.1)
40
40
  kwalify (0.7.2)
41
41
  language_server-protocol (3.17.0.3)
42
- mad_flatter (3.0.4)
42
+ mad_flatter (3.0.5)
43
43
  activesupport (>= 7.0.8, < 7.2.0)
44
44
  immutable_struct_ex (>= 1.0, < 2.0)
45
45
  method_source (1.0.0)
46
46
  minitest (5.20.0)
47
47
  mutex_m (0.2.0)
48
- parallel (1.23.0)
48
+ parallel (1.24.0)
49
49
  parser (3.2.2.4)
50
50
  ast (~> 2.4.1)
51
51
  racc
@@ -62,7 +62,7 @@ GEM
62
62
  kwalify (~> 0.7.0)
63
63
  parser (~> 3.2.0)
64
64
  rainbow (>= 2.0, < 4.0)
65
- regexp_parser (2.8.2)
65
+ regexp_parser (2.8.3)
66
66
  rexml (3.2.6)
67
67
  rspec (3.12.0)
68
68
  rspec-core (~> 3.12.0)
@@ -77,7 +77,7 @@ GEM
77
77
  diff-lcs (>= 1.2.0, < 2.0)
78
78
  rspec-support (~> 3.12.0)
79
79
  rspec-support (3.12.1)
80
- rubocop (1.58.0)
80
+ rubocop (1.59.0)
81
81
  json (~> 2.3)
82
82
  language_server-protocol (>= 3.17.0)
83
83
  parallel (~> 1.10)
@@ -94,9 +94,9 @@ GEM
94
94
  rubocop (~> 1.41)
95
95
  rubocop-factory_bot (2.24.0)
96
96
  rubocop (~> 1.33)
97
- rubocop-performance (1.19.1)
98
- rubocop (>= 1.7.0, < 2.0)
99
- rubocop-ast (>= 0.4.0)
97
+ rubocop-performance (1.20.1)
98
+ rubocop (>= 1.48.1, < 2.0)
99
+ rubocop-ast (>= 1.30.0, < 2.0)
100
100
  rubocop-rspec (2.25.0)
101
101
  rubocop (~> 1.40)
102
102
  rubocop-capybara (~> 2.17)
@@ -116,6 +116,7 @@ GEM
116
116
  PLATFORMS
117
117
  x86_64-darwin-19
118
118
  x86_64-darwin-21
119
+ x86_64-linux
119
120
 
120
121
  DEPENDENCIES
121
122
  bundler (>= 2.2, < 3.0)
data/README.md CHANGED
@@ -1,14 +1,10 @@
1
1
  # DecoLite
2
-
3
- [![GitHub version](http://badge.fury.io/gh/gangelo%2Fdeco_lite.svg)](https://badge.fury.io/gh/gangelo%2Fdeco_lite)
4
-
5
- [![Gem Version](https://badge.fury.io/rb/deco_lite.svg)](https://badge.fury.io/rb/deco_lite)
6
-
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)
7
5
  [![](http://ruby-gem-downloads-badge.herokuapp.com/deco_lite?type=total)](http://www.rubydoc.info/gems/deco_lite/)
8
6
  [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/deco_lite/)
9
-
10
7
  [![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/deco_lite/issues)
11
-
12
8
  [![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#license)
13
9
 
14
10
  ## Introduction
@@ -184,9 +180,9 @@ One caveat to note is when using Rails custom validators with `validates_with`.
184
180
  class Model < DecoLite::Model
185
181
  validates :first, :last, :address, presence: true
186
182
  validates :age, numericality: true
187
- # When using Rails custom validators via validates_with,
183
+ # When using Rails custom validators via validates_with,
188
184
  # pass the attribute name(s) being validated in an Array
189
- # via the #options Hash, with a key of either :attributes
185
+ # via the #options Hash, with a key of either :attributes
190
186
  # or :fields. For example:
191
187
  validates_with CustomFirstNameValidator, attributes: [:first]
192
188
  validates_with CustomAgeValidator, fields: [:age]
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the version of this gem.
4
4
  module DecoLite
5
- VERSION = '1.5.8'
5
+ VERSION = '1.5.9'
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.8
4
+ version: 1.5.9
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-02 00:00:00.000000000 Z
11
+ date: 2023-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -292,6 +292,7 @@ extensions: []
292
292
  extra_rdoc_files: []
293
293
  files:
294
294
  - ".github/dependabot.yml"
295
+ - ".github/workflows/ruby.yml"
295
296
  - ".gitignore"
296
297
  - ".reek.yml"
297
298
  - ".rspec"