Skip to content

Commit e8acea7

Browse files
committed
Release: v0.18.0
1 parent 4079a89 commit e8acea7

File tree

7 files changed

+30
-38
lines changed

7 files changed

+30
-38
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inherit_gem:
55
rubocop-jekyll: .rubocop.yml
66

77
AllCops:
8-
TargetRubyVersion: 2.3
8+
TargetRubyVersion: 2.4
99
Exclude:
1010
- docs/**/*
1111
- script/**/*

.rubocop_todo.yml

Lines changed: 18 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2018-12-06 11:30:05 +0100 using RuboCop version 0.61.1.
3+
# on 2019-03-22 08:47:03 +0100 using RuboCop version 0.66.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -29,37 +29,29 @@ Lint/UselessAssignment:
2929

3030
# Offense count: 37
3131
Metrics/AbcSize:
32-
Max: 144
32+
Max: 140
3333

3434
# Offense count: 4
35-
# Configuration parameters: CountComments, Max, ExcludedMethods.
35+
# Configuration parameters: CountComments, ExcludedMethods.
3636
# ExcludedMethods: refine
3737
Metrics/BlockLength:
38-
Exclude:
39-
- 'jekyll-import.gemspec'
40-
- 'lib/jekyll-import/importers/drupal_common.rb'
41-
- 'lib/jekyll-import/importers/posterous.rb'
42-
- 'lib/jekyll-import/importers/wordpressdotcom.rb'
38+
Max: 47
4339

4440
# Offense count: 4
45-
# Configuration parameters: CountBlocks, Max.
41+
# Configuration parameters: CountBlocks.
4642
Metrics/BlockNesting:
47-
Exclude:
48-
- 'lib/jekyll-import/importers/blogger.rb'
43+
Max: 4
4944

5045
# Offense count: 3
51-
# Configuration parameters: CountComments, Max.
46+
# Configuration parameters: CountComments.
5247
Metrics/ClassLength:
53-
Exclude:
54-
- 'lib/jekyll-import/importers/s9y_database.rb'
55-
- 'lib/jekyll-import/importers/tumblr.rb'
56-
- 'lib/jekyll-import/importers/wordpress.rb'
48+
Max: 266
5749

5850
# Offense count: 16
5951
Metrics/CyclomaticComplexity:
6052
Max: 31
6153

62-
# Offense count: 102
54+
# Offense count: 103
6355
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
6456
# URISchemes: http, https
6557
Metrics/LineLength:
@@ -71,30 +63,25 @@ Metrics/MethodLength:
7163
Max: 124
7264

7365
# Offense count: 1
74-
# Configuration parameters: Max, CountKeywordArgs.
66+
# Configuration parameters: CountKeywordArgs.
7567
Metrics/ParameterLists:
76-
Exclude:
77-
- 'lib/jekyll-import/importers/roller.rb'
68+
Max: 5
7869

7970
# Offense count: 11
80-
# Configuration parameters: Max.
8171
Metrics/PerceivedComplexity:
82-
Exclude:
83-
- 'lib/jekyll-import/importers/blogger.rb'
84-
- 'lib/jekyll-import/importers/drupal_common.rb'
85-
- 'lib/jekyll-import/importers/ghost.rb'
86-
- 'lib/jekyll-import/importers/mt.rb'
87-
- 'lib/jekyll-import/importers/roller.rb'
88-
- 'lib/jekyll-import/importers/s9y_database.rb'
89-
- 'lib/jekyll-import/importers/tumblr.rb'
90-
- 'lib/jekyll-import/importers/wordpress.rb'
72+
Max: 35
9173

92-
# Offense count: 34
74+
# Offense count: 27
9375
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
9476
# AllowedNames: io, id, to, by, on, in, at, ip, db
9577
Naming/UncommunicativeMethodParamName:
9678
Enabled: false
9779

80+
# Offense count: 1
81+
Security/Open:
82+
Exclude:
83+
- 'lib/jekyll-import/importers/rss.rb'
84+
9885
# Offense count: 21
9986
# Configuration parameters: EnforcedStyle.
10087
# SupportedStyles: annotated, template, unannotated

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
global:
88
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
99
matrix:
10-
- JEKYLL_VERSION=3.6
10+
- JEKYLL_VERSION=3.7
1111
before_install:
1212
- gem update --system
1313
before_script: bundle update

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
source "https://rubygems.org"
44
gemspec
55

6+
gem "jekyll", "~> #{ENV["JEKYLL_VERSION"]}" if ENV["JEKYLL_VERSION"]
67
gem "test-unit"

History.markdown

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## HEAD
1+
## 0.18.0 / 2019-03-22
22

33
### Minor Enhancements
44

@@ -9,6 +9,11 @@
99
* ghost.db stores timestamps in ms, not seconds. Fixed the ghost importer. (#396)
1010
* Fix WP pre tag util raise error when value includes regexp (#401)
1111

12+
### Development Fixes
13+
14+
* Drop support for Ruby 2.3
15+
* Allow Jekyll v4 (still alpha)
16+
1217
## 0.17.1 / 2018-12-23
1318

1419
### Bug Fixes

jekyll-import.gemspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
55
require "jekyll-import/version"
66

77
Gem::Specification.new do |s|
8-
s.rubygems_version = ">= 2.5"
9-
s.required_ruby_version = ">= 2.3"
8+
s.required_ruby_version = ">= 2.4.0"
109

1110
s.name = "jekyll-import"
1211
s.version = JekyllImport::VERSION
@@ -27,7 +26,7 @@ Gem::Specification.new do |s|
2726

2827
# runtime dependencies
2928
s.add_runtime_dependency("fastercsv", "~> 1.0")
30-
s.add_runtime_dependency("jekyll", ENV["JEKYLL_VERSION"] ? "~> #{ENV["JEKYLL_VERSION"]}" : "~> 3.0")
29+
s.add_runtime_dependency("jekyll", ENV["JEKYLL_VERSION"] ? "~> #{ENV["JEKYLL_VERSION"]}" : ">= 3.7", "< 5.0")
3130
s.add_runtime_dependency("nokogiri", "~> 1.0")
3231
s.add_runtime_dependency("reverse_markdown", "~> 1.0")
3332

lib/jekyll-import/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module JekyllImport
4-
VERSION = "0.17.1"
4+
VERSION = "0.18.0"
55
end

0 commit comments

Comments
 (0)