activerecord-simple_index_name 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pages.yml +2 -2
- data/.github/workflows/test.yml +7 -0
- data/CHANGELOG.md +7 -1
- data/gemfiles/rails_6_0.gemfile +10 -2
- data/gemfiles/rails_6_1.gemfile +10 -2
- data/gemfiles/rails_7_0.gemfile +10 -2
- data/gemfiles/rails_7_1.gemfile +11 -3
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7ca20ae4b53c61233c9cd4557affc85edfa6a240142e73909504988c3086440
|
4
|
+
data.tar.gz: 5e219f9fc4b7ea8170b52d71aad0f5fa43327e8707a035f12713a6a2932acf9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfb056260114daed2ceabef679c2d2754bbc9aca82485d3b972d2434aec7460d40aea177956d11f60d7a7ccb201c1950153c8dd09748eb36f6c7b6e17c532df5
|
7
|
+
data.tar.gz: 67d6a55eb4c404f0ac4040478f87b5b2f9e9ab89507ac992c264b49b650161188626bb1eb6c47e2d2afc5301a3a1325077dba5d6b445ed61e39d7cb4fabbad3c
|
data/.github/workflows/pages.yml
CHANGED
@@ -40,9 +40,9 @@ jobs:
|
|
40
40
|
- run: bundle exec yard
|
41
41
|
|
42
42
|
- name: Setup Pages
|
43
|
-
uses: actions/configure-pages@
|
43
|
+
uses: actions/configure-pages@v4
|
44
44
|
- name: Upload artifact
|
45
|
-
uses: actions/upload-pages-artifact@
|
45
|
+
uses: actions/upload-pages-artifact@v3
|
46
46
|
with:
|
47
47
|
# Upload entire repository
|
48
48
|
path: './doc'
|
data/.github/workflows/test.yml
CHANGED
@@ -29,6 +29,7 @@ jobs:
|
|
29
29
|
- "3.0"
|
30
30
|
- "3.1"
|
31
31
|
- "3.2"
|
32
|
+
- "3.3"
|
32
33
|
gemfile:
|
33
34
|
- rails_5_0
|
34
35
|
- rails_5_1
|
@@ -86,6 +87,12 @@ jobs:
|
|
86
87
|
gemfile: rails_5_1
|
87
88
|
- ruby: "3.2"
|
88
89
|
gemfile: rails_5_2
|
90
|
+
- ruby: "3.3"
|
91
|
+
gemfile: rails_5_0
|
92
|
+
- ruby: "3.3"
|
93
|
+
gemfile: rails_5_1
|
94
|
+
- ruby: "3.3"
|
95
|
+
gemfile: rails_5_2
|
89
96
|
|
90
97
|
env:
|
91
98
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,13 @@
|
|
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.1...master)
|
5
|
+
|
6
|
+
## v1.1.1
|
7
|
+
[full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.0...v1.1.1)
|
8
|
+
|
9
|
+
* Fix support activerecord 7.1
|
10
|
+
* https://github.com/sue445/activerecord-simple_index_name/pull/95
|
5
11
|
|
6
12
|
## v1.1.0
|
7
13
|
[full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.0.1...v1.1.0)
|
data/gemfiles/rails_6_0.gemfile
CHANGED
@@ -2,8 +2,16 @@ 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
|
7
15
|
|
8
16
|
gemspec path: '../'
|
9
17
|
|
data/gemfiles/rails_6_1.gemfile
CHANGED
@@ -2,8 +2,16 @@ 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
|
7
15
|
|
8
16
|
gemspec path: '../'
|
9
17
|
|
data/gemfiles/rails_7_0.gemfile
CHANGED
@@ -4,8 +4,16 @@ 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
|
9
17
|
|
10
18
|
gemspec path: '../'
|
11
19
|
|
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
|
|
@@ -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,14 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|