activerecord-simple_index_name 1.1.0 → 1.1.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 +4 -4
- data/.github/workflows/pages.yml +8 -11
- data/.github/workflows/release_gem.yml +41 -0
- data/.github/workflows/test.yml +75 -16
- data/CHANGELOG.md +10 -1
- data/README.md +1 -1
- data/activerecord-simple_index_name.gemspec +1 -0
- data/gemfiles/common.gemfile +5 -0
- data/gemfiles/rails_6_0.gemfile +16 -2
- data/gemfiles/rails_6_1.gemfile +16 -2
- data/gemfiles/rails_7_0.gemfile +16 -2
- data/gemfiles/rails_7_1.gemfile +11 -3
- data/gemfiles/rails_7_2.gemfile +10 -0
- data/gemfiles/rails_8_0.gemfile +10 -0
- data/gemfiles/rails_8_1.gemfile +10 -0
- data/lib/active_record/simple_index_name/active_record_ext_7_1.rb +3 -0
- data/lib/active_record/simple_index_name/version.rb +1 -1
- metadata +21 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 06fdd154fa866f49c54b8f1d878442093945f6f1cb5dcd0110b510b79ac220c9
|
|
4
|
+
data.tar.gz: 4f1d43781e259cd57d083e4f2dbee0036266de711b25ba5a3efaf4cf652577ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1c4ed076ba045104a2bd78ff7d5f282183413fa9a66d5ee57e2f3e73f3859b7b92dd254bc4213cb1038699f8fd5f2163802e37a636b8019e3e7dc9d101d8c6e
|
|
7
|
+
data.tar.gz: de6756af23d5d48c65752c3ecd4a451c814c8744894cfd3039cdff14918eae9fc16206ada63953d286bcf1e9c3d074425f6dbf57e095f41136afae5cfc66cf87
|
data/.github/workflows/pages.yml
CHANGED
|
@@ -30,9 +30,9 @@ jobs:
|
|
|
30
30
|
runs-on: ubuntu-latest
|
|
31
31
|
steps:
|
|
32
32
|
- name: Checkout
|
|
33
|
-
uses: actions/checkout@
|
|
33
|
+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
34
34
|
|
|
35
|
-
- uses: ruby/setup-ruby@v1
|
|
35
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
36
36
|
with:
|
|
37
37
|
ruby-version: ruby
|
|
38
38
|
bundler-cache: true
|
|
@@ -40,23 +40,20 @@ jobs:
|
|
|
40
40
|
- run: bundle exec yard
|
|
41
41
|
|
|
42
42
|
- name: Setup Pages
|
|
43
|
-
uses: actions/configure-pages@
|
|
43
|
+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
|
|
44
44
|
- name: Upload artifact
|
|
45
|
-
uses: actions/upload-pages-artifact@
|
|
45
|
+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
|
|
46
46
|
with:
|
|
47
47
|
# Upload entire repository
|
|
48
48
|
path: './doc'
|
|
49
49
|
- name: Deploy to GitHub Pages
|
|
50
50
|
id: deployment
|
|
51
|
-
uses: actions/deploy-pages@
|
|
51
|
+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
|
|
52
52
|
|
|
53
53
|
- name: Slack Notification (not success)
|
|
54
|
-
uses:
|
|
54
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
55
55
|
if: "! success()"
|
|
56
56
|
continue-on-error: true
|
|
57
57
|
with:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
icon_emoji: ":octocat:"
|
|
61
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
62
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
58
|
+
status: ${{ job.status }}
|
|
59
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
if: github.repository == 'sue445/activerecord-simple_index_name'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
environment:
|
|
12
|
+
name: rubygems.org
|
|
13
|
+
url: https://rubygems.org/gems/activerecord-simple_index_name
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Harden Runner
|
|
21
|
+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
|
|
22
|
+
with:
|
|
23
|
+
egress-policy: audit
|
|
24
|
+
|
|
25
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
26
|
+
|
|
27
|
+
- name: Set up Ruby
|
|
28
|
+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
|
|
29
|
+
with:
|
|
30
|
+
bundler-cache: true
|
|
31
|
+
ruby-version: ruby
|
|
32
|
+
|
|
33
|
+
- name: Publish to RubyGems
|
|
34
|
+
uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
|
|
35
|
+
|
|
36
|
+
- name: Create GitHub release
|
|
37
|
+
run: |
|
|
38
|
+
tag_name="$(git describe --tags --abbrev=0)"
|
|
39
|
+
gh release create "${tag_name}" --verify-tag --generate-notes
|
|
40
|
+
env:
|
|
41
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
|
@@ -29,6 +29,8 @@ jobs:
|
|
|
29
29
|
- "3.0"
|
|
30
30
|
- "3.1"
|
|
31
31
|
- "3.2"
|
|
32
|
+
- "3.3"
|
|
33
|
+
- "3.4"
|
|
32
34
|
gemfile:
|
|
33
35
|
- rails_5_0
|
|
34
36
|
- rails_5_1
|
|
@@ -37,6 +39,9 @@ jobs:
|
|
|
37
39
|
- rails_6_1
|
|
38
40
|
- rails_7_0
|
|
39
41
|
- rails_7_1
|
|
42
|
+
- rails_7_2
|
|
43
|
+
- rails_8_0
|
|
44
|
+
- rails_8_1
|
|
40
45
|
|
|
41
46
|
exclude:
|
|
42
47
|
# Rails 6.0+ requires Ruby 2.5+
|
|
@@ -67,6 +72,50 @@ jobs:
|
|
|
67
72
|
- ruby: "2.6"
|
|
68
73
|
gemfile: rails_7_1
|
|
69
74
|
|
|
75
|
+
# Rails 7.2+ requires Ruby 3.1+
|
|
76
|
+
- ruby: "2.3"
|
|
77
|
+
gemfile: rails_7_2
|
|
78
|
+
- ruby: "2.4"
|
|
79
|
+
gemfile: rails_7_2
|
|
80
|
+
- ruby: "2.5"
|
|
81
|
+
gemfile: rails_7_2
|
|
82
|
+
- ruby: "2.6"
|
|
83
|
+
gemfile: rails_7_2
|
|
84
|
+
- ruby: "2.7"
|
|
85
|
+
gemfile: rails_7_2
|
|
86
|
+
- ruby: "3.0"
|
|
87
|
+
gemfile: rails_7_2
|
|
88
|
+
|
|
89
|
+
# Rails 8.0+ requires Ruby 3.2+
|
|
90
|
+
- ruby: "2.3"
|
|
91
|
+
gemfile: rails_8_0
|
|
92
|
+
- ruby: "2.4"
|
|
93
|
+
gemfile: rails_8_0
|
|
94
|
+
- ruby: "2.5"
|
|
95
|
+
gemfile: rails_8_0
|
|
96
|
+
- ruby: "2.6"
|
|
97
|
+
gemfile: rails_8_0
|
|
98
|
+
- ruby: "2.7"
|
|
99
|
+
gemfile: rails_8_0
|
|
100
|
+
- ruby: "3.0"
|
|
101
|
+
gemfile: rails_8_0
|
|
102
|
+
- ruby: "3.1"
|
|
103
|
+
gemfile: rails_8_0
|
|
104
|
+
- ruby: "2.3"
|
|
105
|
+
gemfile: rails_8_1
|
|
106
|
+
- ruby: "2.4"
|
|
107
|
+
gemfile: rails_8_1
|
|
108
|
+
- ruby: "2.5"
|
|
109
|
+
gemfile: rails_8_1
|
|
110
|
+
- ruby: "2.6"
|
|
111
|
+
gemfile: rails_8_1
|
|
112
|
+
- ruby: "2.7"
|
|
113
|
+
gemfile: rails_8_1
|
|
114
|
+
- ruby: "3.0"
|
|
115
|
+
gemfile: rails_8_1
|
|
116
|
+
- ruby: "3.1"
|
|
117
|
+
gemfile: rails_8_1
|
|
118
|
+
|
|
70
119
|
# Rails 5.x doesn't work on Ruby 3.0+
|
|
71
120
|
- ruby: "3.0"
|
|
72
121
|
gemfile: rails_5_0
|
|
@@ -86,14 +135,29 @@ jobs:
|
|
|
86
135
|
gemfile: rails_5_1
|
|
87
136
|
- ruby: "3.2"
|
|
88
137
|
gemfile: rails_5_2
|
|
138
|
+
- ruby: "3.3"
|
|
139
|
+
gemfile: rails_5_0
|
|
140
|
+
- ruby: "3.3"
|
|
141
|
+
gemfile: rails_5_1
|
|
142
|
+
- ruby: "3.3"
|
|
143
|
+
gemfile: rails_5_2
|
|
144
|
+
- ruby: "3.4"
|
|
145
|
+
gemfile: rails_5_0
|
|
146
|
+
- ruby: "3.4"
|
|
147
|
+
gemfile: rails_5_1
|
|
148
|
+
- ruby: "3.4"
|
|
149
|
+
gemfile: rails_5_2
|
|
89
150
|
|
|
90
151
|
env:
|
|
91
152
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
|
92
153
|
|
|
93
154
|
steps:
|
|
94
|
-
- uses: actions/checkout@
|
|
155
|
+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
156
|
+
|
|
157
|
+
- run: sudo apt-get update
|
|
158
|
+
- run: sudo apt-get install -y libsqlite3-dev
|
|
95
159
|
|
|
96
|
-
- uses: ruby/setup-ruby@v1
|
|
160
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
97
161
|
with:
|
|
98
162
|
ruby-version: ${{ matrix.ruby }}
|
|
99
163
|
bundler-cache: true
|
|
@@ -102,7 +166,7 @@ jobs:
|
|
|
102
166
|
- run: bundle update --jobs $(nproc) --retry 3
|
|
103
167
|
|
|
104
168
|
- name: Setup Code Climate Test Reporter
|
|
105
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
169
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
106
170
|
with:
|
|
107
171
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
108
172
|
command: before-build
|
|
@@ -111,7 +175,7 @@ jobs:
|
|
|
111
175
|
- run: bundle exec rspec
|
|
112
176
|
|
|
113
177
|
- name: Teardown Code Climate Test Reporter
|
|
114
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
178
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
115
179
|
with:
|
|
116
180
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
117
181
|
command: after-build
|
|
@@ -119,15 +183,13 @@ jobs:
|
|
|
119
183
|
continue-on-error: true
|
|
120
184
|
|
|
121
185
|
- name: Slack Notification (not success)
|
|
122
|
-
uses:
|
|
186
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
123
187
|
if: "! success()"
|
|
124
188
|
continue-on-error: true
|
|
125
189
|
with:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
130
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
190
|
+
status: ${{ job.status }}
|
|
191
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
192
|
+
matrix: ${{ toJson(matrix) }}
|
|
131
193
|
|
|
132
194
|
notify:
|
|
133
195
|
needs:
|
|
@@ -137,12 +199,9 @@ jobs:
|
|
|
137
199
|
|
|
138
200
|
steps:
|
|
139
201
|
- name: Slack Notification (success)
|
|
140
|
-
uses:
|
|
202
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
141
203
|
if: always()
|
|
142
204
|
continue-on-error: true
|
|
143
205
|
with:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
icon_emoji: ":octocat:"
|
|
147
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
148
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
206
|
+
status: ${{ job.status }}
|
|
207
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
|
-
[full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.
|
|
4
|
+
[full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.2...master)
|
|
5
|
+
|
|
6
|
+
## [v1.1.2](https://github.com/sue445/activerecord-simple_index_name/releases/tag/v1.1.2)
|
|
7
|
+
[full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.1...v1.1.2)
|
|
8
|
+
|
|
9
|
+
## v1.1.1
|
|
10
|
+
[full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.0...v1.1.1)
|
|
11
|
+
|
|
12
|
+
* Fix support activerecord 7.1
|
|
13
|
+
* https://github.com/sue445/activerecord-simple_index_name/pull/95
|
|
5
14
|
|
|
6
15
|
## v1.1.0
|
|
7
16
|
[full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.0.1...v1.1.0)
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Shorten index name
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/rb/activerecord-simple_index_name)
|
|
6
|
-
[](https://github.com/sue445/activerecord-simple_index_name/actions/workflows/test.yml)
|
|
7
7
|
[](https://coveralls.io/github/sue445/activerecord-simple_index_name?branch=master)
|
|
8
8
|
[](https://codeclimate.com/github/sue445/activerecord-simple_index_name)
|
|
9
9
|
|
|
@@ -35,5 +35,6 @@ Gem::Specification.new do |spec|
|
|
|
35
35
|
spec.add_development_dependency "rspec"
|
|
36
36
|
spec.add_development_dependency "simplecov"
|
|
37
37
|
spec.add_development_dependency "sqlite3"
|
|
38
|
+
spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
|
|
38
39
|
spec.add_development_dependency "yard"
|
|
39
40
|
end
|
data/gemfiles/common.gemfile
CHANGED
|
@@ -2,3 +2,8 @@ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.6.0")
|
|
|
2
2
|
# minitest v5.16.0+ requires ruby 2.6.0+
|
|
3
3
|
gem "minitest", "< 5.16.0"
|
|
4
4
|
end
|
|
5
|
+
|
|
6
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.7.0")
|
|
7
|
+
# term-ansicolor 1.9.0+ doesn't work on Ruby < 2.7
|
|
8
|
+
gem "term-ansicolor", "< 1.9.0"
|
|
9
|
+
end
|
data/gemfiles/rails_6_0.gemfile
CHANGED
|
@@ -2,8 +2,22 @@ source "https://rubygems.org"
|
|
|
2
2
|
|
|
3
3
|
gem "rails", "~> 6.0.0"
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("3.0.0")
|
|
6
|
+
# FIXME: sqlite3 1.7.0 cannot be installed with ruby 2.7
|
|
7
|
+
# ref.
|
|
8
|
+
# * https://github.com/sue445/activerecord-simple_index_name/actions/runs/7345118908/job/19997837875?pr=94
|
|
9
|
+
# * https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v1.7.0
|
|
10
|
+
gem "sqlite3", "~> 1.4", "< 1.7.0"
|
|
11
|
+
else
|
|
12
|
+
# c.f. https://github.com/rails/rails/blob/v6.0.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
|
|
13
|
+
gem "sqlite3", "~> 1.4"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# for Ruby 3.4+
|
|
17
|
+
gem "base64"
|
|
18
|
+
gem "bigdecimal"
|
|
19
|
+
gem "drb"
|
|
20
|
+
gem "mutex_m"
|
|
7
21
|
|
|
8
22
|
gemspec path: '../'
|
|
9
23
|
|
data/gemfiles/rails_6_1.gemfile
CHANGED
|
@@ -2,8 +2,22 @@ source "https://rubygems.org"
|
|
|
2
2
|
|
|
3
3
|
gem "rails", "~> 6.1.0"
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("3.0.0")
|
|
6
|
+
# FIXME: sqlite3 1.7.0 cannot be installed with ruby 2.7
|
|
7
|
+
# ref.
|
|
8
|
+
# * https://github.com/sue445/activerecord-simple_index_name/actions/runs/7345118908/job/19997837875?pr=94
|
|
9
|
+
# * https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v1.7.0
|
|
10
|
+
gem "sqlite3", "~> 1.4", "< 1.7.0"
|
|
11
|
+
else
|
|
12
|
+
# c.f. https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
|
|
13
|
+
gem "sqlite3", "~> 1.4"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# for Ruby 3.4+
|
|
17
|
+
gem "base64"
|
|
18
|
+
gem "bigdecimal"
|
|
19
|
+
gem "drb"
|
|
20
|
+
gem "mutex_m"
|
|
7
21
|
|
|
8
22
|
gemspec path: '../'
|
|
9
23
|
|
data/gemfiles/rails_7_0.gemfile
CHANGED
|
@@ -4,8 +4,22 @@ source "https://rubygems.org"
|
|
|
4
4
|
# c.f. https://gist.github.com/yahonda/2776d8d7b6ea7045359f38c10449937b
|
|
5
5
|
gem "rails", "~> 7.0.1"
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("3.0.0")
|
|
8
|
+
# FIXME: sqlite3 1.7.0 cannot be installed with ruby 2.7
|
|
9
|
+
# ref.
|
|
10
|
+
# * https://github.com/sue445/activerecord-simple_index_name/actions/runs/7345118908/job/19997837875?pr=94
|
|
11
|
+
# * https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v1.7.0
|
|
12
|
+
gem "sqlite3", "~> 1.4", "< 1.7.0"
|
|
13
|
+
else
|
|
14
|
+
# c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
|
|
15
|
+
gem "sqlite3", "~> 1.4"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# for Ruby 3.4+
|
|
19
|
+
gem "base64"
|
|
20
|
+
gem "bigdecimal"
|
|
21
|
+
gem "drb"
|
|
22
|
+
gem "mutex_m"
|
|
9
23
|
|
|
10
24
|
gemspec path: '../'
|
|
11
25
|
|
data/gemfiles/rails_7_1.gemfile
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
source "https://rubygems.org"
|
|
2
2
|
|
|
3
|
-
gem "rails", "~> 7.1.
|
|
3
|
+
gem "rails", "~> 7.1.1"
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("3.0.0")
|
|
6
|
+
# FIXME: sqlite3 1.7.0 cannot be installed with ruby 2.7
|
|
7
|
+
# ref.
|
|
8
|
+
# * https://github.com/sue445/activerecord-simple_index_name/actions/runs/7345118908/job/19997837875?pr=94
|
|
9
|
+
# * https://github.com/sparklemotion/sqlite3-ruby/releases/tag/v1.7.0
|
|
10
|
+
gem "sqlite3", "~> 1.4", "< 1.7.0"
|
|
11
|
+
else
|
|
12
|
+
# c.f. https://github.com/rails/rails/blob/v7.1.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
|
|
13
|
+
gem "sqlite3", "~> 1.4"
|
|
14
|
+
end
|
|
7
15
|
|
|
8
16
|
gemspec path: '../'
|
|
9
17
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
source "https://rubygems.org"
|
|
2
|
+
|
|
3
|
+
gem "rails", "~> 7.2.0.beta1"
|
|
4
|
+
|
|
5
|
+
# c.f. https://github.com/rails/rails/blob/v7.2.0.beta1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
|
|
6
|
+
gem "sqlite3", ">= 1.4"
|
|
7
|
+
|
|
8
|
+
gemspec path: '../'
|
|
9
|
+
|
|
10
|
+
eval_gemfile "./common.gemfile"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
source "https://rubygems.org"
|
|
2
|
+
|
|
3
|
+
gem "rails", "~> 8.0.0.rc1"
|
|
4
|
+
|
|
5
|
+
# c.f. https://github.com/rails/rails/blob/v7.2.0.beta1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
|
|
6
|
+
gem "sqlite3", ">= 1.4"
|
|
7
|
+
|
|
8
|
+
gemspec path: '../'
|
|
9
|
+
|
|
10
|
+
eval_gemfile "./common.gemfile"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
source "https://rubygems.org"
|
|
2
|
+
|
|
3
|
+
gem "rails", "~> 8.1.0.rc1"
|
|
4
|
+
|
|
5
|
+
# c.f. https://github.com/rails/rails/blob/v8.1.0.beta1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
|
|
6
|
+
gem "sqlite3", ">= 2.1"
|
|
7
|
+
|
|
8
|
+
gemspec path: '../'
|
|
9
|
+
|
|
10
|
+
eval_gemfile "./common.gemfile"
|
|
@@ -39,3 +39,6 @@ end
|
|
|
39
39
|
ActiveRecord::Migration::Compatibility::V7_0.class_eval do
|
|
40
40
|
prepend ActiveRecord::SimpleIndexName::ActiveRecordExt_7_1::V7_0
|
|
41
41
|
end
|
|
42
|
+
ActiveRecord::Migration::Compatibility::V7_0::TableDefinition.module_eval do
|
|
43
|
+
prepend ActiveRecord::SimpleIndexName::ActiveRecordExt_7_1::V7_0
|
|
44
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-simple_index_name
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
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: activerecord
|
|
@@ -136,6 +135,20 @@ dependencies:
|
|
|
136
135
|
- - ">="
|
|
137
136
|
- !ruby/object:Gem::Version
|
|
138
137
|
version: '0'
|
|
138
|
+
- !ruby/object:Gem::Dependency
|
|
139
|
+
name: term-ansicolor
|
|
140
|
+
requirement: !ruby/object:Gem::Requirement
|
|
141
|
+
requirements:
|
|
142
|
+
- - "!="
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: 1.11.1
|
|
145
|
+
type: :development
|
|
146
|
+
prerelease: false
|
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
148
|
+
requirements:
|
|
149
|
+
- - "!="
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: 1.11.1
|
|
139
152
|
- !ruby/object:Gem::Dependency
|
|
140
153
|
name: yard
|
|
141
154
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -160,6 +173,7 @@ files:
|
|
|
160
173
|
- ".coveralls.yml"
|
|
161
174
|
- ".github/dependabot.yml"
|
|
162
175
|
- ".github/workflows/pages.yml"
|
|
176
|
+
- ".github/workflows/release_gem.yml"
|
|
163
177
|
- ".github/workflows/test.yml"
|
|
164
178
|
- ".gitignore"
|
|
165
179
|
- ".rspec"
|
|
@@ -180,6 +194,9 @@ files:
|
|
|
180
194
|
- gemfiles/rails_6_1.gemfile
|
|
181
195
|
- gemfiles/rails_7_0.gemfile
|
|
182
196
|
- gemfiles/rails_7_1.gemfile
|
|
197
|
+
- gemfiles/rails_7_2.gemfile
|
|
198
|
+
- gemfiles/rails_8_0.gemfile
|
|
199
|
+
- gemfiles/rails_8_1.gemfile
|
|
183
200
|
- lib/active_record/simple_index_name.rb
|
|
184
201
|
- lib/active_record/simple_index_name/active_record_ext.rb
|
|
185
202
|
- lib/active_record/simple_index_name/active_record_ext_7_0.rb
|
|
@@ -200,7 +217,6 @@ metadata:
|
|
|
200
217
|
changelog_uri: https://github.com/sue445/activerecord-simple_index_name/blob/master/CHANGELOG.md
|
|
201
218
|
documentation_uri: https://sue445.github.io/activerecord-simple_index_name/
|
|
202
219
|
rubygems_mfa_required: 'true'
|
|
203
|
-
post_install_message:
|
|
204
220
|
rdoc_options: []
|
|
205
221
|
require_paths:
|
|
206
222
|
- lib
|
|
@@ -215,8 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
215
231
|
- !ruby/object:Gem::Version
|
|
216
232
|
version: '0'
|
|
217
233
|
requirements: []
|
|
218
|
-
rubygems_version: 3.
|
|
219
|
-
signing_key:
|
|
234
|
+
rubygems_version: 3.6.7
|
|
220
235
|
specification_version: 4
|
|
221
236
|
summary: Shorten index name
|
|
222
237
|
test_files: []
|