exception_notification_server 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/models/exception_notification_server/notification.rb +1 -1
- data/app/views/exception_notification_server/notifications/show.html.haml +1 -1
- data/exception_notification_server.gemspec +3 -3
- data/lib/exception_notification_server/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a51a0a20c304374c44e5aad42837084ccd46ece
|
4
|
+
data.tar.gz: 320c5fb753c2d6fd9cb6377f3ce71818afc0a9ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d69fe3ee4f0be1041d1fa3fdb29feab8e486a8272708eb60faa88d4767708addc2a3c7e5c05a81c96be748a4e0474cf9f0ce5bee9521367880e26bdd5c8cb217
|
7
|
+
data.tar.gz: 79f4160426952b73a3367c87459825b279ddd1065000e25acbe0ad466f8dab52545db10c14e7c62a0690628229c74f6d310c4ce7e123d48addd5d1e01261e6b5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.11
|
@@ -7,7 +7,7 @@ module ExceptionNotificationServer
|
|
7
7
|
serialize :environment, Hash
|
8
8
|
|
9
9
|
belongs_to :parent, class: ExceptionNotificationServer::Notification
|
10
|
-
has_many :childrens, ->{select('id, parent_id, status, exception_hash, env, application, server, process, rails_root, exception_class, exception_message, created_at, updated_at')},
|
10
|
+
has_many :childrens, -> { select('id, parent_id, status, exception_hash, env, application, server, process, rails_root, exception_class, exception_message, created_at, updated_at') }, class: ExceptionNotificationServer::Notification, foreign_key: :parent_id
|
11
11
|
|
12
12
|
scope :base_notifications, ->(status = nil) { status.present? ? where(parent: nil, status: status) : where(parent: nil) }
|
13
13
|
STATUSES = [:new, :investigating, :fixed].freeze
|
@@ -74,5 +74,5 @@
|
|
74
74
|
- if @similar.to_a.present?
|
75
75
|
%br
|
76
76
|
= render partial: 'exception_notification_server/notifications/notifications', object: @similar, as: :notifications, locals: {count: false, last_time: false, env: true}
|
77
|
-
= will_paginate @
|
77
|
+
= will_paginate @similar, remote: true
|
78
78
|
%br
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: exception_notification_server 0.0.
|
5
|
+
# stub: exception_notification_server 0.0.11 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "exception_notification_server"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.11"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Anatoliy Varanitsa"]
|
14
|
-
s.date = "2016-
|
14
|
+
s.date = "2016-03-25"
|
15
15
|
s.description = "Gem that receive errors from exception_notification gem and show it grouped on pages"
|
16
16
|
s.email = "Prizrack13@mail.ru"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exception_notification_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatoliy Varanitsa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|