danger-ios_version_change 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2645f1de3d4e8d2c245e6303d72feb01434be32faa98f3a59837e9b33eb08139
4
- data.tar.gz: 13d0bd35e9211988669dd039c1e18fff7f19159dcbaccdb619ba54a64073760f
3
+ metadata.gz: 6476adf48ebe82561ac94fa833f0aa8d6beaad900d1e19dfb691bb07c2bcb50b
4
+ data.tar.gz: d574233236b1f962f5aa3411c85bc55064cf082fb5363a7ce12b5e4ef3df8ad5
5
5
  SHA512:
6
- metadata.gz: 5cf11ca626ccf4027f41ea0186dda2ff80f5720f941011aaddf90278124072c05492549a6eee9f9103b063850df779d5f21feccfe37c2789ac25621e266d8360
7
- data.tar.gz: c1cafd9e2584cad7e78699818f04639ca6cda815e099979c00979339a8370848185f001ae00475fb8fd86d26ab9e622847eabac13359e99acf366354af091fbc
6
+ metadata.gz: e4849ee27a658b600b5507e54d4d0ff942d40101749607b8f2dbc8c2dbe4d403b0ef5ed58749b2166703e4db4480fcedea1fbc967267165a2ff68f175c7298c6
7
+ data.tar.gz: 4769d47ed24e8fa411655664d774f4380fa87b1d3160e0f6e8b8b172b2091ecf9fec75e5f9564c978addb55a7023d4055ef956ebc36d1c14b11b8c65e6ea54bc
data/.circleci/config.yml CHANGED
@@ -23,7 +23,7 @@ jobs:
23
23
  - checkout
24
24
  - run: ./assert_danger_running_on_pr.sh
25
25
  - run: bundle install
26
- - run: '[ ! -z $DANGER_GITHUB_API_TOKEN ] && danger || echo "Skipping Danger for External Contributor" && exit 1'
26
+ - run: '[ ! -z $DANGER_GITHUB_API_TOKEN ] && danger || echo "Skipping Danger for External Contributor"'
27
27
  test-lint:
28
28
  working_directory: ~/code
29
29
  docker:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-ios_version_change (0.1.4)
4
+ danger-ios_version_change (0.1.5)
5
5
  danger-plugin-api (~> 1.0)
6
6
  git
7
7
 
@@ -1,3 +1,3 @@
1
1
  module IosVersionChange
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.1.5".freeze
3
3
  end
@@ -55,6 +55,11 @@ module Danger
55
55
  return # rubocop:disable UnreachableCode
56
56
  end
57
57
 
58
+ unless @git.diff.include?(info_plist_file_path) # No diff found for Info.plist file.
59
+ fail "You did not change the iOS version."
60
+ return # rubocop:disable UnreachableCode
61
+ end
62
+
58
63
  git_diff_string = @git.diff[info_plist_file_path].patch
59
64
  assert_version_changed_diff(git_diff_string)
60
65
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-ios_version_change
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levi Bostian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-07 00:00:00.000000000 Z
11
+ date: 2017-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git