finger 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +57 -0
- data/bin/finger +3 -0
- data/features/finger.feature +9 -0
- data/features/support/env.rb +5 -0
- data/finger.gemspec +11 -2
- data/lib/finger.rb +0 -1
- data/lib/finger/cli.rb +13 -0
- data/lib/finger/version.rb +1 -1
- data/spec/finger/cli_spec.rb +4 -0
- data/spec/spec_helper.rb +8 -0
- metadata +72 -11
data/Gemfile.lock
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
finger (0.0.2)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
archive-tar-minitar (0.5.2)
|
10
|
+
aruba (0.2.6)
|
11
|
+
background_process
|
12
|
+
cucumber (~> 0.9.4)
|
13
|
+
background_process (1.2)
|
14
|
+
builder (2.1.2)
|
15
|
+
columnize (0.3.1)
|
16
|
+
cucumber (0.9.4)
|
17
|
+
builder (~> 2.1.2)
|
18
|
+
diff-lcs (~> 1.1.2)
|
19
|
+
gherkin (~> 2.2.9)
|
20
|
+
json (~> 1.4.6)
|
21
|
+
term-ansicolor (~> 1.0.5)
|
22
|
+
diff-lcs (1.1.2)
|
23
|
+
gherkin (2.2.9)
|
24
|
+
json (~> 1.4.6)
|
25
|
+
term-ansicolor (~> 1.0.5)
|
26
|
+
json (1.4.6)
|
27
|
+
linecache19 (0.5.11)
|
28
|
+
ruby_core_source (>= 0.1.4)
|
29
|
+
rspec (2.1.0)
|
30
|
+
rspec-core (~> 2.1.0)
|
31
|
+
rspec-expectations (~> 2.1.0)
|
32
|
+
rspec-mocks (~> 2.1.0)
|
33
|
+
rspec-core (2.1.0)
|
34
|
+
rspec-expectations (2.1.0)
|
35
|
+
diff-lcs (~> 1.1.2)
|
36
|
+
rspec-mocks (2.1.0)
|
37
|
+
ruby-debug-base19 (0.11.23)
|
38
|
+
columnize (>= 0.3.1)
|
39
|
+
linecache19 (>= 0.5.11)
|
40
|
+
ruby_core_source (>= 0.1.4)
|
41
|
+
ruby-debug19 (0.11.6)
|
42
|
+
columnize (>= 0.3.1)
|
43
|
+
linecache19 (>= 0.5.11)
|
44
|
+
ruby-debug-base19 (>= 0.11.19)
|
45
|
+
ruby_core_source (0.1.4)
|
46
|
+
archive-tar-minitar (>= 0.5.2)
|
47
|
+
term-ansicolor (1.0.5)
|
48
|
+
|
49
|
+
PLATFORMS
|
50
|
+
ruby
|
51
|
+
|
52
|
+
DEPENDENCIES
|
53
|
+
aruba
|
54
|
+
cucumber
|
55
|
+
finger!
|
56
|
+
rspec
|
57
|
+
ruby-debug19
|
data/bin/finger
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
Feature: Finger
|
2
|
+
In order to find out more about people
|
3
|
+
As a CLI
|
4
|
+
I want to be able to look up their user information
|
5
|
+
|
6
|
+
Scenario: Delegates to original finger
|
7
|
+
When I run "finger `whoami`"
|
8
|
+
Then the output should contain "Login"
|
9
|
+
And the output should contain "Name"
|
data/finger.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ["Hakan Ensari"]
|
10
10
|
s.email = ["hakan.ensari@papercavalier.com"]
|
11
11
|
s.homepage = "http://github.com/papercavalier/finger"
|
12
|
-
s.summary = %q{
|
13
|
-
s.description = %q{
|
12
|
+
s.summary = %q{User information lookup program}
|
13
|
+
s.description = %q{Finger is a user information lookup program.}
|
14
14
|
|
15
15
|
s.rubyforge_project = "finger"
|
16
16
|
|
@@ -18,4 +18,13 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_development_dependency "cucumber"
|
23
|
+
s.add_development_dependency "aruba"
|
24
|
+
s.add_development_dependency "rspec"
|
25
|
+
if RUBY_VERSION.include?("1.9")
|
26
|
+
s.add_development_dependency "ruby-debug19"
|
27
|
+
else
|
28
|
+
s.add_development_dependency "ruby-debug"
|
29
|
+
end
|
21
30
|
end
|
data/lib/finger.rb
CHANGED
data/lib/finger/cli.rb
ADDED
data/lib/finger/version.rb
CHANGED
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Hakan Ensari
|
@@ -14,15 +14,66 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-23 00:00:00 +00:00
|
18
18
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
21
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: cucumber
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
type: :development
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: aruba
|
35
|
+
prerelease: false
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :development
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec
|
48
|
+
prerelease: false
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
segments:
|
55
|
+
- 0
|
56
|
+
version: "0"
|
57
|
+
type: :development
|
58
|
+
version_requirements: *id003
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: ruby-debug19
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
segments:
|
68
|
+
- 0
|
69
|
+
version: "0"
|
70
|
+
type: :development
|
71
|
+
version_requirements: *id004
|
72
|
+
description: Finger is a user information lookup program.
|
22
73
|
email:
|
23
74
|
- hakan.ensari@papercavalier.com
|
24
|
-
executables:
|
25
|
-
|
75
|
+
executables:
|
76
|
+
- finger
|
26
77
|
extensions: []
|
27
78
|
|
28
79
|
extra_rdoc_files: []
|
@@ -30,10 +81,17 @@ extra_rdoc_files: []
|
|
30
81
|
files:
|
31
82
|
- .gitignore
|
32
83
|
- Gemfile
|
84
|
+
- Gemfile.lock
|
33
85
|
- Rakefile
|
86
|
+
- bin/finger
|
87
|
+
- features/finger.feature
|
88
|
+
- features/support/env.rb
|
34
89
|
- finger.gemspec
|
35
90
|
- lib/finger.rb
|
91
|
+
- lib/finger/cli.rb
|
36
92
|
- lib/finger/version.rb
|
93
|
+
- spec/finger/cli_spec.rb
|
94
|
+
- spec/spec_helper.rb
|
37
95
|
has_rdoc: true
|
38
96
|
homepage: http://github.com/papercavalier/finger
|
39
97
|
licenses: []
|
@@ -65,6 +123,9 @@ rubyforge_project: finger
|
|
65
123
|
rubygems_version: 1.3.7
|
66
124
|
signing_key:
|
67
125
|
specification_version: 3
|
68
|
-
summary:
|
69
|
-
test_files:
|
70
|
-
|
126
|
+
summary: User information lookup program
|
127
|
+
test_files:
|
128
|
+
- features/finger.feature
|
129
|
+
- features/support/env.rb
|
130
|
+
- spec/finger/cli_spec.rb
|
131
|
+
- spec/spec_helper.rb
|