immutable_struct_ex 1.0.4 → 1.0.6

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: e849da7ba30dc268a6fedafe8fbdacdd9439e26ba40bf051ef3ae726a23e0907
4
- data.tar.gz: 38f805df29f1685b20073792f63b081d7551917942b1e3fbef93573d82f7df42
3
+ metadata.gz: cd929528a3699d2fdb9351798117381df98eccf80c574eee1c695a0fa2663b76
4
+ data.tar.gz: 3d693fcdcf727c9a577b6f85bf45333d75c8ceaa72d1c72751047482b64a7829
5
5
  SHA512:
6
- metadata.gz: cddd0767dc6c3b01789a35cb1e834eaceccdbdd378c551d5693d7782507e2dde65e3ceedb7a76388bf0a1cb1cd7afa8a94a7c5e70e7bb200ba827e8d049f6a67
7
- data.tar.gz: fb150ca4a2ae0df1278358b632a93827d9351d07010b917a85a6b643ef8b220c860430325df03f54331b772ccc0eab02c14010b9fb8f485e46dda9955640196b
6
+ metadata.gz: cf748ee6b9e5dbd362c319d589873180df8d75c24c63814b337b6c6384f085eae8981abc2f95f764af73a427d83551a13451a2ce10834d7b6625019d153a3b9f
7
+ data.tar.gz: a558491229f539961e7645095a4c9da62a5b6e771400ffd1b146e111da40002312c0f3e451bb910f0628f8f7cd6beff0503abc0670db5b89daeff49b8656288e
@@ -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.0.1", "3.0.6", "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,20 @@
1
+ ### [1.0.6] 2024-01-07
2
+
3
+ Changes
4
+
5
+ - Relax ruby version requirement to Gem::Requirement.new(">= 3.0.1", "< 4.0").
6
+ - Update ruby gems.
7
+
8
+ ### [1.0.5] 2023-12-27
9
+
10
+ Enhancements
11
+
12
+ - Add github actions to run tests and rubocop.
13
+
14
+ Changes
15
+
16
+ - Ruby gem updates
17
+
1
18
  ### [1.0.4] 2023-12-02
2
19
 
3
20
  Changes
data/Gemfile.lock CHANGED
@@ -1,21 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- immutable_struct_ex (1.0.4)
4
+ immutable_struct_ex (1.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.2)
10
+ bigdecimal (3.1.5)
10
11
  byebug (11.1.3)
11
12
  coderay (1.1.3)
13
+ concurrent-ruby (1.2.2)
12
14
  diff-lcs (1.5.0)
13
15
  docile (1.4.0)
14
- json (2.7.0)
15
- kwalify (0.7.2)
16
+ dry-configurable (1.1.0)
17
+ dry-core (~> 1.0, < 2)
18
+ zeitwerk (~> 2.6)
19
+ dry-core (1.0.1)
20
+ concurrent-ruby (~> 1.0)
21
+ zeitwerk (~> 2.6)
22
+ dry-inflector (1.0.0)
23
+ dry-initializer (3.1.1)
24
+ dry-logic (1.5.0)
25
+ concurrent-ruby (~> 1.0)
26
+ dry-core (~> 1.0, < 2)
27
+ zeitwerk (~> 2.6)
28
+ dry-schema (1.13.3)
29
+ concurrent-ruby (~> 1.0)
30
+ dry-configurable (~> 1.0, >= 1.0.1)
31
+ dry-core (~> 1.0, < 2)
32
+ dry-initializer (~> 3.0)
33
+ dry-logic (>= 1.4, < 2)
34
+ dry-types (>= 1.7, < 2)
35
+ zeitwerk (~> 2.6)
36
+ dry-types (1.7.2)
37
+ bigdecimal (~> 3.0)
38
+ concurrent-ruby (~> 1.0)
39
+ dry-core (~> 1.0)
40
+ dry-inflector (~> 1.0)
41
+ dry-logic (~> 1.4)
42
+ zeitwerk (~> 2.6)
43
+ json (2.7.1)
16
44
  language_server-protocol (3.17.0.3)
17
45
  method_source (1.0.0)
18
- parallel (1.23.0)
46
+ parallel (1.24.0)
19
47
  parser (3.2.2.4)
20
48
  ast (~> 2.4.1)
21
49
  racc
@@ -28,11 +56,12 @@ GEM
28
56
  racc (1.7.3)
29
57
  rainbow (3.1.1)
30
58
  rake (13.1.0)
31
- reek (6.1.4)
32
- kwalify (~> 0.7.0)
59
+ reek (6.2.0)
60
+ dry-schema (~> 1.13.0)
33
61
  parser (~> 3.2.0)
34
62
  rainbow (>= 2.0, < 4.0)
