groundskeeper-bitcore 0.7.0 → 0.8.0

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
  SHA256:
3
- metadata.gz: 0bd295d5af58954a081de68c39c133b4985677422a51beaf6d043ac82d11bdc4
4
- data.tar.gz: f244b3896659fb1ccacadac6b44269a5be33ee0014e7314d3cdf2df6c52fb3fe
3
+ metadata.gz: c42acd881127bee131fdf1527a0d2bfc514d63fb664f26302c3716d2cba974c0
4
+ data.tar.gz: bc2927f60462a8b649de263a5ecc575afaf13d41424560a1963e7b28dbc2b980
5
5
  SHA512:
6
- metadata.gz: 05e3fca17a23595feb2a84fdc461d3af5eeebb6277b46d7be8d49873956287719e15c8c1a3632ebecb5440940fd4fffb1c78ac16de362f923befe167f4cb06dc
7
- data.tar.gz: d3e98b560dd96913abee94dbc90f26e3501d32ecc41e2f1ec130dfc17ef55e498cdec1cb200b497f45246f80a933409add1eb881dd183c63871ace1a8369ecc7
6
+ metadata.gz: f45c5e3555520d9f9212a99145c8b568c119312c18dee4eadfd08d1837338cea7f459de29bfd4d9391af407889006313ce81203a2721bb628ad0001b6097ff7c
7
+ data.tar.gz: ee6eeaf2d42a1fb2d02b703e621ede7a68d1679344bb3dceb38a1a44c7ef8957d0c84ec80ddc8da62328d528f24bac7ad2cbdd707f223bbb184ab9c6b25e1f9c
data/README.md CHANGED
@@ -19,7 +19,7 @@ variables. One standard place to do this is in the `~/.bash_profile`:
19
19
 
20
20
  ```bash
21
21
  export JIRA_USERNAME="my-username"
22
- export JIRA_PASSWORD="my-password"
22
+ export JIRA_API_TOKEN="my-token"
23
23
  export JIRA_SITE="https://cbit123.atlassian.net"
24
24
  ```
25
25
 
@@ -22,7 +22,7 @@ module Groundskeeper
22
22
  @date = date
23
23
  end
24
24
 
25
- # rubocop:disable Performance/RedundantMatch,Performance/RegexpMatch
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,Performance/RegexpMatch
34
+ # rubocop:enable Performance/RedundantMatch
35
35
 
36
36
  private
37
37
 
@@ -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
- JIRA_PASSWORD_KEY = "JIRA_PASSWORD"
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[JIRA_PASSWORD_KEY],
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[JIRA_PASSWORD_KEY].present? &&
104
+ ENV[JIRA_API_TOKEN_KEY].present? &&
105
105
  ENV[JIRA_SITE_KEY].present?
106
106
  end
107
107
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Groundskeeper
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.0"
5
5
  end
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.7.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-05-20 00:00:00.000000000 Z
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
- rubyforge_project:
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.