fastlane-plugin-testbm 0.1.20 → 0.1.25

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 840bfbe54cca326ac344da1488fd7c98977ef154019e18eaa47ef17bce79a555
4
- data.tar.gz: b1859c305e01379e8eb98ee8ba530023ee7ca766d97af838a40a4587b7aecda3
3
+ metadata.gz: d34215f135f5b9cd51c67a76cda2db3d1486398c7869c7419af4d571b8723793
4
+ data.tar.gz: 3605da3fa96acd8a6deee83257fcd232e066cd955c5b663a88ba167c67c78a1b
5
5
  SHA512:
6
- metadata.gz: ac3e9e8ca955304ddcbe4305ed8cc2ba02307f669ad586f5f6c001830551b0228048ada5ecfa3609c6ff9452e3d6bb599e3d1953da46d2a7bb031ca2eeaeddaf
7
- data.tar.gz: 421693dad056dcaafd5d4d90a1a55043120605cdf6ed928034f9779dfdb84ccce0f35c89a4c9ad3bc1e3a784956a37464a59a539d22dc48a53479ffe9ff19173
6
+ metadata.gz: cbafb223d647034159631314564813027ae04cd1f4c26500e5d73ffe7a491604ad9a45b0a5a9e76b391d04726a444a00c52f5b0f76f2ed175ea8a6bae1ca3694
7
+ data.tar.gz: e9e51021dfeb3b1202dc1a7d6033dcf55eada7fc7db198c893f69befb06646f8fa8186f116787826e0b6d4ecfa10e5a3f68d08a2b9ebe5c9570056ad6e0a208f
@@ -0,0 +1,44 @@
1
+ require 'fastlane/action'
2
+
3
+ module Fastlane
4
+ module Actions
5
+ class BmbuildAction < Action
6
+ def self.run(params)
7
+ app_information = params[:app_information]
8
+ other_action.gradle(task:"assemble", build_type: app_information[:android][:build_type])
9
+ UI.message("Version built!")
10
+ end
11
+
12
+ def self.description
13
+ "TODO"
14
+ end
15
+
16
+ def self.authors
17
+ ["Bemobile"]
18
+ end
19
+
20
+ def self.return_value
21
+ "TODO # If your method provides a return value, you can describe here what it does"
22
+ end
23
+
24
+ def self.details
25
+ "TODO"
26
+ end
27
+
28
+ def self.available_options
29
+ [
30
+ FastlaneCore::ConfigItem.new(key: :app_information,
31
+ env_name: "APP_INFORMATION",
32
+ description: "The app information",
33
+ optional: false,
34
+ type: Hash)
35
+ ]
36
+ end
37
+
38
+ def self.is_supported?(platform)
39
+ true
40
+ end
41
+
42
+ end
43
+ end
44
+ end
@@ -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: Array),
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",
@@ -46,8 +46,8 @@ module Fastlane
46
46
  version_number = Actions.lane_context[Actions::SharedValues::VERSION_NUMBER]
47
47
  build_number = Actions.lane_context[Actions::SharedValues::BUILD_NUMBER]
48
48
  elsif
49
- version_number = File.read("./../version.name").to_s
50
- build_number = File.read("./../version.number").to_s
49
+ version_number = File.read("version.name").to_s
50
+ build_number = File.read("version.number").to_s
51
51
  end
52
52
 
53
53
  {build_number: build_number, version_number: version_number}
@@ -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("./../version.name").to_s
36
- build_number = File.read("./../version.number").to_s
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}
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Testbm
3
- VERSION = "0.1.20"
3
+ VERSION = "0.1.25"
4
4
  end
5
5
  end
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.20
4
+ version: 0.1.25
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-22 00:00:00.000000000 Z
11
+ date: 2021-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -145,6 +145,7 @@ files:
145
145
  - LICENSE
146
146
  - README.md
147
147
  - lib/fastlane/plugin/testbm.rb
148
+ - lib/fastlane/plugin/testbm/actions/bmbuild_action.rb
148
149
  - lib/fastlane/plugin/testbm/actions/bmdistribution_action.rb
149
150
  - lib/fastlane/plugin/testbm/actions/bminfo_action.rb
150
151
  - lib/fastlane/plugin/testbm/actions/bmslack_action.rb