express_analytics 0.0.3 → 0.0.4
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46e7bfe78c330e905cd39737c82bd39521c95a06
|
4
|
+
data.tar.gz: 7f7abe57c7881bc15a81b5a1a3fc75e434327021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fb191f18b32e81eba177d2ffd2ef51349e139ba06414fe530a4a5ffa3855ae7ba6269b358e67880c1b642fe6622bbe7904d184bea33dadbf800c741b45d8c01
|
7
|
+
data.tar.gz: 7f64c128293b6e87e75368e88bf1b908c680d93a8a24433c86d1fb71569109230ab51ca4a23232be1490092de721e2376d7926e11f56c64aaa7b635363b3836a
|
@@ -10,7 +10,7 @@ v_box {
|
|
10
10
|
columns: {
|
11
11
|
"Date" => -> (log_entry) { log_entry.created_at.to_date },
|
12
12
|
'Time EST' => -> (log_entry) { log_entry.created_at.strftime('%T') },
|
13
|
-
'User' => -> (log_entry) { helpers.
|
13
|
+
'User' => -> (log_entry) { helpers.link_to_if(log_entry.username.present?, helpers.truncate(log_entry.username||'', length: 25), log_entries_path(filter: {username: log_entry.username})) },
|
14
14
|
'Action' => -> (log_entry) { helpers.link_to(log_entry.action, log_entries_path(filter: {action: log_entry.action}))},
|
15
15
|
'When' => :created_at_in_words,
|
16
16
|
'Notes' => :notes
|
data/config/menu.yml
CHANGED
@@ -41,7 +41,11 @@ module ExpressAnalytics
|
|
41
41
|
notes: notes_for_log
|
42
42
|
}
|
43
43
|
|
44
|
-
|
44
|
+
if request.user_agent.match(/Pingdom/)
|
45
|
+
# do nothing
|
46
|
+
else
|
47
|
+
ExpressAnalytics::LogEntry.create(entry_data.merge(geo_data))
|
48
|
+
end
|
45
49
|
|
46
50
|
end
|
47
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: express_analytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Talcott Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|