cocoapods-core 1.7.0.beta.2 → 1.7.0.beta.3

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: '087c374819d638cd923c6074cd0f543457793fa6'
4
- data.tar.gz: 483a12c5da295f67bb00ce5df3ec1121664b0019
2
+ SHA256:
3
+ metadata.gz: a58aa8f4ec56af7a408268c34e1141711cf1a72ab81b58d04b34ece53e2768b2
4
+ data.tar.gz: 50a8fec163175b54d1569e9c87dfedd0d95b6906997c39dc5caeada0bf401202
5
5
  SHA512:
6
- metadata.gz: 537550a5122e557d8b687dce8372fdbbde62c5513a310dd31b266836621211fbb2cb00a2e3d076db4cb2dadb84ae597a40faceb8ded04c29e0481b30874d6ec4
7
- data.tar.gz: 8edb24dd1f50880534d06501074ec978da966b4465805b7932c417fa1779881a68809b4ea21cb77f288f47deb079e64c8ac65ffca16b976fd8b84823ac080fef
6
+ metadata.gz: a1795ccca525d92462177329ddb7e20174869c22bd7036f22edd03f976e865cc50652c5882fc5a7b1e175c37ddcc7ccf6ff239f19a8e9cd056776853c19869d0
7
+ data.tar.gz: 792de8218e56ec901e176ad5954f1083964c4c66eef5e6af816422eeef3c7973f6a7ee98860be150434684d7c89b4dd22a89fcc43ec881291d3c805974b09ecd
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.7.0.beta.2'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.7.0.beta.3'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -378,7 +378,7 @@ module Pod
378
378
  #
379
379
  def name_for_url(url)
380
380
  base_from_host_and_path = lambda do |host, path|
381
- if host
381
+ if host && !host.empty?
382
382
  base = host.split('.')[-2] || host
383
383
  base += '-'
384
384
  else
@@ -699,7 +699,7 @@ module Pod
699
699
  when '.json'
700
700
  spec = Specification.from_json(spec_contents)
701
701
  else
702
- raise Informative, "Unsupported specification format `#{path.extname}`."
702
+ raise Informative, "Unsupported specification format `#{path.extname}` for spec at `#{path}`."
703
703
  end
704
704
  end
705
705
 
@@ -73,9 +73,6 @@ module Pod
73
73
  ## backwards compatibility with 1.3.0
74
74
  spec.test_specification = !attributes_hash['test_type'].nil?
75
75
 
76
- testspecs.each { |ts| ts['test_specification'] = true; } unless testspecs.nil?
77
- appspecs.each { |ts| ts['app_specification'] = true; } unless appspecs.nil?
78
-
79
76
  spec.attributes_hash = attributes_hash
80
77
  spec.subspecs.concat(subspecs_from_hash(spec, subspecs, false, false))
81
78
  spec.subspecs.concat(subspecs_from_hash(spec, testspecs, true, false))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0.beta.2
4
+ version: 1.7.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-03-08 00:00:00.000000000 Z
12
+ date: 2019-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -146,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  requirements: []
149
- rubyforge_project:
150
- rubygems_version: 2.6.14
149
+ rubygems_version: 3.0.1
151
150
  signing_key:
152
151
  specification_version: 3
153
152
  summary: The models of CocoaPods