Sha256: 07c98887643baca1cba753c31c274b53e59792d375630906ebfa436ce3a04820
Contents?: true
Size: 522 Bytes
Versions: 7
Compression:
Stored size: 522 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' task :endpoints do require 'rakuten_web_service' require 'terminal-table' table = Terminal::Table.new(headings: %w[Resource Endpoint]) do |t| RakutenWebService::Resource.subclasses.each do |resource| t << [resource.name, resource.endpoint] unless resource.endpoint.nil? end end puts table end RSpec::Core::RakeTask.new do |t| t.pattern = 'spec/**/*_spec.rb' t.rspec_opts = '-c -fd' end task :rspec => :spec task :default => :spec
Version data entries
7 entries across 7 versions & 1 rubygems