socialcast-git-extensions 1.5.5 → 2.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -16,6 +16,7 @@ begin
16
16
  gem.add_runtime_dependency "activesupport", ">= 0"
17
17
  gem.add_runtime_dependency "git_remote_branch", ">= 0"
18
18
  gem.add_runtime_dependency 'highline', '>= 0'
19
+ gem.add_runtime_dependency 'socialcast', '>= 0.2.1'
19
20
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
20
21
  end
21
22
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.5
1
+ 2.0.0.beta1
data/bin/git-integrate CHANGED
@@ -7,6 +7,8 @@
7
7
  require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
8
8
  include Socialcast
9
9
 
10
+ is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
11
+
10
12
  branch = current_branch
11
13
  tickets = assert_tickets_provided(ARGV, branch)
12
14
 
@@ -15,3 +17,5 @@ integrate(branch, 'prototype')
15
17
 
16
18
  update_tickets tickets, :branch => branch, :in_prototype => true
17
19
  start_tickets tickets
20
+
21
+ run_cmd "socialcast share '#worklog integrating #{branch} into prototype #scgitx'" unless is_quiet
data/bin/git-promote CHANGED
@@ -3,6 +3,8 @@
3
3
  require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
4
4
  include Socialcast
5
5
 
6
+ is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
7
+
6
8
  branch = current_branch
7
9
  tickets = assert_tickets_provided(ARGV, branch)
8
10
 
@@ -14,3 +16,5 @@ resolve_tickets tickets
14
16
 
15
17
  integrate('staging', 'prototype')
16
18
  run_cmd "git checkout #{branch}"
19
+
20
+ run_cmd "socialcast share '#worklog promoting #{branch} into staging #scgitx'" unless is_quiet
data/bin/git-release CHANGED
@@ -6,6 +6,7 @@ include Socialcast
6
6
  branch = current_branch
7
7
  raise "Cannot release reserved branch" if %w{master staging prototype}.include?(branch)
8
8
 
9
+ is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
9
10
  tickets = assert_tickets_provided(ARGV, branch)
10
11
 
11
12
  exit unless HighLine.agree("<%= color('Release #{branch} to production? (y/n)', :green) %>")
@@ -20,3 +21,5 @@ integrate branch, 'staging'
20
21
  integrate 'staging', 'prototype'
21
22
  run_cmd "git checkout master"
22
23
  run_cmd "grb rm #{branch}"
24
+
25
+ run_cmd "socialcast share '#worklog releasing #{branch} to production #scgitx'" unless is_quiet
@@ -3,6 +3,8 @@
3
3
  require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
4
4
  include Socialcast
5
5
 
6
+ is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
7
+
6
8
  run_cmd 'git checkout master'
7
9
  run_cmd 'git pull'
8
10
  run_cmd 'git pull origin last_known_good_staging'
@@ -40,3 +42,5 @@ branches.each do |branch|
40
42
  end
41
43
 
42
44
  run_cmd 'git prune-merged -r'
45
+
46
+ run_cmd "socialcast share '#worklog releasing staging branch to production #scgitx'" unless is_quiet
@@ -11,3 +11,6 @@ issues = jira_server.getIssuesFromFilterWithLimit filter_id, 0, 1000
11
11
 
12
12
  HighLine.say "\n<%= color('Updating the following tickets to no longer be in prototype:', :red) %>"
13
13
  update_tickets issues, :in_prototype => false
14
+
15
+ is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
16
+ run_cmd "socialcast share '#worklog resetting prototype branch #scgitx'" unless is_quiet
data/bin/git-start CHANGED
@@ -5,6 +5,7 @@
5
5
  require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
6
6
  include Socialcast
7
7
 
8
+ is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
8
9
  tickets = tickets_from_arguments ARGV
9
10
  raise "JIRA ticket id is required to run this process" unless tickets.any?
10
11
 
@@ -23,3 +24,5 @@ run_cmd "git checkout -b #{branch_name}"
23
24
 
