visage-app 2.0.0 → 2.0.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.
- data/CHANGELOG.md +6 -2
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/Rakefile +14 -4
- data/lib/visage-app/public/javascripts/builder.js +4 -4
- data/lib/visage-app/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
2.0.
|
|
1
|
+
2.0.2 - 2012/03/26
|
|
2
|
+
- Builder bugfix for [issue 92](https://github.com/auxesis/visage/issues/92),
|
|
3
|
+
that stopped the builder from presenting the save profile dialog.
|
|
4
|
+
|
|
5
|
+
2.0.0 - 2012/03/25
|
|
2
6
|
- New builder interface, optimised for metric discovery + investigatory work
|
|
3
7
|
- Backwards incompatible profile.yaml file format change
|
|
4
8
|
- Chart performance optimisations
|
|
@@ -6,7 +10,7 @@
|
|
|
6
10
|
- Bump versions of dependencies
|
|
7
11
|
- Improve the installation documentation for non-Ubuntu platforms
|
|
8
12
|
|
|
9
|
-
1.0.0
|
|
13
|
+
1.0.0 - 2011/06/11
|
|
10
14
|
|
|
11
15
|
- 1.0.0 release! Production ready.
|
|
12
16
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -46,7 +46,7 @@ Visage uses [yajl-ruby](https://github.com/brianmario/yajl-ruby) to work with
|
|
|
46
46
|
JSON, which requires Ruby >= 1.8.6. CentOS/RHEL 5 ship with Ruby 1.8.5, so you
|
|
47
47
|
will need to use [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/).
|
|
48
48
|
|
|
49
|
-
Endpoint provide packages for REE and a [Yum repository](https://packages.endpoint.com/)
|
|
49
|
+
[Endpoint](http://endpoint.com) provide packages for REE and a [Yum repository](https://packages.endpoint.com/)
|
|
50
50
|
to ease installation.
|
|
51
51
|
|
|
52
52
|
Follow the above instructions for installing REE, and then run:
|
|
@@ -67,7 +67,7 @@ gem install visage-app
|
|
|
67
67
|
On CentOS 6, to install dependencies run:
|
|
68
68
|
|
|
69
69
|
``` bash
|
|
70
|
-
sudo yum install -y ruby-RRDtool ruby rubygems collectd
|
|
70
|
+
sudo yum install -y ruby-RRDtool ruby ruby-devel rubygems collectd
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
Then install the app with:
|
data/Rakefile
CHANGED
|
@@ -10,7 +10,7 @@ Cucumber::Rake::Task.new(:features) do |t|
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
desc "build gem"
|
|
13
|
-
task :build do
|
|
13
|
+
task :build => :lintian do
|
|
14
14
|
build_output = `gem build visage-app.gemspec`
|
|
15
15
|
puts build_output
|
|
16
16
|
|
|
@@ -23,7 +23,7 @@ task :build do
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
desc "push gem"
|
|
26
|
-
task :push
|
|
26
|
+
task :push do
|
|
27
27
|
filenames = Dir.glob("pkg/*.gem")
|
|
28
28
|
filenames_with_times = filenames.map do |filename|
|
|
29
29
|
[filename, File.mtime(filename)]
|
|
@@ -38,12 +38,22 @@ end
|
|
|
38
38
|
|
|
39
39
|
desc "perform lintian checks on the JavaScript about to be shipped"
|
|
40
40
|
task :lintian do
|
|
41
|
+
@count = 0
|
|
41
42
|
require 'pathname'
|
|
42
43
|
@root = Pathname.new(File.dirname(__FILE__)).expand_path
|
|
43
44
|
javascripts_path = @root.join('lib/visage-app/public/javascripts')
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
javascripts = Dir.glob("#{javascripts_path + "*"}.js").reject {|f| f =~ /mootools|src\.js/ }
|
|
47
|
+
javascripts.each do |filename|
|
|
48
|
+
puts "Checking #{filename}"
|
|
49
|
+
count = `grep -c 'console.log' #{filename}`.strip.to_i
|
|
50
|
+
if count > 0
|
|
51
|
+
puts "#{count} instances of console.log found in #{File.basename(filename)}"
|
|
52
|
+
@count += 1
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
abort if @count > 0
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
desc "clean up various generated files"
|
|
@@ -126,8 +126,6 @@ var SearchToken = new Class({
|
|
|
126
126
|
case "backspace":
|
|
127
127
|
this.destroyPreviousToken();
|
|
128
128
|
break;
|
|
129
|
-
default:
|
|
130
|
-
//console.log(e.key);
|
|
131
129
|
}
|
|
132
130
|
|
|
133
131
|
}.bind(this));
|
|
@@ -516,6 +514,8 @@ var ChartBuilder = new Class({
|
|
|
516
514
|
|
|
517
515
|
/* Button to save profile */
|
|
518
516
|
show.addEvent('click', function(e) {
|
|
517
|
+
e.stop();
|
|
518
|
+
|
|
519
519
|
this.setupSave();
|
|
520
520
|
}.bind(this));
|
|
521
521
|
|
|
@@ -526,8 +526,8 @@ var ChartBuilder = new Class({
|
|
|
526
526
|
this.showGraphs();
|
|
527
527
|
|
|
528
528
|
// Fade the save button once graphs have been rendered.
|
|
529
|
-
save.fade.delay(1500, save, 'in')
|
|
530
|
-
profile_name.fade.delay(1500, profile_name, 'in')
|
|
529
|
+
this.save.fade.delay(1500, this.save, 'in')
|
|
530
|
+
this.profile_name.fade.delay(1500, this.profile_name, 'in')
|
|
531
531
|
}.bind(this));
|
|
532
532
|
|
|
533
533
|
},
|
data/lib/visage-app/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 2
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 2.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 2.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Lindsay Holmwood
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2012-03-
|
|
17
|
+
date: 2012-03-25 00:00:00 +11:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|