fastlane-plugin-testbm 0.1.18 → 0.1.23
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 +4 -4
- data/lib/fastlane/plugin/testbm/actions/bmdistribution_action.rb +3 -3
- data/lib/fastlane/plugin/testbm/actions/bminfo_action.rb +1 -1
- data/lib/fastlane/plugin/testbm/actions/bmversion_action.rb +2 -1
- data/lib/fastlane/plugin/testbm/actions/salutation_action.rb +1 -1
- data/lib/fastlane/plugin/testbm/actions/testbm_action.rb +0 -1
- data/lib/fastlane/plugin/testbm/helper/bm_helper.rb +2 -2
- data/lib/fastlane/plugin/testbm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1bd63f193ebfeffbc991a9f5d0f24abc526019099ecf9e283140e9fc5d7e7a2
|
|
4
|
+
data.tar.gz: 7edac16c8d8b43800266645b195318c1092f487e34d3348223ac4f0652240f3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c0f656a7b5f46d9845d5b817d62f98f33e46fb2813d5298b1277e439899cef6be1f419dc30df9f5ffc5c324ded325e325e6c1017b04ff5df451bb8aa3eb6f3e
|
|
7
|
+
data.tar.gz: 5780665f2c43ed4b5df390e5aa8e26d60ee2fc7e8f1c7bf33a5e2ff0d8432ac8b3ef69225139d7d98f97b10ab3b4d4b26ee7b0550dcd06a3ec748e7abc5e3b4a
|
|
@@ -2,7 +2,7 @@ require 'fastlane/action'
|
|
|
2
2
|
|
|
3
3
|
module Fastlane
|
|
4
4
|
module Actions
|
|
5
|
-
class BmdistributionAction
|
|
5
|
+
class BmdistributionAction < Action
|
|
6
6
|
def self.run(params)
|
|
7
7
|
app_information = params[:app_information]
|
|
8
8
|
platform_type = params[:platform_type]
|
|
@@ -30,9 +30,9 @@ module Fastlane
|
|
|
30
30
|
[
|
|
31
31
|
FastlaneCore::ConfigItem.new(key: :app_information,
|
|
32
32
|
env_name: "APP_INFORMATION",
|
|
33
|
-
description: "The app information including name, version
|
|
33
|
+
description: "The app information including name, version",
|
|
34
34
|
optional: false,
|
|
35
|
-
type:
|
|
35
|
+
type: Hash),
|
|
36
36
|
FastlaneCore::ConfigItem.new(key: :platform_type,
|
|
37
37
|
env_name: "PLATFORM_TYPE",
|
|
38
38
|
description: "Indicates platform wheter android or ios",
|
|
@@ -2,7 +2,7 @@ require 'fastlane/action'
|
|
|
2
2
|
|
|
3
3
|
module Fastlane
|
|
4
4
|
module Actions
|
|
5
|
-
class BmversionAction
|
|
5
|
+
class BmversionAction < Action
|
|
6
6
|
def self.run(params)
|
|
7
7
|
platform_type = params[:platform_type]
|
|
8
8
|
self.version_func_get_version(platform_type)
|
|
@@ -31,6 +31,7 @@ module Fastlane
|
|
|
31
31
|
description: "The platform, can be Android or iOS",
|
|
32
32
|
optional: false,
|
|
33
33
|
type: String)
|
|
34
|
+
]
|
|
34
35
|
end
|
|
35
36
|
|
|
36
37
|
def self.is_supported?(platform)
|
|
@@ -32,8 +32,8 @@ module Fastlane
|
|
|
32
32
|
version_number = Actions.lane_context[Actions::SharedValues::VERSION_NUMBER]
|
|
33
33
|
build_number = Actions.lane_context[Actions::SharedValues::BUILD_NUMBER]
|
|
34
34
|
elsif
|
|
35
|
-
version_number = File.read("
|
|
36
|
-
build_number = File.read("
|
|
35
|
+
version_number = File.read("../version.name").to_s
|
|
36
|
+
build_number = File.read("../version.number").to_s
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
{build_number: build_number, version_number: version_number}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-testbm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.23
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bemobile
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-01-
|
|
11
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|