timerr 0.0.0

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.
Files changed (5) hide show
  1. data/README.md +4 -0
  2. data/Rakefile +12 -0
  3. data/VERSION +1 -0
  4. data/bin/timerr +8 -0
  5. metadata +57 -0
@@ -0,0 +1,4 @@
1
+ timerr
2
+ ======
3
+
4
+ simple "time how long this executable takes" (the time method from bash, but works in windows)
@@ -0,0 +1,12 @@
1
+ require 'sane'
2
+ require 'jeweler2'
3
+ Jeweler::Tasks.new do |gem|
4
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
5
+ gem.name = "timerr"
6
+ gem.summary = %Q{simple "time how long this executable takes" (the time method from bash, but works in windows)}
7
+ gem.description = gem.summary
8
+ gem.email = "rogerpack2005@gmail.com"
9
+ gem.homepage = "http://github.com/rdp/timerr"
10
+ gem.authors = ["rdp"]
11
+ end
12
+ Jeweler::RubygemsDotOrgTasks.new
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ raise 'need args for something to time' unless ARGV[0]
3
+ start = Time.now
4
+ c = ARGV.shift + " " + ARGV.map{|a| a.include?(' ') ? '"' + a + '"' : a}.join(" ")
5
+ puts c
6
+ system(c)
7
+ print Time.now - start
8
+ puts 's'
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: timerr
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.0
6
+ platform: ruby
7
+ authors:
8
+ - rdp
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2012-07-13 00:00:00 Z
14
+ dependencies: []
15
+
16
+ description: simple "time how long this executable takes" (the time method from bash, but works in windows)
17
+ email: rogerpack2005@gmail.com
18
+ executables:
19
+ - timerr
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README.md
24
+ files:
25
+ - README.md
26
+ - Rakefile
27
+ - VERSION
28
+ - bin/timerr
29
+ homepage: http://github.com/rdp/timerr
30
+ licenses: []
31
+
32
+ post_install_message:
33
+ rdoc_options: []
34
+
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: "0"
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: "0"
49
+ requirements: []
50
+
51
+ rubyforge_project:
52
+ rubygems_version: 1.8.24
53
+ signing_key:
54
+ specification_version: 3
55
+ summary: simple "time how long this executable takes" (the time method from bash, but works in windows)
56
+ test_files: []
57
+