t1k 3.1.0 → 4.0.0

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: 2595ec016c1ecaaa10e85ec5e18091e290059d29
4
- data.tar.gz: d8f4cc449228028488ac33393995a66b64cdf8d7
3
+ metadata.gz: 9a793f33aba328fa3f19361a924b7626f721a188
4
+ data.tar.gz: e41727bb2b003f39089fab090b06f715fd368153
5
5
  SHA512:
6
- metadata.gz: 283b76cf34f58f230f91cb44b5716125f84311fe86768d3f867e2460991b53e401bed3f429dbaa4bf4ce9b5d1b687c5607406bebcfa8006e22ab95580d003bf8
7
- data.tar.gz: 7ef7baef547bc4542b17e343879ab4db11b46dbed3268b6bade31b99f4c502cfc868d807def740b80c52ed96d7e3a688072efd7e0497d1b246e5fdbcbaaf8d30
6
+ metadata.gz: 6512230e33ab351c725e7866d201a0824e195ec614b5bc39926c585530b365aeb2928624131550be24493f0ec9870a5fa396d4333a5eab4b4ebfa5e6d472321e
7
+ data.tar.gz: 0ff1f9646a21ab1308a79c44c35d69fe93bfb85a49123aab6c9d3d94216ad136dc8313495615248b8e42a02229cb6c3651554ce3014816188d360614ba5c309a
@@ -4,7 +4,7 @@ module T1k
4
4
 
5
5
  def self.run(path_card_part)
6
6
  T1k.setup_credentials
7
- code_card = T1k::hack path_card_part
7
+ code_card = "CARD#{T1k::hack path_card_part}"
8
8
 
9
9
  system 'git checkout master'
10
10
  system 'git pull --rebase origin master'
@@ -65,7 +65,7 @@ module T1k
65
65
 
66
66
  def self.update_card card, issue
67
67
  puts 'Updating card'
68
- card.name = "[##{issue.code}] #{card.name}"
68
+ card.name = "[#CARD#{issue.code}] #{card.name}"
69
69
  card.desc = "#{issue.link} #{card.desc}"
70
70
  card.save
71
71
  end
data/lib/t1k/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module T1k
2
- VERSION = "3.1.0"
2
+ VERSION = "4.0.0"
3
3
  end
data/lib/t1k.rb CHANGED
@@ -44,7 +44,7 @@ module T1k
44
44
 
45
45
  def self.hack url_card
46
46
  card = tracker.get_card(url_card)
