cocoapods-core 0.39.0.beta.4 → 0.39.0.beta.5

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: a94247352b4136f01fa9cbd2714bd0d7899c3731
4
- data.tar.gz: d6d2cd9cb90de6647cc5e82c4bbc15314596cbb2
3
+ metadata.gz: d0cce19a9396dc1ae60513185830afbf3af68a6a
4
+ data.tar.gz: 92f9afcaca4c08a68c2d50871c263bd0f02e4ea4
5
5
  SHA512:
6
- metadata.gz: 696c7fd0c05982c63bd8f3c22a883c80912ce430dc20b80ccd5a0e18cad3f9236d7bc7686cf17425a4202cc29e82c50a54745260bfca2449f56175ce696d83da
7
- data.tar.gz: 8f133b0a5b2e874ec24abc5b695cfa36ea14aff7bd2a43151351a05cb099aa04a953dbe9d763ec5b2d57c1bd0266b2706a4f3049bc04c2111f90c255cc639889
6
+ metadata.gz: e9fa0d1e8b277d29d151f90a08a7060aa5f3014770fe79fb210f977904b34944bc64bb6f9b0de4ea92b871d9276e8dfbd659d6c54175aba696499e8f2a65aaee
7
+ data.tar.gz: 0432b37f724696727e94ccbd7265ab5b7f0f35ff79714ba98f5b322123751470121da64dbced2b9bb5be3eaa54a84e3a4ef69eca1e7e56b30d81a7a77935e670
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '0.39.0.beta.4' unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '0.39.0.beta.5' unless defined? Pod::CORE_VERSION
5
5
  end
@@ -44,7 +44,7 @@ module Pod
44
44
  begin
45
45
  url = get_actual_url(url)
46
46
  resp = perform_head_request(url)
47
- rescue SocketError, URI::InvalidURIError, REST::Error
47
+ rescue SocketError, URI::InvalidURIError, REST::Error, REST::DisconnectedError
48
48
  resp = nil
49
49
  end
50
50
 
@@ -67,6 +67,14 @@ module Pod
67
67
  new :osx
68
68
  end
69
69
 
70
+ # Convenience method to initialize a tvOS platform.
71
+ #
72
+ # @return [Platform] a tvOS platform.
73
+ #
74
+ def self.tvos
75
+ new :tvos
76
+ end
77
+
70
78
  # Convenience method to initialize a watchOS platform.
71
79
  #
72
80
  # @return [Platform] a watchOS platform.
@@ -197,6 +205,7 @@ module Pod
197
205
  when :ios then 'iOS'
198
206
  when :osx then 'OS X'
199
207
  when :watchos then 'watchOS'
208
+ when :tvos then 'tvOS'
200
209
  else symbolic_name.to_s end
201
210
  end
202
211
  end
@@ -11,7 +11,6 @@ module Pod
11
11
  #
12
12
  # A Podfile can be very simple:
13
13
  #
14
- # source 'https://github.com/CocoaPods/Specs.git'
15
14
  # pod 'AFNetworking', '~> 1.0'
16
15
  #
17
16
  # An example of a more complex Podfile can be:
@@ -314,14 +313,15 @@ module Pod
314
313
  # Specifies the platform for which a static library should be built.
315
314
  #
316
315
  # CocoaPods provides a default deployment target if one is not specified.
317
- # The current default values are `4.3` for iOS, `10.6` for OS X and `2.0` for watchOS.
316
+ # The current default values are `4.3` for iOS, `10.6` for OS X, `9.0` for tvOS
317
+ # and `2.0` for watchOS.
318
318
  #
319
319
  # If the deployment target requires it (iOS < `4.3`), `armv6`
320
320
  # architecture will be added to `ARCHS`.
321
321
  #
322
322
  # @param [Symbol] name
323
323
  # the name of platform, can be either `:osx` for OS X, `:ios`
324
- # for iOS or `:watchos` for watchOS.
324
+ # for iOS, `:tvos` for tvOS, or `:watchos` for watchOS.
325
325
  #
326
326
  # @param [String, Version] target
327
327
  # The optional deployment. If not provided a default value
@@ -524,6 +524,9 @@ module Pod
524
524
  # source which includes the Pod (regardless whether other sources have a
525
525
  # higher version).
526
526
  #
527
+ # The official CocoaPods source is implicit.
528
+ # Once you specify another source, then it will need to be included.
529
+ #
527
530
  # @param [String] source
528
531
  # The URL of a specs repository.
529
532
  #
@@ -401,7 +401,7 @@ module Pod
401
401
 
402
402
  #--------------------------------------#
403
403
 
404
- PLATFORM_DEFAULTS = { :ios => '4.3', :osx => '10.6', :watchos => '2.0' }.freeze
404
+ PLATFORM_DEFAULTS = { :ios => '4.3', :osx => '10.6', :tvos => '9.0', :watchos => '2.0' }.freeze
405
405
 
406
406
  # @return [Platform] the platform of the target definition.
407
407
  #
@@ -437,9 +437,9 @@ module Pod
437
437
  # @return [void]
438
438
  #
439
439
  def set_platform(name, target = nil)
440
- unless [:ios, :osx, :watchos].include?(name)
440
+ unless [:ios, :osx, :tvos, :watchos].include?(name)
441
441
  raise StandardError, "Unsupported platform `#{name}`. Platform " \
442
- 'must be `:ios`, `:osx`, or `:watchos`.'
442
+ 'must be `:ios`, `:osx`, `:tvos`, or `:watchos`.'
443
443
  end
444
444
 
445
445
  if target
