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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/apadmi/grout/utils/command_parsing_utils.rb +10 -1
- data/lib/apadmi/grout/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: f7b05dbffa45a449751c8ce0eb6a0b8f66e2bf4ef5b9aeaa41617b3af4ea0fde
|
4
|
+
data.tar.gz: b0b6bd5fbaa0459f2e76f285a521bdafc8e3317e492cd0ea7c4c58f7d5bfb8bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/lib/apadmi/grout/version.rb
CHANGED
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.
|
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
|
11
|
+
date: 2023-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|