cocoapods 0.34.0 → 0.34.1

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: 1e3f9247d1861693b949301b9ce508e9fd7ccd0a
4
- data.tar.gz: 552a01f721ebbb407d651c3081132be962453ea5
3
+ metadata.gz: 174371936987af5ebf634f8938b27a6e7a1cae0a
4
+ data.tar.gz: e8cd374fd60fae5c74abadcaf57a42dd55f56d39
5
5
  SHA512:
6
- metadata.gz: 23e31603631c405854d4a4f5f9d14c5c391126200950c630ee3d5608e2ff61023f8f4f4710812e184f38a4111d603e2ae7951932057018aafbb1b9a33f8e5932
7
- data.tar.gz: 62a7fe7c9e7b10eb9b39deac6b2d8a82daefcdf0cf83ab37260d350843f4837db254e1804bd4059f85b07cabb1ef6599b21e7187f6ae05ec1792589d1ccbdccb
6
+ metadata.gz: 6cbeb3597d3f77e5805a9effaf094c84d49907db8d2584b98ca57bd93af8a271a06ad4bd6f26d410c2fbd38211df33cf012e83a0eae8300e08d565f97033ec3e
7
+ data.tar.gz: 7e47cd82d59b7fbf5a784ebfedd44148f54c0d2eb6ce787161c97a027bcbf61b260a7c4bd421c58dec06453690fc3e013ec335d896c1d178f32757e52a74ac48
@@ -2,6 +2,16 @@
2
2
 
3
3
  To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides/installing_cocoapods.html).
4
4
 
