cocoapods-keys 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/cocoapods_keys.rb +1 -1
- data/lib/key_master.rb +1 -1
- data/lib/keyring_liberator.rb +3 -1
- data/lib/preinstaller.rb +11 -9
- 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: 8a07fb862648b34a728c83007508151bedac25da
|
4
|
+
data.tar.gz: f4f3e62cc1b22b67b8cfdcff47612b573795c741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d11679c4d55a1e06fb76ab79c56b19ffcfd062d06c1ac049be5984031e5829dc0856739aa2918ecc7e3faf53011cb0a57c0fd0bfe26116687f179a2bf219186f
|
7
|
+
data.tar.gz: 05828c1725dbd7dc244d0ff967fe9a682541e6972a42734b41189a56ec58ceab152ca39d5787747b45bb9d1119b17d19df662954df384148ddf603d6cfa78b1d
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/cocoapods_keys.rb
CHANGED
data/lib/key_master.rb
CHANGED
data/lib/keyring_liberator.rb
CHANGED
@@ -47,7 +47,9 @@ module CocoaPodsKeys
|
|
47
47
|
|
48
48
|
def self.save_keyring(keyring)
|
49
49
|
keys_dir.mkpath
|
50
|
-
|
50
|
+
if !ENV['TRAVIS'] && !ENV['TEAMCITY_VERSION'] && !ENV['CIRCLECI']
|
51
|
+
prompt_if_already_existing(keyring)
|
52
|
+
end
|
51
53
|
yaml_path_for_path(keyring.path).open('w') { |f| f.write(YAML.dump(keyring.to_hash)) }
|
52
54
|
end
|
53
55
|
|
data/lib/preinstaller.rb
CHANGED
@@ -58,16 +58,18 @@ module CocoaPodsKeys
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def check_for_multiple_keyrings(project, current_dir)
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
61
|
+
if !ENV['TRAVIS'] && !ENV['TEAMCITY_VERSION'] && !ENV['CIRCLECI']
|
62
|
+
ui = Pod::UserInterface
|
63
|
+
keyrings = KeyringLiberator.get_all_keyrings_named(project)
|
64
|
+
if keyrings.count > 1
|
65
|
+
ui.puts "Found multiple keyrings for project #{project.inspect}, but"
|
66
|
+
ui.puts "no match found for current path (#{current_dir}):"
|
67
|
+
keyrings.each do |found_keyring|
|
68
|
+
ui.puts "- #{found_keyring.path}"
|
69
|
+
end
|
70
|
+
ui.puts "\nPress enter to create a new keyring, or `ctrl + c` to cancel"
|
71
|
+
ui.gets
|
68
72
|
end
|
69
|
-
ui.puts "\nPress enter to create a new keyring, or `ctrl + c` to cancel"
|
70
|
-
ui.gets
|
71
73
|
end
|
72
74
|
end
|
73
75
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-keys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Orta Therox
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-09-
|
12
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: osx_keychain
|