baby-bro 0.0.11 → 0.0.12
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/.gitignore +1 -0
- data/README.rdoc +17 -5
- data/VERSION +1 -1
- data/baby-bro.gemspec +33 -31
- metadata +10 -5
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg
|
data/README.rdoc
CHANGED
@@ -44,27 +44,39 @@ All baby-bro functionality is accessed through one executable: 'bro', which is i
|
|
44
44
|
|
45
45
|
To start baby-bro:
|
46
46
|
|
47
|
-
|
47
|
+
bro start -t
|
48
48
|
|
49
49
|
This will start baby-bro's monitor in the background. The -t flag causes the monitor to output status to standard output and is useful to see what the monitor is detecting. Omit this flag to keep baby-bro quiet.
|
50
50
|
|
51
51
|
To stop baby-bro:
|
52
52
|
|
53
|
-
|
53
|
+
bro stop
|
54
54
|
|
55
55
|
To re-read the config file:
|
56
56
|
|
57
|
-
|
57
|
+
bro restart
|
58
58
|
|
59
59
|
== REPORTING:
|
60
60
|
|
61
61
|
To view a report of activity sessions recorded by baby-bro:
|
62
62
|
|
63
|
-
|
63
|
+
bro report
|
64
|
+
|
65
|
+
Add the -b option for summarized reports
|
66
|
+
|
67
|
+
bro report -b
|
68
|
+
|
69
|
+
Add a numerical offset to report for just one day
|
70
|
+
|
71
|
+
bro report 0 # show report for today only
|
72
|
+
|
73
|
+
bro report 1 # shows report for yesterday
|
74
|
+
|
75
|
+
bro report -b 1 # shows summary report for yesterday
|
64
76
|
|
65
77
|
To view the help message and see other options:
|
66
78
|
|
67
|
-
|
79
|
+
bro --help
|
68
80
|
|
69
81
|
That's it. You can add as many projects to your config as you like. They will all get monitored by baby-bro.
|
70
82
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.12
|
data/baby-bro.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{baby-bro}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.12"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bill Doughty"]
|
12
|
-
s.date = %q{2010-12-
|
12
|
+
s.date = %q{2010-12-29}
|
13
13
|
s.default_executable = %q{bro}
|
14
14
|
s.description = %q{Baby Bro monitors timestamp changes of files and and estimates time spent actively working in project directories.}
|
15
15
|
s.email = %q{billdoughty@capitalthought.com}
|
@@ -18,41 +18,43 @@ Gem::Specification.new do |s|
|
|
18
18
|
"README.rdoc"
|
19
19
|
]
|
20
20
|
s.files = [
|
21
|
-
"
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
21
|
+
".gitignore",
|
22
|
+
"History.txt",
|
23
|
+
"Manifest.txt",
|
24
|
+
"PostInstall.txt",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"baby-bro.gemspec",
|
29
|
+
"bin/bro",
|
30
|
+
"config/babybrorc.example",
|
31
|
+
"lib/baby-bro.rb",
|
32
|
+
"lib/baby-bro/base_config.rb",
|
33
|
+
"lib/baby-bro/exec.rb",
|
34
|
+
"lib/baby-bro/files.rb",
|
35
|
+
"lib/baby-bro/hash_object.rb",
|
36
|
+
"lib/baby-bro/monitor.rb",
|
37
|
+
"lib/baby-bro/monitor_config.rb",
|
38
|
+
"lib/baby-bro/project.rb",
|
39
|
+
"lib/baby-bro/reporter.rb",
|
40
|
+
"lib/baby-bro/session.rb",
|
41
|
+
"lib/extensions/fixnum.rb",
|
42
|
+
"script/console",
|
43
|
+
"script/destroy",
|
44
|
+
"script/generate",
|
45
|
+
"spec/baby-bro_spec.rb",
|
46
|
+
"spec/spec.opts",
|
47
|
+
"spec/spec_helper.rb",
|
48
|
+
"tasks/rspec.rake"
|
48
49
|
]
|
49
50
|
s.homepage = %q{http://github.com/capitalthought/baby-bro}
|
51
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
50
52
|
s.require_paths = ["lib"]
|
51
53
|
s.rubygems_version = %q{1.3.7}
|
52
54
|
s.summary = %q{File activity monitor for time tracking.}
|
53
55
|
s.test_files = [
|
54
56
|
"spec/baby-bro_spec.rb",
|
55
|
-
|
57
|
+
"spec/spec_helper.rb"
|
56
58
|
]
|
57
59
|
|
58
60
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baby-bro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 12
|
10
|
+
version: 0.0.12
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Bill Doughty
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-29 00:00:00 -06:00
|
18
19
|
default_executable: bro
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 25
|
28
30
|
segments:
|
29
31
|
- 1
|
30
32
|
- 3
|
@@ -41,6 +43,7 @@ extensions: []
|
|
41
43
|
extra_rdoc_files:
|
42
44
|
- README.rdoc
|
43
45
|
files:
|
46
|
+
- .gitignore
|
44
47
|
- History.txt
|
45
48
|
- Manifest.txt
|
46
49
|
- PostInstall.txt
|
@@ -73,8 +76,8 @@ homepage: http://github.com/capitalthought/baby-bro
|
|
73
76
|
licenses: []
|
74
77
|
|
75
78
|
post_install_message:
|
76
|
-
rdoc_options:
|
77
|
-
|
79
|
+
rdoc_options:
|
80
|
+
- --charset=UTF-8
|
78
81
|
require_paths:
|
79
82
|
- lib
|
80
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -82,6 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
85
|
requirements:
|
83
86
|
- - ">="
|
84
87
|
- !ruby/object:Gem::Version
|
88
|
+
hash: 3
|
85
89
|
segments:
|
86
90
|
- 0
|
87
91
|
version: "0"
|
@@ -90,6 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
94
|
requirements:
|
91
95
|
- - ">="
|
92
96
|
- !ruby/object:Gem::Version
|
97
|
+
hash: 3
|
93
98
|
segments:
|
94
99
|
- 0
|
95
100
|
version: "0"
|