lib/cocoaseeds/core.rb
def analyze_dependencies
      say "Anaylizing dependencies"

      # Seedfile.lock
      if self.lockfile
        locks = YAML.load(self.lockfile)
        locks["SEEDS"].each do |lock|
          seed = Seeds::Seed.new
          seed.name = lock.split(' (')[0]
          seed.version = lock.split('(')[1].split(')')[0]
          if seed.version.start_with? '$'
            seed.commit = seed.version[1..-1]
            seed.version = nil
          end
          self.locks[seed.name] = seed
        end
      end
    end
def analyze_dependencies
      say "Anaylizing dependencies"

      # Seedfile.lock
      if self.lockfile
        locks = YAML.load(self.lockfile)
        locks["SEEDS"].each do |lock|
          seed = Seeds::Seed.new
          seed.name = lock.split(' (')[0]
          seed.version = lock.split('(')[1].split(')')[0]
          if seed.version.start_with? '$'
            seed.commit = seed.version[1..-1]
            seed.version = nil
          end
          self.locks[seed.name] = seed
        end
      end
    end
Parses Seedfile.lockfile into {#lockfile}.

 @see #lockfile

 @!visibility private