jira-auto-tool 1.1.3 → 1.1.5

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: c30cde3a6632dea83107fb626d9572d5b90e87531e63b7d3c2d366a4bbeb8ece
4
- data.tar.gz: cd60a72af22b6afba843eb89b976564743c0750be4348113ce026a0b27c59e47
3
+ metadata.gz: dcecb56b5f19c1cd8b4b54e50ccd801bff0e6179d0adc4c379855263dc698498
4
+ data.tar.gz: 021b5d028d7469d1466b324a69ace618d9973bde7c5c6f1b32df8adb1582d73a
5
5
  SHA512:
6
- metadata.gz: 82e96c4a837563cbebcc3d896eb356a9f0876a0d6fec8ec2e37b0db8c597c21f18e23ac972cfa302534a1b874220d5de8a97064fc6856bae5ac989fdfa2086cb
7
- data.tar.gz: f685845a4a42516cc8e4e520697f58846eb096707cb5c3251c0c56e6a9c329813d926775b25c4f7cfbe1dbfcacce84886824a01ac9207d722ea03c345ee885da
6
+ metadata.gz: 80c9790171b5014a76ffcae1eae4391e7afd30fd667a48e27bd952e78e1af711e19f5c34cb030782d553de21707610d8c552a17d404f4afd755678b45b56caec
7
+ data.tar.gz: 7e6ea437118ada049d32f04619224de79bf6f42c3882a02e2c741c510b8a33aa9888675773ce9a9abafd5ec0adfdb32b03af46c91868b6e3ee7882aa71812d8f
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  <%
3
- project_key = "PROJ"
3
+ project_key = "JATCIDEVLX"
4
4
  sprint_field_name = "Sprint"
5
5
  jira_username = "cbroult@yahoo.com"
6
6
  %>
@@ -12,10 +12,10 @@ IMPLEMENTATION_TEAM_FIELD_NAME: "Implementation Team"
12
12
  JAT_RATE_INTERVAL_IN_SECONDS:
13
13
  JAT_RATE_LIMIT_IN_SECONDS:
14
14
  JAT_TICKETS_FOR_TEAM_SPRINT_TICKET_DISPATCHER_JQL: "project = <%= project_key %> AND <%= sprint_field_name %> IS EMPTY"
15
- JIRA_BOARD_NAME: "<%= project_key %> - Your board name"
15
+ JIRA_BOARD_NAME: "<%= project_key %> - Delivery"
16
16
  JIRA_BOARD_NAME_REGEX: "<%= project_key %>|ART 16|unconventional board name"
17
- JIRA_CONTEXT_PATH: /jira
18
- JIRA_HTTP_DEBUG:
17
+ #JIRA_CONTEXT_PATH: /jira
18
+ JIRA_CONTEXT_PATH:
19
19
  JIRA_PROJECT_KEY: <%= project_key %>
20
20
  JIRA_SITE_URL: http://cbroult.atlassian.net:443/
21
21
  JIRA_SPRINT_FIELD_NAME: "<%= sprint_field_name %>"
@@ -64,7 +64,7 @@ module Jira
64
64
  private
65
65
 
66
66
  def setup
67
- config_values.each { |key, value| ENV[key] = value }
67
+ config_values.each { |key, value| ENV[key] = value.to_s }
68
68
  end
69
69
 
70
70
  def configuration_source_string
@@ -3,7 +3,7 @@
3
3
  module Jira
4
4
  module Auto
5
5
  class Tool
6
- VERSION = "1.1.3"
6
+ VERSION = "1.1.5"
7
7
  end
8
8
  end
9
9
  end
@@ -137,11 +137,13 @@ module Jira
137
137
  allow(environment_loader).to receive_messages(config_file_content: "file_content")
138
138
 
139
139
  allow(YAML)
140
- .to receive(:safe_load).with("file_content")
141
- .and_return({ "a_key" => "a_value", "another_key" => "another_value" })
140
+ .to receive(:safe_load)
141
+ .with("file_content")
142
+ .and_return({ "a_key" => "a_value", "another_key" => "another_value", "yet_another_key" => 16 })
142
143
 
143
144
  expect(ENV).to receive(:[]=).with("a_key", "a_value")
144
145
  expect(ENV).to receive(:[]=).with("another_key", "another_value")
146
+ expect(ENV).to receive(:[]=).with("yet_another_key", "16")
145
147
 
146
148
  environment_loader.send(:setup)
147
149
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jira-auto-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christophe Broult