cocoapods-keys 2.0.3 → 2.0.4

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: 474b867e60e66bbf63c67a1bfaa3a6e1aa64b1b1
4
- data.tar.gz: d75309fab60c0ffa0c28b527192e54a4362dce57
3
+ metadata.gz: 7502124b8f62ae958517c1dc0483b7e8b1ac05b3
4
+ data.tar.gz: b48f6cd387fcfc9d8e6bd694fd1a86c38e70d12c
5
5
  SHA512:
6
- metadata.gz: 96cb1a5864d15aa9ce21548905b3479d334cc154c4e1e3b0be8f581907461cbeb826d5d29d26ceb61bb4c95d0f5fea8893b00714e8e4db3f45307cab54f6392e
7
- data.tar.gz: 44b7ce05cbd9b4efa6b8d2b4e5eebdaf2ffd8955b9f9fe57787948f7b2d947e09271114db1928b10fcc982b48ac385ab0156e13e362ee98a8e94d58bf1e6e010
6
+ metadata.gz: 7ca09eda742dbea3f22ca1b8227702d6af526298d10b3fc2b2c3b837abccd222a1735d6d553b78bd5245c3a7b41b8d06b5a54b01dcecc45f49f0dc94bdb1d242
7
+ data.tar.gz: ac93db30800ae01dd81aa9056f062504dfc87f9eca665a636ac49f9959eb7dfb0d7ada5332207d8503fb9ebe9fc5b3c806904f837b6750198a2c2460730fb3fd
@@ -1,5 +1,13 @@
1
1
  ## Master
2
2
 
3
+ ## 2.0.4
4
+
5
+ * Handles more CIs [SlaunchaMan]
6
+
7
+ ## 2.0.3
8
+
9
+ ??
10
+
3
11
  ## 2.0.2
4
12
 
5
13
  * Sets a minimum iOS target of 8.0 [orta]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-keys (2.0.3)
4
+ cocoapods-keys (2.0.4)
5
5
  dotenv
6
6
  osx_keychain
7
7
 
@@ -116,4 +116,4 @@ DEPENDENCIES
116
116
  rubocop
117
117
 
118
118
  BUNDLED WITH
119
- 1.15.4
119
+ 1.16.1
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsKeys
2
- VERSION = '2.0.3'.freeze
2
+ VERSION = '2.0.4'.freeze
3
3
  end
@@ -47,7 +47,7 @@ module CocoaPodsKeys
47
47
 
48
48
  def self.save_keyring(keyring)
49
49
  keys_dir.mkpath
50
- if !ENV['TRAVIS'] && !ENV['TEAMCITY_VERSION'] && !ENV['CIRCLECI']
50
+ if ci?
51
51
  prompt_if_already_existing(keyring)
52
52
  end
53
53
  yaml_path_for_path(keyring.path).open('w') { |f| f.write(YAML.dump(keyring.to_hash)) }
@@ -67,5 +67,12 @@ module CocoaPodsKeys
67
67
  end
68
68
 
69
69
  private_class_method :get_keyring_at_path
70
+
71
+ def self.ci?
72
+ %w([JENKINS_HOME TRAVIS CIRCLECI CI TEAMCITY_VERSION GO_PIPELINE_NAME bamboo_buildKey GITLAB_CI XCS]).each do |current|
73
+ return true if ENV.key?(current)
74
+ end
75
+ false
76
+ end
70
77
  end
71
78
  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: 2.0.3
4
+ version: 2.0.4
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: 2018-04-11 00:00:00.000000000 Z
12
+ date: 2018-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: osx_keychain