cocoapods-keys 1.3.1 → 1.3.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: 6855eb890ff71e615be14c30f3309042ee4bc04f
4
- data.tar.gz: 1896d65421e49803dd1d9fee778237985c7223ad
3
+ metadata.gz: dfeb86756e80df052b99475db7380a3b4801d4fd
4
+ data.tar.gz: 3a7db4640787b9daf6cf98a3a7764759425ab908
5
5
  SHA512:
6
- metadata.gz: d3098ea6be6c557915f468a00309578b647c0f29d95e8d04a704e6c70333c8c6b53562cda08f73a74c969e02c339917a48b5308e72777e1e6dcdac73f2f32ff7
7
- data.tar.gz: 70ae81456927c8bcbbcd816a63030c0c7543b9a38cfc75b02c886ce5aba7576db37e90d4fc41898b456451e428a1b52afde828de08e193812a48f3fcfb791c9d
6
+ metadata.gz: e8d025668c6ce05268a8b908c4a0e8d737725f74ab1d7e5b8b1a94afac977c1fdcde767ea02c02c4a2b2f2a1b13dce964ae25d913437f7b76e596ca4694b5989
7
+ data.tar.gz: 6e403a3dac62f4b1f0e89a2bbf6659d740a8fe3ec202eb6929475db609f5ac87b83f3401a33f9cd080710dfc08dca6e1503e91d6d284a33456a0d26180ec2662
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Master
2
2
 
3
+ ## 1.3.2
4
+
5
+ * Use relative paths for generated Podspec [segiddins]
6
+
3
7
  ## 1.3.1
4
8
 
5
9
  * Fix for accidental `ui puts` crash [eliesoueidy]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-keys (1.3.1)
4
+ cocoapods-keys (1.3.2)
5
5
  osx_keychain
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -14,9 +14,9 @@ Requires CocoaPods 0.36
14
14
 
15
15
  ## How it works
16
16
 
17
- Key names are stored in `~/cocoapods/keys/` and key values in the OS X keychain. When you run `pod install` or `pod update`, an Objective-C class is created with scrambled versions of the keys, making it difficult to just [dump](https://github.com/stefanesser/dumpdecrypted) the contents of the decrypted binary and extract the keys. At runtime, the keys are unscrambled for use in your app.
17
+ Key names are stored in `~/.cocoapods/keys/` and key values in the OS X keychain. When you run `pod install` or `pod update`, an Objective-C class is created with scrambled versions of the keys, making it difficult to just [dump](https://github.com/stefanesser/dumpdecrypted) the contents of the decrypted binary and extract the keys. At runtime, the keys are unscrambled for use in your app.
18
18
 
19
- The generated Objective-C classes are stored in the `Pods/Keys` directory, so if you're checking in your [Pods folder](http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control), just add `Pods/Keys` to your `.gitignore` file. CocoaPods-Keys supports integration in Swift or Objective-C projects.
19
+ The generated Objective-C classes are stored in the `Pods/CocoaPodsKeys` directory, so if you're checking in your [Pods folder](http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control), just add `Pods/CocoaPodsKeys` to your `.gitignore` file. CocoaPods-Keys supports integration in Swift or Objective-C projects.
20
20
 
21
21
  ## Usage
22
22
 
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsKeys
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
@@ -20,17 +20,18 @@ module CocoaPodsKeys
20
20
  end
21
21
 
22
22
  def self.search_folders_for_xcodeproj
23
+ ui = Pod::UserInterface
23
24
  xcodeprojects = Pathname.glob('**/*.xcodeproj')
24
25
  if xcodeprojects.length == 1
25
26
  Pathname(xcodeprojects.first).basename
26
27
  else
27
28
  error_message = (xcodeprojects.length > 1) ? 'found too many' : "couldn't find any"
28
- UI.puts 'CocoaPods-Keys ' + error_message + ' Xcode projects. Please give a name for this project.'
29
+ ui.puts 'CocoaPods-Keys ' + error_message + ' Xcode projects. Please give a name for this project.'
29
30
 
30
31
  answer = ''
31
32
  loop do
32
- UI.print ' > '
33
- answer = UI.gets.strip
33
+ ui.print ' > '
34
+ answer = ui.gets.strip
34
35
  break if answer.length > 0
35
36
  end
36
37
  answer
data/lib/plugin.rb CHANGED
@@ -11,7 +11,8 @@ module CocoaPodsKeys
11
11
 
12
12
  PreInstaller.new(user_options).setup
13
13
 
14
- keys_path = Pod::Config.instance.installation_root + 'Pods/CocoaPodsKeys/'
14
+ installation_root = Pod::Config.instance.installation_root
15
+ keys_path = installation_root.+('Pods/CocoaPodsKeys/').relative_path_from(installation_root)
15
16
 
16
17
  # move our podspec in to the Pods
17
18
  mkdir_p keys_path
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.3.1
4
+ version: 1.3.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-06-12 00:00:00.000000000 Z
12
+ date: 2015-06-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: osx_keychain