crushserver 0.3.5 → 0.3.6

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.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :build:
3
3
  :minor: 3
4
- :patch: 5
4
+ :patch: 6
5
5
  :major: 0
data/crushserver.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{crushserver}
8
- s.version = "0.3.5"
8
+ s.version = "0.3.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["PJ Kelly", "Mason Browne"]
@@ -91,10 +91,10 @@ HERE
91
91
  result = String.new
92
92
  begin
93
93
  current, previous, latest = current_revision[0,7], previous_revision[0,7], real_revision[0,7]
94
- result << "===== Master Revision: \033[1;33m#{latest}\033[0m\n\n"
95
- result << "===== [ \033[1;36m#{application} - #{stage}\033[0m ]"
96
- result << "=== Deployed Revision: \033[1;32m#{current}\033[0m"
97
- result << "=== Previous Revision: \033[1;32m#{previous}\033[0m\n\n"
94
+ result << "===== Master Revision: #{latest}\n\n"
95
+ result << "===== [ #{application} - #{stage} ]\n"
96
+ result << "=== Deployed Revision: #{current}\n"
97
+ result << "=== Previous Revision: #{previous}\n"
98
98
 
99
99
  # If deployed and master are the same, show the difference between the last 2 deployments.
100
100
  base_label, new_label, base_rev, new_rev = latest != current ? \
@@ -103,8 +103,6 @@ HERE
103
103
 
104
104
  # Show difference between master and deployed revisions.
105
105
  if (diff = `git log #{base_rev}..#{new_rev} --oneline`) != ""
106
- # Colorize refs
107
- diff.gsub!(/^([a-f0-9]+) /, "\033[1;32m\\1\033[0m - ")
108
106
  diff = " " << diff.gsub("\n", "\n ") << "\n"
109
107
  # Indent commit messages nicely, max 80 chars per line, line has to end with space.
110
108
  diff = diff.split("\n").map{|l|l.scan(/.{1,120}/).join("\n"<<" "*14).gsub(/([^ ]*)\n {14}/m,"\n"<<" "*14<<"\\1")}.join("\n")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crushserver
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 5
10
- version: 0.3.5
9
+ - 6
10
+ version: 0.3.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - PJ Kelly