smoke_detector 0.0.3 → 0.0.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 +8 -8
- data/lib/smoke_detector/providers/rollbar.rb +2 -1
- data/lib/smoke_detector/version.rb +1 -1
- data/spec/dummy/log/development.log +3 -0
- data/spec/dummy/log/test.log +2215 -0
- data/spec/models/providers/airbrake_spec.rb +2 -2
- data/spec/models/providers/provider_spec.rb +3 -3
- data/spec/models/providers/rollbar_spec.rb +19 -0
- data/spec/support/shared_examples_for_providers.rb +6 -8
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZTJjMjcwN2FjYzJkMWE0MDk2MGZkOTkzZTBiMWQ1NjFkMTZjNjJiYg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NTM3NzQ0NDQwNmVlN2JiYmQ3ZGM0NWM3ODMxOWIwNzY2YTFmZTlhYw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZGIzMmU5MTg1N2JhZTgxMjdkYzBkOGNjZTRjNWYyYmVjNjY4NjlkZjBlMTQ0
|
|
10
|
+
ZmU4YzlkNTNiMDBiMWIyZDZmNjQxNDUxM2M4ODA5YmFmMWY4Y2Q1Nzc5NmUx
|
|
11
|
+
NmRkMjgwN2YzZjQ0ZDY2NDlhNWY2MzUyN2U4NTcyN2IzMzcwM2M=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MzczNzY3NWIzMjI2YzEzNDNhZjBlMDc4YTcxNTI2YzRmNjM4NzNiNTY2OTU3
|
|
14
|
+
ZThlNWUyNjY2YmYzMjlmMWZjYTMyMTYwMTQ1ZTI5ZWY5MWU3MThhYTZlM2I0
|
|
15
|
+
MDc5MDBmYWMxNGUxZWE2NWZiYWNjZDZhZDczNzk4MDYxYWM5MWY=
|
|
@@ -4,12 +4,13 @@ module SmokeDetector::Providers
|
|
|
4
4
|
|
|
5
5
|
def initialize(api_key, settings = {})
|
|
6
6
|
::Rollbar.configure do |c|
|
|
7
|
+
c.environment = ::Rails.env # Rollbar sets this to 'unspecified' by default
|
|
8
|
+
|
|
7
9
|
c.access_token = api_key
|
|
8
10
|
apply_configuration_settings(c, settings)
|
|
9
11
|
|
|
10
12
|
# set Rollbar defaults
|
|
11
13
|
c.logger ||= ::Rails.logger
|
|
12
|
-
c.environment ||= ::Rails.env
|
|
13
14
|
c.root ||= ::Rails.root
|
|
14
15
|
c.framework = "Rails: #{::Rails::VERSION::STRING}"
|
|
15
16
|
c.filepath ||= ::Rails.application.class.parent_name + '.rollbar'
|
|
@@ -8616,3 +8616,6 @@ Error
|
|
|
8616
8616
|
Rendered /Users/chris/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
|
|
8617
8617
|
Rendered /Users/chris/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
|
|
8618
8618
|
Rendered /Users/chris/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.4ms)
|
|
8619
|
+
Connecting to database specified by database.yml
|
|
8620
|
+
Connecting to database specified by database.yml
|
|
8621
|
+
Connecting to database specified by database.yml
|