bugsify 1.0.6 → 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: 838dd41504e18f406fae5acd2ca9d503ffa57a9c7a17f0ac9ee80f5f4cca0e55
4
- data.tar.gz: 8938abe6fe325774366e97adc7aa384508c66f2b58c06fba02b4f23b0c4e9945
3
+ metadata.gz: b16af5b4ef552e4da630addbe6d1f073362d301e2040c02c3754627c8725abdb
4
+ data.tar.gz: 6966c1f7a2a56a3073e039d8e675a579ac851c4f7aad3d16a597bc7c01d1d4eb
5
5
  SHA512:
6
- metadata.gz: de161b06733c2e74c76826884e062e51e6b35227f408155a7c76b5c33f6f3d130acced17cde511cdf4387934966cd09497f7879e35f16388bfb509c137aa3df3
7
- data.tar.gz: c5ff82ea0f5faf8a403b24f2add50c233c2945b2dc8e5347b51971a270b1c3831255cd96568100d1d27180edca8b42f39a7b7fca386d3e08e06c0754e7fdfab2
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/
@@ -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://server.codepop.co.rs/collectors/#{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.6",
30
+ version: "1.0.7",
31
31
  authors: ["Aleksandar Popovic"],
32
32
  email: ["aleksandar.popovic@hotmail.com"],
33
33
  summary: "Ruby notifier for codepop.co.rs",
34
34
  description: "Bugsify error monitoring & exception reporter for Ruby",
35
- homepage: "https://github.com/CodepopTechnology/BugsifyRuby",
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/CodepopTechnology/BugsifyRuby",
39
- changelog_uri: "https://github.com/CodepopTechnology/BugsifyRuby/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) }
@@ -24,7 +24,7 @@ module Bugsify
24
24
  }
25
25
 
26
26
  Api.new.request(
27
- "ruby",
27
+ "events",
28
28
  "Post",
29
29
  params,
30
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.6
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-02-27 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:
@@ -41,13 +41,13 @@ files:
41
41
  - lib/bugsify/parser/parser.rb
42
42
  - lib/bugsify/reporter/reporter.rb
43
43
  - lib/generators/bugsify/install_generator.rb
44
- homepage: https://github.com/CodepopTechnology/BugsifyRuby
44
+ homepage: https://github.com/codepoptech/bugsify-ruby
45
45
  licenses:
46
46
  - MIT
47
47
  metadata:
48
- homepage_uri: https://github.com/CodepopTechnology/BugsifyRuby
49
- source_code_uri: https://github.com/CodepopTechnology/BugsifyRuby
50
- changelog_uri: https://github.com/CodepopTechnology/BugsifyRuby/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
51
51
  rubygems_mfa_required: 'true'
52
52
  post_install_message:
53
53
  rdoc_options: []