fastlane-plugin-flutter_bump_version 0.1.0 → 0.1.1
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: 0bf3cf833cf1e5e66f50e77250ea50754cfe8fdecf79a895a8924ba43b07fa94
         | 
| 4 | 
            +
              data.tar.gz: c898726e88fea4fd19a033ac3812b9da2baa9527c0e9363aabdbef22cb4d0a0d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 31d1462fd4e1122db5136b83f65eae49998b95e9c183e1a669209dd954d9ddf10202a6c53c882499fa359a9754dc2d0904eb1c689d5d11ee87adb5244da7df1d
         | 
| 7 | 
            +
              data.tar.gz: 65e44e438f0f115c7e44a9771ccea8c7a01c7276d168923082ed285aa5cdc439fe6dcdc08cf7a8c739d55b119ce3d937e211c4fe0714ec59a61d44ab3f68fc77
         | 
    
        data/README.md
    CHANGED
    
    | @@ -16,9 +16,10 @@ Manages Flutter project version | |
| 16 16 |  | 
| 17 17 | 
             
            ## Example
         | 
| 18 18 |  | 
| 19 | 
            -
            Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane bump_version bump:patch`.
         | 
| 19 | 
            +
            Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane bump_version bump:patch push:false`.
         | 
| 20 20 |  | 
| 21 | 
            -
            You can bump any part of version you want by use instead of patch (major | 
| 21 | 
            +
            You can `bump` any part of version you want by use instead of `patch` (`major`,`minor`,`patch` or `build`)
         | 
| 22 | 
            +
            And the `push` if `true` plugin will push bump version to git remote if `false` will not push it
         | 
| 22 23 |  | 
| 23 24 | 
             
            ## Issues and Feedback
         | 
| 24 25 |  | 
| @@ -94,6 +94,7 @@ module Fastlane | |
| 94 94 | 
             
                    new_version = "#{@current_version_in_hash['major']}.#{@current_version_in_hash['minor']}.#{@current_version_in_hash['patch']}"
         | 
| 95 95 | 
             
                    new_version = @is_build ? new_version + "+#{@current_version_in_hash['build']}" : new_version
         | 
| 96 96 | 
             
                    update_pubspec(new_version, current_version)
         | 
| 97 | 
            +
                    return new_version
         | 
| 97 98 | 
             
                  end
         | 
| 98 99 |  | 
| 99 100 | 
             
                  def update_pubspec(new_version, current_version)
         | 
| @@ -118,7 +119,7 @@ module Fastlane | |
| 118 119 | 
             
                        when :bump
         | 
| 119 120 | 
             
                          available_version_options = ['major', 'minor', 'patch', 'build']
         | 
| 120 121 | 
             
                          if available_version_options.include?(arguments[:bump])
         | 
| 121 | 
            -
                            bump_version.bump_version(arguments[:bump])
         | 
| 122 | 
            +
                            return bump_version.bump_version(arguments[:bump])
         | 
| 122 123 | 
             
                          else
         | 
| 123 124 | 
             
                            UI.message("You pass with bump wrong option, Available options : #{available_version_options}")
         | 
| 124 125 | 
             
                          end
         | 
| @@ -127,6 +128,7 @@ module Fastlane | |
| 127 128 | 
             
                    else
         | 
| 128 129 | 
             
                      UI.message("Something wrong, Try: bundle exec fastlane bump_version bump:major,minor,patch or build")
         | 
| 129 130 | 
             
                    end
         | 
| 131 | 
            +
                    return "not_bump"
         | 
| 130 132 | 
             
                  end
         | 
| 131 133 |  | 
| 132 134 | 
             
                  def self.description
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: fastlane-plugin-flutter_bump_version
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Mohammed chahboun
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022-09- | 
| 11 | 
            +
            date: 2022-09-23 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: bundler
         |