devflow 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devflow/commands/branch.rb +1 -1
- data/lib/devflow/commands/pr.rb +4 -4
- data/lib/devflow/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 740d87ecc162380e017931d84ac842f316ecc320cabb8cc5d01c451dcfed2167
|
4
|
+
data.tar.gz: f0d9c297b206cc3208134b52a271fce2b7e7b4e2a8e433f73468acdd12e67556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba9e0f0d0e6d480d011a0eed87197190c64dce5d78e6741186b3123abbb5597eea123c307b45a963f67d637ad1cd528b3684d143ea75f7a0814419c92a3baaaa
|
7
|
+
data.tar.gz: 9b18fc6a293533c15b427a777237bd108fdd9814c737ef1a4978d43fd5616b4e875877708cd95582e3fa8776ff1c705ebc058d5466733570088ca15e0c9a68d2
|
data/lib/devflow/commands/pr.rb
CHANGED
@@ -14,10 +14,6 @@ module DevFlow
|
|
14
14
|
def call
|
15
15
|
branch = `git rev-parse --abbrev-ref HEAD`
|
16
16
|
|
17
|
-
def titleize(str)
|
18
|
-
str.tr("-", " ").capitalize
|
19
|
-
end
|
20
|
-
|
21
17
|
case branch
|
22
18
|
when story_regex
|
23
19
|
story_id = $1
|
@@ -44,6 +40,10 @@ module DevFlow
|
|
44
40
|
|
45
41
|
puts message
|
46
42
|
end
|
43
|
+
|
44
|
+
def titleize(str)
|
45
|
+
str.tr("-", " ").capitalize
|
46
|
+
end
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|
data/lib/devflow/version.rb
CHANGED