working_man 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +22 -23
- data/README.md +6 -1
- data/Rakefile +1 -1
- data/features/support/env.rb +4 -1
- data/features/working_man.feature +1 -4
- data/lib/working_man/version.rb +1 -1
- data/working_man.gemspec +4 -3
- metadata +29 -7
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,51 +1,50 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
working_man (0.0
|
5
|
-
methadone (~> 1.
|
4
|
+
working_man (0.3.0)
|
5
|
+
methadone (~> 1.2.1)
|
6
6
|
|
7
7
|
GEM
|
8
|
-
remote:
|
8
|
+
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
aruba (0.
|
11
|
-
childprocess (
|
10
|
+
aruba (0.5.0)
|
11
|
+
childprocess (= 0.2.3)
|
12
12
|
cucumber (>= 1.1.1)
|
13
13
|
ffi (>= 1.0.11)
|
14
|
-
rspec (>= 2.7.0)
|
15
|
-
builder (3.
|
16
|
-
childprocess (0.3
|
14
|
+
rspec-expectations (>= 2.7.0)
|
15
|
+
builder (3.1.4)
|
16
|
+
childprocess (0.2.3)
|
17
17
|
ffi (~> 1.0.6)
|
18
|
-
cucumber (1.1
|
18
|
+
cucumber (1.2.1)
|
19
19
|
builder (>= 2.1.2)
|
20
|
-
diff-lcs (>= 1.1.
|
21
|
-
gherkin (~> 2.
|
20
|
+
diff-lcs (>= 1.1.3)
|
21
|
+
gherkin (~> 2.11.0)
|
22
22
|
json (>= 1.4.6)
|
23
|
-
term-ansicolor (>= 1.0.6)
|
24
23
|
diff-lcs (1.1.3)
|
25
24
|
ffi (1.0.11)
|
26
|
-
gherkin (2.
|
25
|
+
gherkin (2.11.5)
|
27
26
|
json (>= 1.4.6)
|
28
27
|
json (1.6.5)
|
29
|
-
methadone (1.
|
28
|
+
methadone (1.2.1)
|
30
29
|
bundler
|
31
30
|
rake (0.9.2.2)
|
32
31
|
rdoc (3.12)
|
33
32
|
json (~> 1.4)
|
34
|
-
rspec (2.
|
35
|
-
rspec-core (~> 2.
|
36
|
-
rspec-expectations (~> 2.
|
37
|
-
rspec-mocks (~> 2.
|
38
|
-
rspec-core (2.
|
39
|
-
rspec-expectations (2.
|
33
|
+
rspec (2.11.0)
|
34
|
+
rspec-core (~> 2.11.0)
|
35
|
+
rspec-expectations (~> 2.11.0)
|
36
|
+
rspec-mocks (~> 2.11.0)
|
37
|
+
rspec-core (2.11.1)
|
38
|
+
rspec-expectations (2.11.3)
|
40
39
|
diff-lcs (~> 1.1.3)
|
41
|
-
rspec-mocks (2.
|
42
|
-
term-ansicolor (1.0.7)
|
40
|
+
rspec-mocks (2.11.3)
|
43
41
|
|
44
42
|
PLATFORMS
|
45
43
|
ruby
|
46
44
|
|
47
45
|
DEPENDENCIES
|
48
|
-
aruba (~> 0.
|
46
|
+
aruba (~> 0.5)
|
49
47
|
rake (~> 0.9.2)
|
50
48
|
rdoc
|
49
|
+
rspec (~> 2.9)
|
51
50
|
working_man!
|
data/README.md
CHANGED
@@ -10,6 +10,7 @@ applications you need as well as any URLs.
|
|
10
10
|
## CI Status
|
11
11
|
|
12
12
|
[![Build Status](https://secure.travis-ci.org/emachnic/working_man.png)](http://travis-ci.org/emachnic/working_man)
|
13
|
+
[![Dependency Status](https://gemnasium.com/emachnic/working_man.png)](https://gemnasium.com/emachnic/working_man)
|
13
14
|
|
14
15
|
|
15
16
|
## Installation
|
@@ -47,6 +48,10 @@ To start your work day, run the following:
|
|
47
48
|
After you're finished with work, run:
|
48
49
|
|
49
50
|
$ working_man stop
|
51
|
+
|
52
|
+
You can also specify a different location for your YAML config:
|
53
|
+
|
54
|
+
& working_man -f path/to/config.yml start
|
50
55
|
|
51
56
|
## Contributing
|
52
57
|
|
@@ -66,4 +71,4 @@ buy me a beer in return.
|
|
66
71
|
|
67
72
|
**Evan B. Machnic**
|
68
73
|
|
69
|
-
[1]: mailto:emachnic@broadmac.net
|
74
|
+
[1]: mailto:emachnic@broadmac.net
|
data/Rakefile
CHANGED
data/features/support/env.rb
CHANGED
@@ -5,6 +5,9 @@ ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File:
|
|
5
5
|
LIB_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','lib')
|
6
6
|
|
7
7
|
Before do
|
8
|
+
# Increase timeout for Aruba
|
9
|
+
@aruba_timeout_seconds = 30
|
10
|
+
|
8
11
|
# Using "announce" causes massive warnings on 1.9.2
|
9
12
|
@puts = true
|
10
13
|
@original_rubylib = ENV['RUBYLIB']
|
@@ -20,4 +23,4 @@ end
|
|
20
23
|
After do
|
21
24
|
ENV['RUBYLIB'] = @original_rubylib
|
22
25
|
ENV['HOME'] = @real_home
|
23
|
-
end
|
26
|
+
end
|
@@ -37,9 +37,6 @@ Scenario: Start work successfully specifying a config file
|
|
37
37
|
Then the output should contain "Work hard today"
|
38
38
|
And the exit status should be 0
|
39
39
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
40
|
Scenario: Start work unsuccessfully without any apps
|
44
41
|
Given a file named "/tmp/fakehome/.working_man.yml" with:
|
45
42
|
"""
|
@@ -67,4 +64,4 @@ Scenario: Stop work successfully
|
|
67
64
|
"""
|
68
65
|
When I run `working_man stop`
|
69
66
|
Then the output should contain "Have a great day!"
|
70
|
-
And the exit status should be 0
|
67
|
+
And the exit status should be 0
|
data/lib/working_man/version.rb
CHANGED
data/working_man.gemspec
CHANGED
@@ -15,7 +15,8 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = WorkingMan::VERSION
|
17
17
|
gem.add_development_dependency 'rdoc'
|
18
|
-
gem.add_development_dependency 'rake',
|
19
|
-
gem.add_development_dependency 'aruba',
|
20
|
-
gem.
|
18
|
+
gem.add_development_dependency 'rake', '~> 0.9.2'
|
19
|
+
gem.add_development_dependency 'aruba', '~> 0.5'
|
20
|
+
gem.add_development_dependency 'rspec', '~> 2.9'
|
21
|
+
gem.add_dependency 'methadone', '~> 1.2.1'
|
21
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: working_man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
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: 2012-
|
12
|
+
date: 2012-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: '0.5'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,23 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: '0.5'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '2.9'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.9'
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
79
|
name: methadone
|
64
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +82,7 @@ dependencies:
|
|
66
82
|
requirements:
|
67
83
|
- - ~>
|
68
84
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
85
|
+
version: 1.2.1
|
70
86
|
type: :runtime
|
71
87
|
prerelease: false
|
72
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +90,7 @@ dependencies:
|
|
74
90
|
requirements:
|
75
91
|
- - ~>
|
76
92
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.
|
93
|
+
version: 1.2.1
|
78
94
|
description: Start/stop your work apps for the day
|
79
95
|
email:
|
80
96
|
- emachnic@broadmac.net
|
@@ -111,15 +127,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
127
|
- - ! '>='
|
112
128
|
- !ruby/object:Gem::Version
|
113
129
|
version: '0'
|
130
|
+
segments:
|
131
|
+
- 0
|
132
|
+
hash: 2595108310435164614
|
114
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
134
|
none: false
|
116
135
|
requirements:
|
117
136
|
- - ! '>='
|
118
137
|
- !ruby/object:Gem::Version
|
119
138
|
version: '0'
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
hash: 2595108310435164614
|
120
142
|
requirements: []
|
121
143
|
rubyforge_project:
|
122
|
-
rubygems_version: 1.8.
|
144
|
+
rubygems_version: 1.8.23
|
123
145
|
signing_key:
|
124
146
|
specification_version: 3
|
125
147
|
summary: Start/stop your work apps for the day
|