Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Commit

Permalink
Update gemsepc
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelastic committed Nov 7, 2017
1 parent 20bbba9 commit 94f182c
Show file tree
Hide file tree
Showing 5 changed files with 265 additions and 283 deletions.
7 changes: 4 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
source 'http://rubygems.org'

gem 'algoliasearch', '1.11'
gem 'appraisal', '~> 2.1.0'
gem 'algolia_html_extractor', '~> 2.0'
gem 'algoliasearch', '~> 1.18'
gem 'awesome_print', '~> 1.6'
gem 'html-hierarchy-extractor', '~> 1.0'
gem 'jekyll', '~> 3.0'
gem 'jekyll-paginate', '~> 1.1.0'
gem 'json', '>= 1.8.6'
gem 'nokogiri', '~> 1.6'
gem 'verbal_expressions', '~> 0.1.5'
Expand Down
42 changes: 11 additions & 31 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,47 +1,27 @@
# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts 'Run `bundle install` to install missing gems'
warn e.message
warn 'Run `bundle install` to install missing gems'
exit e.status_code
end
require 'rake'

require 'jeweler'
require_relative 'lib/version'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see
# http://guides.rubygems.org/specification-reference/ for more options
gem.name = 'algoliasearch-jekyll'
gem.version = AlgoliaSearchJekyllVersion.to_s
gem.homepage = 'https://github.com/algolia/algoliasearch-jekyll'
gem.license = 'MIT'
gem.summary = 'AlgoliaSearch for Jekyll'
gem.description = 'Index all your pages and posts to an Algolia index with ' \
'`jekyll algolia push`'
gem.email = 'tim@pixelastic.com'
gem.authors = ['Tim Carry']

# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

# TEST
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
desc 'Run tests (with simple progress)'
RSpec::Core::RakeTask.new(:test) do |spec|
spec.rspec_opts = '--color --format progress'
spec.pattern = FileList['spec/credential_checker_spec.rb']
end
desc 'Run tests (with full details)'
RSpec::Core::RakeTask.new(:test_details) do |spec|
spec.rspec_opts = '--color --format documentation'
spec.pattern = FileList['spec/**/*_spec.rb']
end
task test: :spec

desc 'Code coverage detail'
task :coverage do
ENV['COVERAGE'] = 'true'
Rake::Task['spec'].execute
end
task spec: :test

task default: :test
4 changes: 2 additions & 2 deletions gemfiles/jekyll_v2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ source "http://rubygems.org"
gem "algoliasearch", "1.11"
gem "appraisal", "~> 2.1.0"
gem "awesome_print", "~> 1.6"
gem "json", "~> 1.8"
gem "nokogiri", "~> 1.6"
gem "html-hierarchy-extractor", "~> 1.0"
gem "json", ">= 1.8.6"
gem "nokogiri", "~> 1.6"
gem "verbal_expressions", "~> 0.1.5"
gem "jekyll", "~> 2.5"

Expand Down
4 changes: 2 additions & 2 deletions gemfiles/jekyll_v3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ source "http://rubygems.org"
gem "algoliasearch", "1.11"
gem "appraisal", "~> 2.1.0"
gem "awesome_print", "~> 1.6"
gem "json", "~> 1.8"
gem "nokogiri", "~> 1.6"
gem "html-hierarchy-extractor", "~> 1.0"
gem "json", ">= 1.8.6"
gem "nokogiri", "~> 1.6"
gem "verbal_expressions", "~> 0.1.5"
gem "jekyll", "~> 3.0"
gem "jekyll-paginate", "~> 1.1.0"
Expand Down

0 comments on commit 94f182c

Please sign in to comment.