apadmi_grout 2.3.1 → 2.3.2
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/CHANGELOG.md +3 -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: 9c2b3bf66e39fb59a2aa78864a22c847a4ce2cb56d111045bce2a45f4b4a3431
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 55d07c67f65c048ef492689f74b90f9f52e1c97a4faf385ee18777115e6c94f4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: e6389e3c9b81b3f577b49fd1dd40c74320fe25082b1eb421ca53a4c3d3b6b5bc194d0735746a309f40857aa8ab204f956cefdd3445c63b30502170dde32a6738
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 906d59910dedd1c6e96bd5ed43a76cccaaedaf8be6c1ce27d048bde5bbee3306b74695a14f3866d17d579e7c87e43822e7c322fcf113385aac8fb59974467781
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -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.3. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.3.2
         
     | 
| 
       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-04-06 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: faraday
         
     |