cocoapods-trunk 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +21 -15
- data/README.md +1 -1
- data/lib/cocoapods_trunk.rb +1 -1
- data/lib/pod/command/trunk/deprecate.rb +1 -1
- data/lib/pod/command/trunk/push.rb +3 -0
- data/spec/command/trunk/push_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da8782fab1e5bcae243169d0622823796bde8b61
|
4
|
+
data.tar.gz: c1e8babee9edcbde68e8a6ef0c2bf6b0113f4a3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0636ab94fd3827229715520ad02c0b73fd8b02b1c876036a06b430701a42b4c24b83dede6ac453036d87a4e68fb441bb4812b050a1f318f95498871dff576544
|
7
|
+
data.tar.gz: 7bdf4ad6963ffe2f831724f0d76cf3e8f4c4e5cb0c5da040a5482e879e5cf6db1b02b0f0c01d74fa39e27536ad1e06acc113e925dd3eec40c3885c5166a9fd0e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
## 1.2.0 (2017-04-11)
|
2
|
+
|
3
|
+
##### Enhancements
|
4
|
+
|
5
|
+
* None.
|
6
|
+
|
7
|
+
##### Bug Fixes
|
8
|
+
|
9
|
+
* Properly display `pod trunk deprecate` command line options
|
10
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
11
|
+
[#6486](https://github.com/CocoaPods/CocoaPods/issues/6486)
|
12
|
+
|
13
|
+
* Add `--skip-import-validation` to skip linking a pod during lint.
|
14
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
15
|
+
[#86](https://github.com/CocoaPods/cocoapods-trunk/pull/86)
|
16
|
+
|
17
|
+
|
1
18
|
## 1.1.2 (2016-12-17)
|
2
19
|
|
3
20
|
##### Enhancements
|
data/Gemfile.lock
CHANGED
@@ -7,34 +7,35 @@ GIT
|
|
7
7
|
|
8
8
|
GIT
|
9
9
|
remote: https://github.com/CocoaPods/CocoaPods.git
|
10
|
-
revision:
|
10
|
+
revision: cae98c5386f7d80d6fe065c3f081ce130628151a
|
11
11
|
branch: master
|
12
12
|
specs:
|
13
|
-
cocoapods (1.
|
13
|
+
cocoapods (1.2.0)
|
14
14
|
activesupport (>= 4.0.2, < 5)
|
15
15
|
claide (>= 1.0.1, < 2.0)
|
16
|
-
cocoapods-core (= 1.
|
16
|
+
cocoapods-core (= 1.2.0)
|
17
17
|
cocoapods-deintegrate (>= 1.0.1, < 2.0)
|
18
|
-
cocoapods-downloader (>= 1.1.
|
18
|
+
cocoapods-downloader (>= 1.1.3, < 2.0)
|
19
19
|
cocoapods-plugins (>= 1.0.0, < 2.0)
|
20
20
|
cocoapods-search (>= 1.0.0, < 2.0)
|
21
21
|
cocoapods-stats (>= 1.0.0, < 2.0)
|
22
|
-
cocoapods-trunk (= 1.
|
22
|
+
cocoapods-trunk (= 1.2.0)
|
23
23
|
cocoapods-try (>= 1.1.0, < 2.0)
|
24
24
|
colored (~> 1.2)
|
25
25
|
escape (~> 0.0.4)
|
26
26
|
fourflusher (~> 2.0.1)
|
27
27
|
gh_inspector (~> 1.0)
|
28
|
-
molinillo (~> 0.5.
|
28
|
+
molinillo (~> 0.5.5)
|
29
29
|
nap (~> 1.0)
|
30
|
-
|
30
|
+
ruby-macho (~> 0.2.5)
|
31
|
+
xcodeproj (>= 1.4.1, < 2.0)
|
31
32
|
|
32
33
|
GIT
|
33
34
|
remote: https://github.com/CocoaPods/Core.git
|
34
|
-
revision:
|
35
|
+
revision: da067319634495b132b8f0403867e5cf5a2e2485
|
35
36
|
branch: master
|
36
37
|
specs:
|
37
|
-
cocoapods-core (1.
|
38
|
+
cocoapods-core (1.2.0)
|
38
39
|
activesupport (>= 4.0.2, < 5)
|
39
40
|
fuzzy_match (~> 2.0.4)
|
40
41
|
nap (~> 1.0)
|
@@ -49,13 +50,14 @@ GIT
|
|
49
50
|
PATH
|
50
51
|
remote: .
|
51
52
|
specs:
|
52
|
-
cocoapods-trunk (1.
|
53
|
+
cocoapods-trunk (1.2.0)
|
53
54
|
nap (>= 0.8, < 2.0)
|
54
55
|
netrc (= 0.7.8)
|
55
56
|
|
56
57
|
GEM
|
57
58
|
remote: https://rubygems.org/
|
58
59
|
specs:
|
60
|
+
CFPropertyList (2.3.5)
|
59
61
|
activesupport (4.2.7.1)
|
60
62
|
i18n (~> 0.7)
|
61
63
|
json (~> 1.7, >= 1.7.7)
|
@@ -66,7 +68,7 @@ GEM
|
|
66
68
|
ast (2.2.0)
|
67
69
|
bacon (1.2.0)
|
68
70
|
cocoapods-deintegrate (1.0.1)
|
69
|
-
cocoapods-downloader (1.1.
|
71
|
+
cocoapods-downloader (1.1.3)
|
70
72
|
cocoapods-plugins (1.0.0)
|
71
73
|
nap
|
72
74
|
cocoapods-search (1.0.0)
|
@@ -82,7 +84,7 @@ GEM
|
|
82
84
|
ffi (1.9.10)
|
83
85
|
fourflusher (2.0.1)
|
84
86
|
fuzzy_match (2.0.4)
|
85
|
-
gh_inspector (1.0.
|
87
|
+
gh_inspector (1.0.3)
|
86
88
|
i18n (0.7.0)
|
87
89
|
kicker (3.0.0)
|
88
90
|
listen (~> 1.3.0)
|
@@ -92,13 +94,14 @@ GEM
|
|
92
94
|
rb-inotify (>= 0.9)
|
93
95
|
rb-kqueue (>= 0.2)
|
94
96
|
metaclass (0.0.4)
|
95
|
-
minitest (5.
|
97
|
+
minitest (5.10.1)
|
96
98
|
mocha (1.1.0)
|
97
99
|
metaclass (~> 0.0.1)
|
98
100
|
mocha-on-bacon (0.2.2)
|
99
101
|
mocha (>= 0.13.0)
|
100
|
-
molinillo (0.5.
|
102
|
+
molinillo (0.5.5)
|
101
103
|
multi_json (1.11.2)
|
104
|
+
nanaimo (0.2.3)
|
102
105
|
nap (1.1.0)
|
103
106
|
netrc (0.7.8)
|
104
107
|
notify (0.5.2)
|
@@ -120,6 +123,7 @@ GEM
|
|
120
123
|
rainbow (>= 1.99.1, < 3.0)
|
121
124
|
ruby-progressbar (~> 1.7)
|
122
125
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
126
|
+
ruby-macho (0.2.6)
|
123
127
|
ruby-progressbar (1.7.5)
|
124
128
|
safe_yaml (1.0.4)
|
125
129
|
simplecov (0.9.2)
|
@@ -134,10 +138,12 @@ GEM
|
|
134
138
|
webmock (1.21.0)
|
135
139
|
addressable (>= 2.3.6)
|
136
140
|
crack (>= 0.3.2)
|
137
|
-
xcodeproj (1.
|
141
|
+
xcodeproj (1.4.2)
|
142
|
+
CFPropertyList (~> 2.3.3)
|
138
143
|
activesupport (>= 3)
|
139
144
|
claide (>= 1.0.1, < 2.0)
|
140
145
|
colored (~> 1.2)
|
146
|
+
nanaimo (~> 0.2.3)
|
141
147
|
|
142
148
|
PLATFORMS
|
143
149
|
ruby
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# CocoaPods::Trunk
|
2
2
|
|
3
3
|
[![Build Status](https://img.shields.io/travis/CocoaPods/cocoapods-trunk/master.svg?style=flat)](https://travis-ci.org/CocoaPods/cocoapods-trunk)
|
4
4
|
[![Coverage](https://img.shields.io/codeclimate/coverage/github/CocoaPods/cocoapods-trunk.svg?style=flat)](https://codeclimate.com/github/CocoaPods/cocoapods-trunk)
|
data/lib/cocoapods_trunk.rb
CHANGED
@@ -33,6 +33,7 @@ module Pod
|
|
33
33
|
['--use-libraries', 'Linter uses static libraries to install the spec'],
|
34
34
|
['--swift-version=VERSION', 'The SWIFT_VERSION that should be used to lint the spec. ' \
|
35
35
|
'This takes precedence over a .swift-version file.'],
|
36
|
+
['--skip-import-validation', 'Lint skips validating that the pod can be imported'],
|
36
37
|
].concat(super)
|
37
38
|
end
|
38
39
|
|
@@ -40,6 +41,7 @@ module Pod
|
|
40
41
|
@allow_warnings = argv.flag?('allow-warnings', false)
|
41
42
|
@use_frameworks = !argv.flag?('use-libraries')
|
42
43
|
@swift_version = argv.option('swift-version', nil)
|
44
|
+
@skip_import_validation = argv.flag?('skip-import-validation', false)
|
43
45
|
@path = argv.shift_argument || '.'
|
44
46
|
find_podspec_file if File.directory?(@path)
|
45
47
|
super
|
@@ -116,6 +118,7 @@ module Pod
|
|
116
118
|
validator.allow_warnings = @allow_warnings
|
117
119
|
validator.use_frameworks = @use_frameworks
|
118
120
|
validator.swift_version = @swift_version if Validator.method_defined?(:swift_version=)
|
121
|
+
validator.skip_import_validation = @skip_import_validation
|
119
122
|
validator.validate
|
120
123
|
unless validator.validated?
|
121
124
|
raise Informative, "The spec did not pass validation, due to #{validator.failure_reason}."
|
@@ -170,6 +170,12 @@ module Pod
|
|
170
170
|
e = should.raise(Informative) { cmd.send(:validate_podspec) }
|
171
171
|
e.message.should.include 'The spec did not pass validation, due to failure_reason.'
|
172
172
|
end
|
173
|
+
|
174
|
+
it 'passes skip import validation' do
|
175
|
+
Validator.any_instance.expects(:skip_import_validation=).with(true)
|
176
|
+
cmd = Command.parse(%w(trunk push spec/fixtures/BananaLib.podspec --skip-import-validation))
|
177
|
+
cmd.send(:validate_podspec)
|
178
|
+
end
|
173
179
|
end
|
174
180
|
|
175
181
|
describe 'sending the swift version up to trunk' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-trunk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Durán
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nap
|