hitch 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +4 -0
- data/bin/hitch +9 -0
- data/hitch.gemspec +1 -1
- data/lib/hitch.rb +1 -1
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 20bc5d40136d3ffac05ece3f289a26164e3bd58a7cf1bd5d56dfae08a3c8e87f
|
4
|
+
data.tar.gz: 3a9c51a664410842fe49dc4b8b7939884251ca70c117526a0ccbf79b417acf15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0057847311584554b993a099a32957d41f105357abc32d5ff0cf4d53bbfdf6817807f2a11def531a6a79f5badbb5f2701de6002118539f72ecae6ff152095d43'
|
7
|
+
data.tar.gz: 89a8521926bb95ecc330da3e0c23e84e4666ddbab8a17efa7bb595e3ae1f3c60ec0fcb35039168d616f3c476cf90d93043f7efe2ae22b9ef692c8bd7ef15f686
|
data/README.md
CHANGED
@@ -21,6 +21,8 @@ Synopsis:
|
|
21
21
|
|
22
22
|
- For leela and fry to pair:
|
23
23
|
- hitch leela fry
|
24
|
+
- To override group email:
|
25
|
+
- hitch leela fry -g dev@hashrocket.com
|
24
26
|
- To clear pair info:
|
25
27
|
- hitch -u
|
26
28
|
- For a complete list of features:
|
@@ -33,6 +35,8 @@ Install:
|
|
33
35
|
-------
|
34
36
|
|
35
37
|
* gem install hitch
|
38
|
+
* chruby users run this:
|
39
|
+
<pre><code>for x in $(chruby | cut -c 3- | awk '{print $1}'); do chruby $x && gem install hitch; done</code></pre>
|
36
40
|
* rvm users run this:
|
37
41
|
<pre><code>for x in $(rvm list strings); do rvm use $x@global && gem install hitch; done</code></pre>
|
38
42
|
* rbenv users run this:
|
data/bin/hitch
CHANGED
@@ -17,6 +17,9 @@ opts = OptionParser.new do |opts|
|
|
17
17
|
opts.on("-e N", "--expire N", Integer, "Expire pair information in N hours.") do |n|
|
18
18
|
options = [:expire, n]
|
19
19
|
end
|
20
|
+
opts.on("-g G", "--group G", "Set group email to G.") do |g|
|
21
|
+
options = [:group_email, g]
|
22
|
+
end
|
20
23
|
opts.on("-u", "--unhitch", "Clear pair information") do
|
21
24
|
options = [:unhitch]
|
22
25
|
end
|
@@ -33,9 +36,15 @@ end
|
|
33
36
|
|
34
37
|
if args.any?
|
35
38
|
opts.parse!(args)
|
39
|
+
|
36
40
|
if options.delete(:expire)
|
37
41
|
system(Hitch.expire_command(options.pop))
|
38
42
|
end
|
43
|
+
|
44
|
+
if options.delete(:group_email)
|
45
|
+
Hitch.group_email = options.pop
|
46
|
+
end
|
47
|
+
|
39
48
|
options = [:export, args] if options.empty?
|
40
49
|
else
|
41
50
|
options = [:print_info]
|
data/hitch.gemspec
CHANGED
data/lib/hitch.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rogelio J. Samour
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -84,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
|
88
|
-
rubygems_version: 2.4.5
|
87
|
+
rubygems_version: 3.0.3
|
89
88
|
signing_key:
|
90
89
|
specification_version: 3
|
91
90
|
summary: Hitch allows developers to be properly credited when Pair Programming and
|
@@ -96,4 +95,3 @@ test_files:
|
|
96
95
|
- spec/hitch/ui_spec.rb
|
97
96
|
- spec/hitch_spec.rb
|
98
97
|
- spec/spec_helper.rb
|
99
|
-
has_rdoc:
|