Skip to content

Commit

Permalink
Lint with rubocop-jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyF committed Jul 23, 2018
1 parent 767881d commit 160e6a5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
16 changes: 6 additions & 10 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
require: rubocop-jekyll

inherit_gem:
jekyll: .rubocop.yml
rubocop-jekyll: .rubocop.yml

AllCops:
TargetRubyVersion: 2.3

Metrics/LineLength:
Exclude:
- spec/**/*
- jekyll-sass-converter.gemspec

Metrics/BlockLength:
Exclude:
- spec/**/*

Layout/IndentHeredoc:
Exclude:
- spec/**/*
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ rvm:
- 2.5
- 2.4
- 2.3
- 2.2
matrix:
include:
- rvm: 2.4.2
env: JEKYLL_VERSION=3.6
env: JEKYLL_VERSION=3.7.3
env:
matrix:
- JEKYLL_VERSION=3.6
- JEKYLL_VERSION=3.7.3
branches:
only:
- master
before_install:
before_install:
- gem update --system
script: script/cibuild
notifications:
Expand Down
6 changes: 6 additions & 0 deletions History.markdown
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## HEAD

### Minor Enhancements

* Target Ruby 2.3 (#70)

## 1.5.2 / 2017-02-03

### Development Fixes
Expand Down
8 changes: 5 additions & 3 deletions jekyll-sass-converter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").grep(%r!^lib/!)
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.3.0"

spec.add_runtime_dependency "sass", "~> 3.4"

spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "jekyll", ">= 2.0"
spec.add_development_dependency "bundler", "~> 1.15"
spec.add_development_dependency "jekyll", "~> 3.0"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rubocop", "0.51"
spec.add_development_dependency "rubocop-jekyll", "~> 0.1"
end
2 changes: 1 addition & 1 deletion lib/jekyll-sass-converter/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module JekyllSassConverter
VERSION = "1.5.2".freeze
VERSION = "1.5.2"
end

0 comments on commit 160e6a5

Please sign in to comment.