47
- existent_issue_match = card.name.match /^\[#([0-9]*)\]/
47
+ existent_issue_match = card.name.match /^\[#CARD([0-9]*)\]/
48
48
  existent_issue_number = existent_issue_match[1] if existent_issue_match.present?
49
49
 
50
50
  issue_url = existent_issue_number.present? ? repository.get_issue(existent_issue_number)
data/t1k.gemspec CHANGED
@@ -6,8 +6,8 @@ require 't1k/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "t1k"
8
8
  spec.version = T1k::VERSION
9
- spec.authors = ["Rodrigo Maia", "Heron Medeiros", "Felipe Aquino"]
10
- spec.email = ["rodrigomb@gmail.com", "heron.medeiros@gmail.com", "aquinofb@gmail.com"]
9
+ spec.authors = ["Rodrigo Maia", "Felipe Aquino", "Fernando Martinez"]
10
+ spec.email = ["rodrigomb@gmail.com", "aquinofb@gmail.com", "fernando.xps@gmail.com"]
11
11
 
12
12
  spec.homepage = "https://github.com/fortesinformatica/t1k"
13
13
  spec.summary = "T1K - Automated Git and Trello Workflow"
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'simplecov' , '~>0.11.2'
25
25
  spec.add_development_dependency 'pry'
26
26
 
27
- spec.add_dependency 'ruby-trello' , '~> 2.0.0'
28
- spec.add_dependency 'github_api' , '~> 0.12'
27
+ spec.add_dependency 'ruby-trello' , '~> 2.1'
28
+ spec.add_dependency 'github_api' , '~> 0.18'
29
29
  spec.add_dependency 'activesupport', '~> 4.2'
30
30
  spec.add_dependency 'clive' , '~> 1.2.1'
31
31
  spec.add_dependency 'bitbucket_rest_api'
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t1k
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Maia
8
- - Heron Medeiros
9
8
  - Felipe Aquino
9
+ - Fernando Martinez
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-08-11 00:00:00.000000000 Z
13
+ date: 2018-10-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -74,28 +74,28 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: 2.0.0
77
+ version: '2.1'
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: 2.0.0
84
+ version: '2.1'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: github_api
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '0.12'
91
+ version: '0.18'
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '0.12'
98
+ version: '0.18'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: activesupport
101
101
  requirement: !ruby/object:Gem::Requirement
@@ -142,8 +142,8 @@ description: Use those scripts to create automatically branchs associated with i
142
142
  and tracked commits.
143
143
  email:
144
144
  - rodrigomb@gmail.com
145
- - heron.medeiros@gmail.com
146
145
  - aquinofb@gmail.com
146
+ - fernando.xps@gmail.com
147
147
  executables:
148
148
  - t1k
149
149
  extensions: []
@@ -151,7 +151,6 @@ extra_rdoc_files: []
151
151
  files:
152
152
  - "./CODE_OF_CONDUCT.md"
153
153
  - "./Gemfile"
154
- - "./Gemfile.lock"
155
154
  - "./LICENSE.txt"
156
155
  - "./README.md"
157
156
  - "./Rakefile"
@@ -211,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
210
  version: '0'
212
211
  requirements: []
213
212
  rubyforge_project:
214
- rubygems_version: 2.6.6
213
+ rubygems_version: 2.6.14
215
214
  signing_key:
216
215
  specification_version: 4
217
216
  summary: T1K - Automated Git and Trello Workflow
data/Gemfile.lock DELETED
@@ -1,113 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- t1k (3.0.5)
5
- activesupport (~> 4.2)
6
- bitbucket_rest_api
7
- clive (~> 1.2.1)
8
- github_api (~> 0.12)
9
- ruby-trello (~> 2.0.0)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- activemodel (4.2.9)
15
- activesupport (= 4.2.9)
16
- builder (~> 3.1)
17
- activesupport (4.2.9)
18
- i18n (~> 0.7)
19
- minitest (~> 5.1)
20
- thread_safe (~> 0.3, >= 0.3.4)
21
- tzinfo (~> 1.1)
22
- addressable (2.4.0)
23
- bitbucket_rest_api (0.1.7)
24
- faraday (~> 0.9.0)
25
- faraday_middleware (~> 0.9.0)
26
- hashie
27
- multi_json (>= 1.7.5, < 2.0)
28
- nokogiri (>= 1.5.2)
29
- simple_oauth
30
- builder (3.2.3)
31
- clive (1.2.1)
32
- coderay (1.1.1)
33
- descendants_tracker (0.0.4)
34
- thread_safe (~> 0.3, >= 0.3.1)
35
- docile (1.1.5)
36
- domain_name (0.5.20170404)
37
- unf (>= 0.0.5, < 1.0.0)
38
- faraday (0.9.2)
39
- multipart-post (>= 1.2, < 3)
40
- faraday_middleware (0.9.2)
41
- faraday (>= 0.7.4, < 0.10)
42
- github_api (0.17.0)
43
- addressable (~> 2.4.0)
44
- descendants_tracker (~> 0.0.4)
45
- faraday (~> 0.8, < 0.10)
46
- hashie (>= 3.4)
47
- mime-types (>= 1.16, < 3.0)
48
- oauth2 (~> 1.0)
49
- hashie (3.5.6)
50
- http-cookie (1.0.3)
51
- domain_name (~> 0.5)
52
- i18n (0.8.6)
53
- json (1.8.6)
54
- jwt (1.5.6)
55
- method_source (0.8.2)
56
- mime-types (2.99.3)
57
- mini_portile2 (2.2.0)
58
- minitest (5.10.3)
59
- multi_json (1.12.1)
60
- multi_xml (0.6.0)
61
- multipart-post (2.0.0)
62
- netrc (0.11.0)
63
- nokogiri (1.8.0)
64
- mini_portile2 (~> 2.2.0)
65
- oauth (0.5.3)
66
- oauth2 (1.4.0)
67
- faraday (>= 0.8, < 0.13)
68
- jwt (~> 1.0)
69
- multi_json (~> 1.3)
70
- multi_xml (~> 0.5)
71
- rack (>= 1.2, < 3)
72
- pry (0.10.4)
73
- coderay (~> 1.1.0)
74
- method_source (~> 0.8.1)
75
- slop (~> 3.4)
76
- rack (2.0.3)
77
- rake (10.5.0)
78
- rest-client (2.0.2)
79
- http-cookie (>= 1.0.2, < 2.0)
80
- mime-types (>= 1.16, < 4.0)
81
- netrc (~> 0.8)
82
- ruby-trello (2.0.0)
83
- activemodel (>= 3.2.0)
84
- addressable (~> 2.3)
85
- json
86
- oauth (>= 0.4.5)
87
- rest-client (>= 1.8.0)
88
- simple_oauth (0.3.1)
89
- simplecov (0.11.2)
90
- docile (~> 1.1.0)
91
- json (~> 1.8)
92
- simplecov-html (~> 0.10.0)
93
- simplecov-html (0.10.1)
94
- slop (3.6.0)
95
- thread_safe (0.3.6)
96
- tzinfo (1.2.3)
97
- thread_safe (~> 0.1)
98
- unf (0.1.4)
99
- unf_ext
100
- unf_ext (0.0.7.4)
101
-
102
- PLATFORMS
103
- ruby
104
-
105
- DEPENDENCIES
106
- bundler (~> 1.9)
107
- pry
108
- rake (~> 10.0)
109
- simplecov (~> 0.11.2)
110
- t1k!
111
-
112
- BUNDLED WITH
113
- 1.15.2