mirror of
https://github.com/github/choosealicense.com
synced 2025-02-23 19:09:15 +01:00

To fix the following offense ```sh Offenses: Gemfile:11:5: C: Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://github.com/rubocop-hq/ruby-style-guide#consistent-string-literals) gem "jekyll-github-metadata" ^^^^^^^^^^^^^^^^^^^^^^^^ 14 files inspected, 1 offense detected ``` Added comments
27 lines
476 B
Ruby
27 lines
476 B
Ruby
# frozen_string_literal: true
|
|
|
|
source 'https://rubygems.org'
|
|
|
|
require 'json'
|
|
require 'open-uri'
|
|
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
|
|
|
|
gem 'github-pages', versions['github-pages']
|
|
|
|
# For 'Improve this page' links
|
|
gem 'jekyll-github-metadata'
|
|
|
|
group :development do
|
|
gem 'colored'
|
|
gem 'fuzzy_match'
|
|
gem 'terminal-table'
|
|
end
|
|
|
|
group :test do
|
|
gem 'html-proofer', '~> 3.0'
|
|
gem 'licensee'
|
|
gem 'rake'
|
|
gem 'rspec'
|
|
gem 'rubocop'
|
|
end
|