cocoapods-core 0.38.1 → 0.38.2

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: 5976dc1aa7902beaef71fc3053e4a3357725adcb
4
- data.tar.gz: ea50056207959814f32a3a19a32f08499b38165f
3
+ metadata.gz: e3fc24da680129a3130376b3444590ac2a77b2fb
4
+ data.tar.gz: 3f949758aef66e352df50571f21dbe0eff9bf7bd
5
5
  SHA512:
6
- metadata.gz: d0a463b6b4034f1e1acd3e095ef3b9139d083f7ef376cb3a4c45c8ef50acbb53830bf31e82fa83127fbf9b072494fe99c53d90481da05911c3b11ed909905baf
7
- data.tar.gz: 06e16756b94e7942ca85b676bfd399aadc67187c85639719b6bfcaeab08244d989ab9d03a925bdb756b6a51af666283d6b157a579eb91a4f56044b79bbf3d6dc
6
+ metadata.gz: c8e9c2da39000cd59549884a794575a74331e774731a3641539eb366df1d333945ad7acad22e632ba7bd94e74f7f3105bd53eba06d4161fd020d586462ba9279
7
+ data.tar.gz: 0d8568b52cf35e7361017fae55e9551f02d3fe56e069682db950d89054c180e86307589c1634fa165fd03cf023f902dc448d1d06f9a6d3210943e99ec7dcb62a
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '0.38.1' unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '0.38.2' unless defined? Pod::CORE_VERSION
5
5
  end
@@ -125,19 +125,25 @@ module Pod
125
125
  # @return [Fixnum] The semver major identifier.
126
126
  #
127
127
  def major
128
- segments[0]
128
+ numeric_segments[0].to_i
129
129
  end
130
130
 
131
131
  # @return [Fixnum] The semver minor identifier.
132
132
  #
133
133
  def minor
134
- segments[1] || 0
134
+ numeric_segments[1].to_i
135
135
  end
136
136
 
137
137
  # @return [Fixnum] The semver patch identifier.
138
138
  #
139
139
  def patch
140
- segments[2] || 0
140
+ numeric_segments[2].to_i
141
+ end
142
+
143
+ private
144
+
145
+ def numeric_segments
146
+ segments.take_while { |s| s.is_a?(Numeric) }
141
147
  end
142
148
 
143
149
  #-------------------------------------------------------------------------#
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.38.1
4
+ version: 0.38.2
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-07-23 00:00:00.000000000 Z
12
+ date: 2015-07-25 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: 3.2.15
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: 3.2.15
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: 0.8.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.8.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,12 +127,12 @@ 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: []