fastlane-plugin-screenshotbot 0.2.0 → 0.3.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: 6da0791213788bcf8d133967cc501c8ed3a613cb9d894d53005f5100cb13ab8f
4
- data.tar.gz: ad2328fb402f2cf19ccbf6bde24e7117619a9f49ef129601df04cf240c03a60f
3
+ metadata.gz: ab2f2fbfcf118819838a2bfdea66381fe876c07c80c317234d441fa470bbcbb2
4
+ data.tar.gz: c73725c34718453eeb67142ebb904f15be52cd4ad8095842c97a485bd9d5b2cb
5
5
  SHA512:
6
- metadata.gz: b856574f0b384e83a4fc4a440959acaa6fa070c1f698d6647a5cddf5e03761c3fe6dc14c86a25e11b95aff250f4848aaaf462255a529e24ed89555d8de82300a
7
- data.tar.gz: e74a4c13ecb67007b4f32c45d1a618e202c96f0f46fb7992d22389a3a9db94da76ef8b005afd81f28fea32d2785b6e924da2538b87dc7078388d72d4f810e517
6
+ metadata.gz: e44a4d03f39cf060abab2386f8168c22b0578881570db8bd807fe87a408ef789f1b3bf8b9df07296dba4cdb11baf5fcbb06225675fbaf36f02ea8efb0b7b597f
7
+ data.tar.gz: df84ad457aafe953a573539cdc059d0245958c93f105335d652216f881b9b8dc83068ff5e00422454d22523533948795b0f3732cf99997dc052739edf66483e7
@@ -10,7 +10,8 @@ module Fastlane
10
10
  channel: "channel",
11
11
  api_key: "api-key",
12
12
  api_secret: "api-secret",
13
- repo_url: "repo-url"
13
+ repo_url: "repo-url",
14
+ api_hostname: "api-hostname"
14
15
  }
15
16
 
16
17
  command_params = {}
@@ -24,6 +25,7 @@ module Fastlane
24
25
  command_params[:api_key] = params[:api_key]
25
26
  command_params[:api_secret] = params[:api_secret]
26
27
  command_params[:repo_url] = params[:repo_url]
28
+ command_params[:api_hostname] = params[:api_hostname]
27
29
 
28
30
  command_params = command_params.compact
29
31
  command_params = command_params.map do |k, v|
@@ -87,12 +89,16 @@ module Fastlane
87
89
  type: Boolean,
88
90
  default_value: false),
89
91
  FastlaneCore::ConfigItem.new(key: :pr_destination,
90
- description: "Pull request destination branch",
92
+ description: "Pull request destination branch (required if is_pr is true)",
91
93
  env_name: "SCREENSHOTBOT_PR_DESTINATION_BRANCH",
92
94
  type: String,
93
95
  optional: true),
96
+ FastlaneCore::ConfigItem.new(key: :api_hostname,
97
+ description: "Alternative API hostname",
98
+ type: String,
99
+ optional: true),
94
100
  FastlaneCore::ConfigItem.new(key: :git_branch,
95
- description: "The current git branch",
101
+ description: "The current git branch (required if is_pr is false)",
96
102
  env_name: "SCREENSHOTBOT_CURRENT_BRANCH",
97
103
  type: String,
98
104
  optional: false),
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Screenshotbot
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-screenshotbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apadmi Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-09 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.216.0
19
+ version: 2.220.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: 2.216.0
26
+ version: 2.220.0
27
27
  description:
28
28
  email: opensource@apadmi.com
29
29
  executables: []