fastlane-plugin-versioning 0.4.4 → 0.4.5
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:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a1f3c3811fd467e7d69c94314d4847e624fb962f5b32b52bc0f1e752b3fc6255
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 3ef305e276491b37de4c7f7067fc8e1e5d0f6e10ce4fe36b5ad5ddc9e5d2809c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c26a7e8269c4d60aabab4d1c04323cedbd91c74df6042431275537fe1f3b6496526d66a93f317e60cd7b79d3db7c1b0c2cf9c40986b6b0dddef41f044e4f2509
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: fe91e4da9d9aeccb554f81bd9160bd40e41aea4414f68be97340ec26524c822af0737191d21c02d7d85c0cae922ad3088fda94f47ab352cc782f4ca64b839eb0
         
     | 
| 
         @@ -68,11 +68,12 @@ module Fastlane 
     | 
|
| 
       68 
68 
     | 
    
         
             
                  end
         
     | 
| 
       69 
69 
     | 
    
         | 
| 
       70 
70 
     | 
    
         
             
                  def self.set_build_number_using_scheme(params, next_build_number)
         
     | 
| 
       71 
     | 
    
         
            -
                     
     | 
| 
       72 
     | 
    
         
            -
                     
     | 
| 
       73 
     | 
    
         
            -
                     
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
                     
     | 
| 
      
 71 
     | 
    
         
            +
                    project = Xcodeproj::Project.open(params[:xcodeproj])
         
     | 
| 
      
 72 
     | 
    
         
            +
                    configs = project.objects.select { |obj| select_build_configuration_predicate(params[:build_configuration_name], obj) }
         
     | 
| 
      
 73 
     | 
    
         
            +
                    configs.each do |config|
         
     | 
| 
      
 74 
     | 
    
         
            +
                      config.build_settings["CURRENT_PROJECT_VERSION"] = next_build_number
         
     | 
| 
      
 75 
     | 
    
         
            +
                    end
         
     | 
| 
      
 76 
     | 
    
         
            +
                    
         
     | 
| 
       76 
77 
     | 
    
         
             
                    project.save
         
     | 
| 
       77 
78 
     | 
    
         
             
                  end
         
     | 
| 
       78 
79 
     | 
    
         | 
| 
         @@ -115,7 +116,7 @@ module Fastlane 
     | 
|
| 
       115 
116 
     | 
    
         
             
                  end
         
     | 
| 
       116 
117 
     | 
    
         | 
| 
       117 
118 
     | 
    
         
             
                  def self.authors
         
     | 
| 
       118 
     | 
    
         
            -
                    ["jdouglas-nz"]
         
     | 
| 
      
 119 
     | 
    
         
            +
                    ["jdouglas-nz", "neilb01"]
         
     | 
| 
       119 
120 
     | 
    
         
             
                  end
         
     | 
| 
       120 
121 
     | 
    
         | 
| 
       121 
122 
     | 
    
         
             
                  def self.is_supported?(platform)
         
     | 
| 
         @@ -88,12 +88,12 @@ module Fastlane 
     | 
|
| 
       88 
88 
     | 
    
         
             
                  end
         
     | 
| 
       89 
89 
     | 
    
         | 
| 
       90 
90 
     | 
    
         
             
                  def self.set_version_number_using_scheme(params, next_version_number)
         
     | 
| 
       91 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
       95 
     | 
    
         
            -
             
     | 
| 
       96 
     | 
    
         
            -
             
     | 
| 
      
 91 
     | 
    
         
            +
                      project = Xcodeproj::Project.open(params[:xcodeproj])
         
     | 
| 
      
 92 
     | 
    
         
            +
                      configs = project.objects.select { |obj| select_build_configuration_predicate(params[:build_configuration_name], obj) }
         
     | 
| 
      
 93 
     | 
    
         
            +
                      configs.each do |config|
         
     | 
| 
      
 94 
     | 
    
         
            +
                        config.build_settings["MARKETING_VERSION"] = next_version_number
         
     | 
| 
      
 95 
     | 
    
         
            +
                      end
         
     | 
| 
      
 96 
     | 
    
         
            +
                      project.save
         
     | 
| 
       97 
97 
     | 
    
         
             
                  end
         
     | 
| 
       98 
98 
     | 
    
         | 
| 
       99 
99 
     | 
    
         
             
                  #####################################################
         
     | 
| 
         @@ -167,7 +167,7 @@ module Fastlane 
     | 
|
| 
       167 
167 
     | 
    
         
             
                  end
         
     | 
| 
       168 
168 
     | 
    
         | 
| 
       169 
169 
     | 
    
         
             
                  def self.authors
         
     | 
| 
       170 
     | 
    
         
            -
                    ["jdouglas-nz"]
         
     | 
| 
      
 170 
     | 
    
         
            +
                    ["jdouglas-nz", "neilb01"]
         
     | 
| 
       171 
171 
     | 
    
         
             
                  end
         
     | 
| 
       172 
172 
     | 
    
         | 
| 
       173 
173 
     | 
    
         
             
                  def self.is_supported?(platform)
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: fastlane-plugin-versioning
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.4. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.4.5
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Siarhei Fiedartsou
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date:  
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2021-05-02 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: pry
         
     |