@@ -493,7 +493,7 @@ module Pod
493
493
 
494
494
  # The names of the platforms supported by the specification class.
495
495
  #
496
- PLATFORMS = [:osx, :ios, :watchos].freeze
496
+ PLATFORMS = [:osx, :ios, :tvos, :watchos].freeze
497
497
 
498
498
  # @todo This currently is not used in the Ruby DSL.
499
499
  #
@@ -1026,7 +1026,7 @@ module Pod
1026
1026
  #
1027
1027
  # These are the headers that will be exposed to the user’s project and
1028
1028
  # from which documentation will be generated. If no public headers are
1029
- # specified then **all** the headers are considered public.
1029
+ # specified then **all** the headers in source_files are considered public.
1030
1030
  #
1031
1031
  # @example
1032
1032
  #
@@ -1402,6 +1402,17 @@ module Pod
1402
1402
  PlatformProxy.new(self, :osx)
1403
1403
  end
1404
1404
 
1405
+ # Provides support for specifying tvOS attributes.
1406
+ #
1407
+ # @example
1408
+ # spec.tvos.source_files = "Classes/tvos/**/*.{h,m}"
1409
+ #
1410
+ # @return [PlatformProxy] the proxy that will set the attributes.
1411
+ #
1412
+ def tvos
1413
+ PlatformProxy.new(self, :tvos)
1414
+ end
1415
+
1405
1416
  # Provides support for specifying watchOS attributes.
1406
1417
  #
1407
1418
  # @example
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: 0.39.0.beta.4
4
+ version: 0.39.0.beta.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -9,62 +9,62 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-01 00:00:00.000000000 Z
12
+ date: 2015-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
- version: 3.2.15
20
+ version: 4.0.2
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: 3.2.15
27
+ version: 4.0.2
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: nap
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.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: '1.0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: fuzzy_match
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: 2.0.4
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: 2.0.4
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: bacon
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ~>
61
61
  - !ruby/object:Gem::Version
62
62
  version: '1.1'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.1'
70
70
  description: |-
@@ -78,9 +78,6 @@ executables: []
78
78
  extensions: []
79
79
  extra_rdoc_files: []
80
80
  files:
81
- - LICENSE
82
- - README.md
83
- - lib/cocoapods-core.rb
84
81
  - lib/cocoapods-core/core_ui.rb
85
82
  - lib/cocoapods-core/dependency.rb
86
83
  - lib/cocoapods-core/gem_version.rb
@@ -89,34 +86,37 @@ files:
89
86
  - lib/cocoapods-core/lockfile.rb
90
87
  - lib/cocoapods-core/metrics.rb
91
88
  - lib/cocoapods-core/platform.rb
92
- - lib/cocoapods-core/podfile.rb
93
89
  - lib/cocoapods-core/podfile/dsl.rb
94
90
  - lib/cocoapods-core/podfile/target_definition.rb
91
+ - lib/cocoapods-core/podfile.rb
95
92
  - lib/cocoapods-core/requirement.rb
96
- - lib/cocoapods-core/source.rb
97
93
  - lib/cocoapods-core/source/acceptor.rb
98
94
  - lib/cocoapods-core/source/aggregate.rb
99
95
  - lib/cocoapods-core/source/health_reporter.rb
100
- - lib/cocoapods-core/specification.rb
96
+ - lib/cocoapods-core/source.rb
101
97
  - lib/cocoapods-core/specification/consumer.rb
102
- - lib/cocoapods-core/specification/dsl.rb
103
98
  - lib/cocoapods-core/specification/dsl/attribute.rb
104
99
  - lib/cocoapods-core/specification/dsl/attribute_support.rb
105
100
  - lib/cocoapods-core/specification/dsl/deprecations.rb
106
101
  - lib/cocoapods-core/specification/dsl/platform_proxy.rb
102
+ - lib/cocoapods-core/specification/dsl.rb
107
103
  - lib/cocoapods-core/specification/json.rb
108
- - lib/cocoapods-core/specification/linter.rb
109
104
  - lib/cocoapods-core/specification/linter/analyzer.rb
110
105
  - lib/cocoapods-core/specification/linter/result.rb
106
+ - lib/cocoapods-core/specification/linter.rb
111
107
  - lib/cocoapods-core/specification/root_attribute_accessors.rb
112
- - lib/cocoapods-core/specification/set.rb
113
108
  - lib/cocoapods-core/specification/set/presenter.rb
109
+ - lib/cocoapods-core/specification/set.rb
110
+ - lib/cocoapods-core/specification.rb
114
111
  - lib/cocoapods-core/standard_error.rb
115
- - lib/cocoapods-core/vendor.rb
116
112
  - lib/cocoapods-core/vendor/requirement.rb
117
113
  - lib/cocoapods-core/vendor/version.rb
114
+ - lib/cocoapods-core/vendor.rb
118
115
  - lib/cocoapods-core/version.rb
119
116
  - lib/cocoapods-core/yaml_helper.rb
117
+ - lib/cocoapods-core.rb
118
+ - README.md
119
+ - LICENSE
120
120
  homepage: https://github.com/CocoaPods/CocoaPods
121
121
  licenses:
122
122
  - MIT
@@ -127,17 +127,17 @@ require_paths:
127
127
  - lib
128
128
  required_ruby_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
130
+ - - '>='
131
131
  - !ruby/object:Gem::Version
132
132
  version: 2.0.0
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - ">="
135
+ - - '>='
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.4.8
140
+ rubygems_version: 2.0.14.1
141
141
  signing_key:
142
142
  specification_version: 3
143
143
  summary: The models of CocoaPods