inheritance_integer_type 0.2.2 → 0.3.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/.github/CODEOWNERS +5 -0
- data/.github/workflows/ci.yaml +3 -4
- data/.github/workflows/gem-push.yaml +3 -3
- data/.ruby-version +1 -1
- data/Appraisals +2 -13
- data/Gemfile +2 -1
- data/README.md +1 -1
- data/dev.yml +2 -3
- data/inheritance_integer_type.gemspec +1 -2
- data/lib/inheritance_integer_type/version.rb +1 -1
- data/overlord.yml +4 -2
- data/renovate.json +6 -0
- data/spec/spec_helper.rb +1 -1
- metadata +8 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ded67e0a4ff247b7edb80809efcb8e0df8e37bde9490c0b0579ee7f2bea8046
|
|
4
|
+
data.tar.gz: 6a3f30b1919ed6c9a8b65e878ab79e637b4bf5717b9e6ee3f4f68d44e6cff96b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e719e200701cf82e58ed15195559a0934844c33681dccf777fa3e993ab89ac5b6f892a0a0f09a0404aef728bb21595e21a03382fd64a6abf1af7788080bbf5c8
|
|
7
|
+
data.tar.gz: 130bfb47582612f3d29c941d2b99843960597a91da62cb17e6e42fb8d549b166c416c7c81f149f4c5553806e46e59b13afad62532a502c8ea1c818b972084a41
|
data/.github/CODEOWNERS
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# This file defines the default code owners for this repository.
|
|
2
|
+
# For more info: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
|
|
3
|
+
#
|
|
4
|
+
# Renovate derives dependency reviewers from this rule.
|
|
5
|
+
* @clio/bei
|
data/.github/workflows/ci.yaml
CHANGED
|
@@ -15,12 +15,11 @@ jobs:
|
|
|
15
15
|
fail-fast: false
|
|
16
16
|
matrix:
|
|
17
17
|
ruby-version:
|
|
18
|
-
- "3.0"
|
|
19
|
-
- "3.1"
|
|
20
|
-
- "3.2"
|
|
21
18
|
- "3.3"
|
|
19
|
+
- "3.4"
|
|
20
|
+
- ".ruby-version"
|
|
22
21
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
24
23
|
- uses: ruby/setup-ruby@v1
|
|
25
24
|
with:
|
|
26
25
|
ruby-version: "${{ matrix.ruby-version }}"
|
|
@@ -12,11 +12,11 @@ jobs:
|
|
|
12
12
|
contents: read
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
16
|
-
- name: Set up Ruby
|
|
15
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
16
|
+
- name: Set up Ruby
|
|
17
17
|
uses: ruby/setup-ruby@v1
|
|
18
18
|
with:
|
|
19
|
-
ruby-version:
|
|
19
|
+
ruby-version: .ruby-version
|
|
20
20
|
|
|
21
21
|
- name: Publish to RubyGems
|
|
22
22
|
env:
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4.0.9
|
data/Appraisals
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
appraise "activerecord-
|
|
2
|
-
gem "activerecord", "~>
|
|
3
|
-
gem "concurrent-ruby", "1.3.4"
|
|
4
|
-
end
|
|
5
|
-
|
|
6
|
-
appraise "activerecord-7.0" do
|
|
7
|
-
gem "activerecord", "~> 7.0.0"
|
|
8
|
-
gem "concurrent-ruby", "1.3.4"
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
appraise "activerecord-7.1" do
|
|
12
|
-
gem "activerecord", "~> 7.1.0"
|
|
13
|
-
gem "concurrent-ruby"
|
|
1
|
+
appraise "activerecord-8.1" do
|
|
2
|
+
gem "activerecord", "~> 8.1.0"
|
|
14
3
|
end
|
data/Gemfile
CHANGED
|
@@ -9,12 +9,13 @@ ar = case ar_version
|
|
|
9
9
|
when "master"
|
|
10
10
|
{ github: "rails/rails" }
|
|
11
11
|
when "default"
|
|
12
|
-
">=
|
|
12
|
+
">= 8.1"
|
|
13
13
|
else
|
|
14
14
|
"~> #{ar_version}"
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
gem "activerecord", ar
|
|
18
|
+
gem "sqlite3", "~> 2.9", ">= 2.9.6"
|
|
18
19
|
|
|
19
20
|
group :development, :test do
|
|
20
21
|
gem "appraisal", "2.5.0"
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ The problem with this approach is that `type` is a string (and by default it is
|
|
|
26
26
|
|
|
27
27
|
## Installation
|
|
28
28
|
|
|
29
|
-
_Current versions of this gem (>= v0.
|
|
29
|
+
_Current versions of this gem (>= v0.3.0) only support ActiveRecord >= 8.1. For ActiveRecord 6.1 through 8.0, use v0.2.2. For Ruby <= v2.7 or ActiveRecord <= 6.0, use v0.1.3._
|
|
30
30
|
|
|
31
31
|
Add this line to your application's Gemfile:
|
|
32
32
|
|
data/dev.yml
CHANGED
|
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.add_development_dependency "bundler"
|
|
22
22
|
spec.add_development_dependency "rake"
|
|
23
23
|
spec.add_development_dependency "rspec"
|
|
24
|
-
spec.
|
|
25
|
-
spec.add_development_dependency "sqlite3", "~> 1.4"
|
|
24
|
+
spec.add_dependency "activerecord", ">= 8.1"
|
|
26
25
|
spec.add_development_dependency "pry"
|
|
27
26
|
end
|
data/overlord.yml
CHANGED
data/renovate.json
ADDED
data/spec/spec_helper.rb
CHANGED
|
@@ -9,7 +9,7 @@ require 'support/belongs_to'
|
|
|
9
9
|
|
|
10
10
|
RSpec.configure do |config|
|
|
11
11
|
config.before(:suite) do
|
|
12
|
-
ActiveRecord::MigrationContext.new("#{File.dirname(__FILE__)}/support/migrations"
|
|
12
|
+
ActiveRecord::MigrationContext.new("#{File.dirname(__FILE__)}/support/migrations").migrate
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
# No need to return the run the down migration after the test
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inheritance_integer_type
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle d'Oliveira
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -58,28 +57,14 @@ dependencies:
|
|
|
58
57
|
requirements:
|
|
59
58
|
- - ">="
|
|
60
59
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
62
|
-
type: :
|
|
60
|
+
version: '8.1'
|
|
61
|
+
type: :runtime
|
|
63
62
|
prerelease: false
|
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
64
|
requirements:
|
|
66
65
|
- - ">="
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: sqlite3
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - "~>"
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '1.4'
|
|
76
|
-
type: :development
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - "~>"
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: '1.4'
|
|
67
|
+
version: '8.1'
|
|
83
68
|
- !ruby/object:Gem::Dependency
|
|
84
69
|
name: pry
|
|
85
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -102,6 +87,7 @@ executables: []
|
|
|
102
87
|
extensions: []
|
|
103
88
|
extra_rdoc_files: []
|
|
104
89
|
files:
|
|
90
|
+
- ".github/CODEOWNERS"
|
|
105
91
|
- ".github/workflows/ci.yaml"
|
|
106
92
|
- ".github/workflows/gem-push.yaml"
|
|
107
93
|
- ".gitignore"
|
|
@@ -118,6 +104,7 @@ files:
|
|
|
118
104
|
- lib/inheritance_integer_type/extensions.rb
|
|
119
105
|
- lib/inheritance_integer_type/version.rb
|
|
120
106
|
- overlord.yml
|
|
107
|
+
- renovate.json
|
|
121
108
|
- spec/inheritance_integer_type_spec.rb
|
|
122
109
|
- spec/spec_helper.rb
|
|
123
110
|
- spec/spec_helper~
|
|
@@ -135,7 +122,6 @@ homepage: ''
|
|
|
135
122
|
licenses:
|
|
136
123
|
- MIT
|
|
137
124
|
metadata: {}
|
|
138
|
-
post_install_message:
|
|
139
125
|
rdoc_options: []
|
|
140
126
|
require_paths:
|
|
141
127
|
- lib
|
|
@@ -150,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
136
|
- !ruby/object:Gem::Version
|
|
151
137
|
version: '0'
|
|
152
138
|
requirements: []
|
|
153
|
-
rubygems_version:
|
|
154
|
-
signing_key:
|
|
139
|
+
rubygems_version: 4.0.20
|
|
155
140
|
specification_version: 4
|
|
156
141
|
summary: Allow the type field in teh DB to be an integer rather than a string
|
|
157
142
|
test_files:
|