groundskeeper-bitcore 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/groundskeeper/changelog.rb +2 -2
- data/lib/groundskeeper/jira.rb +3 -3
- data/lib/groundskeeper/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c42acd881127bee131fdf1527a0d2bfc514d63fb664f26302c3716d2cba974c0
|
4
|
+
data.tar.gz: bc2927f60462a8b649de263a5ecc575afaf13d41424560a1963e7b28dbc2b980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45c5e3555520d9f9212a99145c8b568c119312c18dee4eadfd08d1837338cea7f459de29bfd4d9391af407889006313ce81203a2721bb628ad0001b6097ff7c
|
7
|
+
data.tar.gz: ee6eeaf2d42a1fb2d02b703e621ede7a68d1679344bb3dceb38a1a44c7ef8957d0c84ec80ddc8da62328d528f24bac7ad2cbdd707f223bbb184ab9c6b25e1f9c
|
data/README.md
CHANGED
@@ -22,7 +22,7 @@ module Groundskeeper
|
|
22
22
|
@date = date
|
23
23
|
end
|
24
24
|
|
25
|
-
# rubocop:disable Performance/RedundantMatch
|
25
|
+
# rubocop:disable Performance/RedundantMatch
|
26
26
|
def update_file(version, changes)
|
27
27
|
unless document.match(/(#{TITLE_EXPRESSION})/)
|
28
28
|
document.prepend_file("#{TITLE_EXPRESSION}\n\n")
|
@@ -31,7 +31,7 @@ module Groundskeeper
|
|
31
31
|
document
|
32
32
|
.append_to_file(TITLE_EXPRESSION, version_template(version, changes))
|
33
33
|
end
|
34
|
-
# rubocop:enable Performance/RedundantMatch
|
34
|
+
# rubocop:enable Performance/RedundantMatch
|
35
35
|
|
36
36
|
private
|
37
37
|
|
data/lib/groundskeeper/jira.rb
CHANGED
@@ -8,7 +8,7 @@ module Groundskeeper
|
|
8
8
|
# Wraps an interface to Jira.
|
9
9
|
class Jira
|
10
10
|
JIRA_USERNAME_KEY = "JIRA_USERNAME"
|
11
|
-
|
11
|
+
JIRA_API_TOKEN_KEY = "JIRA_API_TOKEN"
|
12
12
|
JIRA_SITE_KEY = "JIRA_SITE"
|
13
13
|
DEPLOY_TO_STAGING = "Deploy to Staging"
|
14
14
|
DEPLOY_TO_PRODUCTION = "Deploy to Production"
|
@@ -28,7 +28,7 @@ module Groundskeeper
|
|
28
28
|
def initialize
|
29
29
|
@client = JIRA::Client.new(
|
30
30
|
username: ENV[JIRA_USERNAME_KEY],
|
31
|
-
password: ENV[
|
31
|
+
password: ENV[JIRA_API_TOKEN_KEY],
|
32
32
|
site: ENV[JIRA_SITE_KEY],
|
33
33
|
context_path: "",
|
34
34
|
auth_type: :basic,
|
@@ -101,7 +101,7 @@ module Groundskeeper
|
|
101
101
|
|
102
102
|
def credentials?
|
103
103
|
ENV[JIRA_USERNAME_KEY].present? &&
|
104
|
-
ENV[
|
104
|
+
ENV[JIRA_API_TOKEN_KEY].present? &&
|
105
105
|
ENV[JIRA_SITE_KEY].present?
|
106
106
|
end
|
107
107
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groundskeeper-bitcore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BIT Core
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- certs/ericcf.pem
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jira-ruby
|
@@ -220,8 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
220
|
- !ruby/object:Gem::Version
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
|
-
|
224
|
-
rubygems_version: 2.7.9
|
223
|
+
rubygems_version: 3.0.2
|
225
224
|
signing_key:
|
226
225
|
specification_version: 4
|
227
226
|
summary: A gem for managing releases and deployments.
|