activerecord-simple_index_name 1.1.3 → 1.1.4

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: e70808f3fb4d0cc8543fad5113dc68439e5ac283f9ecd1e05e850bd531ba3710
4
- data.tar.gz: fd1b06d368ed19855fb344c5549adfda2359cc2eb752fca31505ea5bbafc7d91
3
+ metadata.gz: 8a71bae9726de9c68f464b5cce8ea02b959ac56b2d68a3e294d25f65af5b5eb3
4
+ data.tar.gz: 77e6a75ba4bfb7b468b44b644dc0e4dd50400a4c4b7055d650850a89aaf24abe
5
5
  SHA512:
6
- metadata.gz: 986c9ea57b5e0cbc744fcfbde39e5b5f67ac9a4d571aec200cd26bf9354f5c88f3d173cb07cc1bbbafa869bc1774e45dcdc1c1cdecc05e7e0bc19f8aee774749
7
- data.tar.gz: 28b1d146d1efea030ac6e511b73de62dbfca914c687c82ee64f496591bdce65de70b5ccbb7df5807d21c03c63f8e2df29b9fb5ac47767134616e7f9aa265c71c
6
+ metadata.gz: 0edca564bef44f5f31aa321492c6718587256d86dd4ca8dc5af34cbc6c85bbb20abcfec79a93f6c37bf159112b158a51fcf5f6f9c9b58651efe6bd14bafc07d0
7
+ data.tar.gz: 8c4c1796a5e43aa7576f8df36bc1506ba2ba057d48db4e9b9cf6551c2d262209e0b1b6421a0c85c07deae69fa6c586dd7048d1afb4412ff0c3718921a7dee740
@@ -5,37 +5,10 @@ on:
5
5
 
6
6
  jobs:
7
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
-
8
+ uses: sue445/workflows/.github/workflows/release_gem.yml@main
9
+ with:
10
+ repo-name: sue445/activerecord-simple_index_name
11
+ gem-name: activerecord-simple_index_name
15
12
  permissions:
16
13
  contents: write
17
14
  id-token: write
18
-
19
- steps:
20
- - name: Harden Runner
21
- uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
22
- with:
23
- egress-policy: audit
24
-
25
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26
-
27
- - name: Set up Ruby
28
- uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
29
- with:
30
- bundler-cache: true
31
- ruby-version: ruby
32
-
33
- - name: Publish to RubyGems
34
- uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b # v1.1.2
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 }}
@@ -159,12 +159,12 @@ jobs:
159
159
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
160
160
 
161
161
  steps:
162
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
162
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
163
163
 
164
164
  - run: sudo apt-get update
165
165
  - run: sudo apt-get install -y libsqlite3-dev
166
166
 
167
- - uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
167
+ - uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
168
168
  with:
169
169
  ruby-version: ${{ matrix.ruby }}
170
170
  bundler-cache: true
@@ -175,7 +175,7 @@ jobs:
175
175
  - run: bundle exec rspec
176
176
 
177
177
  - name: Slack Notification (not success)
178
- uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
178
+ uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
179
179
  if: "! success()"
180
180
  continue-on-error: true
181
181
  with:
@@ -187,9 +187,9 @@ jobs:
187
187
  runs-on: ubuntu-latest
188
188
 
189
189
  steps:
190
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
190
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
191
191
 
192
- - uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
192
+ - uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
193
193
  with:
194
194
  ruby-version: ruby
195
195
  bundler-cache: true
@@ -203,7 +203,7 @@ jobs:
203
203
  ls -ld doc/
204
204
 
205
205
  - name: Slack Notification (not success)
206
- uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
206
+ uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
207
207
  if: "! success()"
208
208
  continue-on-error: true
209
209
  with:
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.3...master)
4
+ [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.4...master)
5
+
6
+ ## [v1.1.4](https://github.com/sue445/activerecord-simple_index_name/releases/tag/v1.1.4)
7
+ [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.3...v1.1.4)
8
+
9
+ * Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
10
+ * https://github.com/sue445/activerecord-simple_index_name/pull/155
5
11
 
6
12
  ## [v1.1.3](https://github.com/sue445/activerecord-simple_index_name/releases/tag/v1.1.3)
7
13
  [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.1.2...v1.1.3)
@@ -7,3 +7,8 @@ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.7.0")
7
7
  # term-ansicolor 1.9.0+ doesn't work on Ruby < 2.7
8
8
  gem "term-ansicolor", "< 1.9.0"
9
9
  end
10
+
11
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2.0")
12
+ # NOTE: i18n 1.15.0+ requires Ruby 3.2+
13
+ gem "i18n", "< 1.15.0"
14
+ end
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module SimpleIndexName
3
- VERSION = "1.1.3"
3
+ VERSION = "1.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-simple_index_name
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 4.0.3
236
+ rubygems_version: 4.0.16
237
237
  specification_version: 4
238
238
  summary: Shorten index name
239
239
  test_files: []