apadmi_grout 2.3.1 → 2.4.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: 8a044d2b76db5a199809db40b238d152df0b91b85f0092730177b60a104b5f9d
4
- data.tar.gz: 9d46bc9e4c75765bd2fa056494af0cd42cfa72e623d331cac330da97388121cc
3
+ metadata.gz: f7b05dbffa45a449751c8ce0eb6a0b8f66e2bf4ef5b9aeaa41617b3af4ea0fde
4
+ data.tar.gz: b0b6bd5fbaa0459f2e76f285a521bdafc8e3317e492cd0ea7c4c58f7d5bfb8bb
5
5
  SHA512:
6
- metadata.gz: bb6d2a7ca64f3a9127ea8f625d1010e89e1febf0b25c787eaecacbe064e27da85ae82e587ed993c357fee1587e67c59cc41897712b4dc536e6b7ce9d6fb32dc9
7
- data.tar.gz: 674d00cfa25d7fce59f316dea0fd63ab2aef0b21ca31d4ed583c132cc679dda8ec3421e6b9339a47c60d4b12ea3a614f614a36f3e73581d570e2f015dad6a95c
6
+ metadata.gz: 596f948aa2b574e36f3cba0ed4a596332f95f7c24d23c1f817ac1baa851e392ecb67222a7e18e871d1ab2fcd666d4f626944224bc843c576595581db68ef5281
7
+ data.tar.gz: a1e727a0b3d8786525a0102cf736a9f50b04f9459edc58c81e418776b83ca913753e575152a92ac91040b98c6e920ed86140edfa43ceaaab24b42a28ec948d72
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Core Changelog
2
2
 
3
+ ## [2.4.0] - 2023-09-04
4
+ * No change - keeping version in sync with fastlane plugin.
5
+
6
+ ## [2.3.2] - 2023-04-06
7
+ * Add utility for parsing build variant from android build command
8
+
3
9
  ## [2.3.1] - 2023-04-05
4
10
  * Makes loading pull request information more robust for situations where a ticket has no PRs.
5
11
 
@@ -9,7 +9,7 @@ module Apadmi
9
9
  module Grout
10
10
  # Generic Command parsing Utils
11
11
  class CommandParsingUtils
12
- def self.determining_build_type(command)
12
+ def self.determine_build_type(command)
13
13
  raise "Command can't be blank" if command.blank?
14
14
 
15
15
  split = command.split(":", -1).last
@@ -19,6 +19,15 @@ module Apadmi
19
19
 
20
20
  raise "Could not determine if #{command} generates an apk or aab"
21
21
  end
22
+
23
+ def self.determine_variant(command)
24
+ raise "Command can't be blank" if command.blank?
25
+ raise "Command can't be blank" if command.strip == ":"
26
+
27
+ split = command.split(":", -1).last
28
+
29
+ split.delete_prefix("assemble").delete_prefix("bundle")
30
+ end
22
31
  end
23
32
  end
24
33
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Apadmi
4
4
  module Grout
5
- VERSION = "2.3.1"
5
+ VERSION = "2.4.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apadmi_grout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apadmi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-05 00:00:00.000000000 Z
11
+ date: 2023-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday