danger-podliblint 0.0.4 → 0.0.5
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 +4 -4
- data/Gemfile.lock +61 -62
- data/lib/podliblint/gem_version.rb +1 -1
- data/lib/podliblint/plugin.rb +1 -1
- data/spec/fixtures/podrepopush.log +202 -0
- data/spec/podliblint_spec.rb +9 -0
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7af44d996a33d4b8564aa39fa738968dc60a7bfe
|
|
4
|
+
data.tar.gz: '06149ed7555987c5a4d785c78848cb8d7ff72bb4'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 235aca1524ce3906f05b5b79fb85b8b61f9c6aeeb24dda14a0eadbe914695b1117b0c3d61c9b3a079ed7cf75dc1610c34769b1ca98ff26f5cfaaf98d88ef9b15
|
|
7
|
+
data.tar.gz: cef92e3dfcc5c591cb38e395c1d7c94a7049f98663378f637f453bf6947295e884d723c4cd2c1726fece033bc80be851499c4b7c4f934a6d0fe01a173d315b4b
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
danger-podliblint (0.0.
|
|
4
|
+
danger-podliblint (0.0.5)
|
|
5
5
|
cocoapods
|
|
6
6
|
danger-plugin-api (~> 1.0)
|
|
7
7
|
nokogiri
|
|
@@ -9,60 +9,60 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
CFPropertyList (2.3.
|
|
13
|
-
activesupport (4.2.
|
|
12
|
+
CFPropertyList (2.3.5)
|
|
13
|
+
activesupport (4.2.9)
|
|
14
14
|
i18n (~> 0.7)
|
|
15
|
-
json (~> 1.7, >= 1.7.7)
|
|
16
15
|
minitest (~> 5.1)
|
|
17
16
|
thread_safe (~> 0.3, >= 0.3.4)
|
|
18
17
|
tzinfo (~> 1.1)
|
|
19
|
-
addressable (2.5.
|
|
18
|
+
addressable (2.5.1)
|
|
20
19
|
public_suffix (~> 2.0, >= 2.0.2)
|
|
21
|
-
claide (1.0.
|
|
20
|
+
claide (1.0.2)
|
|
22
21
|
claide-plugins (0.9.2)
|
|
23
22
|
cork
|
|
24
23
|
nap
|
|
25
24
|
open4 (~> 1.3)
|
|
26
|
-
cocoapods (1.
|
|
25
|
+
cocoapods (1.2.1)
|
|
27
26
|
activesupport (>= 4.0.2, < 5)
|
|
28
27
|
claide (>= 1.0.1, < 2.0)
|
|
29
|
-
cocoapods-core (= 1.
|
|
28
|
+
cocoapods-core (= 1.2.1)
|
|
30
29
|
cocoapods-deintegrate (>= 1.0.1, < 2.0)
|
|
31
|
-
cocoapods-downloader (>= 1.1.
|
|
30
|
+
cocoapods-downloader (>= 1.1.3, < 2.0)
|
|
32
31
|
cocoapods-plugins (>= 1.0.0, < 2.0)
|
|
33
32
|
cocoapods-search (>= 1.0.0, < 2.0)
|
|
34
33
|
cocoapods-stats (>= 1.0.0, < 2.0)
|
|
35
|
-
cocoapods-trunk (>= 1.
|
|
34
|
+
cocoapods-trunk (>= 1.2.0, < 2.0)
|
|
36
35
|
cocoapods-try (>= 1.1.0, < 2.0)
|
|
37
|
-
|
|
36
|
+
colored2 (~> 3.1)
|
|
38
37
|
escape (~> 0.0.4)
|
|
39
38
|
fourflusher (~> 2.0.1)
|
|
40
39
|
gh_inspector (~> 1.0)
|
|
41
|
-
molinillo (~> 0.5.
|
|
40
|
+
molinillo (~> 0.5.7)
|
|
42
41
|
nap (~> 1.0)
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
ruby-macho (~> 1.1)
|
|
43
|
+
xcodeproj (>= 1.4.4, < 2.0)
|
|
44
|
+
cocoapods-core (1.2.1)
|
|
45
45
|
activesupport (>= 4.0.2, < 5)
|
|
46
46
|
fuzzy_match (~> 2.0.4)
|
|
47
47
|
nap (~> 1.0)
|
|
48
48
|
cocoapods-deintegrate (1.0.1)
|
|
49
|
-
cocoapods-downloader (1.1.
|
|
49
|
+
cocoapods-downloader (1.1.3)
|
|
50
50
|
cocoapods-plugins (1.0.0)
|
|
51
51
|
nap
|
|
52
52
|
cocoapods-search (1.0.0)
|
|
53
53
|
cocoapods-stats (1.0.0)
|
|
54
|
-
cocoapods-trunk (1.
|
|
54
|
+
cocoapods-trunk (1.2.0)
|
|
55
55
|
nap (>= 0.8, < 2.0)
|
|
56
56
|
netrc (= 0.7.8)
|
|
57
57
|
cocoapods-try (1.1.0)
|
|
58
58
|
coderay (1.1.1)
|
|
59
|
-
|
|
60
|
-
cork (0.
|
|
61
|
-
|
|
62
|
-
danger (
|
|
59
|
+
colored2 (3.1.2)
|
|
60
|
+
cork (0.3.0)
|
|
61
|
+
colored2 (~> 3.1)
|
|
62
|
+
danger (5.3.2)
|
|
63
63
|
claide (~> 1.0)
|
|
64
64
|
claide-plugins (>= 0.9.2)
|
|
65
|
-
|
|
65
|
+
colored2 (~> 3.1)
|
|
66
66
|
cork (~> 0.1)
|
|
67
67
|
faraday (~> 0.9)
|
|
68
68
|
faraday-http-cache (~> 1.0)
|
|
@@ -72,19 +72,19 @@ GEM
|
|
|
72
72
|
terminal-table (~> 1)
|
|
73
73
|
danger-plugin-api (1.0.0)
|
|
74
74
|
danger (> 2.0)
|
|
75
|
-
diff-lcs (1.
|
|
75
|
+
diff-lcs (1.3)
|
|
76
76
|
escape (0.0.4)
|
|
77
|
-
faraday (0.
|
|
77
|
+
faraday (0.12.1)
|
|
78
78
|
multipart-post (>= 1.2, < 3)
|
|
79
79
|
faraday-http-cache (1.3.1)
|
|
80
80
|
faraday (~> 0.8)
|
|
81
|
-
ffi (1.9.
|
|
81
|
+
ffi (1.9.18)
|
|
82
82
|
formatador (0.2.5)
|
|
83
83
|
fourflusher (2.0.1)
|
|
84
84
|
fuzzy_match (2.0.4)
|
|
85
|
-
gh_inspector (1.0.
|
|
85
|
+
gh_inspector (1.0.3)
|
|
86
86
|
git (1.3.0)
|
|
87
|
-
guard (2.14.
|
|
87
|
+
guard (2.14.1)
|
|
88
88
|
formatador (>= 0.2.4)
|
|
89
89
|
listen (>= 2.7, < 4.0)
|
|
90
90
|
lumberjack (~> 1.0)
|
|
@@ -98,71 +98,70 @@ GEM
|
|
|
98
98
|
guard (~> 2.1)
|
|
99
99
|
guard-compat (~> 1.1)
|
|
100
100
|
rspec (>= 2.99.0, < 4.0)
|
|
101
|
-
i18n (0.
|
|
102
|
-
|
|
103
|
-
kramdown (1.13.1)
|
|
101
|
+
i18n (0.8.4)
|
|
102
|
+
kramdown (1.14.0)
|
|
104
103
|
listen (3.0.7)
|
|
105
104
|
rb-fsevent (>= 0.9.3)
|
|
106
105
|
rb-inotify (>= 0.9.7)
|
|
107
|
-
lumberjack (1.0.
|
|
106
|
+
lumberjack (1.0.12)
|
|
108
107
|
method_source (0.8.2)
|
|
109
|
-
mini_portile2 (2.
|
|
110
|
-
minitest (5.10.
|
|
111
|
-
molinillo (0.5.
|
|
108
|
+
mini_portile2 (2.2.0)
|
|
109
|
+
minitest (5.10.2)
|
|
110
|
+
molinillo (0.5.7)
|
|
112
111
|
multipart-post (2.0.0)
|
|
113
112
|
nanaimo (0.2.3)
|
|
114
113
|
nap (1.1.0)
|
|
115
114
|
nenv (0.3.0)
|
|
116
115
|
netrc (0.7.8)
|
|
117
|
-
nokogiri (1.
|
|
118
|
-
mini_portile2 (~> 2.
|
|
116
|
+
nokogiri (1.8.0)
|
|
117
|
+
mini_portile2 (~> 2.2.0)
|
|
119
118
|
notiffany (0.1.1)
|
|
120
119
|
nenv (~> 0.1)
|
|
121
120
|
shellany (~> 0.0)
|
|
122
|
-
octokit (4.
|
|
121
|
+
octokit (4.7.0)
|
|
123
122
|
sawyer (~> 0.8.0, >= 0.5.3)
|
|
124
123
|
open4 (1.3.4)
|
|
125
124
|
pry (0.10.4)
|
|
126
125
|
coderay (~> 1.1.0)
|
|
127
126
|
method_source (~> 0.8.1)
|
|
128
127
|
slop (~> 3.4)
|
|
129
|
-
public_suffix (2.0.
|
|
128
|
+
public_suffix (2.0.5)
|
|
130
129
|
rake (10.5.0)
|
|
131
130
|
rb-fsevent (0.9.8)
|
|
132
|
-
rb-inotify (0.9.
|
|
133
|
-
ffi (>= 0.5.0)
|
|
134
|
-
rspec (3.
|
|
135
|
-
rspec-core (~> 3.
|
|
136
|
-
rspec-expectations (~> 3.
|
|
137
|
-
rspec-mocks (~> 3.
|
|
138
|
-
rspec-core (3.
|
|
139
|
-
rspec-support (~> 3.
|
|
140
|
-
rspec-expectations (3.
|
|
131
|
+
rb-inotify (0.9.10)
|
|
132
|
+
ffi (>= 0.5.0, < 2)
|
|
133
|
+
rspec (3.6.0)
|
|
134
|
+
rspec-core (~> 3.6.0)
|
|
135
|
+
rspec-expectations (~> 3.6.0)
|
|
136
|
+
rspec-mocks (~> 3.6.0)
|
|
137
|
+
rspec-core (3.6.0)
|
|
138
|
+
rspec-support (~> 3.6.0)
|
|
139
|
+
rspec-expectations (3.6.0)
|
|
141
140
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
142
|
-
rspec-support (~> 3.
|
|
143
|
-
rspec-mocks (3.
|
|
141
|
+
rspec-support (~> 3.6.0)
|
|
142
|
+
rspec-mocks (3.6.0)
|
|
144
143
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
145
|
-
rspec-support (~> 3.
|
|
146
|
-
rspec-support (3.
|
|
144
|
+
rspec-support (~> 3.6.0)
|
|
145
|
+
rspec-support (3.6.0)
|
|
146
|
+
ruby-macho (1.1.0)
|
|
147
147
|
sawyer (0.8.1)
|
|
148
148
|
addressable (>= 2.3.5, < 2.6)
|
|
149
149
|
faraday (~> 0.8, < 1.0)
|
|
150
150
|
shellany (0.0.1)
|
|
151
151
|
slop (3.6.0)
|
|
152
|
-
terminal-table (1.
|
|
153
|
-
unicode-display_width (~> 1.1.1)
|
|
152
|
+
terminal-table (1.8.0)
|
|
153
|
+
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
154
154
|
thor (0.19.4)
|
|
155
|
-
thread_safe (0.3.
|
|
156
|
-
tzinfo (1.2.
|
|
155
|
+
thread_safe (0.3.6)
|
|
156
|
+
tzinfo (1.2.3)
|
|
157
157
|
thread_safe (~> 0.1)
|
|
158
|
-
unicode-display_width (1.
|
|
159
|
-
xcodeproj (1.
|
|
158
|
+
unicode-display_width (1.3.0)
|
|
159
|
+
xcodeproj (1.5.0)
|
|
160
160
|
CFPropertyList (~> 2.3.3)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
yard (0.9.5)
|
|
161
|
+
claide (>= 1.0.2, < 2.0)
|
|
162
|
+
colored2 (~> 3.1)
|
|
163
|
+
nanaimo (~> 0.2.3)
|
|
164
|
+
yard (0.9.9)
|
|
166
165
|
|
|
167
166
|
PLATFORMS
|
|
168
167
|
ruby
|
|
@@ -179,4 +178,4 @@ DEPENDENCIES
|
|
|
179
178
|
yard (~> 0.8)
|
|
180
179
|
|
|
181
180
|
BUNDLED WITH
|
|
182
|
-
1.
|
|
181
|
+
1.15.1
|
data/lib/podliblint/plugin.rb
CHANGED
|
@@ -80,7 +80,7 @@ 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).*/i]
|
|
83
|
+
lint_summary = data[/(?<=\[!\]\s).*(did not pass validation|Unable to find a podspec).*/i]
|
|
84
84
|
|
|
85
85
|
if lint_summary
|
|
86
86
|
fail("Pod lib lint: #{lint_summary} 🚨")
|
|
@@ -0,0 +1,202 @@
|
|
|
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
|
+
- WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
|
|
37
|
+
Updating the `myproject' repo
|
|
38
|
+
Already up-to-date.
|
|
39
|
+
Adding the spec to the `myproject' repo
|
|
40
|
+
- [Update] AuthenticationProvider (0.2.2-18-g4390f75)
|
|
41
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
42
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
43
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
44
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
45
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
46
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
47
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
48
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
49
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
50
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
51
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
52
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
53
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
54
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
55
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
56
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
57
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
58
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
59
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
60
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
61
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
62
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
63
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
64
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
65
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
66
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
67
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
68
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
69
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
70
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
71
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
72
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
73
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
74
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
75
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
76
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
77
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
78
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
79
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
80
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
81
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
82
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
83
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
84
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
85
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
86
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
87
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
88
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
89
|
+
Validating spec
|
|
90
|
+
-> UserProvider (0.2.2-18-g4390f75)
|
|
91
|
+
- WARN | source: Git sources should specify a tag.
|
|
92
|
+
- WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
|
|
93
|
+
- WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
|
|
94
|
+
Updating the `myproject' repo
|
|
95
|
+
Already up-to-date.
|
|
96
|
+
Adding the spec to the `myproject' repo
|
|
97
|
+
- [Update] UserProvider (0.2.2-18-g4390f75)
|
|
98
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
99
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
100
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
101
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
102
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
103
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
104
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
105
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
106
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
107
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
108
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
109
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
110
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
111
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
112
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
113
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
114
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
115
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
116
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
117
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
118
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
119
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
120
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
121
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
122
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
123
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
124
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
125
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
126
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
127
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
128
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
129
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
130
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
131
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
132
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
133
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
134
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
135
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
136
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
137
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
138
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
139
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
140
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
141
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
142
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
143
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
144
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
145
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
146
|
+
Validating spec
|
|
147
|
+
-> Meikyo (0.2.2-18-g4390f75)
|
|
148
|
+
- WARN | source: Git sources should specify a tag.
|
|
149
|
+
- WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
|
|
150
|
+
- WARN | url: The URL (https://github.com/myproject/myrepo) is not reachable.
|
|
151
|
+
Updating the `myproject' repo
|
|
152
|
+
Already up-to-date.
|
|
153
|
+
Adding the spec to the `myproject' repo
|
|
154
|
+
- [Update] Meikyo (0.2.2-18-g4390f75)
|
|
155
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
156
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
157
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
158
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
159
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
160
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
161
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
162
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
163
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
164
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
165
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
166
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
167
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
168
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
169
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
170
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
171
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
172
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
173
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
174
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
175
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
176
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
177
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
178
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
179
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
180
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
181
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
182
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
183
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
184
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
185
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
186
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
187
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
188
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
189
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
190
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
|
191
|
+
[!] Found multiple specifications for `JSONAPI (0.2.0)`:
|
|
192
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.2.0/JSONAPI.podspec
|
|
193
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.2.0/JSONAPI.podspec.json
|
|
194
|
+
[!] Found multiple specifications for `JSONAPI (0.1.2)`:
|
|
195
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.2/JSONAPI.podspec
|
|
196
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.2/JSONAPI.podspec.json
|
|
197
|
+
[!] Found multiple specifications for `JSONAPI (0.1.1)`:
|
|
198
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.1/JSONAPI.podspec
|
|
199
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.1/JSONAPI.podspec.json
|
|
200
|
+
[!] Found multiple specifications for `JSONAPI (0.1.0)`:
|
|
201
|
+
- /Users/travis/.cocoapods/repos/myproject/JSONAPI/0.1.0/JSONAPI.podspec
|
|
202
|
+
- /Users/travis/.cocoapods/repos/master/Specs/1/a/1/JSONAPI/0.1.0/JSONAPI.podspec.json
|
data/spec/podliblint_spec.rb
CHANGED
|
@@ -36,6 +36,15 @@ module Danger
|
|
|
36
36
|
expect(@dangerfile.status_report[:markdowns]).to be_empty
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
it "parses pod repo push data" do
|
|
40
|
+
@podliblint.log_file = "./spec/fixtures/podrepopush.log"
|
|
41
|
+
expect(@podliblint.lint).to be_nil
|
|
42
|
+
expect(@dangerfile.status_report[:messages].first).to eq("Pod lib lint passed validation 🎊")
|
|
43
|
+
expect(@dangerfile.status_report[:errors]).to be_empty
|
|
44
|
+
expect(@dangerfile.status_report[:warnings]).to be_empty
|
|
45
|
+
expect(@dangerfile.status_report[:markdowns]).to be_empty
|
|
46
|
+
end
|
|
47
|
+
|
|
39
48
|
it "succeeds" do
|
|
40
49
|
@podliblint.log_file = "./spec/fixtures/podliblint.log"
|
|
41
50
|
expect(@podliblint.lint).to be_nil
|
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.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Valerio Mazzeo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: danger-plugin-api
|
|
@@ -187,6 +187,7 @@ files:
|
|
|
187
187
|
- spec/fixtures/podliblint-error-fastlane.xml
|
|
188
188
|
- spec/fixtures/podliblint-error.log
|
|
189
189
|
- spec/fixtures/podliblint.log
|
|
190
|
+
- spec/fixtures/podrepopush.log
|
|
190
191
|
- spec/podliblint_spec.rb
|
|
191
192
|
- spec/spec_helper.rb
|
|
192
193
|
homepage: https://github.com/valeriomazzeo/danger-podliblint
|
|
@@ -209,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
209
210
|
version: '0'
|
|
210
211
|
requirements: []
|
|
211
212
|
rubyforge_project:
|
|
212
|
-
rubygems_version: 2.
|
|
213
|
+
rubygems_version: 2.6.12
|
|
213
214
|
signing_key:
|
|
214
215
|
specification_version: 4
|
|
215
216
|
summary: A Danger plugin for Pod lib lint.
|
|
@@ -217,5 +218,6 @@ test_files:
|
|
|
217
218
|
- spec/fixtures/podliblint-error-fastlane.xml
|
|
218
219
|
- spec/fixtures/podliblint-error.log
|
|
219
220
|
- spec/fixtures/podliblint.log
|
|
221
|
+
- spec/fixtures/podrepopush.log
|
|
220
222
|
- spec/podliblint_spec.rb
|
|
221
223
|
- spec/spec_helper.rb
|