24
25
  update_tickets tickets, :branch => branch_name
25
26
  start_tickets tickets
27
+
28
+ run_cmd "socialcast share '#worklog starting work on #{branch_name} #scgitx'" unless is_quiet
@@ -104,7 +104,7 @@ module Socialcast
104
104
  end
105
105
 
106
106
  def run_cmd(cmd)
107
- HighLine.say "\n> <%= color('#{cmd}', :red) %>"
107
+ HighLine.say "\n> <%= color('#{cmd.gsub("'", '')}', :red) %>"
108
108
  raise "#{cmd} failed" unless system cmd
109
109
  end
110
110
 
@@ -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.5.5"
8
+ s.version = "2.0.0.beta1"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Sonnek"]
12
- s.date = %q{2010-11-11}
12
+ s.date = %q{2010-11-29}
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-staging", "git-reset-prototype", "git-start", "git-track", "git-update", "git-wtf"]
@@ -60,6 +60,7 @@ Gem::Specification.new do |s|
60
60
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
61
61
  s.add_runtime_dependency(%q<git_remote_branch>, [">= 0"])
62
62
  s.add_runtime_dependency(%q<highline>, [">= 0"])
63
+ s.add_runtime_dependency(%q<socialcast>, [">= 0.2.1"])
63
64
  else
64
65
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
65
66
  s.add_dependency(%q<grit>, [">= 0"])
@@ -67,6 +68,7 @@ Gem::Specification.new do |s|
67
68
  s.add_dependency(%q<activesupport>, [">= 0"])
68
69
  s.add_dependency(%q<git_remote_branch>, [">= 0"])
69
70
  s.add_dependency(%q<highline>, [">= 0"])
71
+ s.add_dependency(%q<socialcast>, [">= 0.2.1"])
70
72
  end
71
73
  else
72
74
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
@@ -75,6 +77,7 @@ Gem::Specification.new do |s|
75
77
  s.add_dependency(%q<activesupport>, [">= 0"])
76
78
  s.add_dependency(%q<git_remote_branch>, [">= 0"])
77
79
  s.add_dependency(%q<highline>, [">= 0"])
80
+ s.add_dependency(%q<socialcast>, [">= 0.2.1"])
78
81
  end
79
82
  end
80
83
 
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialcast-git-extensions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
5
- prerelease: false
4
+ hash: -1848230035
5
+ prerelease: true
6
6
  segments:
7
- - 1
8
- - 5
9
- - 5
10
- version: 1.5.5
7
+ - 2
8
+ - 0
9
+ - 0
10
+ - beta1
11
+ version: 2.0.0.beta1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Ryan Sonnek
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-11-11 00:00:00 -06:00
19
+ date: 2010-11-29 00:00:00 -06:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
@@ -102,6 +103,22 @@ dependencies:
102
103
  version: "0"
103
104
  type: :runtime
104
105
  version_requirements: *id006
106
+ - !ruby/object:Gem::Dependency
107
+ name: socialcast
108
+ prerelease: false
109
+ requirement: &id007 !ruby/object:Gem::Requirement
110
+ none: false
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ hash: 21
115
+ segments:
116
+ - 0
117
+ - 2
118
+ - 1
119
+ version: 0.2.1
120
+ type: :runtime
121
+ version_requirements: *id007
105
122
  description: git extension scripts for socialcast workflow
106
123
  email: ryan@socialcast.com
107
124
  executables:
@@ -162,12 +179,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
179
  required_rubygems_version: !ruby/object:Gem::Requirement
163
180
  none: false
164
181
  requirements:
165
- - - ">="
182
+ - - ">"
166
183
  - !ruby/object:Gem::Version
167
- hash: 3
184
+ hash: 25
168
185
  segments:
169
- - 0
170
- version: "0"
186
+ - 1
187
+ - 3
188
+ - 1
189
+ version: 1.3.1
171
190
  requirements: []
172
191
 
173
192
  rubyforge_project: