tefoji 1.0.10 → 1.1.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: f8859212ce735cdc0292cbbf58899931446e7a0b90e330899c15f277d071e723
4
- data.tar.gz: 41baa8c0faa84d4c058adf946eb0a9944a8a997a464a9c83c172b7eb191e19d7
3
+ metadata.gz: b048f1a4325a22d2fa736626f148827792639424d448ccc0d5a09250e250bdfa
4
+ data.tar.gz: 8350c3e8d0fdf3ad2ecfdf922ef654b37ddd86f9e44b4358cc713bf54cb462b8
5
5
  SHA512:
6
- metadata.gz: 8e4ca95fd24a97cbe1d24c25885abf7cad21a1ec135c2c346bd5e349b583403419c10c98d07ada2ffd5a44bcbc64aedfbce7ff97c754e9ce77c93b2a96133443
7
- data.tar.gz: bd8c63324127e9d2a291af0d489fcb739d99d587c95360aacb1b5164003ec267c832bd30ad98dd57da399c071f17929dc6aa0605375f3b0554bfe9f6e165d44b
6
+ metadata.gz: fd6187add4fe25d2ea7ebcc3aadc8346cfbfeae133e1fc4c366dad99395cfcbddd0aa6c024caa9f86676651037dcacdf0f1092a98ab0a2d1cc74a9033ab7dd7c
7
+ data.tar.gz: 2d5fe6518a6a174aeb033e006fa92b168f5115bb4526cb7dbbce2b177ac185bb79b795fcf7e43e86e63f063150bb5e5e6ad2fee28f17251010bbe2d319efd4c7
data/lib/tefoji/cli.rb CHANGED
@@ -6,7 +6,7 @@ require 'yaml'
6
6
  module Tefoji
7
7
  class CLI
8
8
  DEFAULT_JIRA_URL = 'https://tickets.puppetlabs.com'
9
- JIRA_TEST_URL = 'https://jira-app-dev-1.ops.puppetlabs.net'
9
+ JIRA_TEST_URL = 'https://jira-app-test-1.ops.puppetlabs.net/'
10
10
  DEFAULT_JIRA_AUTH_FILE = "#{ENV['HOME']}/.tefoji-auth.yaml"
11
11
  JIRA_CLOUD_URLS = [
12
12
  'https://puppet.atlassian.net'
@@ -23,7 +23,6 @@ module Tefoji
23
23
 
24
24
  ## Issue type constants
25
25
  ISSUE_EPIC = 'Epic'
26
- ISSUE_FEATURE = 'Feature'
27
26
  ISSUE_NEW_FEATURE = 'New Feature'
28
27
  ISSUE_SUB_TASK = 'Sub-task'
29
28
  ISSUE_TASK = 'Task'
data/lib/tefoji.rb CHANGED
@@ -298,7 +298,8 @@ module Tefoji
298
298
  feature_to_do = @template_data['feature']
299
299
 
300
300
  feature = variable_substitute(feature_to_do)
301
- feature['type'] = JiraApi::ISSUE_FEATURE
301
+ feature['type'] = JiraApi::ISSUE_NEW_FEATURE
302
+
302
303
  @feature_issue = @jira_api.create_issue(feature, @jira_cloud)
303
304
  @logger.info "Feature issue: #{@feature_issue['key']}"
304
305
  @feature_issue
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tefoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-20 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry-byebug