Sha256: c1a90712527da7c92d54c08f01858dd9d0c829de13a9c10792296f882465c585

Contents?: true

Size: 774 Bytes

Versions: 2

Compression:

Stored size: 774 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task default: :spec

desc "update fixtures"
task :update_fixtures do
  sh "curl -o spec/fixtures/trending/index https://github.com/trending"
  sh "curl -o spec/fixtures/trending/ruby https://github.com/trending/ruby"
  sh "curl -o spec/fixtures/trending/ruby?since=weekly https://github.com/trending/ruby?since=weekly"

  sh "curl -o spec/fixtures/trending?since= https://github.com/trending?since="
  sh "curl -o spec/fixtures/trending?since=daily https://github.com/trending?since=daily"
  sh "curl -o spec/fixtures/trending?since=monthly https://github.com/trending?since=monthly"
  sh "curl -o spec/fixtures/trending?since=weekly https://github.com/trending?since=weekly"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-trend-1.1.6 Rakefile
git-trend-1.1.5 Rakefile