fastlane-plugin-jira_set_feature_build 1.0.4 → 1.0.4.1

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: 9f6ae2940a5d860b1c1e357bb7b35596b7f0029a15ae08466898390917d13bf8
4
- data.tar.gz: 81f3ac42da1b17356023adff8b0a459a05b7f8a936bd6e7bf7ef3cca2635cbf4
3
+ metadata.gz: defb9a27e9d9de69475f054ea54f6490d83c280223045333dc8d413c17722a22
4
+ data.tar.gz: fb8bb426f1d9758f011db5594204971f54b3b9b8d1970b3c56524689d922335b
5
5
  SHA512:
6
- metadata.gz: 41fbb332a5ceec1d2eaa7f391f109c1ef35d4a719704778888767f237f09a9913f5812fe04210c2a08696faa9f80cb60c5708a562b91c252ed53a2363620c94b
7
- data.tar.gz: bea7329125ea5949cc3575f589c75427e7dae49baad49c2eee692119fa620e3730e63b9e021583fb8c9375be59e3341e3c83d021b5bcbee53c7eb07dad9c05f4
6
+ metadata.gz: c93a75255247f928fbb34294de4a2d325a01293e75fe725621c1f39679f0a0d42ddbe0b25f3c0966938ed5843dd309940d9bda69d0707dc6787bc8e89edb8900
7
+ data.tar.gz: 691331550773de9b708486731533393c0c0d669ce8489a75e9c005fbfb8408850493bba100d4bf40463eb72037f43b3a203ce821fc485884ce3c6975c5ab84c8
@@ -92,7 +92,10 @@ module Fastlane
92
92
 
93
93
  def self.details
94
94
  "This action requires jira-ruby gem"
95
-
95
+ end
96
+
97
+ def self.is_supported?(platform)
98
+ true
96
99
  end
97
100
 
98
101
  def self.available_options
@@ -104,52 +107,48 @@ module Fastlane
104
107
  verify_block: proc do |value|
105
108
  UI.user_error!("No url for Jira given, pass using `url: 'url'`") unless value and !value.empty?
106
109
  end),
107
- FastlaneCore::ConfigItem.new(key: :username,
108
- env_name: "FL_CREATE_JIRA_VERSION_USERNAME",
109
- description: "Username for JIRA instance",
110
- type: String,
111
- verify_block: proc do |value|
112
- UI.user_error!("No username given, pass using `username: 'jira_user'`") unless value and !value.empty?
113
- end),
114
- FastlaneCore::ConfigItem.new(key: :password,
115
- env_name: "FL_CREATE_JIRA_VERSION_PASSWORD",
116
- description: "Password for Jira",
117
- type: String,
118
- verify_block: proc do |value|
119
- UI.user_error!("No password given, pass using `password: 'T0PS3CR3T'`") unless value and !value.empty?
120
- end),
121
- FastlaneCore::ConfigItem.new(key: :project_name,
122
- env_name: "FL_CREATE_JIRA_VERSION_PROJECT_NAME",
123
- description: "Project ID for the JIRA project. E.g. the short abbreviation in the JIRA ticket tags",
124
- type: String,
125
- optional: true,
126
- conflicting_options: [:project_id],
127
- conflict_block: proc do |value|
128
- UI.user_error!("You can't use 'project_name' and '#{project_id}' options in one run")
129
- end,
130
- verify_block: proc do |value|
131
- UI.user_error!("No Project ID given, pass using `project_id: 'PROJID'`") unless value and !value.empty?
132
- end),
133
- FastlaneCore::ConfigItem.new(key: :feature_build_url,
134
- env_name: "FL_CREATE_JIRA_FEATURE_BUILD_URL",
135
- description: "The url of the feature build from the CI job",
136
- type: String,
137
- verify_block: proc do |value|
138
- UI.user_error!("No URL given, pass using `feature_build_url: 'http://someurl'`") unless value and !value.empty?
139
- end),
140
- FastlaneCore::ConfigItem.new(key: :ticket_reference,
141
- env_name: "FL_CREATE_JIRA_TICKET_REFERENCE",
142
- description: "The ticket reference on JIRA",
143
- type: String,
144
- verify_block: proc do |value|
145
- UI.user_error!("No ticket reference given, pass using `ticket_reference: 'APPS-1234'`") unless value and !value.empty?
146
- end),
147
- ]
148
- end
149
-
150
- def self.is_supported?(platform)
151
- true
152
- end
153
- end
154
- end
155
- end
110
+ FastlaneCore::ConfigItem.new(key: :username,
111
+ env_name: "FL_CREATE_JIRA_VERSION_USERNAME",
112
+ description: "Username for JIRA instance",
113
+ type: String,
114
+ verify_block: proc do |value|
115
+ UI.user_error!("No username given, pass using `username: 'jira_user'`") unless value and !value.empty?
116
+ end),
117
+ FastlaneCore::ConfigItem.new(key: :password,
118
+ env_name: "FL_CREATE_JIRA_VERSION_PASSWORD",
119
+ description: "Password for Jira",
120
+ type: String,
121
+ verify_block: proc do |value|
122
+ UI.user_error!("No password given, pass using `password: 'T0PS3CR3T'`") unless value and !value.empty?
123
+ end),
124
+ FastlaneCore::ConfigItem.new(key: :project_name,
125
+ env_name: "FL_CREATE_JIRA_VERSION_PROJECT_NAME",
126
+ description: "Project ID for the JIRA project. E.g. the short abbreviation in the JIRA ticket tags",
127
+ type: String,
128
+ optional: true,
129
+ conflicting_options: [:project_id],
130
+ conflict_block: proc do |value|
131
+ UI.user_error!("You can't use 'project_name' and '#{project_id}' options in one run")
132
+ end,
133
+ verify_block: proc do |value|
134
+ UI.user_error!("No Project ID given, pass using `project_id: 'PROJID'`") unless value and !value.empty?
135
+ end),
136
+ FastlaneCore::ConfigItem.new(key: :feature_build_url,
137
+ env_name: "FL_CREATE_JIRA_FEATURE_BUILD_URL",
138
+ description: "The url of the feature build from the CI job",
139
+ type: String,
140
+ verify_block: proc do |value|
141
+ UI.user_error!("No URL given, pass using `feature_build_url: 'http://someurl'`") unless value and !value.empty?
142
+ end),
143
+ FastlaneCore::ConfigItem.new(key: :ticket_reference,
144
+ env_name: "FL_CREATE_JIRA_TICKET_REFERENCE",
145
+ description: "The ticket reference on JIRA",
146
+ type: String,
147
+ verify_block: proc do |value|
148
+ UI.user_error!("No ticket reference given, pass using `ticket_reference: 'APPS-1234'`") unless value and !value.empty?
149
+ end),
150
+ ]
151
+ end
152
+ end
153
+ end
154
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module JiraSetFeatureBuild
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-jira_set_feature_build
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy Sadiq Hinrichsen