activerecord-simple_index_name 1.1.0 → 1.1.1

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: cfe687f13f57f5ccc76c31edbd72d16148dfcee0943df043a733e32656e3f759
4
- data.tar.gz: fd6ce85a38b133f2c74aeea9ac131bf191fb52fa0e877470b04ac32c5347d798
3
+ metadata.gz: f7ca20ae4b53c61233c9cd4557affc85edfa6a240142e73909504988c3086440
4
+ data.tar.gz: 5e219f9fc4b7ea8170b52d71aad0f5fa43327e8707a035f12713a6a2932acf9c
5
5
  SHA512:
6
- metadata.gz: 056a3d0d3427acf88c7200e88a0e4b2b89d9373cdc49a10a06098d823787f7b0dea5fb9a41f2547c3e249c0727b323c8d297d376cca869d1e168e7391ef6f7c8
7
- data.tar.gz: f6b065227d6181d283965717afc31a5b91e4cd882bd69c13106f3148c305711bb46c0cddb85c30d6223c3531a2ad99fd08625a9a3c9ea87b70c9e0260991cd95
6
+ metadata.gz: cfb056260114daed2ceabef679c2d2754bbc9aca82485d3b972d2434aec7460d40aea177956d11f60d7a7ccb201c1950153c8dd09748eb36f6c7b6e17c532df5
7
+ data.tar.gz: 67d6a55eb4c404f0ac4040478f87b5b2f9e9ab89507ac992c264b49b650161188626bb1eb6c47e2d2afc5301a3a1325077dba5d6b445ed61e39d7cb4fabbad3c
@@ -40,9 +40,9 @@ jobs:
40
40
  - run: bundle exec yard
41
41
 
42
42
  - name: Setup Pages
43
- uses: actions/configure-pages@v3
43
+ uses: actions/configure-pages@v4
44
44
  - name: Upload artifact
45
- uses: actions/upload-pages-artifact@v2
45
+ uses: actions/upload-pages-artifact@v3
46
46
  with:
47
47
  # Upload entire repository
48
48
  path: './doc'
@@ -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.0...master)
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)
@@ -2,8 +2,16 @@ source "https://rubygems.org"
2
2
 
3
3
  gem "rails", "~> 6.0.0"
4
4
 
5
- # c.f. https://github.com/rails/rails/blob/v6.0.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
6
- gem "sqlite3", "~> 1.4"
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
 
@@ -2,8 +2,16 @@ source "https://rubygems.org"
2
2
 
3
3
  gem "rails", "~> 6.1.0"
4
4
 
5
- # c.f. https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
6
- gem "sqlite3", "~> 1.4"
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
 
@@ -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
- # c.f. https://github.com/rails/rails/blob/v7.0.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
8
- gem "sqlite3", "~> 1.4"
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
 
@@ -1,9 +1,17 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "rails", "~> 7.1.0"
3
+ gem "rails", "~> 7.1.1"
4
4
 
5
- # c.f. https://github.com/rails/rails/blob/v7.1.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L14
6
- gem "sqlite3", "~> 1.4"
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
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module SimpleIndexName
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  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.0
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: 2023-10-07 00:00:00.000000000 Z
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord