cocoapods-core 0.36.0 → 0.36.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 +4 -4
- data/lib/cocoapods-core/dependency.rb +1 -1
- data/lib/cocoapods-core/gem_version.rb +1 -1
- data/lib/cocoapods-core/http.rb +1 -1
- data/lib/cocoapods-core/lockfile.rb +0 -1
- data/lib/cocoapods-core/source/health_reporter.rb +4 -0
- data/lib/cocoapods-core/yaml_helper.rb +3 -1
- data/lib/cocoapods-core.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f5ece60001c7c220a0916f21ae5ee62a5d3b8e8
|
4
|
+
data.tar.gz: aefe70127e25fbeba2855023b26af57e6a38c445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a02153f283bcefa836ac55ba6d97dcec1ed693e81f15ff8259c30406d47f056af1b16155711a2a27534cb148bdad1256fd4f3e13c11aaddccbbd1848f72e2c3
|
7
|
+
data.tar.gz: 8a282537d5b49728850ea58b564f2602dc0548f29ba836627f28a3b88af600845521f33a0245015f8c751467cfb2307188facdfca2399a6f4eb9368ad8f661c1
|
@@ -179,7 +179,7 @@ module Pod
|
|
179
179
|
return false unless head? == other.head?
|
180
180
|
return false unless external_source == other.external_source
|
181
181
|
|
182
|
-
other.requirement.requirements.all? do |
|
182
|
+
other.requirement.requirements.all? do |_operator, version|
|
183
183
|
requirement.satisfied_by? Version.new(version)
|
184
184
|
end
|
185
185
|
end
|
data/lib/cocoapods-core/http.rb
CHANGED
@@ -20,6 +20,8 @@ module Pod
|
|
20
20
|
# @!group Configuration
|
21
21
|
#-----------------------------------------------------------------------#
|
22
22
|
|
23
|
+
# rubocop:disable Style/TrivialAccessors
|
24
|
+
|
23
25
|
# Allows to specify an optional callback which is called before
|
24
26
|
# analysing every spec. Suitable for UI.
|
25
27
|
#
|
@@ -33,6 +35,8 @@ module Pod
|
|
33
35
|
@pre_check_callback = block
|
34
36
|
end
|
35
37
|
|
38
|
+
# rubocop:enable Style/TrivialAccessors
|
39
|
+
|
36
40
|
public
|
37
41
|
|
38
42
|
# @!group Actions
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
1
3
|
module Pod
|
2
4
|
# Converts objects to their YAML representation.
|
3
5
|
#
|
@@ -92,7 +94,7 @@ module Pod
|
|
92
94
|
#
|
93
95
|
def process_according_to_class(value, hash_keys_hint = nil)
|
94
96
|
case value
|
95
|
-
when String then value
|
97
|
+
when String then YAML.dump(value).sub(/^---/, '').sub(/[.]{3}\s*$/, '').strip
|
96
98
|
when Symbol then ":#{value}"
|
97
99
|
when TrueClass then 'true'
|
98
100
|
when FalseClass then 'false'
|
data/lib/cocoapods-core.rb
CHANGED
@@ -29,7 +29,7 @@ module Pod
|
|
29
29
|
autoload :Source, 'cocoapods-core/source'
|
30
30
|
autoload :Specification, 'cocoapods-core/specification'
|
31
31
|
autoload :StandardError, 'cocoapods-core/standard_error'
|
32
|
-
autoload :YAMLHelper,
|
32
|
+
autoload :YAMLHelper, 'cocoapods-core/yaml_helper'
|
33
33
|
|
34
34
|
# TODO: Fix
|
35
35
|
#
|
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.36.
|
4
|
+
version: 0.36.1
|
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: 2015-03-
|
12
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|