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 +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/lib/str_enum/version.rb +1 -1
- metadata +6 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77883d99b0111eb4c99596850e1586b9aff0932a65f618ca59a689cc68a25259
|
4
|
+
data.tar.gz: a1f2e93d401bc1aa5fdadc03916d3f09eeb26b26287736e8a08d26ce8481be29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5759f66e260173940dd0b09f9af91d32448bf0ba1072ea859e413fff71f010367e40ca6e3735154df69c7a325148518044f820a4c3172a4de1bffecc1c29582
|
7
|
+
data.tar.gz: 19bb32b1b8ca5e616d0919728b85b451f8c884922503c5addeef2bc3de7859bb6afab6a671fa70c5f37bb3a732a14fd2ccc227243e241b5834a883faab8e0607
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,7 @@ String enums for Rails!! :tada:
|
|
9
9
|
- accessor methods
|
10
10
|
- update methods
|
11
11
|
|
12
|
-
[](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
|
data/lib/str_enum/version.rb
CHANGED
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
|
+
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:
|
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: '
|
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: '
|
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.
|
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: []
|