Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Jan 17, 2020
1 parent 14406f4 commit d2938f4
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 105 deletions.
7 changes: 5 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.3
TargetRubyVersion: 2.4
DisplayCopNames: true
Include:
- '**/Rakefile'
Expand All @@ -11,8 +11,11 @@ AllCops:
- 'lib/bibtex/parser.rb'
- 'lib/bibtex/name_parser.rb'

Documentation:
Style/Documentation:
Enabled: false

Style/FrozenStringLiteralComment:
Enabled: false

Style/FormatStringToken:
Enabled: false
6 changes: 3 additions & 3 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Lint/EmptyWhen:

# Offense count: 6
# Configuration parameters: AllowComments.
Lint/HandleExceptions:
Lint/SuppressedException:
Exclude:
- 'Rakefile'
- 'features/support/env.rb'
Expand Down Expand Up @@ -71,7 +71,7 @@ Metrics/CyclomaticComplexity:
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Layout/LineLength:
Max: 145

# Offense count: 23
Expand Down Expand Up @@ -116,7 +116,7 @@ Naming/PredicateName:
# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db
Naming/UncommunicativeMethodParamName:
Naming/MethodParameterName:
Exclude:
- 'lib/bibtex/elements.rb'

Expand Down
21 changes: 8 additions & 13 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
gemspec

gem 'json', '~>1.8', platforms: %i[mri_18 jruby]
gem 'json', '~>2.0', platforms: %i[mri_18 jruby]

gem 'rdf', '~>2.0.0'
gem 'rdf-vocab', '~>2.0.0'
Expand All @@ -12,33 +12,28 @@ group :debug do
end

group :test do
gem 'cucumber', '~>1.3'
gem 'minitest', '~>4.7', require: false
gem 'minitest-ansi'
gem 'cucumber'
gem 'minitest', require: false
gem 'unicode', '~>0.4', platforms: %i[mswin mingw mri]
end

group :extra do
gem 'rb-fsevent', require: false if RUBY_PLATFORM =~ /darwin/i

gem 'guard-cucumber', platforms: [:ruby]
gem 'guard-minitest', platforms: [:ruby]
gem 'redcarpet', platforms: [:ruby]
end

group :profile do
gem 'gnuplot', '~>2.4', platforms: [:mri]
gem 'ruby-prof', '~>0.14', platforms: [:mri]
gem 'gnuplot', platforms: [:mri]
gem 'ruby-prof', platforms: [:mri]
end

group :coverage do
gem 'coveralls', '~>0.7', require: false
gem 'simplecov', '~>0.8', require: false, platforms: [:ruby]
gem 'coveralls', require: false
gem 'simplecov', require: false, platforms: [:ruby]
end

group :development do
gem 'iconv', platforms: [:ruby]
gem 'rake'
gem 'rubocop', '~> 0.71.0', require: false
gem 'rubocop', require: false
gem 'yard'
end
111 changes: 55 additions & 56 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,114 +1,113 @@
PATH
remote: .
specs:
bibtex-ruby (5.0.0)
bibtex-ruby (5.0.1)
latex-decode (~> 0.0)

