dasht 0.1.1 → 0.1.2
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/NOTES.md +4 -0
- data/README.md +3 -3
- data/VERSION +1 -1
- data/assets/js/dasht.js +3 -3
- data/dasht.gemspec +3 -3
- 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: 449bccb919b70229c73c414b1ccb888c384494eb
|
|
4
|
+
data.tar.gz: 2d1b3364fee4eebd2d2d13553daa61fe728e1382
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aef4b4e0e4d1740fd14fddc055e5d1fb3fffd8cf152ce04f00accbea1dcd536594276feec4635238e740d33aea8adba882e3b4ed1408e6be25a05923620b8af6
|
|
7
|
+
data.tar.gz: 1225bce159a99b08302d0968b184e525e70f6e4d186ee26cc123c99f8593aa88d33ee5e03d04de8832b39f98fa4a35c7b487644d35f3d48270a928b3f379ca89
|
data/NOTES.md
CHANGED
|
@@ -5,3 +5,7 @@
|
|
|
5
5
|
+ Fix up 'scroll' tile.
|
|
6
6
|
+ Create a 'delta' tile. (Up / down X percent.)
|
|
7
7
|
+ Support user-defined plugins.
|
|
8
|
+
+ Automatically support librato style log statements, ie:
|
|
9
|
+
"count#user.clicks=1" - count metric type.
|
|
10
|
+
"sample#database.size=40.9MB" - gauge metric type.
|
|
11
|
+
"measure#database.query=200ms" - append metric type, support stats on browser side.
|
data/README.md
CHANGED
|
@@ -29,13 +29,13 @@ dasht do |d|
|
|
|
29
29
|
# Consume Heroku logs.
|
|
30
30
|
d.start "heroku logs --tail --app #{application}" do |l|
|
|
31
31
|
# Track some metrics.
|
|
32
|
-
|
|
32
|
+
l.count :lines, /.+/
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
l.count :bytes, /.+/ do |match|
|
|
35
35
|
match[0].length
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
l.append :visitors, /Started GET .* for (\d+\.\d+\.\d+\.\d+) at/ do |matches|
|
|
39
39
|
matches[1]
|
|
40
40
|
end
|
|
41
41
|
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/assets/js/dasht.js
CHANGED
|
@@ -29,13 +29,13 @@ Dasht.init = function() {
|
|
|
29
29
|
Dasht.process_pending_requests_loop();
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
Dasht.fill_tile = function(el, do_width
|
|
32
|
+
Dasht.fill_tile = function(el, do_width, do_height) {
|
|
33
33
|
var parent = $(el).parent();
|
|
34
|
-
if (do_width) {
|
|
34
|
+
if (do_width || do_width == undefined) {
|
|
35
35
|
var marginsize = parseInt($(el).css("margin-left")) + parseInt($(el).css("margin-right"));
|
|
36
36
|
$(el).outerWidth(parent.width() - marginsize);
|
|
37
37
|
}
|
|
38
|
-
if (do_height) {
|
|
38
|
+
if (do_height || do_height == undefined) {
|
|
39
39
|
var marginsize = parseInt($(el).css("margin-top")) + parseInt($(el).css("margin-bottom"));
|
|
40
40
|
$(el).outerHeight(parent.height() - marginsize);
|
|
41
41
|
}
|
data/dasht.gemspec
CHANGED
|
@@ -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: dasht 0.1.
|
|
5
|
+
# stub: dasht 0.1.2 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "dasht"
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.2"
|
|
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 = ["Rusty Klophaus"]
|
|
14
|
-
s.date = "2015-08-
|
|
14
|
+
s.date = "2015-08-10"
|
|
15
15
|
s.description = "Dasht is a framework for building beautiful, developer-focused application dashboards. Dasht is especially good at displaying high-level application stats in real-time on a wall-mounted monitor."
|
|
16
16
|
s.email = "rklophaus@gmail.com"
|
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dasht
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rusty Klophaus
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|