fastlane-plugin-testbm 0.1.19 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
- 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/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: d8481becc0b4a76158af89fb26e9425804e8700540382bcd05be2ba2b1fcea93
|
4
|
+
data.tar.gz: e318fbd44d0b8dab25377e7a27258b017c3ba31bf63545589dbf754b30f6303d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6c21ba34521637cfcd6b89c8d238797d010e257cb12d68ba535f866f008a7409c5d575d35d9ce7ef57bb5fc694f8e9617fe289cbfb47d5b903f6071adf32169
|
7
|
+
data.tar.gz: af366a74f89293cc62c11141f39b9f3c55a77cbeff44d0bbb127f3fa9272c469259f693e80214076e21d34beed984ff8b79ce6e360854ca9b57748b862ffba99
|
@@ -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.24
|
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
|