exception_notification_telegram 0.1.1 → 0.2.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 +4 -4
- data/.github/workflows/ruby.yml +28 -0
- data/README.md +1 -1
- data/exception_notification_telegram.gemspec +3 -3
- data/lib/exception_notification_telegram/version.rb +1 -1
- metadata +14 -14
- data/.travis.yml +0 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e3cedaa9b3c33a84fd4c2bd5f40e76008b256d09d9364e113fe226812d2d138
|
|
4
|
+
data.tar.gz: 0b2332f2a4e1aff958514079942a77b9b12cfd1d92c7bbfb36b5abd065005d16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f79aaf894f075d4a1842e1a4650345fa872f02e0b3630ecbafee2b0eeec963b43c1a2a18b0c6d374bbe39b19773119eb5c2335bb120746d63bcdde3b578b888
|
|
7
|
+
data.tar.gz: 1ae43bc9e7701abfd92aae935914d758c4029adf93e4c30ce2b3a5fb9a208b04b57a08c8bbdded6c9b1882a41a30d4ed11a161d8323adc0c3b167dfb4767c527
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Ruby CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ master ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ master ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
ruby-version: ['3.1', '3.0', '2.7']
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v3
|
|
20
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
21
|
+
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
|
|
22
|
+
with:
|
|
23
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
24
|
+
bundler-cache: true
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: bundle install
|
|
27
|
+
- name: Run tests
|
|
28
|
+
run: bundle exec rake
|
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
The [Exception Notification](https://github.com/smartinez87/exception_notification) gem provides a set of notifiers for sending notifications when errors occur in a Rack/Rails application. This gem adds support for delivering notifications to Telegram.
|
|
9
9
|
|
|
10
10
|
## Requirements
|
|
11
|
-
* Ruby 2.
|
|
11
|
+
* Ruby 2.7 or greater
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.homepage = "https://github.com/iaguirre88/exception_notification_telegram"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
|
-
spec.required_ruby_version = '
|
|
16
|
+
spec.required_ruby_version = '>= 2.7'
|
|
17
17
|
|
|
18
18
|
# Specify which files should be added to the gem when it is released.
|
|
19
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
25
25
|
spec.require_paths = ["lib"]
|
|
26
26
|
|
|
27
|
-
spec.add_development_dependency "bundler", "~>
|
|
27
|
+
spec.add_development_dependency "bundler", "~> 2.3"
|
|
28
28
|
spec.add_development_dependency "rake", "~> 12.3"
|
|
29
29
|
spec.add_development_dependency "rspec", "~> 3.8"
|
|
30
30
|
|
|
31
31
|
spec.add_dependency "exception_notification", "~> 4.4"
|
|
32
|
-
spec.add_dependency "httparty", "~> 0.
|
|
32
|
+
spec.add_dependency "httparty", "~> 0.20.0"
|
|
33
33
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: exception_notification_telegram
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ignacio Aguirrezabal
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '2.3'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
26
|
+
version: '2.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,23 +72,23 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.
|
|
75
|
+
version: 0.20.0
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.
|
|
83
|
-
description:
|
|
82
|
+
version: 0.20.0
|
|
83
|
+
description:
|
|
84
84
|
email:
|
|
85
85
|
- zirion0@gmail.com
|
|
86
86
|
executables: []
|
|
87
87
|
extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
|
89
89
|
files:
|
|
90
|
+
- ".github/workflows/ruby.yml"
|
|
90
91
|
- ".gitignore"
|
|
91
|
-
- ".travis.yml"
|
|
92
92
|
- CODE_OF_CONDUCT.md
|
|
93
93
|
- Gemfile
|
|
94
94
|
- LICENSE.txt
|
|
@@ -104,23 +104,23 @@ homepage: https://github.com/iaguirre88/exception_notification_telegram
|
|
|
104
104
|
licenses:
|
|
105
105
|
- MIT
|
|
106
106
|
metadata: {}
|
|
107
|
-
post_install_message:
|
|
107
|
+
post_install_message:
|
|
108
108
|
rdoc_options: []
|
|
109
109
|
require_paths:
|
|
110
110
|
- lib
|
|
111
111
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
requirements:
|
|
113
|
-
- - "
|
|
113
|
+
- - ">="
|
|
114
114
|
- !ruby/object:Gem::Version
|
|
115
|
-
version: '2.
|
|
115
|
+
version: '2.7'
|
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
requirements:
|
|
118
118
|
- - ">="
|
|
119
119
|
- !ruby/object:Gem::Version
|
|
120
120
|
version: '0'
|
|
121
121
|
requirements: []
|
|
122
|
-
rubygems_version: 3.
|
|
123
|
-
signing_key:
|
|
122
|
+
rubygems_version: 3.1.6
|
|
123
|
+
signing_key:
|
|
124
124
|
specification_version: 4
|
|
125
125
|
summary: Telegram notifier for exception notification gem
|
|
126
126
|
test_files: []
|
data/.travis.yml
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
sudo: false
|
|
3
|
-
language: ruby
|
|
4
|
-
cache: bundler
|
|
5
|
-
rvm:
|
|
6
|
-
- 2.4.7
|
|
7
|
-
- 2.5.0
|
|
8
|
-
- 2.6.0
|
|
9
|
-
before_install:
|
|
10
|
-
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
|
11
|
-
- gem install bundler -v '< 2'
|
|
12
|
-
|
|
13
|
-
install:
|
|
14
|
-
- bundle install --jobs=3 --retry=3
|
|
15
|
-
|
|
16
|
-
script: bundle exec rake spec
|