index_shotgun 2.0.1 → 3.0.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/dependabot.yml +2 -0
- data/.github/workflows/pages.yml +6 -6
- data/.github/workflows/release_gem.yml +44 -0
- data/.github/workflows/test.yml +28 -43
- data/.rubocop.yml +4 -1
- data/CHANGELOG.md +11 -1
- data/gemfiles/activerecord_7_2.gemfile +4 -5
- data/gemfiles/activerecord_8_0.gemfile +4 -5
- data/gemfiles/activerecord_8_1.gemfile +25 -0
- data/index_shotgun.gemspec +4 -4
- data/lib/index_shotgun/analyzer.rb +1 -1
- data/lib/index_shotgun/version.rb +1 -1
- metadata +14 -18
- data/gemfiles/activerecord_6_0.gemfile +0 -30
- data/gemfiles/activerecord_6_1.gemfile +0 -30
- data/gemfiles/activerecord_7_0.gemfile +0 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0279ef3881e13d88280d6bd74cd9eb9dfef670528d165faedef0698bfc7b2bd5'
|
|
4
|
+
data.tar.gz: e4eb4d165caec0b99edd42eb44fedb0f77c8e1cd59e35cbe6d9495a7c56d0e43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 303fb0cf2ba572b47fcfcc782a463e7c1bd63ee40bdf516f7bc91f01c058cc11c0077fbbd023a03859ea0e95fee34f4737b1c849df753549a0d5e21546933a20
|
|
7
|
+
data.tar.gz: '078fb3cc2b8b28172e395a9d0f4363ddfca5539e1bc740bdd5b47a0a89a6a69185f21d45248bae28d5bec6b184919c2ec5b2c08606060a99367a6d0590ab52d3'
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/pages.yml
CHANGED
|
@@ -34,9 +34,9 @@ jobs:
|
|
|
34
34
|
BUNDLE_WITHOUT: mysql postgresql sqlite3 oracle
|
|
35
35
|
steps:
|
|
36
36
|
- name: Checkout
|
|
37
|
-
uses: actions/checkout@
|
|
37
|
+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
38
38
|
|
|
39
|
-
- uses: ruby/setup-ruby@v1
|
|
39
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
40
40
|
with:
|
|
41
41
|
ruby-version: ruby
|
|
42
42
|
bundler-cache: true
|
|
@@ -44,18 +44,18 @@ jobs:
|
|
|
44
44
|
- run: bundle exec yard
|
|
45
45
|
|
|
46
46
|
- name: Setup Pages
|
|
47
|
-
uses: actions/configure-pages@v5
|
|
47
|
+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
|
|
48
48
|
- name: Upload artifact
|
|
49
|
-
uses: actions/upload-pages-artifact@
|
|
49
|
+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
|
|
50
50
|
with:
|
|
51
51
|
# Upload entire repository
|
|
52
52
|
path: './doc'
|
|
53
53
|
- name: Deploy to GitHub Pages
|
|
54
54
|
id: deployment
|
|
55
|
-
uses: actions/deploy-pages@
|
|
55
|
+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
|
|
56
56
|
|
|
57
57
|
- name: Slack Notification (not success)
|
|
58
|
-
uses: act10ns/slack@v2
|
|
58
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
59
59
|
if: "! success()"
|
|
60
60
|
continue-on-error: true
|
|
61
61
|
with:
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
if: github.repository == 'sue445/index_shotgun'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
environment:
|
|
12
|
+
name: rubygems.org
|
|
13
|
+
url: https://rubygems.org/gems/index_shotgun
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
env:
|
|
20
|
+
BUNDLE_WITHOUT: mysql postgresql sqlite3 oracle
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- name: Harden Runner
|
|
24
|
+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
|
|
25
|
+
with:
|
|
26
|
+
egress-policy: audit
|
|
27
|
+
|
|
28
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
29
|
+
|
|
30
|
+
- name: Set up Ruby
|
|
31
|
+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
|
|
32
|
+
with:
|
|
33
|
+
bundler-cache: true
|
|
34
|
+
ruby-version: ruby
|
|
35
|
+
|
|
36
|
+
- name: Publish to RubyGems
|
|
37
|
+
uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
|
|
38
|
+
|
|
39
|
+
- name: Create GitHub release
|
|
40
|
+
run: |
|
|
41
|
+
tag_name="$(git describe --tags --abbrev=0)"
|
|
42
|
+
gh release create "${tag_name}" --verify-tag --generate-notes
|
|
43
|
+
env:
|
|
44
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
|
@@ -16,6 +16,10 @@ on:
|
|
|
16
16
|
schedule:
|
|
17
17
|
- cron: "0 20 * * 5" # JST 5:00 (Sat)
|
|
18
18
|
|
|
19
|
+
concurrency:
|
|
20
|
+
group: ci-${{ github.ref }}-${{ github.workflow }}
|
|
21
|
+
cancel-in-progress: true
|
|
22
|
+
|
|
19
23
|
jobs:
|
|
20
24
|
test:
|
|
21
25
|
runs-on: ubuntu-latest
|
|
@@ -25,8 +29,6 @@ jobs:
|
|
|
25
29
|
|
|
26
30
|
matrix:
|
|
27
31
|
ruby:
|
|
28
|
-
- "2.5"
|
|
29
|
-
- "2.6"
|
|
30
32
|
- "2.7"
|
|
31
33
|
- "3.0"
|
|
32
34
|
- "3.1"
|
|
@@ -34,55 +36,39 @@ jobs:
|
|
|
34
36
|
- "3.3"
|
|
35
37
|
- "3.4"
|
|
36
38
|
gemfile:
|
|
37
|
-
- activerecord_6_0
|
|
38
|
-
- activerecord_6_1
|
|
39
|
-
- activerecord_7_0
|
|
40
39
|
- activerecord_7_1
|
|
41
40
|
- activerecord_7_2
|
|
42
41
|
- activerecord_8_0
|
|
42
|
+
- activerecord_8_1
|
|
43
43
|
database:
|
|
44
44
|
- sqlite3
|
|
45
45
|
- mysql
|
|
46
46
|
- postgresql
|
|
47
47
|
- oracle
|
|
48
48
|
exclude:
|
|
49
|
-
#
|
|
50
|
-
-
|
|
51
|
-
gemfile:
|
|
52
|
-
- ruby: "2.6"
|
|
53
|
-
gemfile: activerecord_7_0
|
|
54
|
-
- ruby: "2.5"
|
|
55
|
-
gemfile: activerecord_7_1
|
|
56
|
-
- ruby: "2.6"
|
|
57
|
-
gemfile: activerecord_7_1
|
|
49
|
+
# TODO: latest activerecord-oracle_enhanced-adapter doesn't support activerecord 8.1+
|
|
50
|
+
- database: oracle
|
|
51
|
+
gemfile: activerecord_8_1
|
|
58
52
|
|
|
59
53
|
# Rails 7.2+ requires Ruby 3.1+
|
|
60
|
-
- ruby: "2.5"
|
|
61
|
-
gemfile: activerecord_7_2
|
|
62
|
-
- ruby: "2.6"
|
|
63
|
-
gemfile: activerecord_7_2
|
|
64
54
|
- ruby: "2.7"
|
|
65
55
|
gemfile: activerecord_7_2
|
|
66
56
|
- ruby: "3.0"
|
|
67
57
|
gemfile: activerecord_7_2
|
|
68
58
|
|
|
69
59
|
# Rails 8.0+ requires Ruby 3.2+
|
|
70
|
-
- ruby: "2.5"
|
|
71
|
-
gemfile: activerecord_8_0
|
|
72
|
-
- ruby: "2.6"
|
|
73
|
-
gemfile: activerecord_8_0
|
|
74
60
|
- ruby: "2.7"
|
|
75
61
|
gemfile: activerecord_8_0
|
|
76
62
|
- ruby: "3.0"
|
|
77
63
|
gemfile: activerecord_8_0
|
|
78
64
|
- ruby: "3.1"
|
|
79
65
|
gemfile: activerecord_8_0
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
-
|
|
83
|
-
gemfile:
|
|
84
|
-
-
|
|
85
|
-
gemfile:
|
|
66
|
+
- ruby: "2.7"
|
|
67
|
+
gemfile: activerecord_8_1
|
|
68
|
+
- ruby: "3.0"
|
|
69
|
+
gemfile: activerecord_8_1
|
|
70
|
+
- ruby: "3.1"
|
|
71
|
+
gemfile: activerecord_8_1
|
|
86
72
|
|
|
87
73
|
env:
|
|
88
74
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
|
@@ -118,14 +104,14 @@ jobs:
|
|
|
118
104
|
ORACLE_SYSTEM_PASSWORD: oracle
|
|
119
105
|
|
|
120
106
|
steps:
|
|
121
|
-
- uses: actions/checkout@
|
|
107
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
122
108
|
|
|
123
|
-
- uses: ruby/setup-ruby@v1
|
|
109
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
124
110
|
with:
|
|
125
111
|
ruby-version: ${{ matrix.ruby }}
|
|
126
112
|
|
|
127
113
|
- name: Cache vendor/bundle
|
|
128
|
-
uses: actions/cache@v4
|
|
114
|
+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
|
129
115
|
id: cache_gem
|
|
130
116
|
with:
|
|
131
117
|
path: vendor/bundle
|
|
@@ -140,7 +126,7 @@ jobs:
|
|
|
140
126
|
./ci/install.sh
|
|
141
127
|
|
|
142
128
|
- name: Setup Code Climate Test Reporter
|
|
143
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
129
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
144
130
|
with:
|
|
145
131
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
146
132
|
command: before-build
|
|
@@ -159,7 +145,7 @@ jobs:
|
|
|
159
145
|
ORACLE_PORT: ${{ job.services.oracle.ports['1521'] }}
|
|
160
146
|
|
|
161
147
|
- name: Teardown Code Climate Test Reporter
|
|
162
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
148
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
163
149
|
with:
|
|
164
150
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
165
151
|
command: after-build
|
|
@@ -167,7 +153,7 @@ jobs:
|
|
|
167
153
|
continue-on-error: true
|
|
168
154
|
|
|
169
155
|
- name: Slack Notification (not success)
|
|
170
|
-
uses: act10ns/slack@v2
|
|
156
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
171
157
|
if: "! success()"
|
|
172
158
|
continue-on-error: true
|
|
173
159
|
with:
|
|
@@ -179,24 +165,23 @@ jobs:
|
|
|
179
165
|
runs-on: ubuntu-latest
|
|
180
166
|
|
|
181
167
|
env:
|
|
182
|
-
RUBY_VERSION: 2.5
|
|
183
168
|
BUNDLE_WITHOUT: mysql postgresql sqlite3 oracle
|
|
184
169
|
|
|
185
170
|
steps:
|
|
186
|
-
- uses: actions/checkout@
|
|
171
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
187
172
|
|
|
188
|
-
- uses: ruby/setup-ruby@v1
|
|
173
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
189
174
|
with:
|
|
190
|
-
ruby-version:
|
|
175
|
+
ruby-version: ruby
|
|
191
176
|
|
|
192
177
|
- name: Cache vendor/bundle
|
|
193
|
-
uses: actions/cache@v4
|
|
178
|
+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
|
194
179
|
id: cache_gem_rubocop
|
|
195
180
|
with:
|
|
196
181
|
path: vendor/bundle
|
|
197
|
-
key: v1-gem-rubocop-${{ runner.os }}-${{
|
|
182
|
+
key: v1-gem-rubocop-${{ runner.os }}-${{ github.sha }}
|
|
198
183
|
restore-keys: |
|
|
199
|
-
v1-gem-rubocop-${{ runner.os }}
|
|
184
|
+
v1-gem-rubocop-${{ runner.os }}-
|
|
200
185
|
|
|
201
186
|
- name: Install
|
|
202
187
|
run: |
|
|
@@ -209,7 +194,7 @@ jobs:
|
|
|
209
194
|
bundle exec rubocop
|
|
210
195
|
|
|
211
196
|
- name: Slack Notification (not success)
|
|
212
|
-
uses: act10ns/slack@v2
|
|
197
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
213
198
|
if: "! success()"
|
|
214
199
|
continue-on-error: true
|
|
215
200
|
with:
|
|
@@ -225,7 +210,7 @@ jobs:
|
|
|
225
210
|
|
|
226
211
|
steps:
|
|
227
212
|
- name: Slack Notification (success)
|
|
228
|
-
uses: act10ns/slack@v2
|
|
213
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
229
214
|
if: always()
|
|
230
215
|
continue-on-error: true
|
|
231
216
|
with:
|
data/.rubocop.yml
CHANGED
|
@@ -4,10 +4,13 @@ inherit_gem:
|
|
|
4
4
|
- "config/rspec.yml"
|
|
5
5
|
|
|
6
6
|
AllCops:
|
|
7
|
-
TargetRubyVersion: 2.
|
|
7
|
+
TargetRubyVersion: 2.7
|
|
8
8
|
SuggestExtensions: false
|
|
9
9
|
NewCops: disable
|
|
10
10
|
|
|
11
|
+
Layout/ClassStructure:
|
|
12
|
+
Enabled: false
|
|
13
|
+
|
|
11
14
|
Layout/HashAlignment:
|
|
12
15
|
EnforcedHashRocketStyle: table
|
|
13
16
|
EnforcedColonStyle: table
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
## Unreleased
|
|
3
|
-
[Full Changelog](https://github.com/sue445/index_shotgun/compare/
|
|
3
|
+
[Full Changelog](https://github.com/sue445/index_shotgun/compare/v3.0.0...master)
|
|
4
|
+
|
|
5
|
+
## [v3.0.0](https://github.com/sue445/index_shotgun/releases/tag/v3.0.0) (2025/11/29)
|
|
6
|
+
[Full Changelog](https://github.com/sue445/index_shotgun/compare/v2.0.1...v3.0.0)
|
|
7
|
+
|
|
8
|
+
* :bomb: **[BREAKING CHANGE]** Requires Ruby 2.7+ and activerecord 7.1+
|
|
9
|
+
* https://github.com/sue445/index_shotgun/pull/159
|
|
10
|
+
* Upgrade to RuboCop v1.81.7
|
|
11
|
+
* https://github.com/sue445/index_shotgun/pull/160
|
|
12
|
+
* Release gem from GitHub Actions
|
|
13
|
+
* https://github.com/sue445/index_shotgun/pull/158
|
|
4
14
|
|
|
5
15
|
## [v2.0.1](https://github.com/sue445/index_shotgun/releases/tag/v2.0.1) (2025/01/18)
|
|
6
16
|
[Full Changelog](https://github.com/sue445/index_shotgun/compare/v2.0.0...v2.0.1)
|
|
@@ -12,11 +12,10 @@ group :mysql do
|
|
|
12
12
|
gem "mysql2", "~> 0.5"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
# end
|
|
15
|
+
group :oracle do
|
|
16
|
+
gem "activerecord-oracle_enhanced-adapter", "~> 7.2.0.rc1"
|
|
17
|
+
gem "ruby-oci8"
|
|
18
|
+
end
|
|
20
19
|
|
|
21
20
|
group :sqlite3 do
|
|
22
21
|
# c.f. https://github.com/rails/rails/blob/v7.2.0.beta1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
|
|
@@ -12,11 +12,10 @@ group :mysql do
|
|
|
12
12
|
gem "mysql2", "~> 0.5"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
# end
|
|
15
|
+
group :oracle do
|
|
16
|
+
gem "activerecord-oracle_enhanced-adapter", "~> 8.0.0.rc1"
|
|
17
|
+
gem "ruby-oci8"
|
|
18
|
+
end
|
|
20
19
|
|
|
21
20
|
group :sqlite3 do
|
|
22
21
|
# c.f. https://github.com/rails/rails/blob/v8.0.0.rc1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
source "https://rubygems.org"
|
|
2
|
+
|
|
3
|
+
gem "activerecord", "~> 8.1.0.rc1"
|
|
4
|
+
|
|
5
|
+
group :postgresql do
|
|
6
|
+
# c.f. https://github.com/rails/rails/blob/v8.1.0.rc1/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L3-L4
|
|
7
|
+
gem "pg", "~> 1.1"
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
group :mysql do
|
|
11
|
+
# c.f. https://github.com/rails/rails/blob/v8.1.0.rc1/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
|
|
12
|
+
gem "mysql2", "~> 0.5"
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# group :oracle do
|
|
16
|
+
# gem "activerecord-oracle_enhanced-adapter", "~> 8.0.0.rc1"
|
|
17
|
+
# gem "ruby-oci8"
|
|
18
|
+
# end
|
|
19
|
+
|
|
20
|
+
group :sqlite3 do
|
|
21
|
+
# c.f. https://github.com/rails/rails/blob/v8.1.0.rc1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
|
|
22
|
+
gem "sqlite3", ">= 2.1"
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
gemspec path: "../"
|
data/index_shotgun.gemspec
CHANGED
|
@@ -19,14 +19,14 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.metadata["documentation_uri"] = "https://sue445.github.io/index_shotgun/"
|
|
20
20
|
spec.metadata["rubygems_mfa_required"] = "true"
|
|
21
21
|
|
|
22
|
-
spec.required_ruby_version = ">= 2.
|
|
22
|
+
spec.required_ruby_version = ">= 2.7.0"
|
|
23
23
|
|
|
24
24
|
spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) }
|
|
25
25
|
spec.bindir = "exe"
|
|
26
26
|
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
|
|
27
27
|
spec.require_paths = ["lib"]
|
|
28
28
|
|
|
29
|
-
spec.add_dependency "activerecord", ">=
|
|
29
|
+
spec.add_dependency "activerecord", ">= 7.1.0"
|
|
30
30
|
spec.add_dependency "thor"
|
|
31
31
|
|
|
32
32
|
spec.add_development_dependency "bundler"
|
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
|
35
35
|
spec.add_development_dependency "rake_shared_context", "0.2.2"
|
|
36
36
|
spec.add_development_dependency "rspec"
|
|
37
37
|
spec.add_development_dependency "rspec-its"
|
|
38
|
-
spec.add_development_dependency "rubocop", "1.
|
|
39
|
-
spec.add_development_dependency "rubocop_auto_corrector"
|
|
38
|
+
spec.add_development_dependency "rubocop", "1.81.7"
|
|
39
|
+
spec.add_development_dependency "rubocop_auto_corrector"
|
|
40
40
|
spec.add_development_dependency "yard"
|
|
41
41
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: index_shotgun
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
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
|
|
@@ -16,14 +15,14 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
18
|
+
version: 7.1.0
|
|
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:
|
|
25
|
+
version: 7.1.0
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
27
|
name: thor
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,28 +127,28 @@ dependencies:
|
|
|
128
127
|
requirements:
|
|
129
128
|
- - '='
|
|
130
129
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 1.
|
|
130
|
+
version: 1.81.7
|
|
132
131
|
type: :development
|
|
133
132
|
prerelease: false
|
|
134
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
134
|
requirements:
|
|
136
135
|
- - '='
|
|
137
136
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: 1.
|
|
137
|
+
version: 1.81.7
|
|
139
138
|
- !ruby/object:Gem::Dependency
|
|
140
139
|
name: rubocop_auto_corrector
|
|
141
140
|
requirement: !ruby/object:Gem::Requirement
|
|
142
141
|
requirements:
|
|
143
|
-
- - "
|
|
142
|
+
- - ">="
|
|
144
143
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0
|
|
144
|
+
version: '0'
|
|
146
145
|
type: :development
|
|
147
146
|
prerelease: false
|
|
148
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
148
|
requirements:
|
|
150
|
-
- - "
|
|
149
|
+
- - ">="
|
|
151
150
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0
|
|
151
|
+
version: '0'
|
|
153
152
|
- !ruby/object:Gem::Dependency
|
|
154
153
|
name: yard
|
|
155
154
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -175,6 +174,7 @@ files:
|
|
|
175
174
|
- ".coveralls.yml"
|
|
176
175
|
- ".github/dependabot.yml"
|
|
177
176
|
- ".github/workflows/pages.yml"
|
|
177
|
+
- ".github/workflows/release_gem.yml"
|
|
178
178
|
- ".github/workflows/test.yml"
|
|
179
179
|
- ".github_changelog_generator"
|
|
180
180
|
- ".gitignore"
|
|
@@ -195,12 +195,10 @@ files:
|
|
|
195
195
|
- ci/database.yml.sqlite3
|
|
196
196
|
- ci/install.sh
|
|
197
197
|
- exe/index_shotgun
|
|
198
|
-
- gemfiles/activerecord_6_0.gemfile
|
|
199
|
-
- gemfiles/activerecord_6_1.gemfile
|
|
200
|
-
- gemfiles/activerecord_7_0.gemfile
|
|
201
198
|
- gemfiles/activerecord_7_1.gemfile
|
|
202
199
|
- gemfiles/activerecord_7_2.gemfile
|
|
203
200
|
- gemfiles/activerecord_8_0.gemfile
|
|
201
|
+
- gemfiles/activerecord_8_1.gemfile
|
|
204
202
|
- index_shotgun.gemspec
|
|
205
203
|
- lib/index_shotgun.rb
|
|
206
204
|
- lib/index_shotgun/analyzer.rb
|
|
@@ -219,7 +217,6 @@ metadata:
|
|
|
219
217
|
changelog_uri: https://github.com/sue445/index_shotgun/blob/master/CHANGELOG.md
|
|
220
218
|
documentation_uri: https://sue445.github.io/index_shotgun/
|
|
221
219
|
rubygems_mfa_required: 'true'
|
|
222
|
-
post_install_message:
|
|
223
220
|
rdoc_options: []
|
|
224
221
|
require_paths:
|
|
225
222
|
- lib
|
|
@@ -227,15 +224,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
227
224
|
requirements:
|
|
228
225
|
- - ">="
|
|
229
226
|
- !ruby/object:Gem::Version
|
|
230
|
-
version: 2.
|
|
227
|
+
version: 2.7.0
|
|
231
228
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
229
|
requirements:
|
|
233
230
|
- - ">="
|
|
234
231
|
- !ruby/object:Gem::Version
|
|
235
232
|
version: '0'
|
|
236
233
|
requirements: []
|
|
237
|
-
rubygems_version: 3.
|
|
238
|
-
signing_key:
|
|
234
|
+
rubygems_version: 3.6.7
|
|
239
235
|
specification_version: 4
|
|
240
236
|
summary: duplicate index checker
|
|
241
237
|
test_files: []
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
source "https://rubygems.org"
|
|
2
|
-
|
|
3
|
-
gem "activerecord", "~> 6.0.0"
|
|
4
|
-
|
|
5
|
-
group :postgresql do
|
|
6
|
-
# c.f. https://github.com/rails/rails/blob/v6.0.0.rc1/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L4
|
|
7
|
-
gem "pg", ">= 0.18", "< 2.0"
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
group :mysql do
|
|
11
|
-
# c.f. https://github.com/rails/rails/blob/v6.0.0.rc1/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
|
|
12
|
-
gem "mysql2", ">= 0.4.4"
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
group :oracle do
|
|
16
|
-
gem "activerecord-oracle_enhanced-adapter", "~> 6.0.0"
|
|
17
|
-
gem "ruby-oci8"
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
group :sqlite3 do
|
|
21
|
-
# c.f. https://github.com/rails/rails/blob/v6.0.0.rc1/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
|
|
22
|
-
gem "sqlite3", "~> 1.4"
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
# for Ruby 3.4+
|
|
26
|
-
gem "base64"
|
|
27
|
-
gem "bigdecimal"
|
|
28
|
-
gem "mutex_m"
|
|
29
|
-
|
|
30
|
-
gemspec path: "../"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
source "https://rubygems.org"
|
|
2
|
-
|
|
3
|
-
gem "activerecord", "~> 6.1.0"
|
|
4
|
-
|
|
5
|
-
group :postgresql do
|
|
6
|
-
# c.f. https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L3
|
|
7
|
-
gem "pg", "~> 1.1"
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
group :mysql do
|
|
11
|
-
# c.f. https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
|
|
12
|
-
gem "mysql2", "~> 0.5"
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
group :oracle do
|
|
16
|
-
gem "activerecord-oracle_enhanced-adapter", "~> 6.1.2"
|
|
17
|
-
gem "ruby-oci8"
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
group :sqlite3 do
|
|
21
|
-
# c.f. https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
|
|
22
|
-
gem "sqlite3", "~> 1.4"
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
# for Ruby 3.4+
|
|
26
|
-
gem "base64"
|
|
27
|
-
gem "bigdecimal"
|
|
28
|
-
gem "mutex_m"
|
|
29
|
-
|
|
30
|
-
gemspec path: "../"
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
source "https://rubygems.org"
|
|
2
|
-
|
|
3
|
-
# NOTE: Ruby 3.1 + Rails 7.0.0 doesn't work
|
|
4
|
-
# c.f. https://gist.github.com/yahonda/2776d8d7b6ea7045359f38c10449937b
|
|
5
|
-
gem "activerecord", "~> 7.0.1"
|
|
6
|
-
|
|
7
|
-
group :postgresql do
|
|
8
|
-
# c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L3
|
|
9
|
-
gem "pg", "~> 1.1"
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
group :mysql do
|
|
13
|
-
# c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L6
|
|
14
|
-
gem "mysql2", "~> 0.5"
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
group :oracle do
|
|
18
|
-
gem "activerecord-oracle_enhanced-adapter", "~> 7.0.0"
|
|
19
|
-
gem "ruby-oci8"
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
group :sqlite3 do
|
|
23
|
-
# c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
|
|
24
|
-
gem "sqlite3", "~> 1.4"
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
# for Ruby 3.4+
|
|
28
|
-
gem "base64"
|
|
29
|
-
gem "bigdecimal"
|
|
30
|
-
gem "mutex_m"
|
|
31
|
-
|
|
32
|
-
gemspec path: "../"
|