groundskeeper-bitcore 0.26.0 → 0.27.0

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: 487deba234c2f61bd24c532e024f46ab91bf615ef629dd7bebe98e0af2c8e1ca
4
- data.tar.gz: 051c6767dc1c7e3d55b53b7fb47ae049fb0aa55e6bf72f32949bc4a69befb583
3
+ metadata.gz: c0967a99ec4c66f0d12ed331e6f17c6bb58ce247a9fee5e79e9acc286358f9f2
4
+ data.tar.gz: ee544a0854c46b47ded3509b1aed80ddeec5e27e406f904a71bf3bee80ff013d
5
5
  SHA512:
6
- metadata.gz: 80f39b0dbeb4e1dcb1c83ad1ce380ab5338c14dc4283317f353e7b93ac83fb2328b160f86f53f4812d649e13f49e7fc13c9c014cb11fb0be92e1ae823ef533d3
7
- data.tar.gz: dd611aebef24842096a6a8e365bc4bc379c29cbefdff40ceeb8214553a5ca447b0f58f43a5d7aaf9afc19b51cbd4933f4d45f4f7d3600950d294c0cb19fb955f
6
+ metadata.gz: 246b4b67a0d5ed7bfe3c3db8c7557642fe911e9281ca46986b395d58bb509bd35d58e737282b9208dc21626d7ea6f5b89b32a8ea7e40adeeda9c3c41523b4a18
7
+ data.tar.gz: e649b4b4880d2c3246be3551aebb656602292c136dc55016b39692bbb437b9d490932577e80df468a92844fcb2233e026b0358ed75e8dbde1bf8760f66cab68a
@@ -55,7 +55,7 @@ module Groundskeeper
55
55
  # rubocop:enable Metrics/MethodLength
56
56
 
57
57
  def credentials?
58
- ENV[BITBUCKET_USERNAME].present? && ENV[BITBUCKET_APP_PASSWORD].present?
58
+ !ENV.fetch(BITBUCKET_USERNAME, "").empty? && !ENV.fetch(BITBUCKET_APP_PASSWORD, "").empty?
59
59
  end
60
60
 
61
61
  private
@@ -292,7 +292,8 @@ module Groundskeeper
292
292
  message = jira.add_version_to_remote_issues(
293
293
  next_jira_version_name, issue_ids
294
294
  )
295
- if message.blank?
295
+
296
+ if message.nil? || message.empty?
296
297
  console.say("# added version to Jira issues #{issue_ids}", :green)
297
298
  else
298
299
  announce_error(message)
@@ -104,9 +104,9 @@ module Groundskeeper
104
104
  end
105
105
 
106
106
  def credentials?
107
- ENV[JIRA_USERNAME_KEY].present? &&
108
- ENV[JIRA_API_TOKEN_KEY].present? &&
109
- ENV[JIRA_SITE_KEY].present?
107
+ !ENV.fetch(JIRA_USERNAME_KEY, "").empty? &&
108
+ !ENV.fetch(JIRA_API_TOKEN_KEY, "").empty? &&
109
+ !ENV.fetch(JIRA_SITE_KEY, "").empty?
110
110
  end
111
111
 
112
112
  # Returns the list of Jira issues found in a set of commit messages.
@@ -51,7 +51,7 @@ module Groundskeeper
51
51
  end
52
52
 
53
53
  def credentials?
54
- ENV[SENTRY_AUTH_TOKEN].present? && ENV[SENTRY_ORG].present?
54
+ !ENV.fetch(SENTRY_AUTH_TOKEN, "").empty? && !ENV.fetch(SENTRY_ORG, "").empty?
55
55
  end
56
56
  end
57
57
  end
@@ -31,9 +31,9 @@ module Groundskeeper
31
31
  end
32
32
 
33
33
  def credentials?
34
- ENV[SLACK_WORKSPACE_KEY].present? &&
35
- ENV[SLACK_CHANNEL_KEY].present? &&
36
- ENV[SLACK_TOKEN_KEY].present?
34
+ !ENV.fetch(SLACK_WORKSPACE_KEY, "").empty? &&
35
+ !ENV.fetch(SLACK_CHANNEL_KEY, "").empty? &&
36
+ !ENV.fetch(SLACK_TOKEN_KEY, "").empty?
37
37
  end
38
38
  end
39
39
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Groundskeeper
4
- VERSION = "0.26.0"
4
+ VERSION = "0.27.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groundskeeper-bitcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - RADD
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-13 00:00:00.000000000 Z
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jira-ruby