cocoapods-trunk 0.6.0 → 1.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 36f74d361a7cdcad64c393e2305778d40ae0a811
4
- data.tar.gz: abfedde318572e6c50d8500cf150031f3f04f344
2
+ SHA256:
3
+ metadata.gz: 7f0a2309c1281858012a7c4267a7e51238805a5ccd6c28682d51338d10e54c72
4
+ data.tar.gz: 4f28e72b7d0aa56b709ece149ab1b2f156311bd85627a8bcece288d1c197e759
5
5
  SHA512:
6
- metadata.gz: 59f1fd677ff13ef071f69b93b3ba15936801418bda132ff26afb6cf79fcd523b3449225f770414c71f28594cb14313f89e0d893012a985c1980df947efc17f6d
7
- data.tar.gz: c1c6199f2b3a0986feeb3fc76d86187ff93f12d28cec25e4aa65d788f4163ea4a4c3a5c7d019481b5d9c9250619e9b4483cd6f7ef230ec479d32684a5624b382
6
+ metadata.gz: d04bc5f939b2bde1fefeae748077aa1871b4d500d36946ad4820830f9ead8102b5d195907f10da465c480e051077a34b961301b5ea3faf4719b575ed7ba2291c
7
+ data.tar.gz: 0756a6dd8f578984fe6813a501eeb327d904e6fb0f3fba2bcd99ca054f01c6b76b7fbe6232942f47615ba8563e65b5d995785298eab5567f1f8a6617ab288688
@@ -5,6 +5,7 @@ AllCops:
5
5
  - ./*.gemspec
6
6
  Exclude:
7
7
  - ./spec/fixtures/**/*
8
+ - ./vendor/bundle/**/*
8
9
 
9
10
  # At the moment not ready to be used
10
11
  # https://github.com/bbatsov/rubocop/issues/947
@@ -39,7 +40,10 @@ Encoding:
39
40
 
40
41
  # Having these make it easier to *not* forget to add one when adding a new
41
42
  # value and you can simply copy the previous line.
42
- TrailingComma:
43
+ Style/TrailingCommaInArguments:
44
+ EnforcedStyleForMultiline: comma
45
+
46
+ Style/TrailingCommaInLiteral:
43
47
  EnforcedStyleForMultiline: comma
44
48
 
45
49
  Style/MultilineOperationIndentation:
@@ -53,11 +57,26 @@ GuardClause:
53
57
  Next:
54
58
  Enabled: false
55
59
 
60
+ # Autocorrect makes this cop much more useful, taking away needless guessing
61
+ Lint/EndAlignment:
62
+ AutoCorrect: true
63
+
64
+
56
65
  # Arbitrary max lengths for classes simply do not work and enabling this will
57
66
  # lead to a never ending stream of annoyance and changes.
58
67
  Metrics/ClassLength:
59
68
  Enabled: false
60
69
 
70
+ # Arbitrary max lengths for modules simply do not work and enabling this will
71
+ # lead to a never ending stream of annoyance and changes.
72
+ Metrics/ModuleLength:
73
+ Enabled: false
74
+
75
+ # Arbitrary max lengths for methods simply do not work and enabling this will
76
+ # lead to a never ending stream of annoyance and changes.
77
+ Metrics/MethodLength:
78
+ Enabled: false
79
+
61
80
  # No enforced convention here.
62
81
  Metrics/BlockNesting:
63
82
  Enabled: false
@@ -72,6 +91,11 @@ Metrics/AbcSize:
72
91
  Metrics/CyclomaticComplexity:
73
92
  Enabled: false
74
93
 
94
+ # It will be obvious which code is complex, Rubocop should only lint simple
95
+ # rules for us.
96
+ Metrics/PerceivedComplexity:
97
+ Enabled: false
98
+
75
99
  #- CocoaPods support for Ruby 1.8.7 ------------------------------------------#
76
100
 
77
101
  HashSyntax:
@@ -96,6 +120,10 @@ AmbiguousRegexpLiteral:
96
120
  Exclude:
97
121
  - spec/**/*
98
122
 
123
+ Performance/RedundantMatch:
124
+ Exclude:
125
+ - spec/**/*
126
+
99
127
  # Allow `object.should == object` syntax.
100
128
  Void:
101
129
  Exclude:
@@ -108,4 +136,3 @@ ClassAndModuleChildren:
108
136
  UselessComparison:
109
137
  Exclude:
110
138
  - spec/**/*
111
-
data/.travis.yml CHANGED
@@ -1,24 +1,25 @@
1
- # Sets Travis to run the Ruby specs on OS X machines to be as close as possible
2
- # to the user environment.
3
- #
4
- language: objective-c
1
+ dist: trusty
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.0.0-p647
6
+ - 2.3.4
7
+ - 2.4.1
8
+ - 2.6.3
5
9
  addons:
