Sha256: 865e4d3e16cf468e2124e34820e942ff13b455904ef34f1544b943728874548d

Contents?: true

Size: 463 Bytes

Versions: 9

Compression:

Stored size: 463 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

9 entries across 9 versions & 1 rubygems

Version Path
teaspoon-1.1.5 lib/tasks/teaspoon/info.rake
teaspoon-1.1.4 lib/tasks/teaspoon/info.rake
teaspoon-1.1.3 lib/tasks/teaspoon/info.rake
teaspoon-1.1.2 lib/tasks/teaspoon/info.rake
teaspoon-1.1.1 lib/tasks/teaspoon/info.rake
teaspoon-1.1.0 lib/tasks/teaspoon/info.rake
teaspoon-1.0.2 lib/tasks/teaspoon/info.rake
teaspoon-1.0.1 lib/tasks/teaspoon/info.rake
teaspoon-1.0.0 lib/tasks/teaspoon/info.rake