2015-10-25 21:21:46 +00:00
|
|
|
source 'https://rubygems.org'
|
2016-02-09 21:30:01 +00:00
|
|
|
require 'json'
|
|
|
|
require 'open-uri'
|
2015-10-25 21:21:46 +00:00
|
|
|
|
|
|
|
gemspec
|
|
|
|
|
2016-02-09 23:26:38 +00:00
|
|
|
group :development, :test do
|
2016-02-09 21:30:01 +00:00
|
|
|
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
|
|
|
|
versions.delete('ruby')
|
|
|
|
versions.delete('jekyll-seo-tag')
|
|
|
|
versions.delete('github-pages')
|
2016-10-06 20:56:15 +00:00
|
|
|
versions.delete('jekyll') # Remove this line when GitHub Pages supports 3.3.0
|
2016-02-09 21:30:01 +00:00
|
|
|
|
|
|
|
versions.each do |dep, version|
|
|
|
|
gem dep, version
|
|
|
|
end
|
|
|
|
end
|