6
10
  code_climate:
7
11
  repo_token: 937468c2cbb0d7c0546b62d0fcbcba8a2a8b82714a64a52ffd0b951e71df626d
8
12
 
9
- env:
10
- - RVM_RUBY_VERSION=system
11
- # - RVM_RUBY_VERSION=1.8.7-p358
12
-
13
13
  before_install:
14
- - export LANG=en_US.UTF-8
15
- - curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem
16
- - source ~/.rvm/scripts/rvm
17
- - if [[ $RVM_RUBY_VERSION != 'system' ]]; then rvm install $RVM_RUBY_VERSION; fi
18
- - rvm use $RVM_RUBY_VERSION
19
- - if [[ $RVM_RUBY_VERSION == 'system' ]]; then sudo gem install bundler --no-ri --no-rdoc; else gem install bundler --no-ri --no-rdoc; fi
14
+ - export GEM_HOME=$HOME/.gem
15
+ - export PATH=$GEM_HOME/bin:$PATH
16
+ # There is a bug in travis. When using system ruby, bundler is not
17
+ # installed and causes the default install action to fail.
18
+ - if [ "$TRAVIS_RUBY_VERSION" = "system" ]; then sudo gem install "bundler:~> 1.13"; else gem install "bundler:~> 1.13"; fi
19
+ # RubyGems 2.0.14 isn't a fun time on 2.0.0p451
20
+ - if [ "$TRAVIS_RUBY_VERSION" = "system" ]; then sudo gem update --system; fi
20
21
 
21
22
  install:
22
- - sudo bundle install --without=documentation
23
+ - bundle install --without=documentation
23
24
 
24
25
  script: bundle exec rake spec
