socialcast-git-extensions 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/git-start +4 -3
- data/lib/socialcast-git-extensions/version.rb +1 -1
- metadata +4 -4
data/bin/git-start
CHANGED
@@ -7,7 +7,6 @@ include Socialcast
|
|
7
7
|
|
8
8
|
is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
|
9
9
|
tickets = tickets_from_arguments ARGV
|
10
|
-
abort("JIRA ticket id is required to run this process") unless tickets.any?
|
11
10
|
|
12
11
|
example_branch = %w{ api-fix-invalid-auth desktop-cleanup-avatar-markup share-form-add-edit-link }.sort_by { rand }.first
|
13
12
|
repo = Grit::Repo.new(Dir.pwd)
|
@@ -23,7 +22,9 @@ run_cmd 'git checkout master'
|
|
23
22
|
run_cmd 'git pull'
|
24
23
|
run_cmd "git checkout -b #{branch_name}"
|
25
24
|
|
26
|
-
|
27
|
-
|
25
|
+
if tickets.any?
|
26
|
+
update_tickets tickets, :branch => branch_name
|
27
|
+
start_tickets tickets
|
28
|
+
end
|
28
29
|
|
29
30
|
run_cmd "socialcast share '#worklog starting work on #{branch_name} #scgitx'" unless is_quiet
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: socialcast-git-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 8
|
10
|
+
version: 2.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Sonnek
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-10 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: grit
|