hoy 0.0.0 → 0.0.1
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/README +12 -0
- data/bin/hoy +1 -1
- metadata +3 -3
data/README
CHANGED
@@ -12,6 +12,18 @@
|
|
12
12
|
hoy commit "work done on this feature"
|
13
13
|
hoy ci
|
14
14
|
|
15
|
+
- Review what you did
|
16
|
+
|
17
|
+
hoy review "commit message to be made"
|
18
|
+
hoy re "commit message"
|
19
|
+
|
20
|
+
|
21
|
+
$ hoy review "did some stuff"
|
22
|
+
|
23
|
+
... go through git diff ...
|
24
|
+
|
25
|
+
Do you want to commit this? (Y/N) _
|
26
|
+
|
15
27
|
- Push out if needed (to build CI, end of day)
|
16
28
|
|
17
29
|
hoy sync
|
data/bin/hoy
CHANGED
@@ -8,7 +8,7 @@ class Hoy < Thor
|
|
8
8
|
user_name = ENV['GIT_AUTHOR_NAME'] || `git config user.name`
|
9
9
|
branch_name = branch_title.downcase.split
|
10
10
|
|
11
|
-
if user_name =~
|
11
|
+
if user_name =~ /^([\w\s]+) and ([\w\s]+) <.*>$/
|
12
12
|
branch_name.unshift initials($1), initials($2)
|
13
13
|
else
|
14
14
|
branch_name.unshift initials(user_name)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nick Quaranto
|