data/CHANGELOG.md CHANGED
@@ -1,4 +1,253 @@
1
- ## 0.6.0
1
+ ## 1.4.1 (2019-09-26)
2
+
3
+ ##### Enhancements
4
+
5
+ * None.
6
+
7
+ ##### Bug Fixes
8
+
9
+ * Use a more robust `Trunk` init when pushing.
10
+ [Igor Makarov](https://github.com/igor-makarov)
11
+ [#135](https://github.com/CocoaPods/cocoapods-trunk/pull/135)
12
+
13
+
14
+ ## 1.4.0 (2019-08-21)
15
+
16
+ ##### Enhancements
17
+
18
+ * None.
19
+
20
+ ##### Bug Fixes
21
+
22
+ * Update to get the master spec repo from `Source::Manager` for validation - effectively
23
+ use the new CDN `TrunkSource` for podspec validation and not a hard-coded URL
24
+ [Igor Makarov](https://github.com/igor-makarov)
25
+ [#132](https://github.com/CocoaPods/cocoapods-trunk/pull/132)
26
+ [CocoaPods#9112](https://github.com/CocoaPods/CocoaPods/issues/9112)
27
+
28
+ ## 1.3.1 (2018-08-16)
29
+
30
+ ##### Enhancements
31
+
32
+ * None.
33
+
34
+ ##### Bug Fixes
35
+
36
+ * None.
37
+
38
+
39
+ ## 1.3.0 (2017-10-02)
40
+
41
+ ##### Enhancements
42
+
43
+ * Add skip test option to trunk push
44
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
45
+ [#93](https://github.com/CocoaPods/cocoapods-trunk/pull/93)
46
+
47
+ * Loosen netrc requirement
48
+ [jasl](https://github.com/jasl)
49
+ [#93](https://github.com/CocoaPods/cocoapods-trunk/pull/95)
50
+
51
+ * Update development dependencies to support MRI 2.3+
52
+ [jasl](https://github.com/jasl)
53
+ [#93](https://github.com/CocoaPods/cocoapods-trunk/pull/95)
54
+
55
+ ##### Bug Fixes
56
+
57
+ * None.
58
+
59
+
60
+ ## 1.2.0 (2017-04-11)
61
+
62
+ ##### Enhancements
63
+
64
+ * None.
65
+
66
+ ##### Bug Fixes
67
+
68
+ * Properly display `pod trunk deprecate` command line options
69
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
70
+ [#6486](https://github.com/CocoaPods/CocoaPods/issues/6486)
71
+
72
+ * Add `--skip-import-validation` to skip linking a pod during lint.
73
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
74
+ [#86](https://github.com/CocoaPods/cocoapods-trunk/pull/86)
75
+
76
+
77
+ ## 1.1.2 (2016-12-17)
78
+
79
+ ##### Enhancements
80
+
81
+ * None.
82
+
83
+ ##### Bug Fixes
84
+
85
+ * Checks that `Pod::Validator` has `swift_version=` for CocoaPods <= 1.1.0 support.
86
+ [Danielle Tomlinson](https://github.com/dantoml)
87
+ [#6209](https://github.com/CocoaPods/CocoaPods/issues/6209)
88
+
89
+
90
+ ## 1.1.1 (2016-10-20)
91
+
92
+ ##### Enhancements
93
+
94
+ * None.
95
+
96
+ ##### Bug Fixes
97
+
98
+ * Support submitting from multiple versions of CocoaPods.
99
+ [Samuel Giddins](https://github.com/segiddins)
100
+
101
+ ## 1.1.0 (2016-10-19)
102
+
103
+ ##### Enhancements
104
+
105
+ * Passes the pod's version of Swift used for deployment to the CocoaPods Specs repo
106
+ [Orta](https://github.com/orta)
107
+ [#92](https://github.com/CocoaPods/cocoapods-trunk/pull/72)
108
+
109
+ * Prettier success message when successfully pushed a new version
110
+ [Marin](https://github.com/icanzilb)
111
+ [#76](https://github.com/CocoaPods/cocoapods-trunk/pull/76)
112
+
113
+ ##### Bug Fixes
114
+
115
+ * None.
116
+
117
+
118
+ ## 1.1.0.beta.1 (2016-10-10)
119
+
120
+ ##### Enhancements
121
+
122
+ * Pass --swift-version to the Validator during `pod lib lint`
123
+ [Danielle Tomlinson](https://github.com/dantoml)
124
+ [#92](https://github.com/CocoaPods/cocoapods-trunk/pull/72)
125
+
126
+ ##### Bug Fixes
127
+
128
+ * None.
129
+
130
+
131
+ ## 1.0.0 (2016-05-10)
132
+
133
+ ##### Enhancements
134
+
135
+ * None.
136
+
137
+ ##### Bug Fixes
138
+
139
+ * Don't print the invocation of `/bin/date`.
140
+ [Samuel Giddins](https://github.com/segiddins)
141
+
142
+
143
+ ## 1.0.0.rc.1 (2016-04-30)
144
+
145
+ ##### Enhancements
146
+
147
+ * Make the error loading a specification during `pod trunk push` more
148
+ informative.
149
+ [Samuel Giddins](https://github.com/segiddins)
150
+ [#63](https://github.com/CocoaPods/cocoapods-trunk/issues/63)
151
+
152
+ ##### Bug Fixes
153
+
154
+ * None.
155
+
156
+
157
+ ## 1.0.0.beta.4 (2016-04-15)
158
+
159
+ ##### Enhancements
160
+
161
+ * None.
162
+
163
+ ##### Bug Fixes
164
+
165
+ * Compatibility With CocoaPods 1.0.0.beta.8.
166
+ [Samuel Giddins](https://github.com/segiddins)
167
+ [#61](https://github.com/CocoaPods/cocoapods-trunk/issues/61)
168
+
169
+
170
+ ## 1.0.0.beta.3 (2016-04-14)
171
+
172
+ ##### Enhancements
173
+
174
+ * The failure reason is printed when validation fails during `pod trunk push`.
175
+ [Samuel Giddins](https://github.com/segiddins)
176
+ [CocoaPods#5073](https://github.com/CocoaPods/CocoaPods/issues/5073)
177
+
178
+ ##### Bug Fixes
179
+
180
+ * None.
181
+
182
+
183
+ ## 1.0.0.beta.2 (2016-02-03)
184
+
185
+ ##### Bug Fixes
186
+
187
+ * Send a body with the `PATCH` request to deprecate a pod.
188
+ [Samuel Giddins](https://github.com/segiddins)
189
+ [#52](https://github.com/CocoaPods/cocoapods-trunk/issues/52)
190
+
191
+
192
+ ## 1.0.0.beta.1 (2015-12-30)
193
+
194
+ ##### Enhancements
195
+
196
+ * The `pod deprecate PODNAME` command has been added to deprecate all versions
197
+ of a pod.
198
+ [Samuel Giddins](https://github.com/segiddins)
199
+ [#31](https://github.com/CocoaPods/cocoapods-trunk/issues/31)
200
+
201
+ * The `pod delete PODNAME VERSION` command has been added to delete a single
202
+ version of a pod.
203
+ [Samuel Giddins](https://github.com/segiddins)
204
+
205
+ ##### Bug Fixes
206
+
207
+ * If the master repo has not been setup when pushing a spec, run `pod setup`
208
+ instead of failing.
209
+ [Samuel Giddins](https://github.com/segiddins)
210
+ [#48](https://github.com/CocoaPods/cocoapods-trunk/issues/48)
211
+
212
+
213
+ ## 0.6.4 (2015-08-28)
214
+
215
+ ##### Bug Fixes
216
+
217
+ * This release fixes installation compatibility issues when using the RubyGem
218
+ due to an incompatible dependency on `nap`.
219
+ [Samuel Giddins](https://github.com/segiddins)
220
+
221
+
222
+ ## 0.6.3 (2015-08-28)
223
+
224
+ ##### Bug Fixes
225
+
226
+ * This release fixes a file permissions error when using the RubyGem.
227
+ [Samuel Giddins](https://github.com/segiddins)
228
+
229
+
230
+ ## 0.6.2 (2015-08-26)
231
+
232
+ ##### Enhancements
233
+
234
+ * The `--allow-warnings` flag to `pod trunk push` is now propagated to the trunk
235
+ server.
236
+ [Samuel Giddins](https://github.com/segiddins)
237
+ [CocoaPods#3855](https://github.com/CocoaPods/CocoaPods/issues/3855)
238
+
239
+
240
+ ## 0.6.1 (2015-05-27)
241
+
242
+ ##### Enhancements
243
+
244
+ * The `master` specs repo is updated before and after pushing a new spec to
245
+ trunk.
246
+ [Samuel Giddins](https://github.com/segiddins)
247
+ [#43](https://github.com/CocoaPods/cocoapods-trunk/issues/43)
248
+
249
+
250
+ ## 0.6.0 (2015-03-11)
2
251
 
3
252
  ##### Enhancements
4
253
 
@@ -8,7 +257,7 @@
8
257
  [CocoaPods#3224](https://github.com/CocoaPods/CocoaPods/issues/3224)
9
258
 
10
259
 
11
- ## 0.5.1
260
+ ## 0.5.1 (2015-02-25)
12
261
 
13
262
  ##### Enhancements
14
263
 
@@ -25,7 +274,7 @@
25
274
  [#39](https://github.com/CocoaPods/cocoapods-trunk/issues/39)
26
275
 
27
276
 
28
- ## 0.5.0
277
+ ## 0.5.0 (2014-12-25)
29
278
 
30
279
  ##### Enhancements
31
280
 
@@ -39,7 +288,7 @@
39
288
  [#15](https://github.com/CocoaPods/cocoapods-trunk/issues/15)
40
289
 
41
290
 
42
- ## 0.4.1
291
+ ## 0.4.1 (2014-11-19)
43
292
 
44
293
  ##### Enhancements
45
294
 
@@ -55,7 +304,7 @@
55
304
  [Cocoapods#2831](https://github.com/CocoaPods/CocoaPods/pull/2831)
56
305
 
57
306
 
58
- ## 0.4.0
307
+ ## 0.4.0 (2014-11-06)
59
308
 
60
309
  ##### Bug Fixes
61
310
 
@@ -63,7 +312,7 @@
63
312
  [Eloy Durán](https://github.com/alloy)
64
313
  [CocoaPods#2773](https://github.com/CocoaPods/CocoaPods/issues/2773)
65
314
 
66
- ## 0.3.1
315
+ ## 0.3.1 (2014-10-15)
67
316
 
68
317
  ##### Bug Fixes
69
318
 
@@ -72,7 +321,7 @@
72
321
  [CocoaPods#2674](https://github.com/CocoaPods/CocoaPods/issues/2674)
73
322
 
74
323
 
75
- ## 0.3.0
324
+ ## 0.3.0 (2014-10-07)
76
325
 
77
326
  ##### Enhancements
78
327
 
@@ -88,7 +337,7 @@
88
337
  [#26](https://github.com/CocoaPods/cocoapods-trunk/issues/26)
89
338
 
90
339
 
91
- ## 0.2.0
340
+ ## 0.2.0 (2014-09-11)
92
341
 
93
342
  ##### Enhancements
94
343
 
@@ -99,6 +348,6 @@
99
348
  [Olivier Halligon](https://github.com/AliSoftware)
100
349
 
101
350
 
102
- ## 0.1.0
351
+ ## 0.1.0 (2014-05-19)
103
352
 
104
353
  * Initial release.
data/Gemfile CHANGED
@@ -3,7 +3,9 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  # This is the version that ships with OS X 10.10, so be sure we test against it.
6
- gem 'json', '1.7.7'
6
+ # At the same time, the 1.7.7 version won't install cleanly on Ruby > 2.2,
7
+ # so we use a fork that makes a trivial change to a macro invocation.
8
+ gem 'json', :git => 'https://github.com/segiddins/json.git', :branch => 'seg-1.7.7-ruby-2.2'
7
9
 
8
10
  group :development do
9
11
  gem 'cocoapods', :git => "https://github.com/CocoaPods/CocoaPods.git", :branch => 'master'