moromi-error 0.4.0 → 0.5.0

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: 7b587a5b916270e9fc2f606b34cd1a1079935b3b767ad268c3c912a2ad7c11e7
4
- data.tar.gz: 598fa10b9299e177b7853d87a4ee73c11a6afe6ad122eb737de3ee75aa1a6408
3
+ metadata.gz: 5936263f9533c71c7ff02f65e8edc1e443969de98a74cbf87a49735d9877a77f
4
+ data.tar.gz: c4909ef90986ab0807fd01609ebd36566ce4ddd563a00b526f08262b91d66ff2
5
5
  SHA512:
6
- metadata.gz: 80cef3e80a2a47ff15b94c05486828096b29084ed54511cc534b93698578a603da8bb97b14054cef04443f02fccb49013bf439b7d6be0ebc615ce3b7d6a78c87
7
- data.tar.gz: e687c1014bbd4f4b7e55ec2cdbc26c382b6004d8ced4f4a386842faa85b03e1efafc11a738b9e8de99862b4a8b45711e1259036ece9d7c206173804667383f25
6
+ metadata.gz: 3b24ea60d59cfe2a2b0740dd373480677fdacce3cfa2e776a3753533f3a09c160f82a8a72d89e487f8550c9ecf9617fa35fd19cd7d3943b157af679cef7bbf21
7
+ data.tar.gz: 4154adddd34af2fe8108536b41d5d960f683cae47996fcee64dd7e81f400eb02c7ce0133684dd6a2f8a9073b1bfb9fc7c4e6f9aa3ca431dab96c60d91ce68221
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Moromi
2
2
  module Error
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
data/moromi-error.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.required_ruby_version = '>= 2.6'
23
23
 
24
- spec.add_dependency 'rails', ['>= 4.2', '< 6.2']
24
+ spec.add_dependency 'rails', '>= 5.2'
25
25
 
26
26
  spec.add_development_dependency "jbuilder"
27
27
  spec.add_development_dependency "bundler"
@@ -29,4 +29,5 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency "rspec"
30
30
  spec.add_development_dependency "rspec-rails"
31
31
  spec.add_development_dependency "sqlite3"
32
+ spec.add_development_dependency "sprockets-rails"
32
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moromi-error
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2022-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '6.2'
19
+ version: '5.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '4.2'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '6.2'
26
+ version: '5.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: jbuilder
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,6 +108,20 @@ dependencies:
114
108
  - - ">="
115
109
  - !ruby/object:Gem::Version
116
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sprockets-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
117
125
  description: Error templates
118
126
  email:
119
127
  - taka0125@gmail.com
@@ -121,6 +129,7 @@ executables: []
121
129
  extensions: []
122
130
  extra_rdoc_files: []
123
131
  files:
132
+ - ".github/workflows/release.yml"
124
133
  - ".github/workflows/ruby.yml"
125
134
  - ".gitignore"
126
135
  - ".rspec"
@@ -176,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
185
  - !ruby/object:Gem::Version
177
186
  version: '0'
178
187
  requirements: []
179
- rubygems_version: 3.0.3
188
+ rubygems_version: 3.3.7
180
189
  signing_key:
181
190
  specification_version: 4
182
191
  summary: Error templates