str_enum 0.4.1 → 0.5.0

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: c89a03789941bc7ef62994b4e2594f2091f28a67826fd1ad89d92283670e0395
4
- data.tar.gz: 3bf6bdd5c9245a440a0c3792e4e4b7a790f35bd1ef89d9e4a33b805fba1f06e1
3
+ metadata.gz: 77883d99b0111eb4c99596850e1586b9aff0932a65f618ca59a689cc68a25259
4
+ data.tar.gz: a1f2e93d401bc1aa5fdadc03916d3f09eeb26b26287736e8a08d26ce8481be29
5
5
  SHA512:
6
- metadata.gz: 24050ff2df453680aff6807b5aa991362d6baf0e7368f25bc6c35b8b1188352d538a32108882966276bb41f39ba88f685ddba8ee32a4baefb3ef2212cbe17096
7
- data.tar.gz: d35c951eb9c9038c883ed0efe07e5be09553f77f2271359c487f7dd608e88e19146150862c0830e7f29546d5819c17c9c6ceb9f77816ec443c6cf599eb90107f
6
+ metadata.gz: d5759f66e260173940dd0b09f9af91d32448bf0ba1072ea859e413fff71f010367e40ca6e3735154df69c7a325148518044f820a4c3172a4de1bffecc1c29582
7
+ data.tar.gz: 19bb32b1b8ca5e616d0919728b85b451f8c884922503c5addeef2bc3de7859bb6afab6a671fa70c5f37bb3a732a14fd2ccc227243e241b5834a883faab8e0607
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.5.0 (2025-04-03)
2
+
3
+ - Dropped support for Ruby < 3.2 and Active Record < 7.1
4
+
1
5
  ## 0.4.1 (2023-11-28)
2
6
 
3
7
  - Fixed issue with `select`
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016-2023 Andrew Kane
1
+ Copyright (c) 2016-2025 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -9,7 +9,7 @@ String enums for Rails!! :tada:
9
9
  - accessor methods
10
10
  - update methods
11
11
 
12
- [![Build Status](https://github.com/ankane/str_enum/workflows/build/badge.svg?branch=master)](https://github.com/ankane/str_enum/actions)
12
+ [![Build Status](https://github.com/ankane/str_enum/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/str_enum/actions)
13
13
 
14
14
  ## Getting Started
15
15
 
@@ -88,7 +88,7 @@ class User < ActiveRecord::Base
88
88
  default: true,
89
89
  prefix: false,
90
90
  scopes: true,
91
- suffix: false,
91
+ suffix: false,
92
92
  update_methods: true,
93
93
  validate: true
94
94
  end
@@ -1,3 +1,3 @@
1
1
  module StrEnum
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: str_enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
10
+ date: 2025-04-03 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -16,15 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '6.1'
18
+ version: '7.1'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '6.1'
27
- description:
25
+ version: '7.1'
28
26
  email: andrew@ankane.org
29
27
  executables: []
30
28
  extensions: []
@@ -40,7 +38,6 @@ homepage: https://github.com/ankane/str_enum
40
38
  licenses:
41
39
  - MIT
42
40
  metadata: {}
43
- post_install_message:
44
41
  rdoc_options: []
45
42
  require_paths:
46
43
  - lib
@@ -48,15 +45,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
45
  requirements:
49
46
  - - ">="
50
47
  - !ruby/object:Gem::Version
51
- version: '3'
48
+ version: '3.2'
52
49
  required_rubygems_version: !ruby/object:Gem::Requirement
53
50
  requirements:
54
51
  - - ">="
55
52
  - !ruby/object:Gem::Version
56
53
  version: '0'
57
54
  requirements: []
58
- rubygems_version: 3.4.10
59
- signing_key:
55
+ rubygems_version: 3.6.2
60
56
  specification_version: 4
61
57
  summary: String enums for Rails
62
58
  test_files: []