Sha256: c212d0ee89f4f3227f1443811dc2f54fef9b854bfaacdb4c8ce7c1dbb7c072fc

Contents?: true

Size: 1.13 KB

Versions: 14

Compression:

Stored size: 1.13 KB

Contents

module Pod
  class Command
    class Keys < Command
      include ProjectDirectory

      require 'pod/command/keys/list'
      require 'pod/command/keys/set'
      require 'pod/command/keys/get'
      require 'pod/command/keys/rm'
      require 'pod/command/keys/export'
      require 'pod/command/keys/generate'

      self.summary = 'A key value store for environment settings in Cocoa Apps'

      self.description = <<-DESC
        CocoaPods Keys will store sensitive data in your Mac's keychain. Then on running pod install they will be installed into your app's source code via the Pods library.
      DESC

      self.abstract_command = true
      self.default_subcommand = 'list'

      def create_keyring
        current_dir = Pathname.pwd
        name = @project_name || CocoaPodsKeys::NameWhisperer.get_project_name
        CocoaPodsKeys::Keyring.new(name, current_dir, [])
      end

      def get_current_keyring
        current_dir = Pathname.pwd
        project = @project_name || CocoaPodsKeys::NameWhisperer.get_project_name
        CocoaPodsKeys::KeyringLiberator.get_current_keyring(project, current_dir)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cocoapods-keys-2.3.1 lib/pod/command/keys.rb
cocoapods-keys-2.3.0 lib/pod/command/keys.rb
cocoapods-keys-2.2.1 lib/pod/command/keys.rb
cocoapods-keys-2.2.0 lib/pod/command/keys.rb
cocoapods-keys-2.1.0 lib/pod/command/keys.rb
cocoapods-keys-2.0.7 lib/pod/command/keys.rb
cocoapods-keys-2.0.6 lib/pod/command/keys.rb
cocoapods-keys-2.0.5 lib/pod/command/keys.rb
cocoapods-keys-2.0.4 lib/pod/command/keys.rb
cocoapods-keys-2.0.3 lib/pod/command/keys.rb
cocoapods-keys-2.0.2 lib/pod/command/keys.rb
cocoapods-keys-2.0.1 lib/pod/command/keys.rb
cocoapods-keys-2.0.0 lib/pod/command/keys.rb
cocoapods-keys-1.7.0 lib/pod/command/keys.rb