escoffier 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bin/loads +2 -2
  3. data/escoffier.gemspec +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/bin/loads CHANGED
@@ -22,7 +22,7 @@ def host_list
22
22
  hosts = ARGV
23
23
  else
24
24
  LOAD_PATHS.each do |path|
25
- hosts = read_config File.join(path, "load_config.yaml")
25
+ hosts = read_config File.expand_path(File.join(path, "load_config.yaml"))
26
26
  if hosts
27
27
  # puts "Using hosts listed in load_config.yaml from #{path}"
28
28
  return hosts
@@ -114,7 +114,7 @@ def build_display(load_data)
114
114
  end
115
115
  display << eval("Term::ANSIColor.#{color}")
116
116
  display << "\t%-15s\t" % "#{hostname} (#{averages[:cpu_count]})"
117
- display << "%-2.2f\t" % utilization
117
+ display << Term::ANSIColor.bold { "%-2.2f\t" % utilization }
118
118
  averages[:loads].collect {|la| display << "%s\t\t" % la }
119
119
  display << "\n"
120
120
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{escoffier}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Erik Kastman"]
12
- s.date = %q{2010-09-20}
12
+ s.date = %q{2010-09-30}
13
13
  s.description = %q{Administrative prep tasks, from mother sauces to hotel pans.}
14
14
  s.email = %q{ekk@medicine.wisc.edu}
15
15
  s.executables = ["normalize_directory.rb", "mise~", "mise", "loads"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Erik Kastman
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-20 00:00:00 -05:00
17
+ date: 2010-09-30 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency