socialcast-git-extensions 2.0.7 → 2.0.8

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.
@@ -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
- update_tickets tickets, :branch => branch_name
27
- start_tickets tickets
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
@@ -1,7 +1,7 @@
1
1
  module Socialcast
2
2
  module Git
3
3
  module Extensions
4
- VERSION = "2.0.7"
4
+ VERSION = "2.0.8"
5
5
  end
6
6
  end
7
7
  end
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: 1
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 7
10
- version: 2.0.7
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-08 00:00:00 Z
18
+ date: 2011-06-10 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: grit