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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b6bfcf0bab03b687190ef1e5400625faad2bee4
4
- data.tar.gz: 93f770d9b2baa61164d5c7847571ab344f1c12fd
3
+ metadata.gz: 8a07fb862648b34a728c83007508151bedac25da
4
+ data.tar.gz: f4f3e62cc1b22b67b8cfdcff47612b573795c741
5
5
  SHA512:
6
- metadata.gz: 5e06492b4df028b9b836e68814e2720642b03d326632d78d93c18ccace6ef7a501e99902ad955050b1533464ba0f575eaac807818918ee496e38b5da6929ddff
7
- data.tar.gz: d5a4c9f1d84526ed72ed0f1676dca4f7c01372edfdc077a13f5933027eaba91bdd6b9a82409c23bc754709e2d77913a94449fe66366eea32ba32e8a122f71a6b
6
+ metadata.gz: d11679c4d55a1e06fb76ab79c56b19ffcfd062d06c1ac049be5984031e5829dc0856739aa2918ecc7e3faf53011cb0a57c0fd0bfe26116687f179a2bf219186f
7
+ data.tar.gz: 05828c1725dbd7dc244d0ff967fe9a682541e6972a42734b41189a56ec58ceab152ca39d5787747b45bb9d1119b17d19df662954df384148ddf603d6cfa78b1d
@@ -1,5 +1,10 @@
1
1
  ## Master
2
2
 
3
+ ## 1.5.2
4
+
5
+ * Don't ask for input in CI [x2on]
6
+ * Fix for first run crash [segiddins]
7
+
3
8
  ## 1.5.1
4
9
 
5
10
  * Support .env files [x2on]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-keys (1.5.1)
4
+ cocoapods-keys (1.5.2)
5
5
  dotenv
6
6
  osx_keychain
7
7
 
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsKeys
2
- VERSION = '1.5.1'
2
+ VERSION = '1.5.2'
3
3
  end
@@ -72,7 +72,7 @@ module CocoaPodsKeys
72
72
  end
73
73
 
74
74
  def verify_keychain_integrity
75
- if @keys.values.any?.nil? || @keys.any?.nil?
75
+ if @keys.any? { |k, v| k.nil? || v.nil? }
76
76
  raise 'A key/value pair in the application keychain is nil.'
77
77
  end
78
78
  end
@@ -47,7 +47,9 @@ module CocoaPodsKeys
47
47
 
48
48
  def self.save_keyring(keyring)
49
49
  keys_dir.mkpath
50
- prompt_if_already_existing(keyring)
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
 
@@ -58,16 +58,18 @@ module CocoaPodsKeys
58
58
  end
59
59
 
60
60
  def check_for_multiple_keyrings(project, current_dir)
61
- ui = Pod::UserInterface
62
- keyrings = KeyringLiberator.get_all_keyrings_named(project)
63
- if keyrings.count > 1
64
- ui.puts "Found multiple keyrings for project #{project.inspect}, but"
65
- ui.puts "no match found for current path (#{current_dir}):"
66
- keyrings.each do |found_keyring|
67
- ui.puts "- #{found_keyring.path}"
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.1
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-28 00:00:00.000000000 Z
12
+ date: 2015-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: osx_keychain