effective_logging 4.4.3 → 4.4.5
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 +4 -4
- data/app/views/effective/logs/_log.html.haml +37 -36
- data/lib/effective_logging/version.rb +1 -1
- metadata +24 -14
- data/app/views/admin/logs/index.html.haml +0 -4
- data/app/views/admin/logs/show.html.haml +0 -4
- data/app/views/effective/logs/index.html.haml +0 -4
- data/app/views/effective/logs/show.html.haml +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cafa267f34f454af4a3766cadb7a9ea1d60f15f1db0d15d137a61479cd30a4f7
|
|
4
|
+
data.tar.gz: eb1892c043cfba3878a34e65211ae64ba69e373b35d2330b6e7d53154866ce0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2811467f4b2e267ae26d763bb4c0486ff46b67dbf44ef9ee73a90605356c669f373875229bab087ad6eaf91760abab10267871c02663e9d73127ceac129c2356
|
|
7
|
+
data.tar.gz: 1e9a7556890295e69f1bb89f70668be04584e19762812b866290ef0e684ed382cad4472c65a91d2bf1eded39bd5d25ffce6071b74debacdd140680c1fd98a53a
|
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
.
|
|
19
|
-
|
|
20
|
-
%
|
|
1
|
+
- content_for :resource_buttons do
|
|
2
|
+
- prev_log = log.prev_log
|
|
3
|
+
- next_log = log.next_log
|
|
4
|
+
|
|
5
|
+
- if prev_log.present?
|
|
6
|
+
= link_to 'Prev', request.fullpath.sub('/' + log.to_param, '/' + prev_log.to_param), class: 'btn btn-primary'
|
|
7
|
+
|
|
8
|
+
- if next_log.present?
|
|
9
|
+
= link_to 'Next', request.fullpath.sub('/' + log.to_param, '/' + next_log.to_param), class: 'btn btn-primary'
|
|
10
|
+
|
|
11
|
+
.card.card-effective-logging
|
|
12
|
+
.card-body
|
|
13
|
+
%p= log.message.to_s.gsub("\n", '<br>').html_safe
|
|
14
|
+
|
|
15
|
+
%hr.my-4
|
|
16
|
+
|
|
17
|
+
%h4.card-title Details
|
|
18
|
+
%table.table.table-sm.table-striped
|
|
19
|
+
%tr
|
|
20
|
+
%th
|
|
21
21
|
- status_class = bootstrap_class_for_status(log.status)
|
|
22
22
|
%span{class: (defined?(EffectiveBootstrap) ? "badge badge-#{status_class}" : "label label-#{status_class}")}= log.status
|
|
23
|
-
|
|
23
|
+
%td
|
|
24
24
|
= log.created_at.strftime("%F %H:%M:%S")
|
|
25
25
|
= '(' + time_ago_in_words(log.created_at) + ' ago)'
|
|
26
26
|
|
|
27
|
-
.col-md-6
|
|
28
27
|
- if log.user.present?
|
|
29
|
-
%
|
|
30
|
-
%
|
|
31
|
-
|
|
28
|
+
%tr
|
|
29
|
+
%th
|
|
30
|
+
User
|
|
31
|
+
%td
|
|
32
|
+
= log.user
|
|
32
33
|
|
|
33
34
|
- if log.associated_id.present? && log.associated_type.present? && (log.associated.present? rescue false)
|
|
34
|
-
%
|
|
35
|
-
%
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
%tr
|
|
36
|
+
%th Associated
|
|
37
|
+
%td
|
|
38
|
+
- if log.associated.to_s.starts_with?('#<')
|
|
39
|
+
= log.associated.class.name
|
|
40
|
+
= log.associated.to_param
|
|
41
|
+
- else
|
|
42
|
+
= log.associated
|
|
40
43
|
|
|
41
44
|
- log.details.each do |key, value|
|
|
42
45
|
- next unless value.present?
|
|
43
|
-
.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
%strong= "#{key.to_s.titleize}:"
|
|
47
|
-
= format_log_details_value(log, key)
|
|
46
|
+
%hr.my-4
|
|
47
|
+
%h5.card-title= key.to_s.titleize
|
|
48
|
+
= format_log_details_value(log, key)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_logging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.4.
|
|
4
|
+
version: 4.4.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -108,6 +108,20 @@ dependencies:
|
|
|
108
108
|
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: haml-rails
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '0'
|
|
111
125
|
- !ruby/object:Gem::Dependency
|
|
112
126
|
name: pry-byebug
|
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -123,7 +137,7 @@ dependencies:
|
|
|
123
137
|
- !ruby/object:Gem::Version
|
|
124
138
|
version: '0'
|
|
125
139
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
140
|
+
name: wicked
|
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
|
128
142
|
requirements:
|
|
129
143
|
- - ">="
|
|
@@ -137,7 +151,7 @@ dependencies:
|
|
|
137
151
|
- !ruby/object:Gem::Version
|
|
138
152
|
version: '0'
|
|
139
153
|
- !ruby/object:Gem::Dependency
|
|
140
|
-
name:
|
|
154
|
+
name: effective_test_bot
|
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
|
142
156
|
requirements:
|
|
143
157
|
- - ">="
|
|
@@ -151,19 +165,19 @@ dependencies:
|
|
|
151
165
|
- !ruby/object:Gem::Version
|
|
152
166
|
version: '0'
|
|
153
167
|
- !ruby/object:Gem::Dependency
|
|
154
|
-
name:
|
|
168
|
+
name: effective_developer
|
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
|
156
170
|
requirements:
|
|
157
|
-
- - "
|
|
171
|
+
- - ">="
|
|
158
172
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: '
|
|
173
|
+
version: '0'
|
|
160
174
|
type: :development
|
|
161
175
|
prerelease: false
|
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
177
|
requirements:
|
|
164
|
-
- - "
|
|
178
|
+
- - ">="
|
|
165
179
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '
|
|
180
|
+
version: '0'
|
|
167
181
|
description: Automatically log all sent emails, user logins, and page views. This
|
|
168
182
|
also will log custom events from Ruby and JavaScript.
|
|
169
183
|
email:
|
|
@@ -191,12 +205,8 @@ files:
|
|
|
191
205
|
- app/models/effective/track.rb
|
|
192
206
|
- app/models/effective_logger.rb
|
|
193
207
|
- app/views/admin/logs/_layout.html.haml
|
|
194
|
-
- app/views/admin/logs/index.html.haml
|
|
195
|
-
- app/views/admin/logs/show.html.haml
|
|
196
208
|
- app/views/effective/logs/_layout.html.haml
|
|
197
209
|
- app/views/effective/logs/_log.html.haml
|
|
198
|
-
- app/views/effective/logs/index.html.haml
|
|
199
|
-
- app/views/effective/logs/show.html.haml
|
|
200
210
|
- config/effective_logging.rb
|
|
201
211
|
- config/routes.rb
|
|
202
212
|
- db/migrate/101_create_effective_logging.rb
|
|
@@ -229,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
239
|
- !ruby/object:Gem::Version
|
|
230
240
|
version: '0'
|
|
231
241
|
requirements: []
|
|
232
|
-
rubygems_version: 3.
|
|
242
|
+
rubygems_version: 3.5.9
|
|
233
243
|
signing_key:
|
|
234
244
|
specification_version: 4
|
|
235
245
|
summary: Automatically log all sent emails, user logins, and page views. This also
|