fastlane-plugin-jira_set_feature_build 1.0.2 → 1.0.4.3

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: 0b48bb2f1cf00d1534345886c0fd5d6ec16e43c8389da23486ce6edc82661a14
4
- data.tar.gz: 2f4f2f032367f37bf90d12ff49238ecfe7247da886a5c73fe7c2e34e0c969b0b
3
+ metadata.gz: a0e4fbc7b4599040d1aa43d68aa1703b278600686d3efc55db2988aeacff6578
4
+ data.tar.gz: f3ba950a4cf55102b3b1050407bfe874032159369478a99a94ffd9bc97a1e3ce
5
5
  SHA512:
6
- metadata.gz: 30d97ec455e2bf82cb16429cb76a4aa3d1f01f3f11fdbfd606ad0da54029701b6d81fb8f3b48d55679b3a9e991d950b0c3bd794703336178ea72e8c34369f556
7
- data.tar.gz: e254fba1fe8dc99a800d6c89088b5a38af0da19493d43c234f0e3135f43681bc8fb858e63a96bb824ef8f4cd00256998f2d267230dc3cf9b6066e7df2aebf2b9
6
+ metadata.gz: 3cce9ded3f14a064f0e567093699ba4a1f0f6dc95b6acdc33bfe650908e9968c5c49de55936717978ad0e519ca86b6ef716363fad8a3ba9cd45e1ebca5a34857
7
+ data.tar.gz: 7e796b06545995aeefedaa40cf65acce92975950c5462ee97f51df439271aa8cce4d75d7ff179511ffc170ab3a054f7aa06df204c4fb4b9e32b32e4c11b41d83
@@ -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,53 +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 version name given, pass using `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 version name given, pass using `url: 'http://someurl'`") 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
156
- 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.2"
3
+ VERSION = "1.0.4.3"
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.2
4
+ version: 1.0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy Sadiq Hinrichsen