snitch_reporting 1.2.7 → 1.2.8

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: 1789d778299f47dfed24aaf3665aaf24a22d80834e8b340c3332de1c801a812b
4
- data.tar.gz: 875f997131490045e8ff5ca4f43b237c21e04ff485ebaa7fd6abe9b33e586474
3
+ metadata.gz: ca3d8591d21ac20134ebd44f75d3ec482cebbe2eefd5a1429d78669ebb535cd5
4
+ data.tar.gz: 370bfe6cb40196f331f24aa6dbd67a2b0455d9fc3e03a51501c84e337097f5a3
5
5
  SHA512:
6
- metadata.gz: 90f60f62b7370ac337e9ec352f194ef5ec904ff5ecc23996c0c6b3117ac9fc8025c2c7de16b31f33b004a54f3cac5fab640640899c5b832d9bc81e7d0a4ddb19
7
- data.tar.gz: 99a478871e6b58f7db1ffdfe1ad77ab61bf91c615b79d8c04f6add7d12a3cd076b8293c8d63855d578ca0def3887e897821f9fe83e902b2f804ea5180d2e5a2a
6
+ metadata.gz: 7489b6381958b0b219ec1263fdef97a7f65fd3fc97a6479f1a8d29ee1053d6f8368720fb74979e96a94f516d4b9f46f9344063e07f8bb3ae88a6edf683485812
7
+ data.tar.gz: 45aaacad3ea9e6f65eaf0b9d1e997b092416f9b13e472cdeb989db87f6f1e111a2aae056e8f419e669371f9c8eeaf05c9ea767e2a722a88577b2c6fbd29eeaba
@@ -86,9 +86,9 @@ class SnitchReporting::SnitchReport < ApplicationRecord
86
86
  return SnitchReporting::SnitchReport.error("Failed to save occurrence.", occurrence.errors.full_messages) unless occurrence.persisted?
87
87
  occurrence
88
88
  rescue StandardError => ex
89
- env ||= {}
90
- binding.pry
91
- SnitchReporting::SnitchReport.fatal("Failed to create report. (#{ex.class})", env.to_s, ex.to_s)
89
+ # env ||= {}
90
+ # SnitchReporting::SnitchReport.fatal("Failed to create report. (#{ex.class})", env.to_s, ex.to_s)
91
+ SnitchReporting::SnitchReport.fatal("Failed to create report. (#{ex.class})")
92
92
  end
93
93
 
94
94
  def format_args(args)
@@ -1,5 +1,4 @@
1
1
  <div class="snitch-reporting">
2
-
3
2
  <%= form_tag interpret_search_path, class: "snitch-search-area" do %>
4
3
  <button type="submit" name="button">Filter</button>
5
4
  <input type="text" name="filter_string" value="<%= @filter_string %>" autocomplete="off">
@@ -17,8 +17,7 @@ class SnitchReporting::Rack
17
17
  _, headers, = response
18
18
 
19
19
  # if headers["X-Cascade"] == "pass"
20
- # msg = "This exception means that the preceding Rack middleware set the 'X-Cascade' header to 'pass' -- in " \
21
- # "Rails, this often means that the route was not found (404 error)."
20
+ # msg = "This exception means that the preceding Rack middleware set the 'X-Cascade' header to 'pass' -- in Rails, this often means that the route was not found (404 error)."
22
21
  # raise SnitchException, msg
23
22
  # end
24
23
 
@@ -1,3 +1,3 @@
1
1
  module SnitchReporting
2
- VERSION = '1.2.7'
2
+ VERSION = '1.2.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snitch_reporting
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rocco Nicholls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -132,8 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubyforge_project:
136
- rubygems_version: 2.7.3
135
+ rubygems_version: 3.1.2
137
136
  signing_key:
138
137
  specification_version: 4
139
138
  summary: Adds a localized error reporting/tracking system.