gizzard 0.7.0 → 0.7.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 +4 -4
- data/.github/workflows/main.yml +16 -17
- data/.github/workflows/release.yml +33 -0
- data/Appraisals +7 -3
- data/gemfiles/{activerecord52.gemfile → activerecord5.2.gemfile} +0 -0
- data/gemfiles/activerecord6.0.gemfile +7 -0
- data/gemfiles/{activerecord61.gemfile → activerecord6.1.gemfile} +0 -0
- data/gemfiles/{activerecord70.gemfile → activerecord7.0.gemfile} +0 -0
- data/lib/gizzard/version.rb +1 -1
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3362e107fdc7cd0736d4379fb494c997227ab1a8c5e17185cc24b68aee792a5d
|
4
|
+
data.tar.gz: eb69873cc6a1904f038f7706c14a11182082fa40f01b711b10ade03fdab2f437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec1938dabee7507a844f4e9bba151a638858d9ef16759c6be37159621be97770109ae2ea4881c0bbeeaf44dab36d4dfd6ac5cb1af4b79a17ec19d1cd80744056
|
7
|
+
data.tar.gz: 73cb4bba7160084998dcea8492ffd4c56d44efde5cce81c80cac9324d84cd3f3d1e6cb10086ac41748c49a379369934a03ef72c85665f204ec5e7e3f6d09a33b
|
data/.github/workflows/main.yml
CHANGED
@@ -21,22 +21,22 @@ jobs:
|
|
21
21
|
|
22
22
|
matrix:
|
23
23
|
ruby:
|
24
|
-
- 2.6
|
25
|
-
- 2.7
|
26
|
-
- 3.0
|
27
|
-
- 3.1
|
28
|
-
|
29
|
-
-
|
30
|
-
-
|
31
|
-
-
|
24
|
+
- '2.6'
|
25
|
+
- '2.7'
|
26
|
+
- '3.0'
|
27
|
+
- '3.1'
|
28
|
+
activerecord:
|
29
|
+
- '5.2'
|
30
|
+
- '6.0'
|
31
|
+
- '6.1'
|
32
|
+
- '7.0'
|
32
33
|
exclude: # https://github.com/sue445/activerecord-compatible_legacy_migration/blob/master/.github/workflows/test.yml
|
33
|
-
- ruby: 2.6
|
34
|
-
|
35
|
-
- ruby: 3.0
|
36
|
-
|
37
|
-
- ruby: 3.1
|
38
|
-
|
39
|
-
|
34
|
+
- ruby: '2.6'
|
35
|
+
activerecord: '7.0'
|
36
|
+
- ruby: '3.0'
|
37
|
+
activerecord: '5.2'
|
38
|
+
- ruby: '3.1'
|
39
|
+
activerecord: '5.2'
|
40
40
|
services:
|
41
41
|
mysql:
|
42
42
|
image: mysql:5.7
|
@@ -51,9 +51,8 @@ jobs:
|
|
51
51
|
--health-timeout 5s
|
52
52
|
--health-retries 5
|
53
53
|
|
54
|
-
|
55
54
|
env:
|
56
|
-
BUNDLE_GEMFILE: /
|
55
|
+
BUNDLE_GEMFILE: gemfiles/activerecord${{ matrix.activerecord }}.gemfile
|
57
56
|
DB_HOST: 127.0.0.1
|
58
57
|
|
59
58
|
steps:
|
@@ -0,0 +1,33 @@
|
|
1
|
+
name: Release gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
inputs:
|
6
|
+
rubygems-otp-code:
|
7
|
+
description: RubyGems OTP code
|
8
|
+
required: true
|
9
|
+
|
10
|
+
permissions:
|
11
|
+
contents: write
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
release-gem:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
env:
|
17
|
+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
18
|
+
GEM_HOST_OTP_CODE: ${{ github.event.inputs.rubygems-otp-code }}
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@v2
|
21
|
+
with:
|
22
|
+
fetch-depth: 0 # bundle exec rake release で git tag を見るため、tagをfetchするようにしている
|
23
|
+
- uses: ruby/setup-ruby@v1
|
24
|
+
with:
|
25
|
+
ruby-version: 3.1.1
|
26
|
+
- name: Bundle install
|
27
|
+
run: bundle install
|
28
|
+
- name: Setup git config # bundle exec rake release でgit tagが打たれていない場合、タグを打ってpushしてくれるため用意している
|
29
|
+
run: |
|
30
|
+
git config --global user.email "taka0125@gmail.com"
|
31
|
+
git config --global user.name "Takahiro Ooishi"
|
32
|
+
- name: Release gem
|
33
|
+
run: bundle exec rake release
|
data/Appraisals
CHANGED
@@ -1,13 +1,17 @@
|
|
1
|
-
appraise '
|
1
|
+
appraise 'activerecord5.2' do
|
2
2
|
gem 'activerecord', '~> 5.2'
|
3
3
|
end
|
4
4
|
|
5
|
-
appraise '
|
5
|
+
appraise 'activerecord6.0' do
|
6
|
+
gem 'activerecord', '~> 6.0'
|
7
|
+
end
|
8
|
+
|
9
|
+
appraise 'activerecord6.1' do
|
6
10
|
gem 'activerecord', '~> 6.1'
|
7
11
|
end
|
8
12
|
|
9
13
|
if RUBY_VERSION >= '2.7.0'
|
10
|
-
appraise '
|
14
|
+
appraise 'activerecord7.0' do
|
11
15
|
gem 'activerecord', '~> 7.0'
|
12
16
|
end
|
13
17
|
end
|
File without changes
|
File without changes
|
File without changes
|
data/lib/gizzard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gizzard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takahiro Ooishi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -172,6 +172,7 @@ extensions: []
|
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
174
|
- ".github/workflows/main.yml"
|
175
|
+
- ".github/workflows/release.yml"
|
175
176
|
- ".gitignore"
|
176
177
|
- ".rspec"
|
177
178
|
- ".travis.yml"
|
@@ -184,9 +185,10 @@ files:
|
|
184
185
|
- bin/setup
|
185
186
|
- docker-compose.yml
|
186
187
|
- gemfiles/.bundle/config
|
187
|
-
- gemfiles/
|
188
|
-
- gemfiles/
|
189
|
-
- gemfiles/
|
188
|
+
- gemfiles/activerecord5.2.gemfile
|
189
|
+
- gemfiles/activerecord6.0.gemfile
|
190
|
+
- gemfiles/activerecord6.1.gemfile
|
191
|
+
- gemfiles/activerecord7.0.gemfile
|
190
192
|
- gizzard.gemspec
|
191
193
|
- lib/gizzard.rb
|
192
194
|
- lib/gizzard/base.rb
|
@@ -211,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
213
|
- !ruby/object:Gem::Version
|
212
214
|
version: '0'
|
213
215
|
requirements: []
|
214
|
-
rubygems_version: 3.
|
216
|
+
rubygems_version: 3.3.7
|
215
217
|
signing_key:
|
216
218
|
specification_version: 4
|
217
219
|
summary: Often use snippet for ActiveRecord.
|