jigit 1.0.0 → 1.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +13 -11
- data/README.md +2 -1
- data/lib/jigit/commands/init.rb +5 -5
- data/lib/jigit/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: b539f035dea3951137db913bdd4f9193970a2a48
|
|
4
|
+
data.tar.gz: 8b16077809c280d7ffba3f567ed9d83ad4247993
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 400fa0e596b670d8289ca2288a1f61af1b74f61aad343ac4e68999d72ec76faf790fe9b969de5d00bea433ec536457803fde130082092d2c95006552487cb5c4
|
|
7
|
+
data.tar.gz: 8090c240ac764d661f2b28fdf6a3f635e1f223f4150633a9634ab4ee9948efeacf8595beacf96f4e7ca8e9faf4823187c47d8d7c6f7a8d7ea57376965e471e09
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
## master
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
* Your contribution here.
|
|
6
|
+
# [#16](https://github.com/Antondomashnev/jigit/pull/16): Small fixes in set up - [@antondomashnev](https://github.com/antondomashnev).
|
|
7
|
+
|
|
3
8
|
## 1.0.0
|
|
4
9
|
|
|
5
10
|
* [#15](https://github.com/Antondomashnev/jigit/pull/15): Initial release 🎉 - [@antondomashnev](https://github.com/antondomashnev).
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
jigit (0.1
|
|
4
|
+
jigit (1.0.1)
|
|
5
5
|
claide (~> 1.0)
|
|
6
6
|
cork (~> 0.1)
|
|
7
7
|
jira-ruby (~> 1.0)
|
|
@@ -17,7 +17,6 @@ GEM
|
|
|
17
17
|
tzinfo (~> 1.1)
|
|
18
18
|
addressable (2.4.0)
|
|
19
19
|
ast (2.3.0)
|
|
20
|
-
builder (3.2.2)
|
|
21
20
|
claide (1.0.1)
|
|
22
21
|
claide-plugins (0.9.2)
|
|
23
22
|
cork
|
|
@@ -42,9 +41,12 @@ GEM
|
|
|
42
41
|
kramdown (~> 1.5)
|
|
43
42
|
octokit (~> 4.2)
|
|
44
43
|
terminal-table (~> 1)
|
|
45
|
-
danger-
|
|
44
|
+
danger-changelog (0.1.0)
|
|
45
|
+
danger-plugin-api (~> 1.0)
|
|
46
|
+
danger-plugin-api (1.0.0)
|
|
46
47
|
danger (> 2.0)
|
|
47
|
-
|
|
48
|
+
danger-simplecov_json (0.2.1)
|
|
49
|
+
danger-plugin-api (~> 1.0)
|
|
48
50
|
diff-lcs (1.2.5)
|
|
49
51
|
docile (1.1.5)
|
|
50
52
|
faraday (0.9.2)
|
|
@@ -55,7 +57,7 @@ GEM
|
|
|
55
57
|
git (1.3.0)
|
|
56
58
|
hashdiff (0.3.0)
|
|
57
59
|
i18n (0.7.0)
|
|
58
|
-
jira-ruby (1.1.
|
|
60
|
+
jira-ruby (1.1.3)
|
|
59
61
|
activesupport
|
|
60
62
|
oauth (~> 0.5, >= 0.5.0)
|
|
61
63
|
json (1.8.3)
|
|
@@ -67,7 +69,6 @@ GEM
|
|
|
67
69
|
octokit (4.6.0)
|
|
68
70
|
sawyer (~> 0.8.0, >= 0.5.3)
|
|
69
71
|
open4 (1.3.4)
|
|
70
|
-
ox (2.4.5)
|
|
71
72
|
parser (2.3.1.4)
|
|
72
73
|
ast (~> 2.2)
|
|
73
74
|
powerpack (0.1.1)
|
|
@@ -86,9 +87,6 @@ GEM
|
|
|
86
87
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
87
88
|
rspec-support (~> 3.5.0)
|
|
88
89
|
rspec-support (3.5.0)
|
|
89
|
-
rspec_junit_formatter (0.2.3)
|
|
90
|
-
builder (< 4)
|
|
91
|
-
rspec-core (>= 2, < 4, != 2.12.0)
|
|
92
90
|
rubocop (0.44.1)
|
|
93
91
|
parser (>= 2.3.1.1, < 3.0)
|
|
94
92
|
powerpack (~> 0.1)
|
|
@@ -108,6 +106,9 @@ GEM
|
|
|
108
106
|
json (>= 1.8, < 3)
|
|
109
107
|
simplecov-html (~> 0.10.0)
|
|
110
108
|
simplecov-html (0.10.0)
|
|
109
|
+
simplecov-json (0.2)
|
|
110
|
+
json
|
|
111
|
+
simplecov
|
|
111
112
|
terminal-table (1.7.3)
|
|
112
113
|
unicode-display_width (~> 1.1.1)
|
|
113
114
|
thread_safe (0.3.5)
|
|
@@ -125,13 +126,14 @@ PLATFORMS
|
|
|
125
126
|
DEPENDENCIES
|
|
126
127
|
bundler (~> 1.3)
|
|
127
128
|
danger (~> 4.0)
|
|
128
|
-
danger-
|
|
129
|
+
danger-changelog (~> 0.1)
|
|
130
|
+
danger-simplecov_json (~> 0.2)
|
|
129
131
|
jigit!
|
|
130
132
|
rake (~> 10.3, >= 10.3.2)
|
|
131
133
|
rspec (~> 3.0, >= 3.0.0)
|
|
132
|
-
rspec_junit_formatter (~> 0.2)
|
|
133
134
|
rubocop (~> 0.42)
|
|
134
135
|
simplecov (~> 0.12.0)
|
|
136
|
+
simplecov-json (~> 0.2)
|
|
135
137
|
webmock (~> 1.18, >= 1.18.0)
|
|
136
138
|
|
|
137
139
|
BUNDLED WITH
|
data/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/Antondomashnev/jigit)
|
|
4
4
|
[](https://codebeat.co/projects/github-com-antondomashnev-jigit)
|
|
5
|
+
[](https://badge.fury.io/rb/jigit)
|
|
5
6
|
|
|
6
7
|
Keep you JIRA issue statuses in sync with what you're doing actually.
|
|
7
8
|
|
|
@@ -59,7 +60,7 @@ After that step, you're set 🚀
|
|
|
59
60
|
### Limitation
|
|
60
61
|
|
|
61
62
|
Currently, `jigit` works only on `OS X`, requires `ruby-2.2.3`. Also, it's based on the git hooks
|
|
62
|
-
and therefore doesn't work with the source control UI app, but only
|
|
63
|
+
and therefore doesn't work with the source control UI app, but only by using `git` in the command line.
|
|
63
64
|
|
|
64
65
|
### License
|
|
65
66
|
|
data/lib/jigit/commands/init.rb
CHANGED
|
@@ -89,7 +89,7 @@ module Jigit
|
|
|
89
89
|
ui.say "Let's try once again, you can do it 💪\n"
|
|
90
90
|
return false
|
|
91
91
|
end
|
|
92
|
-
rescue Jigit::JiraAPIClientError
|
|
92
|
+
rescue Jigit::JiraAPIClientError => exception
|
|
93
93
|
ui.error "Yikes 😕\n"
|
|
94
94
|
ui.say "Let's try once again, you can do it 💪\n"
|
|
95
95
|
return false
|
|
@@ -162,7 +162,7 @@ module Jigit
|
|
|
162
162
|
end
|
|
163
163
|
|
|
164
164
|
def ask_for_in_progress_status_name(status_names)
|
|
165
|
-
in_progress_status_name = ui.ask_with_answers("What status do you set when work on the JIRA issue\n", status_names)
|
|
165
|
+
in_progress_status_name = ui.ask_with_answers("What status do you set when work on the JIRA issue\n", status_names, true)
|
|
166
166
|
in_progress_status_name
|
|
167
167
|
end
|
|
168
168
|
|
|
@@ -180,7 +180,7 @@ module Jigit
|
|
|
180
180
|
loop do
|
|
181
181
|
selected_status_names << selected_status_name unless selected_status_name.nil?
|
|
182
182
|
break if not_asked_status_names.count.zero?
|
|
183
|
-
selected_status_name = ui.ask_with_answers("Which one you want to select", not_asked_status_names + ["nothing"])
|
|
183
|
+
selected_status_name = ui.ask_with_answers("Which one you want to select", not_asked_status_names + ["nothing"], true)
|
|
184
184
|
break if selected_status_name == "nothing"
|
|
185
185
|
ui.say selected_status_name
|
|
186
186
|
not_asked_status_names.delete(selected_status_name)
|
|
@@ -202,7 +202,7 @@ module Jigit
|
|
|
202
202
|
ui.wait_for_return
|
|
203
203
|
end
|
|
204
204
|
|
|
205
|
-
def setup_jigitfile_with_user_input
|
|
205
|
+
def setup_jigitfile_with_user_input(jira_status_names)
|
|
206
206
|
jigitfile_generator = Jigit::JigitfileGenerator.new
|
|
207
207
|
jigitfile_generator.write_jira_host(self.current_jira_config.host)
|
|
208
208
|
ui.pause 0.6
|
|
@@ -228,7 +228,7 @@ module Jigit
|
|
|
228
228
|
end
|
|
229
229
|
ui.pause 0.6
|
|
230
230
|
|
|
231
|
-
setup_jigitfile_with_user_input
|
|
231
|
+
setup_jigitfile_with_user_input(jira_status_names)
|
|
232
232
|
setup_jigitfile_outro
|
|
233
233
|
|
|
234
234
|
return true
|
data/lib/jigit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jigit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anton Domashnev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-keychain
|