Sha256: 666f35b357d146356196bd4c44c8b3e69360a24e20489542d664176fb5fb07c8

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

namespace :teaspoon do
  desc "Print teaspoon and framework information"
  task info: :environment do
    STDOUT.print("Teaspoon: #{Teaspoon::VERSION}\n\n")

    STDOUT.print("Frameworks:\n")

    Teaspoon::Framework.available.each do |framework, _|
      STDOUT.print("  #{framework}\n")

      versions = Teaspoon::Framework.fetch(framework).versions
      versions.each { |version| STDOUT.print("    #{version}\n") }

      STDOUT.print("\n")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
teaspoon-1.4.0 lib/tasks/teaspoon/info.rake
teaspoon-1.2.2 lib/tasks/teaspoon/info.rake
teaspoon-1.2.1 lib/tasks/teaspoon/info.rake
teaspoon-1.2.0 lib/tasks/teaspoon/info.rake