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 +4 -4
- data/.circleci/config.yml +1 -1
- data/Gemfile.lock +1 -1
- data/lib/ios_version_change/gem_version.rb +1 -1
- data/lib/ios_version_change/plugin.rb +5 -0
- 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: 6476adf48ebe82561ac94fa833f0aa8d6beaad900d1e19dfb691bb07c2bcb50b
|
4
|
+
data.tar.gz: d574233236b1f962f5aa3411c85bc55064cf082fb5363a7ce12b5e4ef3df8ad5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"
|
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
@@ -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
|
+
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-
|
11
|
+
date: 2017-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|