Sha256: 131306d8476d3bbea83e31068852cb19469ead59b43378b4dcb2af6580c8201a
Contents?: true
Size: 852 Bytes
Versions: 3
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=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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git-trend-1.1.9 | Rakefile |
git-trend-1.1.8 | Rakefile |
git-trend-1.1.7 | Rakefile |