GEM
remote: https://rubygems.org/
specs:
ansi (1.5.0)
ast (2.4.0)
builder (3.2.3)
backports (3.15.0)
builder (3.2.4)
byebug (11.0.1)
concurrent-ruby (1.1.5)
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
term-ansicolor (~> 1.3)
thor (>= 0.19.4, < 2.0)
tins (~> 1.6)
cucumber (1.3.20)
coveralls (0.7.2)
multi_json (~> 1.3)
rest-client (= 1.6.7)
simplecov (>= 0.7)
term-ansicolor (= 1.2.2)
thor (= 0.18.1)
cucumber (3.1.2)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
cucumber-core (~> 3.2.0)
cucumber-expressions (~> 6.0.1)
cucumber-wire (~> 0.0.1)
diff-lcs (~> 1.3)
gherkin (~> 5.1.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-core (3.2.1)
backports (>= 3.8.0)
cucumber-tag_expressions (~> 1.1.0)
gherkin (~> 5.0)
cucumber-expressions (6.0.1)
cucumber-tag_expressions (1.1.1)
cucumber-wire (0.0.1)
diff-lcs (1.3)
docile (1.3.2)
gherkin (2.12.2)
multi_json (~> 1.3)
gherkin (5.1.0)
gnuplot (2.6.2)
guard-compat (1.2.1)
guard-cucumber (1.5.4)
cucumber (>= 1.3.0)
guard-compat (~> 1.0)
nenv (~> 0.1)
guard-minitest (2.4.6)
guard-compat (~> 1.2)
minitest (>= 3.0)
hamster (3.0.0)
concurrent-ruby (~> 1.0)
iconv (1.0.8)
jaro_winkler (1.5.3)
json (1.8.6)
jaro_winkler (1.5.4)
json (2.3.0)
latex-decode (0.3.1)
link_header (0.0.8)
minitest (4.7.5)
minitest-ansi (0.1.3)
ansi (~> 1.3)
minitest (>= 2.5, < 5.0)
multi_json (1.13.1)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.1009)
minitest (5.14.0)
multi_json (1.14.1)
multi_test (0.1.2)
nenv (0.3.0)
parallel (1.17.0)
parser (2.6.3.0)
parallel (1.19.1)
parser (2.7.0.2)
ast (~> 2.4.0)
rainbow (3.0.0)
rake (12.3.2)
rake (13.0.1)
rdf (2.0.2)
hamster (~> 3.0)
link_header (~> 0.0, >= 0.0.8)
rdf-vocab (2.0.2)
rdf (~> 2.0)
redcarpet (3.4.0)
rubocop (0.71.0)
redcarpet (3.5.0)
rest-client (1.6.7)
mime-types (>= 1.16)
rubocop (0.79.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.6)
parser (>= 2.7.0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
ruby-prof (0.18.0)
ruby-prof (1.1.0)
ruby-progressbar (1.10.1)
simplecov (0.16.1)
simplecov (0.17.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (0.20.3)
tins (1.20.3)
term-ansicolor (1.2.2)
tins (~> 0.8)
thor (0.18.1)
tins (0.13.2)
unicode (0.4.4.4)
unicode-display_width (1.6.0)
yard (0.9.20)
unicode-display_width (1.6.1)
yard (0.9.24)

PLATFORMS
ruby

DEPENDENCIES
bibtex-ruby!
byebug
coveralls (~> 0.7)
cucumber (~> 1.3)
gnuplot (~> 2.4)
guard-cucumber
guard-minitest
coveralls
cucumber
gnuplot
iconv
json (~> 1.8)
minitest (~> 4.7)
minitest-ansi
json (~> 2.0)
minitest
rake
rdf (~> 2.0.0)
rdf-vocab (~> 2.0.0)
redcarpet
rubocop (~> 0.71.0)
rubocop
ruby-debug
ruby-prof (~> 0.14)
simplecov (~> 0.8)
ruby-prof
simplecov
unicode (~> 0.4)
yard

BUNDLED WITH
2.0.2
2.1.4
22 changes: 0 additions & 22 deletions Guardfile

This file was deleted.

8 changes: 4 additions & 4 deletions bibtex-ruby.gemspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift lib unless $:.include?(lib)

require 'bibtex/version'

Gem::Specification.new do |s|
s.name = 'bibtex-ruby'
s.version = BibTeX::Version::STRING.dup
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.3.0'
s.required_ruby_version = '>= 2.4.0'
s.authors = ['Sylvester Keil']
s.email = ['sylvester@keil.or.at']
s.homepage = 'http://inukshuk.github.com/bibtex-ruby'
Expand All @@ -23,7 +23,7 @@ Gem::Specification.new do |s|
supports cross-references, and decodes common LaTeX formatting
instructions to unicode; if you are in a hurry, it also allows for easy
export/conversion to formats such as YAML, JSON, CSL, and XML (BibTeXML).
END_DESCRIPTION
END_DESCRIPTION

s.add_runtime_dependency('latex-decode', ['~>0.0'])

Expand Down
2 changes: 1 addition & 1 deletion features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# ignore
end

require 'minitest/unit'
require 'minitest'
require 'bibtex'

World(MiniTest::Assertions)
2 changes: 1 addition & 1 deletion lib/bibtex/filters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def apply(value)
module Filters
LOAD_PATH = [File.expand_path(__dir__), 'filters'].join('/').freeze

Dir.glob("#{LOAD_PATH}/*.rb").each do |filter|
Dir.glob("#{LOAD_PATH}/*.rb").sort.each do |filter|
require filter
end

Expand Down
3 changes: 0 additions & 3 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
end

require 'minitest/autorun'
require 'minitest/ansi'

Minitest::ANSI.use!

require 'tempfile'

Expand Down

0 comments on commit d2938f4

Please sign in to comment.