t1k 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/t1k/commands/commit.rb +1 -1
- data/lib/t1k/repositories/bitbucket.rb +1 -1
- data/lib/t1k/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c77a88aeea1800c77f373f37b39daedcc2b707d
|
4
|
+
data.tar.gz: 7ed164f7905401db58fd1254df139a3753b270ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41d2b0938d9159800b9644fbd503e16b568677f7f09d09369a004f1e91ca870ae937ef48bdb5d837cc8d702f8cbf9d2315ed97e93c3d5e32e786f9da9eb7800d
|
7
|
+
data.tar.gz: 120069e0579a0e1766c4dbe3f6b9bbef6b1251a1345224e87c505b52fc35e37f51b1ba34bb15cce3e9c5c1bad09a3dec42c4852b2eaa59b838abb4bf7f806b88
|
data/lib/t1k/commands/commit.rb
CHANGED
@@ -7,7 +7,7 @@ module T1k
|
|
7
7
|
text_close = ''
|
8
8
|
|
9
9
|
raise "Message can't be blank. Use --no-message to ignore this rule." if message.empty? && !no_message
|
10
|
-
branch = T1k::Commands::Branch.actual_branch
|
10
|
+
branch = T1k::Commands::Branch.actual_branch.gsub("CODE","")
|
11
11
|
|
12
12
|
text_close = close ? 'close' : 'ref'
|
13
13
|
|
@@ -58,7 +58,7 @@ module T1k
|
|
58
58
|
def self.get_issue_number html_url
|
59
59
|
exit 1 if html_url.nil?
|
60
60
|
|
61
|
-
code = html_url[html_url.rindex('/')+1..html_url.size]
|
61
|
+
code = html_url[html_url.rindex('/CARD')+1..html_url.size]
|
62
62
|
|
63
63
|
Issue.new(code, "Link to code: [#{code}](#{html_url})")
|
64
64
|
end
|
data/lib/t1k/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: t1k
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Maia
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-10-
|
13
|
+
date: 2018-10-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|