danger-podliblint 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 7af44d996a33d4b8564aa39fa738968dc60a7bfe
4
- data.tar.gz: '06149ed7555987c5a4d785c78848cb8d7ff72bb4'
3
+ metadata.gz: 05dc2adb27657226b20ea7a7db3ee2ae65faf93b
4
+ data.tar.gz: 2650c748c2b914b6a869c04922289d737e74cf82
5
5
  SHA512:
6
- metadata.gz: 235aca1524ce3906f05b5b79fb85b8b61f9c6aeeb24dda14a0eadbe914695b1117b0c3d61c9b3a079ed7cf75dc1610c34769b1ca98ff26f5cfaaf98d88ef9b15
7
- data.tar.gz: cef92e3dfcc5c591cb38e395c1d7c94a7049f98663378f637f453bf6947295e884d723c4cd2c1726fece033bc80be851499c4b7c4f934a6d0fe01a173d315b4b
6
+ metadata.gz: 8af9e43485bd19ebcf93239f24e283c071687c764d93d42464ec8cb4feb6ae797dbe8d1ce9b675816d3e0401d9c88dad6b2cecbe649ef756c8f9521c34ded947
7
+ data.tar.gz: 045c2f2c61d61f44ac20ee92e3e3dc5ada7138224b0074d2d1897a43edc227e3f80f054d7e0f6e1156fcd0ff8b5ea41c7b34a6a45bdc6648dc002cf2bf3ecd72
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-podliblint (0.0.5)
4
+ danger-podliblint (0.0.6)
5
5
  cocoapods
6
6
  danger-plugin-api (~> 1.0)
7
7
  nokogiri
@@ -59,7 +59,7 @@ GEM
59
59
  colored2 (3.1.2)
60
60
  cork (0.3.0)
61
61
  colored2 (~> 3.1)
62
- danger (5.3.2)
62
+ danger (5.3.3)
63
63
  claide (~> 1.0)
64
64
  claide-plugins (>= 0.9.2)
65
65
  colored2 (~> 3.1)
@@ -68,7 +68,7 @@ GEM
68
68
  faraday-http-cache (~> 1.0)
69
69
  git (~> 1)
70
70
  kramdown (~> 1.5)
71
- octokit (~> 4.2)
71
+ octokit (~> 4.7)
72
72
  terminal-table (~> 1)
73
73
  danger-plugin-api (1.0.0)
74
74
  danger (> 2.0)
@@ -98,7 +98,7 @@ GEM
98
98
  guard (~> 2.1)
99
99
  guard-compat (~> 1.1)
100
100
  rspec (>= 2.99.0, < 4.0)
101
- i18n (0.8.4)
101
+ i18n (0.8.6)
102
102
  kramdown (1.14.0)
103
103
  listen (3.0.7)
104
104
  rb-fsevent (>= 0.9.3)
@@ -127,7 +127,7 @@ GEM
127
127
  slop (~> 3.4)
128
128
  public_suffix (2.0.5)
129
129
  rake (10.5.0)
130
- rb-fsevent (0.9.8)
130
+ rb-fsevent (0.10.2)
131
131
  rb-inotify (0.9.10)
132
132
  ffi (>= 0.5.0, < 2)
133
133
  rspec (3.6.0)
@@ -1,3 +1,3 @@
1
1
  module Podliblint
2
- VERSION = "0.0.5".freeze
2
+ VERSION = "0.0.6".freeze
3
3
  end
@@ -80,13 +80,13 @@ module Danger
80
80
 
81
81
  # Looking for something like:
82
82
  # [!] MyProject did not pass validation, due to 1 error and 1 warning.
83
- lint_summary = data[/(?<=\[!\]\s).*(did not pass validation|Unable to find a podspec).*/i]
83
+ lint_summary = data[/(?<=\[!\]\s).*(did not pass validation|Unable to find a podspec|specification does not validate).*/i]
84
84
 
85
85
  if lint_summary
86
86
  fail("Pod lib lint: #{lint_summary} 🚨")
87
- failures = data.scan(/(?<=ERROR\s\|\s).*|(?<=-\s)(?!NOTE|WARN|ERROR).*/i)
87
+ failures = data.scan(/(?<=ERROR\s\|\s).*/i)
88
88
  failures.each do |failure|