35
- regexp_parser (2.8.2)
63
+ rexml (~> 3.1)
64
+ regexp_parser (2.8.3)
36
65
  rexml (3.2.6)
37
66
  rspec (3.12.0)
38
67
  rspec-core (~> 3.12.0)
@@ -47,7 +76,7 @@ GEM
47
76
  diff-lcs (>= 1.2.0, < 2.0)
48
77
  rspec-support (~> 3.12.0)
49
78
  rspec-support (3.12.1)
50
- rubocop (1.58.0)
79
+ rubocop (1.59.0)
51
80
  json (~> 2.3)
52
81
  language_server-protocol (>= 3.17.0)
53
82
  parallel (~> 1.10)
@@ -60,14 +89,14 @@ GEM
60
89
  unicode-display_width (>= 2.4.0, < 3.0)
61
90
  rubocop-ast (1.30.0)
62
91
  parser (>= 3.2.1.0)
63
- rubocop-capybara (2.19.0)
92
+ rubocop-capybara (2.20.0)
64
93
  rubocop (~> 1.41)
65
- rubocop-factory_bot (2.24.0)
94
+ rubocop-factory_bot (2.25.0)
66
95
  rubocop (~> 1.33)
67
- rubocop-performance (1.19.1)
68
- rubocop (>= 1.7.0, < 2.0)
69
- rubocop-ast (>= 0.4.0)
70
- rubocop-rspec (2.25.0)
96
+ rubocop-performance (1.20.1)
97
+ rubocop (>= 1.48.1, < 2.0)
98
+ rubocop-ast (>= 1.30.0, < 2.0)
99
+ rubocop-rspec (2.26.1)
71
100
  rubocop (~> 1.40)
72
101
  rubocop-capybara (~> 2.17)
73
102
  rubocop-factory_bot (~> 2.22)
@@ -79,6 +108,7 @@ GEM
79
108
  simplecov-html (0.12.3)
80
109
  simplecov_json_formatter (0.1.4)
81
110
  unicode-display_width (2.5.0)
111
+ zeitwerk (2.6.12)
82
112
 
83
113
  PLATFORMS
84
114
  x86_64-darwin-19
data/README.md CHANGED
@@ -1,11 +1,9 @@
1
- [![GitHub version](http://badge.fury.io/gh/gangelo%2Fimmutable_struct_ex.svg)](https://badge.fury.io/gh/gangelo%2Fimmutable_struct_ex)
2
- [![Gem Version](https://badge.fury.io/rb/immutable_struct_ex.svg)](https://badge.fury.io/rb/immutable_struct_ex)
3
-
1
+ [![Ruby](https://github.com/gangelo/immutable_struct_ex/actions/workflows/ruby.yml/badge.svg)](https://github.com/gangelo/immutable_struct_ex/actions/workflows/ruby.yml)
2
+ [![GitHub version](http://badge.fury.io/gh/gangelo%2Fimmutable_struct_ex.svg?refresh=3)](https://badge.fury.io/gh/gangelo%2Fimmutable_struct_ex)
3
+ [![Gem Version](https://badge.fury.io/rb/immutable_struct_ex.svg?refresh=3)](https://badge.fury.io/rb/immutable_struct_ex)
4
4
  [![](http://ruby-gem-downloads-badge.herokuapp.com/immutable_struct_ex?type=total)](http://www.rubydoc.info/gems/immutable_struct_ex/)
5
5
  [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/immutable_struct_ex/)
6
-
7
6
  [![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/immutable_struct_ex/issues)
8
-
9
7
  [![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#license)
10
8
 
11
9
  # immutable_struct_ex
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'Creates an immutable struct in one step.'
15
15
  spec.homepage = 'https://github.com/gangelo/immutable_struct_ex'
16
16
  spec.license = 'MIT'
17
- spec.required_ruby_version = Gem::Requirement.new("~> 3.0")
17
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.0.1", "< 4.0")
18
18
 
19
19
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
20
20
  # to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ImmutableStructEx
4
- VERSION = '1.0.4'
4
+ VERSION = '1.0.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immutable_struct_ex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
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: 2024-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -174,6 +174,7 @@ extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
176
  - ".github/dependabot.yml"
177
+ - ".github/workflows/ruby.yml"
177
178
  - ".gitignore"
178
179
  - ".reek.yml"
179
180
  - ".rspec"
@@ -204,9 +205,12 @@ require_paths:
204
205
  - lib
205
206
  required_ruby_version: !ruby/object:Gem::Requirement
206
207
  requirements:
207
- - - "~>"
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: 3.0.1
211
+ - - "<"
208
212
  - !ruby/object:Gem::Version
209
- version: '3.0'
213
+ version: '4.0'
210
214
  required_rubygems_version: !ruby/object:Gem::Requirement
211
215
  requirements:
212
216
  - - ">="