slack_notification_generator 0.2.5 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7772e777eddaaf3110681725befd842ddf41e883
4
- data.tar.gz: 769487ebedd0600363187dae5363fbbf7b24e033
3
+ metadata.gz: 25133deb4cfd22ec00c5a802b6307c0a530d7427
4
+ data.tar.gz: 9c5c3157e62f8be3110015f2ba1da24d705279fd
5
5
  SHA512:
6
- metadata.gz: 5dd8eab04f5978483c0c8466c75eb449f831dc2a3e34dee5b391b1bc4b2d30186d53258ebc20477e0d202a2b7cdad72bc4935b043397bc21feda3136634223d2
7
- data.tar.gz: dd82b4f7d8de5f8b45a26be799f5d71d38052a3ebaa0df96588aaa5204350ee7c089ea6c81ddc4d5d3c4c10068dbb842cf113d3034c96b431a882d78c257b31b
6
+ metadata.gz: bf6e097ad5ff82ddeedcefb0a0248b7f39ecb9caddae0c0ca9d4b74030c0837a066ce2f33e66b00029c21ecdef2fbb2abf3f5c201641762c971989c8fa300c9c
7
+ data.tar.gz: 86d650a1d2e59207a5403ce6fe651910bcb3b3a6745f8da7c699930e3cd4375182a07282844a35231db1af45baee0c26326f86ecc9f605031b4dfb463637473d
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.2.5](https://github.com/jasonhutchens/slack_notification_generator/tree/v0.2.5) (2015-09-02)
4
+ [Full Changelog](https://github.com/jasonhutchens/slack_notification_generator/compare/v0.2.4...v0.2.5)
5
+
3
6
  ## [v0.2.4](https://github.com/jasonhutchens/slack_notification_generator/tree/v0.2.4) (2015-09-01)
4
7
  [Full Changelog](https://github.com/jasonhutchens/slack_notification_generator/compare/v0.2.3...v0.2.4)
5
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.2.6
@@ -89,7 +89,12 @@ class SlackNotificationGenerator
89
89
  add_attachment(attachments, "Other Commits", other_commits)
90
90
  return if attachments.length == 0
91
91
 
92
- message = "*#{[ENV['SLACK_NAME'], env].compact.join(' ')} Release*"
92
+ version = ""
93
+ if this_tag != 'HEAD'
94
+ version = " v#{this_tag}"
95
+ end
96
+
97
+ message = "*#{[ENV['SLACK_NAME'], env].compact.join(' ')} Release#{version}*"
93
98
  if server
94
99
  name = server.gsub(/^http.*\/\//, "").gsub(/\/$/, '')
95
100
  message << " (<#{server}|#{name}>)"
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: slack_notification_generator 0.2.5 ruby lib
5
+ # stub: slack_notification_generator 0.2.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "slack_notification_generator"
9
- s.version = "0.2.5"
9
+ s.version = "0.2.6"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Jason Hutchens"]
14
- s.date = "2015-09-02"
14
+ s.date = "2015-09-12"
15
15
  s.description = "Does what it says on the tin."
16
16
  s.email = "jasonhutchens@gmail.com"
17
17
  s.executables = ["slack_notification_generator"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_notification_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Hutchens
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-02 00:00:00.000000000 Z
11
+ date: 2015-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chronic_duration