exception_notification-shoryuken 0.1.2 → 1.1.0

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
- SHA1:
3
- metadata.gz: 7bacfaf658ab3961819fca57facabaeb96c1d2cf
4
- data.tar.gz: 520b91c0115f6d411cff3fccd1495399197d706f
2
+ SHA256:
3
+ metadata.gz: de3f4589124ecc82a0fb4bf1d67a08f125c0001b083c465a579b1fb47e95298a
4
+ data.tar.gz: 98093152343c8ce1342e6112eb64a0c52ad93a3396f70da48e74e4ade57995f7
5
5
  SHA512:
6
- metadata.gz: a9f2d4c5fdec58822d43329ae1a1a7752042dda4e20c5ea93afa55c96cc43410cc661e0d6a89d44b63d8993ea876d4bf7d5e807736118c6b2f16004caa623007
7
- data.tar.gz: 49e9b496327c2c14e59d5d4ac89b26fc1e2461a909f0ab2c8619eecd658536433e63c3f247c9232af5a4c09b613098f3c55b164b715f46ecb31b630e3ec37807
6
+ metadata.gz: 92e4947f454cd9927a4e6cd14a7f20870906c4687d78eba82e3921d2309cc2d80b8d4597eaf845f5eb597c0afdedae4871be6e5126ce2242058484c104d0f8fb
7
+ data.tar.gz: 3bd36e6975f034249ce20800d7ab78cdc362592096b7e87c4cc1b35db3639f5e6df7119eb2c4ad5cedc38bb5ea387c4a54cfadac624afdee78bed2487cdfef75
@@ -0,0 +1,33 @@
1
+ name: Release
2
+
3
+ on:
4
+ release:
5
+ types: [created]
6
+
7
+ jobs:
8
+ release:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up Ruby
14
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
15
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
16
+ # uses: ruby/setup-ruby@v1
17
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
18
+ with:
19
+ ruby-version: 3.0.0
20
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
21
+ - name: Setup Release Credentials
22
+ env:
23
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
24
+ run: |
25
+ mkdir -p $HOME/.gem
26
+ touch $HOME/.gem/credentials
27
+ chmod 600 $HOME/.gem/credentials
28
+ echo "---" >$HOME/.gem/credentials
29
+ echo ":rubygems_api_key: ${RUBYGEMS_API_KEY}" >> $HOME/.gem/credentials
30
+ - name: Publish Gem
31
+ run: |
32
+ gem build *.gemspec
33
+ gem push *.gem
@@ -0,0 +1,31 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ tags:
9
+
10
+ pull_request:
11
+
12
+ jobs:
13
+ test:
14
+
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ ruby-version: ['2.6', '2.7', '3.0']
19
+
20
+ steps:
21
+ - uses: actions/checkout@v2
22
+ - name: Set up Ruby
23
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
24
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
25
+ # uses: ruby/setup-ruby@v1
26
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
27
+ with:
28
+ ruby-version: ${{ matrix.ruby-version }}
29
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
30
+ - name: Run tests
31
+ run: bundle exec rspec
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # ExceptionNotification::Shoryuken
2
+ [![Test](https://github.com/h3poteto/exception_notification-shoryuken/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/h3poteto/exception_notification-shoryuken/actions/workflows/test.yml)
3
+ [![GitHub release](https://img.shields.io/github/release/h3poteto/exception_notification-shoryuken.svg)](https://github.com/h3poteto/exception_notification-shoryuken/releases)
4
+ [![Gem](https://img.shields.io/gem/v/exception_notification-shoryuken.svg)](https://rubygems.org/gems/exception_notification-shoryuken)
5
+ ![Gem](https://img.shields.io/gem/dt/exception_notification-shoryuken.svg)
2
6
 
3
- This Ruby gem is an extension of the [exception_notification](https://github.com/smartinez87/exception_notification) gem, and provides a set of notifiers for sending notifications when errors occur in [Shoryuken](https://github.com/phstc/shoryuken) worker. This is useful if you use Shoryuken worker as asynchronous
7
+ This Ruby gem is an extension of the [exception_notification](https://github.com/smartinez87/exception_notification) gem, and provides a set of notifiers for sending notifications when errors occur in [Shoryuken](https://github.com/phstc/shoryuken) worker. This is useful if you use Shoryuken worker as asynchronous
4
8
  process.
5
9
 
6
10
  ## Installation
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_runtime_dependency 'exception_notification', "~> 4"
23
- spec.add_runtime_dependency 'shoryuken', "~> 2.0"
24
- spec.add_development_dependency "bundler", "~> 1.11"
25
- spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_runtime_dependency 'shoryuken', ">= 4.0", "<= 5.3"
24
+ spec.add_development_dependency "rake", "~> 13.0"
26
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
+ spec.add_development_dependency 'aws-sdk-sqs', "~> 1.13"
27
27
  end
@@ -1,5 +1,5 @@
1
1
  module ExceptionNotification
2
2
  module Shoryuken
3
- VERSION = "0.1.2"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_notification-shoryuken
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - h3poteto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-20 00:00:00.000000000 Z
11
+ date: 2021-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: exception_notification
@@ -28,58 +28,64 @@ dependencies:
28
28
  name: shoryuken
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ - - "<="
32
35
  - !ruby/object:Gem::Version
33
- version: '2.0'
36
+ version: '5.3'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
- version: '2.0'
43
+ version: '4.0'
44
+ - - "<="
45
+ - !ruby/object:Gem::Version
46
+ version: '5.3'
41
47
  - !ruby/object:Gem::Dependency
42
- name: bundler
48
+ name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '1.11'
53
+ version: '13.0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '1.11'
60
+ version: '13.0'
55
61
  - !ruby/object:Gem::Dependency
56
- name: rake
62
+ name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '10.0'
67
+ version: '3.0'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '10.0'
74
+ version: '3.0'
69
75
  - !ruby/object:Gem::Dependency
70
- name: rspec
76
+ name: aws-sdk-sqs
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '3.0'
81
+ version: '1.13'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '3.0'
88
+ version: '1.13'
83
89
  description: exception_notification's plugin for shoryuken.
84
90
  email:
85
91
  - h3.poteto@gmail.com
@@ -87,9 +93,10 @@ executables: []
87
93
  extensions: []
88
94
  extra_rdoc_files: []
89
95
  files:
96
+ - ".github/workflows/release.yml"
97
+ - ".github/workflows/test.yml"
90
98
  - ".gitignore"
91
99
  - ".rspec"
92
- - ".travis.yml"
93
100
  - CODE_OF_CONDUCT.md
94
101
  - Gemfile
95
102
  - LICENSE.txt
@@ -120,8 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
127
  - !ruby/object:Gem::Version
121
128
  version: '0'
122
129
  requirements: []
123
- rubyforge_project:
124
- rubygems_version: 2.5.1
130
+ rubygems_version: 3.2.3
125
131
  signing_key:
126
132
  specification_version: 4
127
133
  summary: exception_notification's plugin for shoryuken.
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1.4
4
- before_install: gem install bundler -v 1.11.2