TicGit-ng 1.0.2 → 1.0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ticgit-ng/command/new.rb +4 -4
- data/lib/ticgit-ng/version.rb +1 -1
- metadata +4 -3
@@ -13,11 +13,11 @@ module TicGitNG
|
|
13
13
|
ticket_show(tic.ticket_new(title, options.to_hash))
|
14
14
|
else
|
15
15
|
# interactive
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
prompt = "\n# ---\ntags:\n"
|
17
|
+
prompt += "# first line will be the title of the tic, the rest will be the first comment\n"
|
18
|
+
prompt += "# if you would like to add initial tags, put them on the 'tags:' line, comma delim"
|
19
19
|
|
20
|
-
if message = get_editor_message(
|
20
|
+
if message = get_editor_message(prompt)
|
21
21
|
title = message.shift
|
22
22
|
if title && title.chomp.length > 0
|
23
23
|
title = title.chomp
|
data/lib/ticgit-ng/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: TicGit-ng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 85
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 2
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 1.0.2.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Scott Chacon
|
@@ -16,7 +17,7 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2011-04-
|
20
|
+
date: 2011-04-03 00:00:00 -04:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|