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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb68458b464a8a1727437bbb8426864565dc5a4b
4
- data.tar.gz: 436c852ebf45f8381fcf0b3bda471ef5f250551d
3
+ metadata.gz: da8782fab1e5bcae243169d0622823796bde8b61
4
+ data.tar.gz: c1e8babee9edcbde68e8a6ef0c2bf6b0113f4a3e
5
5
  SHA512:
6
- metadata.gz: fd5ab177c3887c80099d8fa19f84dbbd8876f4549268a83afa83268d855af3f706ddadd2e92f63280678d2fed5d2bb6eecc41544f20cb31009260058a1e01ddc
7
- data.tar.gz: eab79015100cf6499b4306f1ad6f856e5d88efb6a5d3765ab1a0f89d9f42f0d2973f536f06883554bc70e4e358f9601bfd2fe5f066b28031ccc0da7d0aa2c2b9
6
+ metadata.gz: 0636ab94fd3827229715520ad02c0b73fd8b02b1c876036a06b430701a42b4c24b83dede6ac453036d87a4e68fb441bb4812b050a1f318f95498871dff576544
7
+ data.tar.gz: 7bdf4ad6963ffe2f831724f0d76cf3e8f4c4e5cb0c5da040a5482e879e5cf6db1b02b0f0c01d74fa39e27536ad1e06acc113e925dd3eec40c3885c5166a9fd0e
@@ -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
@@ -7,34 +7,35 @@ GIT
7
7
 
8
8
  GIT
9
9
  remote: https://github.com/CocoaPods/CocoaPods.git
10
- revision: 670952b563febda786895f9df80286a2e683d086
10
+ revision: cae98c5386f7d80d6fe065c3f081ce130628151a
11
11
  branch: master
12
12
  specs:
13
- cocoapods (1.1.0)
13
+ cocoapods (1.2.0)
14
14
  activesupport (>= 4.0.2, < 5)
15
15
  claide (>= 1.0.1, < 2.0)
16
- cocoapods-core (= 1.1.0)
16
+ cocoapods-core (= 1.2.0)
17
17
  cocoapods-deintegrate (>= 1.0.1, < 2.0)
18
- cocoapods-downloader (>= 1.1.2, < 2.0)
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.1.2)
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.1)
28
+ molinillo (~> 0.5.5)
29
29
  nap (~> 1.0)
30
- xcodeproj (>= 1.3.2, < 2.0)
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: 92b15bb175facbf57839fa08c44194ab9b8b80b2
35
+ revision: da067319634495b132b8f0403867e5cf5a2e2485
35
36
  branch: master
36
37
  specs:
37
- cocoapods-core (1.1.0)
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.1.2)
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.2)
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.2)
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.9.1)
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.1)
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.3.2)
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
- # Cocoapods::Trunk
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)
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsTrunk
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.2.0'.freeze
3
3
  end
@@ -9,7 +9,7 @@ module Pod
9
9
  CLAide::Argument.new('NAME', true),
10
10
  ]
11
11
 
12
- def options
12
+ def self.options
13
13
  [
14
14
  ['--in-favor-of=OTHER_NAME', 'The pod to deprecate this pod in favor of.'],
15
15
  ].concat(super)
@@ -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.1.2
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: 2016-12-17 00:00:00.000000000 Z
11
+ date: 2017-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nap