bugsify 1.0.5 → 1.0.7
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/Gemfile.lock +1 -1
- data/README.md +3 -1
- data/SECURITY.md +21 -0
- data/lib/bugsify/client/client.rb +3 -3
- data/lib/bugsify/config/config.rb +5 -5
- data/lib/bugsify/notifier/notifier.rb +1 -2
- data/lib/bugsify/parser/parser.rb +0 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b16af5b4ef552e4da630addbe6d1f073362d301e2040c02c3754627c8725abdb
|
4
|
+
data.tar.gz: 6966c1f7a2a56a3073e039d8e675a579ac851c4f7aad3d16a597bc7c01d1d4eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122cb50e0f8264d233ab5ae7baf26edb6b9889e74355b583d82d8c6140a4fa12e248ea7d4217fceeca58cfcfc1718d6e0766382481d974c401eba57c0b82a703
|
7
|
+
data.tar.gz: afc275dc6e857dea6ff5ada846aae5d8e2c41d207fe3bde453e07467d37a7d942a1c46deae3b185b1edef438336979713857d9726d38cafa40548bb8b4e06b46
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/SECURITY.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Security Policy
|
2
|
+
|
3
|
+
## Supported Versions
|
4
|
+
|
5
|
+
Use this section to tell people about which versions of your project are
|
6
|
+
currently being supported with security updates.
|
7
|
+
|
8
|
+
| Version | Supported |
|
9
|
+
| ------- | ------------------ |
|
10
|
+
| 5.1.x | :white_check_mark: |
|
11
|
+
| 5.0.x | :x: |
|
12
|
+
| 4.0.x | :white_check_mark: |
|
13
|
+
| < 4.0 | :x: |
|
14
|
+
|
15
|
+
## Reporting a Vulnerability
|
16
|
+
|
17
|
+
Use this section to tell people how to report a vulnerability.
|
18
|
+
|
19
|
+
Tell them where to go, how often they can expect to get an update on a
|
20
|
+
reported vulnerability, what to expect if the vulnerability is accepted or
|
21
|
+
declined, etc.
|
@@ -12,7 +12,7 @@ module Bugsify
|
|
12
12
|
# rubocop:disable Metrics/AbcSize
|
13
13
|
# rubocop:disable Metrics/MethodLength
|
14
14
|
def request(uri, method, body = nil)
|
15
|
-
uri = URI.parse("https://api.
|
15
|
+
uri = URI.parse("https://api.codepop.co.rs/v1/#{uri}")
|
16
16
|
http = Net::HTTP.new(uri.host, uri.port)
|
17
17
|
http.use_ssl = true
|
18
18
|
|
@@ -21,8 +21,8 @@ module Bugsify
|
|
21
21
|
|
22
22
|
request = constantized.new(uri)
|
23
23
|
request["Content-Type"] = "application/json"
|
24
|
-
request["
|
25
|
-
request.body = {
|
24
|
+
request["apikey"] = Bugsify.config.api_key
|
25
|
+
request.body = { payload: body }.to_json if body
|
26
26
|
|
27
27
|
response = http.request(request)
|
28
28
|
|
@@ -27,16 +27,16 @@ module Bugsify
|
|
27
27
|
|
28
28
|
specs = {
|
29
29
|
name: "bugsify",
|
30
|
-
version: "1.0.
|
30
|
+
version: "1.0.7",
|
31
31
|
authors: ["Aleksandar Popovic"],
|
32
32
|
email: ["aleksandar.popovic@hotmail.com"],
|
33
|
-
summary: "Ruby notifier for
|
33
|
+
summary: "Ruby notifier for codepop.co.rs",
|
34
34
|
description: "Bugsify error monitoring & exception reporter for Ruby",
|
35
|
-
homepage: "https://github.com/bugsify
|
35
|
+
homepage: "https://github.com/codepoptech/bugsify-ruby",
|
36
36
|
license: "MIT",
|
37
37
|
required_ruby_version: ">= 2.6.0",
|
38
|
-
source_code_uri: "https://github.com/bugsify
|
39
|
-
changelog_uri: "https://github.com/bugsify/
|
38
|
+
source_code_uri: "https://github.com/codepopech/bugsify-ruby",
|
39
|
+
changelog_uri: "https://github.com/codepoptech/bugsify-ruby/blob/main/CHANGELOG.md"
|
40
40
|
}
|
41
41
|
|
42
42
|
specs.each { |k, v| const_set(k.upcase, v) }
|
@@ -4,7 +4,6 @@ module Bugsify
|
|
4
4
|
# Error
|
5
5
|
module Notifier
|
6
6
|
include Client
|
7
|
-
include Parser
|
8
7
|
|
9
8
|
def capture_exception(exception)
|
10
9
|
raise "Argument #{exception} is not exception" unless exception.is_a?(Exception)
|
@@ -25,7 +24,7 @@ module Bugsify
|
|
25
24
|
}
|
26
25
|
|
27
26
|
Api.new.request(
|
28
|
-
"
|
27
|
+
"events",
|
29
28
|
"Post",
|
30
29
|
params,
|
31
30
|
&method(:parse)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bugsify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleksandar Popovic
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Bugsify error monitoring & exception reporter for Ruby
|
14
14
|
email:
|
@@ -30,6 +30,7 @@ files:
|
|
30
30
|
- Makefile
|
31
31
|
- README.md
|
32
32
|
- Rakefile
|
33
|
+
- SECURITY.md
|
33
34
|
- bugsify.gemspec
|
34
35
|
- lib/bugsify.rb
|
35
36
|
- lib/bugsify/client/client.rb
|
@@ -40,13 +41,13 @@ files:
|
|
40
41
|
- lib/bugsify/parser/parser.rb
|
41
42
|
- lib/bugsify/reporter/reporter.rb
|
42
43
|
- lib/generators/bugsify/install_generator.rb
|
43
|
-
homepage: https://github.com/bugsify
|
44
|
+
homepage: https://github.com/codepoptech/bugsify-ruby
|
44
45
|
licenses:
|
45
46
|
- MIT
|
46
47
|
metadata:
|
47
|
-
homepage_uri: https://github.com/bugsify
|
48
|
-
source_code_uri: https://github.com/bugsify
|
49
|
-
changelog_uri: https://github.com/bugsify/
|
48
|
+
homepage_uri: https://github.com/codepoptech/bugsify-ruby
|
49
|
+
source_code_uri: https://github.com/codepopech/bugsify-ruby
|
50
|
+
changelog_uri: https://github.com/codepoptech/bugsify-ruby/blob/main/CHANGELOG.md
|
50
51
|
rubygems_mfa_required: 'true'
|
51
52
|
post_install_message:
|
52
53
|
rdoc_options: []
|
@@ -66,5 +67,5 @@ requirements: []
|
|
66
67
|
rubygems_version: 3.3.7
|
67
68
|
signing_key:
|
68
69
|
specification_version: 4
|
69
|
-
summary: Ruby notifier for
|
70
|
+
summary: Ruby notifier for codepop.co.rs
|
70
71
|
test_files: []
|