cocoapods-core 1.2.0.beta.3 → 1.2.0.rc.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95468468525e00b1e98fad061916778b002f5ee6
4
- data.tar.gz: b45a887b457f45ecabbc584591455a7717a8b627
3
+ metadata.gz: 6e0e94fa70fddf03bb96c00808b7ee910f764149
4
+ data.tar.gz: 99a940f21f27ecd0e6dbcbc8b39125b0878aa34a
5
5
  SHA512:
6
- metadata.gz: b078c7b1436e0a2c5ee422162b5600ad6bfc8feff273454f2d53c2b717e91aa8f6f4f3aa122ac74f678d65b31af1e5d61d96e0db5536769ee52f47e05dc079cf
7
- data.tar.gz: 9fa3850d4a6e9fb765e2edc772c78ccab38d1a9cf5423bcaadc49136d647a9e827295aa5da0fcf3ffd73588b6219818fd7d467eef8039935461b280c29edb8ab
6
+ metadata.gz: ad7f382d2f6eca7b59bf2854e30f273b8a7823d3840cc0d7125cb34554a551f8a6adbdd012cb1934d2c1d303cc7379aa9c8bc9f098527cfd3a82b7663d740bc6
7
+ data.tar.gz: d0635cb7fedc806a779a476f72cf5b6e1bf057cc194a5e7d5696801724b5d49f2e28e9deecde0d907deeeeb11a5b1ac4f002416fe6d5f6b09f0a114a9f923634
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.2.0.beta.3'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.2.0.rc.1'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -251,7 +251,7 @@ module Pod
251
251
 
252
252
  if d.strip.empty?
253
253
  results.add_error('description', 'The description is empty.')
254
- elsif d.length < spec.summary.length
254
+ elsif spec.summary && d.length < spec.summary.length
255
255
  results.add_warning('description', 'The description is shorter ' \
256
256
  'than the summary.')
257
257
  end
@@ -98,6 +98,9 @@ module Pod
98
98
  if dsl_path && description =~ /((#{Regexp.quote File.expand_path(dsl_path)}|#{Regexp.quote dsl_path.to_s}):\d+)/
99
99
  trace_line = Regexp.last_match[1]
100
100
  description = description.sub(/#{Regexp.quote trace_line}:\s*/, '')
101
+ if description =~ /^\s*\^\z/
102
+ description = description.lines[0..-3].join.chomp
103
+ end
101
104
  end
102
105
  [trace_line, description]
103
106
  end
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.2.0.beta.3
4
+ version: 1.2.0.rc.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: 2016-12-28 00:00:00.000000000 Z
12
+ date: 2017-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport