statusz 0.1.0.pre.2 → 0.1.0.pre.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/statusz/version.rb +1 -1
  2. data/lib/statusz.rb +1 -1
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module Statusz
2
- VERSION = "0.1.0.pre.2"
2
+ VERSION = "0.1.0.pre.3"
3
3
  end
data/lib/statusz.rb CHANGED
@@ -57,7 +57,7 @@ module Statusz
57
57
  # For readability, it's nice to have the massive 'all commits' field be the last one.
58
58
  all_commits = fields.delete "all commits"
59
59
  fields_with_commits_last = fields.map { |name, value| [name, value] }
60
- fields_with_commits_last << all_commits if all_commits
60
+ fields_with_commits_last << ["all commits", all_commits] if all_commits
61
61
  fields_with_commits_last.map { |name, value| "#{name}:\n#{value}" }.join("\n\n")
62
62
  when :json
63
63
  fields.to_json
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statusz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.2
4
+ version: 0.1.0.pre.3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: