capistrano-benchmark 0.0.2 → 0.0.3

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/Rakefile CHANGED
@@ -21,7 +21,7 @@ Jeweler::Tasks.new do |gem|
21
21
  gem.description = %Q{Benchchmark cpaistrano-tasks like whoa}
22
22
  gem.email = "josh@technicalpickles.com"
23
23
  gem.authors = ["Josh Nichols"]
24
- gem.version = "0.0.2"
24
+ gem.version = "0.0.3"
25
25
  # dependencies defined in Gemfile
26
26
  end
27
27
  Jeweler::RubygemsDotOrgTasks.new
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "capistrano-benchmark"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Josh Nichols"]
12
- s.date = "2013-02-24"
12
+ s.date = "2013-04-04"
13
13
  s.description = "Benchchmark cpaistrano-tasks like whoa"
14
14
  s.email = "josh@technicalpickles.com"
15
15
  s.extra_rdoc_files = [
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.homepage = "http://github.com/technicalpickles/capistrano-benchmark"
33
33
  s.licenses = ["MIT"]
34
34
  s.require_paths = ["lib"]
35
- s.rubygems_version = "1.8.23"
35
+ s.rubygems_version = "1.8.25"
36
36
  s.summary = "Benchmark capistrano-tasks"
37
37
 
38
38
  if s.respond_to? :specification_version then
@@ -35,8 +35,8 @@ Capistrano::Configuration.instance.load do
35
35
  max = benchmarks.collect{|x| x[0]}.max_by{|a| a.length}.length
36
36
  report_block = lambda do |data|
37
37
  name,took = data
38
- mins = '%.0f' % (took / 60)
39
- secs = '%.0f' % (took % 60)
38
+ mins = '%.0i' % (took.to_i / 60)
39
+ secs = '%.0i' % (took.to_i % 60)
40
40
  puts " %-#{max}s : %2s mins and %2s secs" % [name,mins,secs]
41
41
  end
42
42
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-benchmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-24 00:00:00.000000000 Z
12
+ date: 2013-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  segments:
127
127
  - 0
128
- hash: 2507806162531207113
128
+ hash: -2469884873739493663
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  none: false
131
131
  requirements:
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 1.8.23
137
+ rubygems_version: 1.8.25
138
138
  signing_key:
139
139
  specification_version: 3
140
140
  summary: Benchmark capistrano-tasks