fastlane-plugin-jira_util 0.1.5 → 0.1.9
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 +5 -5
- data/README.md +29 -12
- data/lib/fastlane/plugin/jira_util/actions/create_jira_issue.rb +64 -25
- data/lib/fastlane/plugin/jira_util/actions/create_jira_version.rb +6 -4
- data/lib/fastlane/plugin/jira_util/actions/create_or_update_jira_version.rb +186 -0
- data/lib/fastlane/plugin/jira_util/actions/release_jira_version.rb +3 -1
- data/lib/fastlane/plugin/jira_util/version.rb +1 -1
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '08734786ccc5a2b20f72a37e288838eb9b07d5b1a0454bef52fd9e2cc4a44cd6'
|
4
|
+
data.tar.gz: 8c854ea3e17683f8b5b9e1b246607036341cfd524dddeaf6fbcae6df0feff201
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 116d9e5347a4c6164b4b3e5f8f0ad8e1a5c0b75d232d39d6e7d6df853b2eeddeaa7f38a36e57d3c8d7811bc5dbc2b06e170d8d3ebafc4c414bcc725c14c2d24d
|
7
|
+
data.tar.gz: 582e526d151bf6c98f21e1e96fb1a8631903b3979db342eed678b74c175d91bb31e6c909d226ee74ddac67ae3d707d9935b7f86e13f208da16a9662536c3a9ec
|
data/README.md
CHANGED
@@ -14,7 +14,12 @@ fastlane add_plugin jira_util
|
|
14
14
|
|
15
15
|
Manage your JIRA project's releases/versions with this plugin.
|
16
16
|
|
17
|
-
Currently, jira_util comes with
|
17
|
+
Currently, jira_util comes with following actions actions: `create_jira_issue`, `create_jira_version`, `create_or_update_jira_version` and `release_jira_version`.
|
18
|
+
About actions:
|
19
|
+
* `create_jira_issue` - will create a new issue in your JIRA project.
|
20
|
+
* `create_jira_version` - will create a new version. It fails if version with same name already exists in JIRA project.
|
21
|
+
* `create_or_update_jira_version` - similar to `create_jira_version`, but will update existing version.
|
22
|
+
* `release_jira_version` - release existing version in JIRA project.
|
18
23
|
|
19
24
|
## Create Version Example
|
20
25
|
|
@@ -41,14 +46,26 @@ rubocop -a
|
|
41
46
|
|
42
47
|
For any other issues and feedback about this plugin, please submit it to this repository.
|
43
48
|
|
44
|
-
##
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
49
|
+
## Notes for developers
|
50
|
+
|
51
|
+
### Useful links
|
52
|
+
* This plugin uses jira-ruby gem. Here is jira-ruby [examples](https://github.com/sumoheavy/jira-ruby/blob/master/example.rb)
|
53
|
+
* How to create fastlane plugin [documentation](https://docs.fastlane.tools/plugins/create-plugin/)
|
54
|
+
|
55
|
+
### Rubygems how-to
|
56
|
+
* Buld
|
57
|
+
```shell
|
58
|
+
gem build fastlane-plugin-jira_util.gemspec
|
59
|
+
```
|
60
|
+
* Install local gem
|
61
|
+
```shell
|
62
|
+
gem install --local ./fastlane-plugin-jira_util-0.1.6.gem
|
63
|
+
```
|
64
|
+
* Publish
|
65
|
+
```shell
|
66
|
+
gem push fastlane-plugin-jira_util-0.1.6.gem
|
67
|
+
```
|
68
|
+
* Delete published version
|
69
|
+
```shell
|
70
|
+
gem yank fastlane-plugin-jira_util -v <version>
|
71
|
+
```
|
@@ -3,6 +3,7 @@ module Fastlane
|
|
3
3
|
module SharedValues
|
4
4
|
CREATE_JIRA_ISSUE_ISSUE_ID = :CREATE_JIRA_ISSUE_ISSUE_ID
|
5
5
|
CREATE_JIRA_ISSUE_ISSUE_KEY = :CREATE_JIRA_ISSUE_ISSUE_KEY
|
6
|
+
CREATE_JIRA_ISSUE_ISSUE_LINK = :CREATE_JIRA_ISSUE_ISSUE_LINK
|
6
7
|
end
|
7
8
|
|
8
9
|
class CreateJiraIssueAction < Action
|
@@ -20,6 +21,9 @@ module Fastlane
|
|
20
21
|
summary = params[:summary]
|
21
22
|
version_name = params[:version_name]
|
22
23
|
description = params[:description]
|
24
|
+
assignee = params[:assignee]
|
25
|
+
components = params[:components]
|
26
|
+
fields = params[:fields]
|
23
27
|
|
24
28
|
options = {
|
25
29
|
username: username,
|
@@ -35,43 +39,65 @@ module Fastlane
|
|
35
39
|
project = client.Project.find(project_name)
|
36
40
|
|
37
41
|
project_id = project.id
|
38
|
-
if project_id.nil?
|
39
|
-
|
40
|
-
|
42
|
+
raise ArgumentError.new("Project '#{project_name}' not found.") if project_id.nil?
|
43
|
+
|
44
|
+
issue_type = project.issueTypes.find { |type| type['name'] == issue_type_name }
|
45
|
+
raise ArgumentError.new("Issue type '#{issue_type_name}' not found.") if issue_type.nil?
|
46
|
+
|
47
|
+
version = project.versions.find { |version| version.name == version_name }
|
48
|
+
raise ArgumentError.new("Version '#{version_name}' not found.") if version.nil?
|
49
|
+
|
50
|
+
UI.message("Check jira issue assignee = #{assignee}")
|
51
|
+
unless assignee.nil?
|
52
|
+
# INFO: Need to set assegnee. Check if user exists
|
53
|
+
begin
|
54
|
+
assignee_user = client.User.find(assignee)
|
55
|
+
rescue JIRA::HTTPError
|
56
|
+
raise ArgumentError.new("Error when trying to find assignee '#{assignee}'.")
|
57
|
+
end
|
41
58
|
end
|
59
|
+
|
60
|
+
issue_fields = {
|
61
|
+
"issuetype" => {"id" => issue_type['id']},
|
62
|
+
"project" => { "id" => project_id },
|
63
|
+
"versions" => [{"id" => version.id }],
|
64
|
+
"summary" => summary,
|
65
|
+
"description" => description
|
66
|
+
}
|
42
67
|
|
43
|
-
|
44
|
-
|
45
|
-
raise "Issue type '#{issue_type_name}' not found."
|
46
|
-
return false
|
68
|
+
unless assignee.nil?
|
69
|
+
issue_fields[:assignee] = {'name' => assignee}
|
47
70
|
end
|
48
71
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
72
|
+
unless components.nil?
|
73
|
+
components_fields = components.map { |component_name| { :name => component_name }}
|
74
|
+
if components_fields.count > 0
|
75
|
+
issue_fields[:components] = components_fields
|
76
|
+
end
|
53
77
|
end
|
54
78
|
|
79
|
+
unless fields.nil?
|
80
|
+
issue_fields.merge!(fields) {|key, old, new| old}
|
81
|
+
end
|
82
|
+
|
83
|
+
UI.message("create jira issue with fields = #{issue_fields}")
|
84
|
+
|
55
85
|
issue = client.Issue.build
|
56
86
|
issue.save!({
|
57
|
-
"fields" =>
|
58
|
-
"issuetype" => {"id" => issue_type['id']},
|
59
|
-
"project" => { "id" => project_id },
|
60
|
-
"versions" => [{"id" => version.id }],
|
61
|
-
"summary" => summary,
|
62
|
-
"description" => description
|
63
|
-
}
|
87
|
+
"fields" => issue_fields
|
64
88
|
})
|
65
89
|
|
66
90
|
issue.fetch
|
91
|
+
issue_link = URI.join(params[:url], '/browse/', "#{issue.key}/").to_s
|
67
92
|
Actions.lane_context[SharedValues::CREATE_JIRA_ISSUE_ISSUE_ID] = issue.id
|
68
93
|
Actions.lane_context[SharedValues::CREATE_JIRA_ISSUE_ISSUE_KEY] = issue.key
|
94
|
+
Actions.lane_context[SharedValues::CREATE_JIRA_ISSUE_ISSUE_LINK] = issue_link
|
69
95
|
issue.id
|
70
96
|
rescue JIRA::HTTPError
|
71
|
-
UI.user_error!("Failed to create
|
97
|
+
UI.user_error!("Failed to create JIRA issue: #{$!.response.body}")
|
72
98
|
false
|
73
99
|
rescue
|
74
|
-
UI.user_error!("Failed to create
|
100
|
+
UI.user_error!("Failed to create JIRA issue: #{$!}")
|
75
101
|
false
|
76
102
|
end
|
77
103
|
|
@@ -90,10 +116,10 @@ module Fastlane
|
|
90
116
|
def self.available_options
|
91
117
|
[
|
92
118
|
FastlaneCore::ConfigItem.new(key: :url,
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
119
|
+
env_name: "FL_JIRA_UTIL_SITE",
|
120
|
+
description: "URL for Jira instance",
|
121
|
+
type: String,
|
122
|
+
verify_block: proc do |value|
|
97
123
|
UI.user_error!("No url for Jira given, pass using `url: 'url'`") unless value and !value.empty?
|
98
124
|
end),
|
99
125
|
FastlaneCore::ConfigItem.new(key: :username,
|
@@ -142,6 +168,18 @@ module Fastlane
|
|
142
168
|
env_name: "FL_CREATE_JIRA_ISSUE_DESCRIPTION",
|
143
169
|
description: "The description text of the issue. E.g. This is important issue",
|
144
170
|
type: String,
|
171
|
+
optional: true),
|
172
|
+
FastlaneCore::ConfigItem.new(key: :assignee,
|
173
|
+
description: "The assignee user name. E.g. smith",
|
174
|
+
type: String,
|
175
|
+
optional: true),
|
176
|
+
FastlaneCore::ConfigItem.new(key: :components,
|
177
|
+
description: "Array of component names (e.g. ['App', 'Installer'])",
|
178
|
+
type: Array,
|
179
|
+
optional: true),
|
180
|
+
FastlaneCore::ConfigItem.new(key: :fields,
|
181
|
+
description: "Hash with arbitrary JIRA fields. You can use this to set custom fields. Example: { 'customfield_123' => 'Test' }",
|
182
|
+
type: Hash,
|
145
183
|
optional: true)
|
146
184
|
]
|
147
185
|
end
|
@@ -149,7 +187,8 @@ module Fastlane
|
|
149
187
|
def self.output
|
150
188
|
[
|
151
189
|
['CREATE_JIRA_ISSUE_ISSUE_ID', 'The id for the newly created JIRA issue'],
|
152
|
-
['CREATE_JIRA_ISSUE_ISSUE_KEY', 'The key (e.g. MYPOJ-123) for the newly created JIRA issue']
|
190
|
+
['CREATE_JIRA_ISSUE_ISSUE_KEY', 'The key (e.g. MYPOJ-123) for the newly created JIRA issue'],
|
191
|
+
['CREATE_JIRA_ISSUE_ISSUE_LINK', 'The jira link to created issue (https://mycompany.jira.com/browse/MYPOJ-123)']
|
153
192
|
]
|
154
193
|
end
|
155
194
|
|
@@ -37,6 +37,7 @@ module Fastlane
|
|
37
37
|
project = client.Project.find(project_name)
|
38
38
|
project_id = project.id
|
39
39
|
end
|
40
|
+
raise ArgumentError.new("Project not found.") if project_id.nil?
|
40
41
|
|
41
42
|
if start_date.nil?
|
42
43
|
start_date = Date.today.to_s
|
@@ -51,11 +52,12 @@ module Fastlane
|
|
51
52
|
"startDate" => start_date,
|
52
53
|
"projectId" => project_id
|
53
54
|
})
|
55
|
+
|
54
56
|
version.fetch
|
55
57
|
Actions.lane_context[SharedValues::CREATE_JIRA_VERSION_VERSION_ID] = version.id
|
56
58
|
version.id
|
57
59
|
rescue
|
58
|
-
UI.user_error!("Failed to create
|
60
|
+
UI.user_error!("Failed to create JIRA version: #{$!.response.body}")
|
59
61
|
false
|
60
62
|
end
|
61
63
|
|
@@ -74,21 +76,21 @@ module Fastlane
|
|
74
76
|
def self.available_options
|
75
77
|
[
|
76
78
|
FastlaneCore::ConfigItem.new(key: :url,
|
77
|
-
env_name: "
|
79
|
+
env_name: "FL_JIRA_UTIL_SITE",
|
78
80
|
description: "URL for Jira instance",
|
79
81
|
type: String,
|
80
82
|
verify_block: proc do |value|
|
81
83
|
UI.user_error!("No url for Jira given, pass using `url: 'url'`") unless value and !value.empty?
|
82
84
|
end),
|
83
85
|
FastlaneCore::ConfigItem.new(key: :username,
|
84
|
-
env_name: "
|
86
|
+
env_name: "FL_JIRA_UTIL_USERNAME",
|
85
87
|
description: "Username for JIRA instance",
|
86
88
|
type: String,
|
87
89
|
verify_block: proc do |value|
|
88
90
|
UI.user_error!("No username given, pass using `username: 'jira_user'`") unless value and !value.empty?
|
89
91
|
end),
|
90
92
|
FastlaneCore::ConfigItem.new(key: :password,
|
91
|
-
env_name: "
|
93
|
+
env_name: "FL_JIRA_UTIL_PASSWORD",
|
92
94
|
description: "Password for Jira",
|
93
95
|
type: String,
|
94
96
|
verify_block: proc do |value|
|
@@ -0,0 +1,186 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
module SharedValues
|
4
|
+
CREATE_OR_UPDATE_JIRA_VERSION_VERSION_ID = :CREATE_OR_UPDATE_JIRA_VERSION_VERSION_ID
|
5
|
+
end
|
6
|
+
|
7
|
+
class CreateOrUpdateJiraVersionAction < Action
|
8
|
+
def self.run(params)
|
9
|
+
Actions.verify_gem!('jira-ruby')
|
10
|
+
require 'jira-ruby'
|
11
|
+
|
12
|
+
site = params[:url]
|
13
|
+
context_path = ""
|
14
|
+
auth_type = :basic
|
15
|
+
username = params[:username]
|
16
|
+
password = params[:password]
|
17
|
+
project_name = params[:project_name]
|
18
|
+
project_id = params[:project_id]
|
19
|
+
name = params[:name]
|
20
|
+
description = params[:description]
|
21
|
+
archived = params[:archived]
|
22
|
+
released = params[:released]
|
23
|
+
start_date = params[:start_date]
|
24
|
+
|
25
|
+
options = {
|
26
|
+
username: username,
|
27
|
+
password: password,
|
28
|
+
site: site,
|
29
|
+
context_path: context_path,
|
30
|
+
auth_type: auth_type,
|
31
|
+
read_timeout: 120
|
32
|
+
}
|
33
|
+
|
34
|
+
client = JIRA::Client.new(options)
|
35
|
+
|
36
|
+
unless project_name.nil?
|
37
|
+
project = client.Project.find(project_name)
|
38
|
+
project_id = project.id
|
39
|
+
end
|
40
|
+
raise ArgumentError.new("Project not found.") if project_id.nil?
|
41
|
+
|
42
|
+
if start_date.nil?
|
43
|
+
start_date = Date.today.to_s
|
44
|
+
end
|
45
|
+
|
46
|
+
# INFO: If version exist update it
|
47
|
+
version = project.versions.find { |version| version.name == name }
|
48
|
+
if version.nil?
|
49
|
+
version = client.Version.build
|
50
|
+
version.save!({
|
51
|
+
"description" => description,
|
52
|
+
"name" => name,
|
53
|
+
"archived" => archived,
|
54
|
+
"released" => released,
|
55
|
+
"startDate" => start_date,
|
56
|
+
"projectId" => project_id
|
57
|
+
})
|
58
|
+
else
|
59
|
+
version.save!({
|
60
|
+
"description" => description,
|
61
|
+
"archived" => archived,
|
62
|
+
"released" => released,
|
63
|
+
"startDate" => start_date,
|
64
|
+
})
|
65
|
+
end
|
66
|
+
|
67
|
+
version.fetch
|
68
|
+
Actions.lane_context[SharedValues::CREATE_OR_UPDATE_JIRA_VERSION_VERSION_ID] = version.id
|
69
|
+
version.id
|
70
|
+
rescue
|
71
|
+
UI.user_error!("Failed to create JIRA version: #{$!.response.body}")
|
72
|
+
false
|
73
|
+
end
|
74
|
+
|
75
|
+
#####################################################
|
76
|
+
# @!group Documentation
|
77
|
+
#####################################################
|
78
|
+
|
79
|
+
def self.description
|
80
|
+
"Creates a new version in your JIRA project"
|
81
|
+
end
|
82
|
+
|
83
|
+
def self.details
|
84
|
+
"Use this action to create a new version in JIRA"
|
85
|
+
end
|
86
|
+
|
87
|
+
def self.available_options
|
88
|
+
[
|
89
|
+
FastlaneCore::ConfigItem.new(key: :url,
|
90
|
+
env_name: "FL_JIRA_UTIL_SITE",
|
91
|
+
description: "URL for Jira instance",
|
92
|
+
type: String,
|
93
|
+
verify_block: proc do |value|
|
94
|
+
UI.user_error!("No url for Jira given, pass using `url: 'url'`") unless value and !value.empty?
|
95
|
+
end),
|
96
|
+
FastlaneCore::ConfigItem.new(key: :username,
|
97
|
+
env_name: "FL_JIRA_UTIL_USERNAME",
|
98
|
+
description: "Username for JIRA instance",
|
99
|
+
type: String,
|
100
|
+
verify_block: proc do |value|
|
101
|
+
UI.user_error!("No username given, pass using `username: 'jira_user'`") unless value and !value.empty?
|
102
|
+
end),
|
103
|
+
FastlaneCore::ConfigItem.new(key: :password,
|
104
|
+
env_name: "FL_JIRA_UTIL_PASSWORD",
|
105
|
+
description: "Password for Jira",
|
106
|
+
type: String,
|
107
|
+
verify_block: proc do |value|
|
108
|
+
UI.user_error!("No password given, pass using `password: 'T0PS3CR3T'`") unless value and !value.empty?
|
109
|
+
end),
|
110
|
+
FastlaneCore::ConfigItem.new(key: :project_name,
|
111
|
+
env_name: "FL_CREATE_OR_UPDATE_JIRA_VERSION_PROJECT_NAME",
|
112
|
+
description: "Project ID for the JIRA project. E.g. the short abbreviation in the JIRA ticket tags",
|
113
|
+
type: String,
|
114
|
+
optional: true,
|
115
|
+
conflicting_options: [:project_id],
|
116
|
+
conflict_block: proc do |value|
|
117
|
+
UI.user_error!("You can't use 'project_name' and '#{project_id}' options in one run")
|
118
|
+
end,
|
119
|
+
verify_block: proc do |value|
|
120
|
+
UI.user_error!("No Project ID given, pass using `project_id: 'PROJID'`") unless value and !value.empty?
|
121
|
+
end),
|
122
|
+
FastlaneCore::ConfigItem.new(key: :project_id,
|
123
|
+
env_name: "FL_CREATE_OR_UPDATE_JIRA_VERSION_PROJECT_ID",
|
124
|
+
description: "Project ID for the JIRA project. E.g. the short abbreviation in the JIRA ticket tags",
|
125
|
+
type: String,
|
126
|
+
optional: true,
|
127
|
+
conflicting_options: [:project_name],
|
128
|
+
conflict_block: proc do |value|
|
129
|
+
UI.user_error!("You can't use 'project_id' and '#{project_name}' options in one run")
|
130
|
+
end,
|
131
|
+
verify_block: proc do |value|
|
132
|
+
UI.user_error!("No Project ID given, pass using `project_id: 'PROJID'`") unless value and !value.empty?
|
133
|
+
end),
|
134
|
+
FastlaneCore::ConfigItem.new(key: :name,
|
135
|
+
env_name: "FL_CREATE_OR_UPDATE_JIRA_VERSION_NAME",
|
136
|
+
description: "The name of the version. E.g. 1.0.0",
|
137
|
+
type: String,
|
138
|
+
verify_block: proc do |value|
|
139
|
+
UI.user_error!("No version name given, pass using `name: '1.0.0'`") unless value and !value.empty?
|
140
|
+
end),
|
141
|
+
FastlaneCore::ConfigItem.new(key: :description,
|
142
|
+
env_name: "FL_CREATE_OR_UPDATE_JIRA_VERSION_DESCRIPTION",
|
143
|
+
description: "The description of the JIRA project version",
|
144
|
+
type: String,
|
145
|
+
optional: true,
|
146
|
+
default_value: ''),
|
147
|
+
FastlaneCore::ConfigItem.new(key: :archived,
|
148
|
+
env_name: "FL_CREATE_OR_UPDATE_JIRA_VERSION_ARCHIVED",
|
149
|
+
description: "Whether the version should be archived",
|
150
|
+
optional: true,
|
151
|
+
default_value: false),
|
152
|
+
FastlaneCore::ConfigItem.new(key: :released,
|
153
|
+
env_name: "FL_CREATE_OR_UPDATE_JIRA_VERSION_CREATED",
|
154
|
+
description: "Whether the version should be released",
|
155
|
+
optional: true,
|
156
|
+
default_value: false),
|
157
|
+
FastlaneCore::ConfigItem.new(key: :start_date,
|
158
|
+
env_name: "FL_CREATE_OR_UPDATE_JIRA_VERSION_START_DATE",
|
159
|
+
description: "The date this version will start on",
|
160
|
+
type: String,
|
161
|
+
is_string: true,
|
162
|
+
optional: true,
|
163
|
+
default_value: Date.today.to_s)
|
164
|
+
]
|
165
|
+
end
|
166
|
+
|
167
|
+
def self.output
|
168
|
+
[
|
169
|
+
['CREATE_OR_UPDATE_JIRA_VERSION_VERSION_ID', 'The versionId for the newly created JIRA project version']
|
170
|
+
]
|
171
|
+
end
|
172
|
+
|
173
|
+
def self.return_value
|
174
|
+
'The versionId for the newly create JIRA project version'
|
175
|
+
end
|
176
|
+
|
177
|
+
def self.authors
|
178
|
+
[ "https://github.com/alexeyn-martynov" ]
|
179
|
+
end
|
180
|
+
|
181
|
+
def self.is_supported?(platform)
|
182
|
+
true
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
@@ -36,6 +36,7 @@ module Fastlane
|
|
36
36
|
project = client.Project.find(project_name)
|
37
37
|
project_id = project.id
|
38
38
|
end
|
39
|
+
raise ArgumentError.new("Project not found.") if project_id.nil?
|
39
40
|
|
40
41
|
version = project.versions.find { |version| version.name == name }
|
41
42
|
if version.nil?
|
@@ -52,6 +53,7 @@ module Fastlane
|
|
52
53
|
"projectId" => project_id,
|
53
54
|
"name" => new_name
|
54
55
|
})
|
56
|
+
|
55
57
|
version.fetch
|
56
58
|
Actions.lane_context[SharedValues::RELEASE_JIRA_VERSION_VERSION_ID] = version.id
|
57
59
|
version.id
|
@@ -59,7 +61,7 @@ module Fastlane
|
|
59
61
|
UI.user_error!("#{$!}")
|
60
62
|
false
|
61
63
|
rescue JIRA::HTTPError
|
62
|
-
UI.user_error!("Failed to release
|
64
|
+
UI.user_error!("Failed to release JIRA version: #{$!.response.body}")
|
63
65
|
false
|
64
66
|
end
|
65
67
|
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-jira_util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- "%q{Alexey Martynov}"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jira-ruby
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.7.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec_junit_formatter
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
@@ -112,46 +112,46 @@ dependencies:
|
|
112
112
|
name: rubocop-require_tools
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: simplecov
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: fastlane
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 2.
|
145
|
+
version: 2.134.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 2.
|
152
|
+
version: 2.134.0
|
153
153
|
description:
|
154
|
-
email:
|
154
|
+
email: "%q{alexeyn.martynov@gmail.com}"
|
155
155
|
executables: []
|
156
156
|
extensions: []
|
157
157
|
extra_rdoc_files: []
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- lib/fastlane/plugin/jira_util.rb
|
162
162
|
- lib/fastlane/plugin/jira_util/actions/create_jira_issue.rb
|
163
163
|
- lib/fastlane/plugin/jira_util/actions/create_jira_version.rb
|
164
|
+
- lib/fastlane/plugin/jira_util/actions/create_or_update_jira_version.rb
|
164
165
|
- lib/fastlane/plugin/jira_util/actions/release_jira_version.rb
|
165
166
|
- lib/fastlane/plugin/jira_util/helper/jira_util_helper.rb
|
166
167
|
- lib/fastlane/plugin/jira_util/version.rb
|
@@ -174,18 +175,17 @@ require_paths:
|
|
174
175
|
- lib
|
175
176
|
required_ruby_version: !ruby/object:Gem::Requirement
|
176
177
|
requirements:
|
177
|
-
- -
|
178
|
+
- - ">="
|
178
179
|
- !ruby/object:Gem::Version
|
179
180
|
version: '0'
|
180
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
182
|
requirements:
|
182
|
-
- -
|
183
|
+
- - ">="
|
183
184
|
- !ruby/object:Gem::Version
|
184
185
|
version: '0'
|
185
186
|
requirements: []
|
186
|
-
|
187
|
-
rubygems_version: 2.6.14
|
187
|
+
rubygems_version: 3.0.3
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
|
-
summary:
|
190
|
+
summary: "%q{Create JIRA issues and manage versions with this plugin}"
|
191
191
|
test_files: []
|