Sha256: 8766e99c9380de3079b9149d47275a364e6b7ac8e894855c8d6315cc3bc0260a

Contents?: true

Size: 852 Bytes

Versions: 12

Compression:

Stored size: 852 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/alloy https://github.com/trending/alloy"
  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=weekly https://github.com/trending?since=weekly"
  sh "curl -o spec/fixtures/trending?since=monthly https://github.com/trending?since=monthly"
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
git-trend-1.4.0 Rakefile
git-trend-1.3.0 Rakefile
git-trend-1.2.9 Rakefile
git-trend-1.2.8 Rakefile
git-trend-1.2.7 Rakefile
git-trend-1.2.6 Rakefile
git-trend-1.2.5 Rakefile
git-trend-1.2.4 Rakefile
git-trend-1.2.3 Rakefile
git-trend-1.2.2 Rakefile
git-trend-1.2.1 Rakefile
git-trend-1.2.0 Rakefile