bugsify 1.0.5 → 1.0.7

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: 85caf0bd205a532ee78258e22eb3b6b20e7079b7a413ded72837717187297cc7
4
- data.tar.gz: 43da62d201e63ff5dc1187953bd2f81a49e2aa2f85f0859e2faee1cad1d18280
3
+ metadata.gz: b16af5b4ef552e4da630addbe6d1f073362d301e2040c02c3754627c8725abdb
4
+ data.tar.gz: 6966c1f7a2a56a3073e039d8e675a579ac851c4f7aad3d16a597bc7c01d1d4eb
5
5
  SHA512:
6
- metadata.gz: 362505cd1565d01bc6c27d9603544641c159d2981e8e62ecd5935f79aac1948adc5754b64012d888fedc35dbf3a333a11bb7d010b678fdf95f22e6ae830a1418
7
- data.tar.gz: 83ee8cfdee730f5b65a07c9aa431e118b5bbeed36ccd37c1a41bdc3f752a355127cbc09be9b52ab357881a942deee7fac30527abb7ecd1c0c9923d0da5231370
6
+ metadata.gz: 122cb50e0f8264d233ab5ae7baf26edb6b9889e74355b583d82d8c6140a4fa12e248ea7d4217fceeca58cfcfc1718d6e0766382481d974c401eba57c0b82a703
7
+ data.tar.gz: afc275dc6e857dea6ff5ada846aae5d8e2c41d207fe3bde453e07467d37a7d942a1c46deae3b185b1edef438336979713857d9726d38cafa40548bb8b4e06b46
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bugsify (1.0.3)
4
+ bugsify (1.0.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- # bugsify_ruby
1
+ # bugsify-ruby
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/bugsify.svg)](https://badge.fury.io/rb/bugsify)
2
4
 
3
5
  ## Error monitoring & exception reporter for Ruby
4
6
 
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.bugsify.io/v1/#{uri}")
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["Api-Key"] = Bugsify.config.api_key
25
- request.body = { data: body }.to_json if 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.5",
30
+ version: "1.0.7",
31
31
  authors: ["Aleksandar Popovic"],
32
32
  email: ["aleksandar.popovic@hotmail.com"],
33
- summary: "Ruby notifier for bugsify.io",
33
+ summary: "Ruby notifier for codepop.co.rs",
34
34
  description: "Bugsify error monitoring & exception reporter for Ruby",
35
- homepage: "https://github.com/bugsify/bugsify_ruby",
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/bugsify_ruby",
39
- changelog_uri: "https://github.com/bugsify/bugsify_ruby/blob/main/CHANGELOG.md"
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
- "collectors/ruby",
27
+ "events",
29
28
  "Post",
30
29
  params,
31
30
  &method(:parse)
@@ -31,7 +31,6 @@ module Bugsify
31
31
  end
32
32
 
33
33
  def manual(e)
34
- debugger
35
34
  payload = {
36
35
  error_class: e.class,
37
36
  error_backtrace: e,
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.5
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-01-10 00:00:00.000000000 Z
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/bugsify_ruby
44
+ homepage: https://github.com/codepoptech/bugsify-ruby
44
45
  licenses:
45
46
  - MIT
46
47
  metadata:
47
- homepage_uri: https://github.com/bugsify/bugsify_ruby
48
- source_code_uri: https://github.com/bugsify/bugsify_ruby
49
- changelog_uri: https://github.com/bugsify/bugsify_ruby/blob/main/CHANGELOG.md
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 bugsify.io
70
+ summary: Ruby notifier for codepop.co.rs
70
71
  test_files: []