deployme 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61ee05af44d304df5558e670aaf48db51a2ebfa25e498b4232e12db44638e684
4
- data.tar.gz: 05e10c313c62636d0e324b33ab457e1e7bd5e0c50a9b3beffbab4ffcaeddf3b9
3
+ metadata.gz: 0275f647a5f9ec9d551433dae811464260ed575f3ee35e1fa2081b75fe535cd2
4
+ data.tar.gz: 9cd0552dd242f0f000d74df8090de9dc4ee7e2f77653ad1bf1c8a20ac30ec977
5
5
  SHA512:
6
- metadata.gz: 7d668d1d036ffc455624e653596d6a05a00737b304ca84446f72cee12db624e1fc66517f5f5a991f2bd5b987c24222e9b1e08e3427dce47eb1607922e302e033
7
- data.tar.gz: dbc9dbb3dd47ff22315ff59b3829eb51b50d1877defef82a651fbd4235931c93b4aeef1e58c870239d08dd5bb8434ff805d56b9859b6554427f5251ef4fa2da0
6
+ metadata.gz: 50cc26f91b24711bbff0069823d11493916f656e933ed8dd55a50d59622b24ce9463e6e9ab2c020795a5c589a829a059abb7a2d3dcb5103f4e686bf4bff98d7d
7
+ data.tar.gz: c080ad5da9ede93c1818f3d8459c1ab9ae6dcf03d2f7d4513906fe36be2e94938bc47b70a18ccf809ec37c075d2e45aaf20df608ee94f955940fc386bef91efb
@@ -3,10 +3,6 @@ require 'jira-ruby'
3
3
  module Deployme
4
4
  module Notifications
5
5
  class Jira < Notification
6
- def self.defaults
7
- { issues: [] }
8
- end
9
-
10
6
  def self.options(parser)
11
7
  parser.on('--jira-issues=TICKET,TICKET', Array, 'JIRA Tickets to Update') { |options, value| options.jira_issues = value }
12
8
  parser.on('--jira-url=URL', String, 'JIRA Instance URL') { |options, value| options.jira_url = value }
@@ -20,6 +16,8 @@ module Deployme
20
16
  def notify_error(error = nil); end
21
17
 
22
18
  def notify_finish
19
+ return unless settings.issues
20
+
23
21
  logger.info 'Adding Website link to JIRA'
24
22
  settings.issues.each do |issue_key|
25
23
  logger.info "Finding Issue: #{issue_key}"
@@ -1,3 +1,3 @@
1
1
  module Deployme
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen