cocoapods-core 1.0.0.beta.4 → 1.0.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: b43e8aec572428f764c86aded8766a4d76dccf63
4
- data.tar.gz: e4ad6bb6b6da4daf4e00919d1287ae6b1c3099a6
3
+ metadata.gz: 76708b23bcc64b18355ee04008aebc0aaa54fad2
4
+ data.tar.gz: c11c210e6b36496813245f9b9635821925697d35
5
5
  SHA512:
6
- metadata.gz: 0c33a61f4d272475840975687c8aecbb5f6d48d85a29dabe06f2d10e4e154fd9b7e13f7c0ca9163a6473f1d7cf91f0bdfd014294f949c9126a689ffae32b3c9f
7
- data.tar.gz: 5e77dee9d7db62e536c1fa3d0b64070ed652c4f6bee05c28af83152c337335810d3289666a6298bbff24e39f0641f7d92ed9b94a65de18cd4ce25e8e053aeeed
6
+ metadata.gz: 516cd6d40cd2dcbac3b2609b121b48bcac240ceaf53fbfa34e3fd82eab31a829b35754de36acf237a97d1738b5bbbd51f3590c7cc15f71308692d4431bb51eca
7
+ data.tar.gz: 435f074158033ca5a786f5c8b150e94c74df2eb02b967b435ca14ac302cc268250a3a08bda9bbde5076116546d3028a4d1f3fb8b89c84732346dbef15c2bd206
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.0.0.beta.4'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.0.0.beta.5'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -1,8 +1,8 @@
1
1
  module Pod
2
2
  class Podfile
3
- # The of the methods defined in this file and the order of the methods is
3
+ # The methods defined in this file and the order of the methods is
4
4
  # relevant for the documentation generated on
5
- # CocoaPods/cocoapods.github.com.
5
+ # https://github.com/CocoaPods/guides.cocoapods.org.
6
6
 
7
7
  # The Podfile is a specification that describes the dependencies of the
8
8
  # targets of one or more Xcode projects.
@@ -78,11 +78,13 @@ module Pod
78
78
  # definition should inherit only search paths.
79
79
  #
80
80
  def targets_to_inherit_search_paths
81
- return [] unless inheritance == 'search_paths'
82
- if root? || !matches_platform?(parent)
83
- raise StandardError, "Non-sensical to have search_paths inheritance for #{name} when there is no parent."
84
- else
81
+ can_inherit = !root? && matches_platform?(parent)
82
+ if inheritance == 'search_paths' # && can_inherit
85
83
  parent.targets_to_inherit_search_paths << parent
84
+ elsif can_inherit
85
+ parent.targets_to_inherit_search_paths
86
+ else
87
+ []
86
88
  end
87
89
  end
88
90
 
@@ -1,3 +1,5 @@
1
+ require 'cocoapods-core/specification/root_attribute_accessors'
2
+
1
3
  module Pod
2
4
  class Specification
3
5
  # Allows to conveniently access a Specification programmatically.
@@ -51,6 +53,12 @@ module Pod
51
53
  end
52
54
  end
53
55
 
56
+ DSL::RootAttributesAccessors.instance_methods.each do |root_accessor|
57
+ define_method(root_accessor) do
58
+ spec.root.send(root_accessor)
59
+ end
60
+ end
61
+
54
62
  #-----------------------------------------------------------------------#
55
63
 
56
64
  # @!group Regular attributes
@@ -113,6 +121,10 @@ module Pod
113
121
  #
114
122
  spec_attr_accessor :module_name
115
123
 
124
+ # @return [String] the path of the module map file.
125
+ #
126
+ spec_attr_accessor :module_map
127
+
116
128
  # @return [String] the headers directory.
117
129
  #
118
130
  spec_attr_accessor :header_dir
@@ -96,7 +96,7 @@ module Pod
96
96
  case value
97
97
  when Array then process_array(value)
98
98
  when Hash then process_hash(value, hash_keys_hint)
99
- else YAML.dump(value, :line_width => -1).sub(/\A---/, '').sub(/[.]{3}\s*\Z/, '')
99
+ else YAML.dump(value, :line_width => 2**31 - 1).sub(/\A---/, '').sub(/[.]{3}\s*\Z/, '')
100
100
  end.strip
101
101
  end
102
102
 
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.0.0.beta.4
4
+ version: 1.0.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: 2016-02-23 00:00:00.000000000 Z
12
+ date: 2016-03-07 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
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
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: |-
@@ -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.5.2
140
+ rubygems_version: 2.6.1
141
141
  signing_key:
142
142
  specification_version: 3
143
143
  summary: The models of CocoaPods