Sha256: 6dff28b4309b011d4f8eef7476aa1fe92dd6be266935ba354cb3e1c824e1e33d

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents


### ios_version_change

Asserts the version string has been changed in your iOS XCode project.
This is done by checking the git diff of your project's Info.plist file.
The plugin will either call Danger's fail method or do nothing if the version string was changed.

  ios_version_change.assert_version_changed("ProjectName/Info.plist")

<blockquote>Assert the version string changed for your iOS project
  <pre># Calls Danger `fail` if the version string not updated or nothing if it has changed.</pre>
</blockquote>





#### Methods

`assert_version_changed_diff` - Ignore. Pass the git diff string here to see if the version string has been updated. Use `ios_version_change.assert_version_changed("ProjectName/Info.plist")` instead as it's more convenient sending the path to the Info.plist file.

`assert_version_changed` - Asserts the version string has been changed in your iOS XCode project.

  ios_version_change.assert_version_changed("ProjectName/Info.plist")




### Development

1. Clone this repo
2. Run `bundle install` to setup dependencies.
3. Run `bundle exec rake spec` to run the tests.
4. Use `bundle exec guard` to automatically have tests run as you make changes.
5. Make your changes.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-ios_version_change-0.1.0 README.md