gizzard 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7835d4c05720dfbe30c00af4019b823ce0e5098c4151ced2744147272bbddd87
4
- data.tar.gz: 6735ab05f95da9f5ac49846f33856fba7d7efb3a34803a344e5ec3c78097b94a
3
+ metadata.gz: 3362e107fdc7cd0736d4379fb494c997227ab1a8c5e17185cc24b68aee792a5d
4
+ data.tar.gz: eb69873cc6a1904f038f7706c14a11182082fa40f01b711b10ade03fdab2f437
5
5
  SHA512:
6
- metadata.gz: 316d1946ed962e152b33aae18b72188d4b4ae04495d5da3184db902143a95dd93534ff401ddb4cbd71b78bf7711c08cb7b3511dee29d1f6ca8b8fcf88cce1ed5
7
- data.tar.gz: 30ee2722af67585d7888257bcb04aae0dd8850077e1c8104b1734db3080d1003e32da7b52aa7aac9758c53290aaf79394fc73e30fd2ae25aa6d2a86629a60143
6
+ metadata.gz: ec1938dabee7507a844f4e9bba151a638858d9ef16759c6be37159621be97770109ae2ea4881c0bbeeaf44dab36d4dfd6ac5cb1af4b79a17ec19d1cd80744056
7
+ data.tar.gz: 73cb4bba7160084998dcea8492ffd4c56d44efde5cce81c80cac9324d84cd3f3d1e6cb10086ac41748c49a379369934a03ef72c85665f204ec5e7e3f6d09a33b
@@ -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
- gemfile:
29
- - activerecord52
30
- - activerecord61
31
- - activerecord70
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
- gemfile: activerecord70
35
- - ruby: 3.0
36
- gemfile: activerecord52
37
- - ruby: 3.1
38
- gemfile: activerecord52
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: /home/runner/work/gizzard/gizzard/gemfiles/${{ matrix.gemfile }}.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 'activerecord52' do
1
+ appraise 'activerecord5.2' do
2
2
  gem 'activerecord', '~> 5.2'
3
3
  end
4
4
 
5
- appraise 'activerecord61' do
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 'activerecord70' do
14
+ appraise 'activerecord7.0' do
11
15
  gem 'activerecord', '~> 7.0'
12
16
  end
13
17
  end
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.0"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module Gizzard
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
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.0
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-07-17 00:00:00.000000000 Z
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/activerecord52.gemfile
188
- - gemfiles/activerecord61.gemfile
189
- - gemfiles/activerecord70.gemfile
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.1.6
216
+ rubygems_version: 3.3.7
215
217
  signing_key:
216
218
  specification_version: 4
217
219
  summary: Often use snippet for ActiveRecord.