5
+ ## 0.34.1
6
+
7
+ ##### Bug Fixes
8
+
9
+ * Doesn't take into account the trailing `.git` in repository URLs when
10
+ trying to find a matching specs repo.
11
+ [Samuel Giddins](https://github.com/segiddins)
12
+ [#2526](https://github.com/CocoaPods/CocoaPods/issues/2526)
13
+
14
+
5
15
  ## 0.34.0
6
16
 
7
17
  ##### Breaking
@@ -10,7 +20,7 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
10
20
  `sources`. By default, when there are no sources specified in a Podfile all
11
21
  source repos will be used. This has always been the case. However, this
12
22
  implicit use of sources is now deprecated. Once you specify specific sources,
13
- **no** repos wil be included by default. For example:
23
+ **no** repos will be included by default. For example:
14
24
 
15
25
  source 'https://github.com/artsy/Specs.git'
16
26
  source 'https://github.com/CocoaPods/Specs.git'
data/README.md CHANGED
@@ -20,7 +20,6 @@ Installing and updating CocoaPods is very easy. Don't miss the [Installation
20
20
  guide](http://guides.cocoapods.org/using/getting-started.html#installation) and the
21
21
  [Getting started guide](http://guides.cocoapods.org/using/getting-started.html).
22
22
 
23
-
24
23
  ## Sponsors
25
24
 
26
25
  Lovingly sponsored by [Fingertips](http://www.fngtps.com),
@@ -41,12 +40,12 @@ we welcome with joy new contributors.
41
40
  [Blog](http://blog.cocoapods.org) | The CocoaPods blog.
42
41
  [Mailing List](http://groups.google.com/group/cocoapods) | Feel free to ask any kind of question.
43
42
  [Documentation](http://docs.cocoapods.org) | Everything you want to know about CocoaPods.
44
- [Changelog](https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md) | See the changes introduced by each CocoaPods version.
45
- [New Pods RSS](http://feeds.cocoapods.org/new-pods.rss) | Don't miss any new Pod.
43
+ [Changelog](https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md) | See the changes introduced in each CocoaPods version.
44
+ [New Pods RSS](http://feeds.cocoapods.org/new-pods.rss) | Don't miss any new Pods.
46
45
 
47
46
  ## Projects
48
47
 
49
- CocoaPods is composed by the following projects:
48
+ CocoaPods is composed of the following projects:
50
49
 
51
50
  | Status | Project | Description | Info |
52
51
  | :----- | :------ | :--- | :--- |
@@ -48,7 +48,6 @@ module Pod
48
48
 
49
49
  extend Executable
50
50
  executable :git
51
- executable :ruby
52
51
 
53
52
  TEMPLATE_REPO = 'https://github.com/CocoaPods/pod-template.git'
54
53
  TEMPLATE_INFO_URL = 'https://github.com/CocoaPods/pod-template'
@@ -11,9 +11,6 @@ module Pod
11
11
  ]].concat(super)
12
12
  end
13
13
 
14
- extend Executable
15
- executable :git
16
-
17
14
  def initialize(argv)
18
15
  @update = argv.flag?('update')
19
16
  @stats = argv.flag?('stats')
@@ -17,7 +17,6 @@ module Pod
17
17
  def self.options
18
18
  [
19
19
  ['--no-shallow', 'Clone full history so push will work'],
20
- ['--push', 'Use this option to enable push access once granted'],
21
20
  ].concat(super)
22
21
  end
23
22
 
@@ -25,8 +24,7 @@ module Pod
25
24
  executable :git
26
25
 
27
26
  def initialize(argv)
28
- @push_option = argv.flag?('push')
29
- @shallow = argv.flag?('shallow', !@push_option)
27
+ @shallow = argv.flag?('shallow', true)
30
28
  super
31
29
  end
32
30
 
@@ -43,8 +41,7 @@ module Pod
43
41
  end
44
42
  end
45
43
 
46
- access_type = push? ? 'push' : 'read-only'
47
- UI.puts "Setup completed (#{access_type} access)".green
44
+ UI.puts "Setup completed".green
48
45
  end
49
46
 
50
47
  #--------------------------------------#
@@ -116,7 +113,7 @@ module Pod
116
113
  # be enabled.
117
114
  #
118
115
  def url
119
- push? ? self.class.read_write_url : self.class.read_only_url
116
+ self.class.read_only_url
120
117
  end
121
118
 
122
119
  # @return [String] the read only url of the master repo.
@@ -125,31 +122,6 @@ module Pod
125
122
  'https://github.com/CocoaPods/Specs.git'
126
123
  end
127
124
 
128
- # @return [String] the read-write url of the master repo.
129
- #
130
- def self.read_write_url
131
- 'git@github.com:CocoaPods/Specs.git'
132
- end
133
-
134
- # Checks if the user asked to setup the master repo in push mode or if
135
- # the repo was already in push mode.
136
- #
137
- # @return [String] whether the master repo should be set up in push mode.
138
- #
139
- def push?
140
- @push ||= (@push_option || master_repo_is_push?)
141
- end
142
-
143
- # @return [Bool] if the master repo is already configured in push mode.
144
- #
145
- def master_repo_is_push?
146
- return false unless master_repo_dir.exist?
147
- Dir.chdir(master_repo_dir) do
148
- url = git('config --get remote.origin.url')
149
- url.chomp == self.class.read_write_url
150
- end
151
- end
152
-
153
125
  # @return [Pathname] the directory of the master repo.
154
126
  #
155
127
  def master_repo_dir
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods command line tool.
3
3
  #
4
- VERSION = '0.34.0' unless defined? Pod::VERSION
4
+ VERSION = '0.34.1' unless defined? Pod::VERSION
5
5
  end
@@ -232,7 +232,7 @@ module Pod
232
232
  versions = version_information(dir)
233
233
  unless repo_compatible?(dir)
234
234
  min, max = versions['min'], versions['max']
235
- version_msg = ( min == max) ? min : "#{min} - #{max}"
235
+ version_msg = (min == max) ? min : "#{min} - #{max}"
236
236
  raise Informative, "The `#{dir.basename}` repo requires " \
237
237
  "CocoaPods #{version_msg} (currently using #{Pod::VERSION})\n".red +
238
238
  'Update CocoaPods, or checkout the appropriate tag in the repo.'
@@ -381,8 +381,8 @@ module Pod
381
381
  # The URL of the source.
382
382
  #
383
383
  def source_with_url(url)
384
- url = url.downcase
385
- aggregate.sources.find { |s| s.url.downcase == url }
384
+ url = url.downcase.gsub(/.git$/, '')
385
+ aggregate.sources.find { |s| s.url.downcase.gsub(/.git$/, '') == url }
386
386
  end
387
387
 
388
388
  # Returns a suitable repository name for `url`.
@@ -357,7 +357,7 @@ module Pod
357
357
  end
358
358
 
359
359
  if consumer.spec.root?
360
- unless file_accessor.license || spec.license && ( spec.license[:type] == 'Public Domain' || spec.license[:text])
360
+ unless file_accessor.license || spec.license && (spec.license[:type] == 'Public Domain' || spec.license[:text])
361
361
  warning 'Unable to find a license file'
362
362
  end
363
363
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.34.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -17,228 +17,228 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.34.0
20
+ version: 0.34.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.34.0
27
+ version: 0.34.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: claide
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: 0.7.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ~>
40
40
  - !ruby/object:Gem::Version
41
41
  version: 0.7.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: xcodeproj
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: 0.19.2
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: 0.19.2
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: cocoapods-downloader
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: 0.7.0
62
+ version: 0.7.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 0.7.0
69
+ version: 0.7.1
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: cocoapods-plugins
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.3.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ~>
82
82
  - !ruby/object:Gem::Version
83
83
  version: 0.3.1
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: cocoapods-try
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ~>
89
89
  - !ruby/object:Gem::Version
90
- version: 0.4.0
90
+ version: 0.4.1
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ~>
96
96
  - !ruby/object:Gem::Version
97
- version: 0.4.0
97
+ version: 0.4.1
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: cocoapods-trunk
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ~>
103
103
  - !ruby/object:Gem::Version
104
104
  version: 0.2.0
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - "~>"
109
+ - - ~>
110
110
  - !ruby/object:Gem::Version
111
111
  version: 0.2.0
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: colored
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ~>
117
117
  - !ruby/object:Gem::Version
118
118
  version: '1.2'
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ~>
124
124
  - !ruby/object:Gem::Version
125
125
  version: '1.2'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: escape
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - "~>"
130
+ - - ~>
131
131
  - !ruby/object:Gem::Version
132
132
  version: 0.0.4
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - "~>"
137
+ - - ~>
138
138
  - !ruby/object:Gem::Version
139
139
  version: 0.0.4
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: json_pure
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - "~>"
144
+ - - ~>
145
145
  - !ruby/object:Gem::Version
146
146
  version: '1.8'
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - "~>"
151
+ - - ~>
152
152
  - !ruby/object:Gem::Version
153
153
  version: '1.8'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: open4
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - "~>"
158
+ - - ~>
159
159
  - !ruby/object:Gem::Version
160
160
  version: '1.3'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - "~>"
165
+ - - ~>
166
166
  - !ruby/object:Gem::Version
167
167
  version: '1.3'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: activesupport
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ">="
172
+ - - '>='
173
173
  - !ruby/object:Gem::Version
174
174
  version: 3.2.15
175
- - - "<"
175
+ - - <
176
176
  - !ruby/object:Gem::Version
177
177
  version: '4'
178
178
  type: :runtime
179
179
  prerelease: false
180
180
  version_requirements: !ruby/object:Gem::Requirement
181
181
  requirements:
182
- - - ">="
182
+ - - '>='
183
183
  - !ruby/object:Gem::Version
184
184
  version: 3.2.15
185
- - - "<"
185
+ - - <
186
186
  - !ruby/object:Gem::Version
187
187
  version: '4'
188
188
  - !ruby/object:Gem::Dependency
189
189
  name: nap
190
190
  requirement: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - "~>"
192
+ - - ~>
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0.8'
195
195
  type: :runtime
196
196
  prerelease: false
197
197
  version_requirements: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - "~>"
199
+ - - ~>
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0.8'
202
202
  - !ruby/object:Gem::Dependency
203
203
  name: bundler
204
204
  requirement: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - "~>"
206
+ - - ~>
207
207
  - !ruby/object:Gem::Version
208
208
  version: '1.3'
209
209
  type: :development
210
210
  prerelease: false
211
211
  version_requirements: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - "~>"
213
+ - - ~>
214
214
  - !ruby/object:Gem::Version
215
215
  version: '1.3'
216
216
  - !ruby/object:Gem::Dependency
217
217
  name: rake
218
218
  requirement: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - ">="
220
+ - - '>='
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  type: :development
224
224
  prerelease: false
225
225
  version_requirements: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - ">="
227
+ - - '>='
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  - !ruby/object:Gem::Dependency
231
231
  name: bacon
232
232
  requirement: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - "~>"
234
+ - - ~>
235
235
  - !ruby/object:Gem::Version
236
236
  version: '1.1'
237
237
  type: :development
238
238
  prerelease: false
239
239
  version_requirements: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - "~>"
241
+ - - ~>
242
242
  - !ruby/object:Gem::Version
243
243
  version: '1.1'
244
244
  description: |-
@@ -338,12 +338,12 @@ require_paths:
338
338
  - lib
339
339
  required_ruby_version: !ruby/object:Gem::Requirement
340
340
  requirements:
341
- - - ">="
341
+ - - '>='
342
342
  - !ruby/object:Gem::Version
343
343
  version: 1.8.7
344
344
  required_rubygems_version: !ruby/object:Gem::Requirement
345
345
  requirements:
346
- - - ">="
346
+ - - '>='
347
347
  - !ruby/object:Gem::Version
348
348
  version: '0'
349
349
  requirements: []