cocoapods-core 0.37.0.beta.1 → 0.37.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-core/gem_version.rb +1 -1
- data/lib/cocoapods-core/lockfile.rb +10 -1
- data/lib/cocoapods-core/source.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: 7d7c9fac21e428b03316d611265afdb4499e2f29
|
4
|
+
data.tar.gz: 29d37be0c71efa729056e5b3b506242fae818c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86866b240ac33c1d4ebadd296049c55f6461b9d44aa5eea8b7103668294741e268e7184b116419c6a6bcb6048709ca78072b96d6bee1d59d5cde8f8ec7e3f708
|
7
|
+
data.tar.gz: 8f682c7fb665001c00088ff50435fb6a1f0e420dddb7367e4d85074952a09d06f99784a694f2e0b3c62284227eb96f50e9b5f497ce0e6fb46780da7758f26d1c
|
@@ -289,8 +289,17 @@ module Pod
|
|
289
289
|
#
|
290
290
|
def write_to_disk(path)
|
291
291
|
path.dirname.mkpath unless path.dirname.exist?
|
292
|
-
File.open(path, 'w') { |f| f.write(to_yaml) }
|
293
292
|
self.defined_in_file = path
|
293
|
+
# rubocop:disable Lint/RescueException
|
294
|
+
# rubocop:disable Lint/HandleExceptions
|
295
|
+
begin
|
296
|
+
existing = Lockfile.from_file(path)
|
297
|
+
return if existing == self
|
298
|
+
rescue Exception
|
299
|
+
end
|
300
|
+
path.open('w') { |f| f.write(to_yaml) }
|
301
|
+
# rubocop:enable Lint/HandleExceptions
|
302
|
+
# rubocop:enable Lint/RescueException
|
294
303
|
end
|
295
304
|
|
296
305
|
# @return [Hash{String=>Array,Hash,String}] a hash representation of the
|
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.37.0.
|
4
|
+
version: 0.37.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: 2015-04-
|
12
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|