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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a793f33aba328fa3f19361a924b7626f721a188
4
- data.tar.gz: e41727bb2b003f39089fab090b06f715fd368153
3
+ metadata.gz: 9c77a88aeea1800c77f373f37b39daedcc2b707d
4
+ data.tar.gz: 7ed164f7905401db58fd1254df139a3753b270ea
5
5
  SHA512:
6
- metadata.gz: 6512230e33ab351c725e7866d201a0824e195ec614b5bc39926c585530b365aeb2928624131550be24493f0ec9870a5fa396d4333a5eab4b4ebfa5e6d472321e
7
- data.tar.gz: 0ff1f9646a21ab1308a79c44c35d69fe93bfb85a49123aab6c9d3d94216ad136dc8313495615248b8e42a02229cb6c3651554ce3014816188d360614ba5c309a
6
+ metadata.gz: 41d2b0938d9159800b9644fbd503e16b568677f7f09d09369a004f1e91ca870ae937ef48bdb5d837cc8d702f8cbf9d2315ed97e93c3d5e32e786f9da9eb7800d
7
+ data.tar.gz: 120069e0579a0e1766c4dbe3f6b9bbef6b1251a1345224e87c505b52fc35e37f51b1ba34bb15cce3e9c5c1bad09a3dec42c4852b2eaa59b838abb4bf7f806b88
@@ -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
@@ -1,3 +1,3 @@
1
1
  module T1k
2
- VERSION = "4.0.0"
2
+ VERSION = "4.0.1"
3
3
  end
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.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-02 00:00:00.000000000 Z
13
+ date: 2018-10-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler