socialcast-git-extensions 1.1.0 → 1.2.0
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.
- data/VERSION +1 -1
- data/lib/socialcast-git-extensions.rb +3 -3
- data/socialcast-git-extensions.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.2.0
|
|
@@ -46,12 +46,12 @@ module Socialcast
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
def assert_tickets_provided(ticket_ids, branch)
|
|
49
|
-
tickets =
|
|
49
|
+
tickets = tickets_from_arguments_or_branch(ticket_ids, branch)
|
|
50
50
|
raise "JIRA ticket id or existing JIRA Git Branch is required to run this process" unless tickets.any?
|
|
51
51
|
tickets
|
|
52
52
|
end
|
|
53
|
-
def
|
|
54
|
-
tickets_from_arguments(ticket_ids)
|
|
53
|
+
def tickets_from_arguments_or_branch(ticket_ids, branch)
|
|
54
|
+
ticket_ids.any? ? tickets_from_arguments(ticket_ids) : tickets_from_branch(branch)
|
|
55
55
|
end
|
|
56
56
|
def tickets_from_arguments(ticket_ids)
|
|
57
57
|
ticket_ids.collect do |key|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{socialcast-git-extensions}
|
|
8
|
-
s.version = "1.
|
|
8
|
+
s.version = "1.2.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ryan Sonnek"]
|
|
12
|
-
s.date = %q{2010-08-
|
|
12
|
+
s.date = %q{2010-08-06}
|
|
13
13
|
s.description = %q{git extension scripts for socialcast workflow}
|
|
14
14
|
s.email = %q{ryan@socialcast.com}
|
|
15
15
|
s.executables = ["git-integrate", "git-promote", "git-prune-merged", "git-release", "git-release-pending", "git-reset-staging", "git-start", "git-track", "git-update", "git-wtf"]
|
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: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
8
|
+
- 2
|
|
9
9
|
- 0
|
|
10
|
-
version: 1.
|
|
10
|
+
version: 1.2.0
|
|
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: 2010-08-
|
|
18
|
+
date: 2010-08-06 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|