findbug 0.3.3 → 0.3.4

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
2
  SHA256:
3
- metadata.gz: 616e1bc054f2658af793f1c309250e0037430bdf162b2593d6c6506426116a40
4
- data.tar.gz: d19ed012c13b738227a25b05aef496e2a6ad9a67e79e68b5eb13a98415dd52ad
3
+ metadata.gz: febb3a02b6cd7b7791b2b64fbcfa2222a5adedcd591cc3096dc9e3f4128e430d
4
+ data.tar.gz: c6714e86d56418b5afe1bdcaf84f0a4e1f8e8676872c07a54ff49092539751b8
5
5
  SHA512:
6
- metadata.gz: cf42ad84ee1a74b468acf35648c096c1ecdcd56d1ffa529b87e0c6626fcfa46f129ac7d14d1852fd38dcbbae37e9282a5b6efdbb2e79be808aa95927671c35ff
7
- data.tar.gz: 360185e9086ce255b0764cd15821cf2de5c46ffcb4a3863185fcb31f16c8efd27572eb61b7d080c607dd14462a87a61dd20103416b60fa81db14b95443c56e65
6
+ metadata.gz: c239228a5a8a06668260ebea57ff173a53d255b23a7607816129399d1bca45fa98c4a915079f58ac44d766c55b160799505a03e63e917e993b7660b8edd21321
7
+ data.tar.gz: d181ff1a682f7e04ab4cf85261d81bf95b59ee53aa4cebd45328cc750ec896408378d0e26fcc15f4388301ba03670d5d328e3dc3665cbc3371f10ac3b4bd08c3
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Findbug
4
- VERSION = "0.3.3"
4
+ VERSION = "0.3.4"
5
5
  end
@@ -17,17 +17,19 @@ Next steps:
17
17
  # Or set directly in config/initializers/findbug.rb:
18
18
  config.redis_url = "redis://localhost:6379/1"
19
19
 
20
- 3. Configure dashboard authentication (required):
20
+ 3. Access the dashboard:
21
21
 
22
- # Add to your environment variables or .env file:
23
- FINDBUG_USERNAME=admin
24
- FINDBUG_PASSWORD=your-secure-password
22
+ http://localhost:3000/findbug
25
23
 
26
- 5. Access the dashboard:
24
+ Default credentials (CHANGE IN PRODUCTION!):
25
+ Username: admin
26
+ Password: findbug
27
27
 
28
- http://localhost:3000/findbug
28
+ To customize, set environment variables:
29
+ FINDBUG_USERNAME=your-username
30
+ FINDBUG_PASSWORD=your-secure-password
29
31
 
30
- 6. (Optional) Configure alerts in config/initializers/findbug.rb:
32
+ 4. (Optional) Configure alerts in config/initializers/findbug.rb:
31
33
 
32
34
  config.alerts do |alerts|
33
35
  alerts.slack(
@@ -36,7 +38,7 @@ Next steps:
36
38
  )
37
39
  end
38
40
 
39
- 7. (Multi-tenant apps) If using Apartment/ros-apartment, add to apartment.rb:
41
+ 5. (Multi-tenant apps) If using Apartment/ros-apartment, add to apartment.rb:
40
42
 
41
43
  config.excluded_models = %w[Findbug::ErrorEvent Findbug::PerformanceEvent]
42
44
 
@@ -102,9 +102,9 @@ Findbug.configure do |config|
102
102
  # ============================================================================
103
103
 
104
104
  # Dashboard authentication (required for dashboard to be enabled)
105
- # We recommend using environment variables for security
106
- config.web_username = ENV["FINDBUG_USERNAME"]
107
- config.web_password = ENV["FINDBUG_PASSWORD"]
105
+ # Default credentials are set for development - CHANGE THESE IN PRODUCTION!
106
+ config.web_username = ENV.fetch("FINDBUG_USERNAME", "admin")
107
+ config.web_password = ENV.fetch("FINDBUG_PASSWORD", "findbug")
108
108
 
109
109
  # Dashboard URL path (default: "/findbug")
110
110
  config.web_path = "/findbug"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: findbug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soumit Das