hitch 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -5
- data/Gemfile.lock +8 -24
- data/hitch.gemspec +1 -1
- data/lib/hitch.rb +1 -1
- data/lib/hitch/ui.rb +1 -1
- metadata +2 -2
data/Gemfile
CHANGED
@@ -3,8 +3,4 @@ source 'http://rubygems.org'
|
|
3
3
|
gem 'highline', '1.6.2'
|
4
4
|
gem 'rake'
|
5
5
|
gem 'rspec', '~>2.6.0'
|
6
|
-
|
7
|
-
unless RUBY_VERSION =~ /^1.8.6/
|
8
|
-
gem 'ruby-debug', :require => 'ruby-debug', :platform => 'ruby_18'
|
9
|
-
gem 'ruby-debug19', :require => 'ruby-debug', :platform => 'ruby_19'
|
10
|
-
end
|
6
|
+
gem 'pry'
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
columnize (0.3.4)
|
4
|
+
coderay (1.0.9)
|
6
5
|
diff-lcs (1.1.3)
|
7
6
|
highline (1.6.2)
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
method_source (0.8.1)
|
8
|
+
pry (0.9.12.1)
|
9
|
+
coderay (~> 1.0.5)
|
10
|
+
method_source (~> 0.8)
|
11
|
+
slop (~> 3.4)
|
12
12
|
rake (0.9.2)
|
13
|
-
rbx-require-relative (0.0.5)
|
14
13
|
rspec (2.6.0)
|
15
14
|
rspec-core (~> 2.6.0)
|
16
15
|
rspec-expectations (~> 2.6.0)
|
@@ -19,28 +18,13 @@ GEM
|
|
19
18
|
rspec-expectations (2.6.0)
|
20
19
|
diff-lcs (~> 1.1.2)
|
21
20
|
rspec-mocks (2.6.0)
|
22
|
-
|
23
|
-
columnize (>= 0.1)
|
24
|
-
ruby-debug-base (~> 0.10.4.0)
|
25
|
-
ruby-debug-base (0.10.4)
|
26
|
-
linecache (>= 0.3)
|
27
|
-
ruby-debug-base19 (0.11.25)
|
28
|
-
columnize (>= 0.3.1)
|
29
|
-
linecache19 (>= 0.5.11)
|
30
|
-
ruby_core_source (>= 0.1.4)
|
31
|
-
ruby-debug19 (0.11.6)
|
32
|
-
columnize (>= 0.3.1)
|
33
|
-
linecache19 (>= 0.5.11)
|
34
|
-
ruby-debug-base19 (>= 0.11.19)
|
35
|
-
ruby_core_source (0.1.5)
|
36
|
-
archive-tar-minitar (>= 0.5.2)
|
21
|
+
slop (3.4.4)
|
37
22
|
|
38
23
|
PLATFORMS
|
39
24
|
ruby
|
40
25
|
|
41
26
|
DEPENDENCIES
|
42
27
|
highline (= 1.6.2)
|
28
|
+
pry
|
43
29
|
rake
|
44
30
|
rspec (~> 2.6.0)
|
45
|
-
ruby-debug
|
46
|
-
ruby-debug19
|
data/hitch.gemspec
CHANGED
data/lib/hitch.rb
CHANGED
data/lib/hitch/ui.rb
CHANGED
@@ -13,7 +13,7 @@ module Hitch
|
|
13
13
|
def self.prompt_for_pair(new_author)
|
14
14
|
highline.say("I don't know who #{new_author} is.")
|
15
15
|
if highline.agree("Do you want to add #{new_author} to ~/.hitch_pairs?")
|
16
|
-
author_name = highline.ask("What is #{new_author}'s full name?")
|
16
|
+
author_name = highline.ask("What is #{new_author}'s full name?").to_s
|
17
17
|
Hitch::Author.add(new_author, author_name)
|
18
18
|
Hitch::Author.write_file
|
19
19
|
return new_author
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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-
|
12
|
+
date: 2013-04-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|