lib/plugin.rb in cocoapods-keys-1.5.0 vs lib/plugin.rb in cocoapods-keys-1.5.1

- old
+ new

@@ -40,14 +40,13 @@ # Add our template podspec add_keys_to_pods(keys_path.relative_path_from(installation_root), user_options) # Remove the shared scheme for this pod - Pod::HooksManager.register('cocoapods-keys', :post_install) do |context, user_options| - shared_scheme_path = "Pods/Pods.xcodeproj/xcshareddata/xcschemes/Keys.xcscheme" + Pod::HooksManager.register('cocoapods-keys', :post_install) do + shared_scheme_path = 'Pods/Pods.xcodeproj/xcshareddata/xcschemes/Keys.xcscheme' FileUtils.rm(shared_scheme_path) if File.exist?(shared_scheme_path) end - end def add_keys_to_pods(keys_path, options) keys_targets = options['target'] || options['targets']