89
- fail("`" << ((failure.strip! || failure).gsub!(/`/,"") || failure).to_s << "`")
89
+ fail("`" << ((failure.to_s.strip! || failure).to_s.gsub!(/`/,"") || failure).to_s << "`")
90
90
  end
91
91
  else
92
92
  message("Pod lib lint passed validation 🎊")
@@ -0,0 +1,200 @@
1
+ CocoaPods 1.3.0.beta.2 is available.
2
+ To update use: `gem install cocoapods --pre`
3
+ [!] This is a test version we'd love you to try.
4
+ For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.3.0.beta.2
5
+ Validating spec
6
+ -> REST (0.2.2-18-g4390f75)
7
+ - WARN | source: Git sources should specify a tag.
8
+ - WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
9
+ - WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
10
+ Updating the `myproject' repo
11
+ Already up-to-date.
12
+ Adding the spec to the `myproject' repo
13
+ - [Update] REST (0.2.2-18-g4390f75)
14
+ Validating spec
15
+ -> JSONAPI (0.2.2-18-g4390f75)
16
+ - WARN | source: Git sources should specify a tag.
17
+ - WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
18
+ - WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
19
+ Updating the `myproject' repo
20
+ Already up-to-date.
21
+ Adding the spec to the `myproject' repo
22
+ - [Update] JSONAPI (0.2.2-18-g4390f75)
23
+ Validating spec
24
+ -> JSONAPIProvider (0.2.2-18-g4390f75)
25
+ - WARN | source: Git sources should specify a tag.
26
+ - WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
27
+ - WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
28
+ Updating the `myproject' repo
29
+ Already up-to-date.
30
+ Adding the spec to the `myproject' repo
31
+ - [Update] JSONAPIProvider (0.2.2-18-g4390f75)
32
+ Validating spec
33
+ -> AuthenticationProvider (0.2.2-18-g4390f75)
34
+ - WARN | source: Git sources should specify a tag.
35
+ - WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
36
+ - ERROR | xcodebuild: AuthenticationProvider/Sources/AuthenticationProvider/Models/Permission.swift:85:62: error: cannot invoke 'get' with no arguments
37
+ - WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
38
+ [!] The `AuthenticationProvider.podspec` specification does not validate.
39
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
40
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
41
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
42
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
43
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
44
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
45
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
46
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
47
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
48
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
49
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
50
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
51
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
52
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
53
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
54
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
55
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
56
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
57
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
58
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
59
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
60
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
61
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
62
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
63
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
64
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
65
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
66
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
67
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
68
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
69
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
70
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
71
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
72
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
73
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
74
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
75
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
76
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
77
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
78
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
79
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
80
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
81
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
82
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
83
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
84
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
85
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
86
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
87
+ Validating spec
88
+ -> UserProvider (0.2.2-18-g4390f75)
89
+ - WARN | source: Git sources should specify a tag.
90
+ - WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
91
+ - WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
92
+ Updating the `myproject' repo
93
+ Already up-to-date.
94
+ Adding the spec to the `myproject' repo
95
+ - [Update] UserProvider (0.2.2-18-g4390f75)
96
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
97
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
98
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
99
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
100
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
101
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
102
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
103
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
104
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
105
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
106
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
107
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
108
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
109
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
110
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
111
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
112
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
113
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
114
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
115
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
116
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
117
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
118
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
119
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
120
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
121
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
122
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
123
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
124
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
125
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
126
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
127
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
128
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
129
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
130
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
131
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
132
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
133
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
134
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
135
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
136
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
137
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
138
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
139
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
140
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
141
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
142
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
143
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
144
+ Validating spec
145
+ -> Meikyo (0.2.2-18-g4390f75)
146
+ - WARN | source: Git sources should specify a tag.
147
+ - WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
148
+ - WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
149
+ Updating the `myproject' repo
150
+ Already up-to-date.
151
+ Adding the spec to the `myproject' repo
152
+ - [Update] Meikyo (0.2.2-18-g4390f75)
153
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
154
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
155
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
156
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
157
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
158
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
159
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
160
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
161
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
162
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
163
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
164
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
165
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
166
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
167
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
168
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
169
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
170
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
171
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
172
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
173
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
174
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
175
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
176
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
177
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
178
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
179
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
180
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
181
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
182
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
183
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
184
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
185
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
186
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
187
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
188
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
189
+ [!] Found multiple specifications for `JSONAPI (0.2.0)`:
190
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
191
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
192
+ [!] Found multiple specifications for `JSONAPI (0.1.2)`:
193
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
194
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
195
+ [!] Found multiple specifications for `JSONAPI (0.1.1)`:
196
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
197
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
198
+ [!] Found multiple specifications for `JSONAPI (0.1.0)`:
199
+ - /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
200
+ - /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
@@ -30,7 +30,7 @@ module Danger
30
30
  expect(@podliblint.lint).not_to be_nil
31
31
  expect(@dangerfile.status_report[:errors].first).to eq("Pod lib lint: MyProject did not pass validation, due to 1 error and 1 warning. 🚨")
32
32
  expect(@dangerfile.status_report[:errors][1]).to eq("`[iOS] unknown: Encountered an unknown error (Unable to satisfy the following requirements:`")
33
- expect(@dangerfile.status_report[:errors][2]).to eq("`SSZipArchive (= 1.2) required by MyProject/FileImportExport (0.1.0)`")
33
+ #expect(@dangerfile.status_report[:errors][2]).to eq("`SSZipArchive (= 1.2) required by MyProject/FileImportExport (0.1.0)`")
34
34
  expect(@dangerfile.status_report[:messages]).to be_empty
35
35
  expect(@dangerfile.status_report[:warnings]).to be_empty
36
36
  expect(@dangerfile.status_report[:markdowns]).to be_empty
@@ -45,6 +45,16 @@ module Danger
45
45
  expect(@dangerfile.status_report[:markdowns]).to be_empty
46
46
  end
47
47
 
48
+ it "parses pod repo push data errors" do
49
+ @podliblint.log_file = "./spec/fixtures/podrepopush_error.log"
50
+ expect(@podliblint.lint).not_to be_nil
51
+ expect(@dangerfile.status_report[:errors].first).to eq("Pod lib lint: The `AuthenticationProvider.podspec` specification does not validate. 🚨")
52
+ expect(@dangerfile.status_report[:errors][1]).to eq("`xcodebuild: AuthenticationProvider/Sources/AuthenticationProvider/Models/Permission.swift:85:62: error: cannot invoke 'get' with no arguments`")
53
+ expect(@dangerfile.status_report[:messages]).to be_empty
54
+ expect(@dangerfile.status_report[:warnings]).to be_empty
55
+ expect(@dangerfile.status_report[:markdowns]).to be_empty
56
+ end
57
+
48
58
  it "succeeds" do
49
59
  @podliblint.log_file = "./spec/fixtures/podliblint.log"
50
60
  expect(@podliblint.lint).to be_nil
@@ -61,7 +71,7 @@ module Danger
61
71
  expect(@podliblint.lint).not_to be_nil
62
72
  expect(@dangerfile.status_report[:errors].first).to eq("Pod lib lint: MyProject did not pass validation, due to 1 error and 1 warning. 🚨")
63
73
  expect(@dangerfile.status_report[:errors][1]).to eq("`[iOS] unknown: Encountered an unknown error (Unable to satisfy the following requirements:`")
64
- expect(@dangerfile.status_report[:errors][2]).to eq("`SSZipArchive (= 1.2) required by MyProject/FileImportExport (0.1.0)`")
74
+ #expect(@dangerfile.status_report[:errors][2]).to eq("`SSZipArchive (= 1.2) required by MyProject/FileImportExport (0.1.0)`")
65
75
  expect(@dangerfile.status_report[:messages]).to be_empty
66
76
  expect(@dangerfile.status_report[:warnings]).to be_empty
67
77
  expect(@dangerfile.status_report[:markdowns]).to be_empty
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-podliblint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valerio Mazzeo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-26 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger-plugin-api
@@ -188,6 +188,7 @@ files:
188
188
  - spec/fixtures/podliblint-error.log
189
189
  - spec/fixtures/podliblint.log
190
190
  - spec/fixtures/podrepopush.log
191
+ - spec/fixtures/podrepopush_error.log
191
192
  - spec/podliblint_spec.rb
192
193
  - spec/spec_helper.rb
193
194
  homepage: https://github.com/valeriomazzeo/danger-podliblint
@@ -219,5 +220,6 @@ test_files:
219
220
  - spec/fixtures/podliblint-error.log
220
221
  - spec/fixtures/podliblint.log
221
222
  - spec/fixtures/podrepopush.log
223
+ - spec/fixtures/podrepopush_error.log
222
224
  - spec/podliblint_spec.rb
223
225
  - spec/spec_helper.rb