impulse 0.0.4 → 0.0.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.
data/README.rdoc CHANGED
@@ -102,7 +102,7 @@ Default plot parameters for push()...
102
102
 
103
103
  All can be configured on a per RRD basis.
104
104
 
105
- == QUICK NOTE
105
+ == QUICK NOTE:
106
106
 
107
107
  Yes, this is hacky as anything, it has no tests and does some stuff in a really bad way.
108
108
 
@@ -111,6 +111,11 @@ This is meant as a very dirty first release, feel free to make changes and pull
111
111
  == INSTALL:
112
112
 
113
113
  gem install impulse
114
+
115
+ == OWNERS/CONTRIBUTORS:
116
+
117
+ * {Lloyd Pick}[https://github.com/lloydpick]
118
+ * {Ryan Conway}[https://github.com/Rylon]
114
119
 
115
120
  == LICENSE:
116
121
 
data/impulse.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  s.version = Impulse::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Lloyd Pick"]
10
- s.email = ["lloydpick+impulse@gmail.com"]
11
- s.homepage = "https://github.com/lloydpick/impulse"
10
+ s.email = ["lloyd.pick+impulse@forward.co.uk"]
11
+ s.homepage = "https://github.com/forward/impulse"
12
12
  s.summary = %q{RubyGem to help make very quick RRDTool graphs}
13
13
  s.description = %q{Ability to make RRDTool graphs with zero thought}
14
14
 
@@ -1,3 +1,3 @@
1
1
  module Impulse
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/impulse.rb CHANGED
@@ -39,7 +39,7 @@ module Impulse
39
39
  c += 1
40
40
  end
41
41
  else
42
- cmd << "DEF:average=#{name}.rrd:data:MAX"
42
+ cmd << "DEF:average=#{params[:rrd_path]}/#{name}.rrd:data:MAX"
43
43
  cmd << "LINE#{params[:thickness]}:average#FF0000:'#{params[:legend]}' GPRINT:average:LAST:\"Last\\:%8.0lf\" GPRINT:average:MIN:\" Min\\:%8.0lf\" GPRINT:average:AVERAGE:\" Avg\\:%8.0lf\" GPRINT:average:MAX:\" Max\\:%8.0lf\\n\""
44
44
  end
45
45
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: impulse
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lloyd Pick
@@ -15,12 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-05 00:00:00 +01:00
19
- default_executable:
18
+ date: 2011-10-28 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- type: :development
23
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
22
  none: false
25
23
  requirements:
26
24
  - - ">="
@@ -29,12 +27,13 @@ dependencies:
29
27
  segments:
30
28
  - 0
31
29
  version: "0"
32
- version_requirements: *id001
33
- name: rake
30
+ requirement: *id001
31
+ type: :development
34
32
  prerelease: false
33
+ name: rake
35
34
  description: Ability to make RRDTool graphs with zero thought
36
35
  email:
37
- - lloydpick+impulse@gmail.com
36
+ - lloyd.pick+impulse@forward.co.uk
38
37
  executables: []
39
38
 
40
39
  extensions: []
@@ -49,8 +48,7 @@ files:
49
48
  - impulse.gemspec
50
49
  - lib/impulse.rb
51
50
  - lib/impulse/version.rb
52
- has_rdoc: true
53
- homepage: https://github.com/lloydpick/impulse
51
+ homepage: https://github.com/forward/impulse
54
52
  licenses: []
55
53
 
56
54
  post_install_message:
@@ -79,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
77
  requirements: []
80
78
 
81
79
  rubyforge_project: impulse
82
- rubygems_version: 1.6.2
80
+ rubygems_version: 1.8.10
83
81
  signing_key:
84
82
  specification_version: 3
85
83
  summary: RubyGem to help make very quick RRDTool graphs