enum_ish 1.6.1 → 1.6.2

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: 8fb31764431d97fa544b90f3d7534f3c96d2fc1acbbfb7d3d44fcaa73da3064e
4
- data.tar.gz: 84897de0db79b886700f9d061159798aab16dbc120ec52d87d94677a8417de49
3
+ metadata.gz: b9ba2d3bf75254c8f3254a3724f7445e88624da78b10fc2bef8a8bfcc1824677
4
+ data.tar.gz: 757fb848eb78f79a97b419a789622d467d14f8aece08f38e042c64823ac782de
5
5
  SHA512:
6
- metadata.gz: 9130d50fa059e0a1a0e9237e07b73ad7564a55e500a712ea7c15efdd232cfe69ef67cc09e222b124a819a44b57b2e9da078d9b9bb590c08b8f21e6980392cfac
7
- data.tar.gz: 204ae64789c49108e1e9faa137aa6737c5f1d7a1c5f79cf55e354e8a80ae4fb11c89235f4dfb5f018ec89a7a7b9c50141f9a2777235a90bced4d946444e9038f
6
+ metadata.gz: c9245c499e7a19f8d25941573e04f76828815fd3cb8842faf9e8a6428ee09092d1bea871f1d080fb2e1b2a47b89ce178816e76244f763f4ad9b72176eca4a6fc
7
+ data.tar.gz: 1c953c8ab828e06929b3cb118ac72000a0355eb00e7600cc4aa2abc14183734a715dc90963ce961f61d56fe341f7891b5d4ba4b73d8468bd471c35f48e96ea4d
@@ -4,12 +4,12 @@ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  test:
7
- runs-on: ubuntu-20.04
7
+ runs-on: ubuntu-22.04
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1]
12
- gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70']
11
+ ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3]
12
+ gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61', 'rails70', 'rails71']
13
13
  exclude:
14
14
  - ruby: 2.3
15
15
  gemfile: rails60
@@ -17,16 +17,24 @@ jobs:
17
17
  gemfile: rails61
18
18
  - ruby: 2.3
19
19
  gemfile: rails70
20
+ - ruby: 2.3
21
+ gemfile: rails71
20
22
  - ruby: 2.4
21
23
  gemfile: rails60
22
24
  - ruby: 2.4
23
25
  gemfile: rails61
24
26
  - ruby: 2.4
25
27
  gemfile: rails70
28
+ - ruby: 2.4
29
+ gemfile: rails71
26
30
  - ruby: 2.5
27
31
  gemfile: rails70
32
+ - ruby: 2.5
33
+ gemfile: rails71
28
34
  - ruby: 2.6
29
35
  gemfile: rails70
36
+ - ruby: 2.6
37
+ gemfile: rails71
30
38
  - ruby: 3.0
31
39
  gemfile: rails50
32
40
  - ruby: 3.0
@@ -39,6 +47,18 @@ jobs:
39
47
  gemfile: rails51
40
48
  - ruby: 3.1
41
49
  gemfile: rails52
50
+ - ruby: 3.2
51
+ gemfile: rails50
52
+ - ruby: 3.2
53
+ gemfile: rails51
54
+ - ruby: 3.2
55
+ gemfile: rails52
56
+ - ruby: 3.3
57
+ gemfile: rails50
58
+ - ruby: 3.3
59
+ gemfile: rails51
60
+ - ruby: 3.3
61
+ gemfile: rails52
42
62
 
43
63
  name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
44
64
 
@@ -46,7 +66,7 @@ jobs:
46
66
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
47
67
 
48
68
  steps:
49
- - uses: actions/checkout@v2
69
+ - uses: actions/checkout@v4
50
70
  - uses: ruby/setup-ruby@v1
51
71
  with:
52
72
  ruby-version: ${{ matrix.ruby }}
data/.gitignore CHANGED
@@ -4,7 +4,7 @@ Gemfile.lock
4
4
  coverage/
5
5
  gemfiles/*.lock
6
6
  pkg/
7
- spec/dummy/db/*.sqlite3
7
+ spec/dummy/db/*.sqlite3*
8
8
  spec/dummy/log/*.log
9
9
  spec/dummy/tmp/*
10
10
  tmp/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.6.2
4
+
5
+ * Add `frozen_string_literal: true`.
6
+
3
7
  ## 1.6.1
4
8
 
5
9
  * Support activerecord 7.0.
@@ -2,5 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 5.0.0"
4
4
  gem "sqlite3", "~> 1.3.6"
5
+ gem "loofah", "~> 2.19.1"
5
6
 
6
7
  gemspec path: "../"
@@ -2,5 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 5.1.0"
4
4
  gem "sqlite3", "~> 1.3.6"
5
+ gem "loofah", "~> 2.19.1"
5
6
 
6
7
  gemspec path: "../"
@@ -2,5 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 5.2.0"
4
4
  gem "sqlite3", "~> 1.3.6"
5
+ gem "loofah", "~> 2.19.1"
5
6
 
6
7
  gemspec path: "../"
@@ -1,6 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 6.0.0"
4
+ gem "sqlite3", "~> 1.4.0"
4
5
  gem "psych", "~> 3.3.0"
5
6
 
6
7
  gemspec path: "../"
@@ -1,5 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 6.1.0"
4
+ gem "sqlite3", "~> 1.4.0"
4
5
 
5
6
  gemspec path: "../"
@@ -1,5 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 7.0.1"
4
+ gem "sqlite3", "~> 1.4.0"
4
5
 
5
6
  gemspec path: "../"
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem "rails", "~> 7.1.0"
4
+ gem "sqlite3", "~> 1.6.6"
5
+
6
+ gemspec path: "../"
data/lib/enum_ish/base.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'enum'
2
4
  require_relative 'dictionary'
3
5
  require_relative 'errors'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module EnumIsh
2
4
  class DictionaryLookup
3
5
  def initialize(klass, enum, options = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EnumIsh
4
- VERSION = '1.6.1'
4
+ VERSION = '1.6.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enum_ish
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-08 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -116,6 +116,7 @@ files:
116
116
  - gemfiles/rails60.gemfile
117
117
  - gemfiles/rails61.gemfile
118
118
  - gemfiles/rails70.gemfile
119
+ - gemfiles/rails71.gemfile
119
120
  - lib/enum_ish.rb
120
121
  - lib/enum_ish/active_record_definer.rb
121
122
  - lib/enum_ish/active_record_enum_type.rb
@@ -131,7 +132,7 @@ files:
131
132
  homepage: https://github.com/kanety/enum_ish
132
133
  licenses: []
133
134
  metadata: {}
134
- post_install_message:
135
+ post_install_message:
135
136
  rdoc_options: []
136
137
  require_paths:
137
138
  - lib
@@ -146,8 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
147
  - !ruby/object:Gem::Version
147
148
  version: '0'
148
149
  requirements: []
149
- rubygems_version: 3.1.2
150
- signing_key:
150
+ rubygems_version: 3.3.3
151
+ signing_key:
151
152
  specification_version: 4
152
153
  summary: A ruby and rails extension to generate enum-like methods
153
154
  test_files: []