anystyle-cli: 1.3.1 -> 1.5.0 (#412562)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-20 02:28:33 +02:00
committed by GitHub
6 changed files with 299 additions and 2160 deletions
+2 -29
View File
@@ -1,37 +1,10 @@
source 'https://rubygems.org'
gemspec
group :development, :test do
#gem 'anystyle-data', github: 'inukshuk/anystyle-data'
#gem 'wapiti', github: 'inukshuk/wapiti-ruby'
gem 'bibtex-ruby'
gem 'rake'
gem 'rspec', '~>3.0'
gem 'language_detector', github: 'feedbackmine/language_detector'
gem 'unicode-scripts'
gem 'edtf'
gem 'citeproc'
gem 'unicode_utils' if RUBY_VERSION < '2.4'
end
group :coverage do
gem 'simplecov', require: false
gem 'coveralls', require: false if ENV['CI']
gem 'anystyle', github: 'inukshuk/anystyle'
end
group :debug do
gem 'byebug', require: false
end
group :profile do
gem 'ruby-prof', require: false
gem 'gnuplot', require: false
end
group :extra do
gem 'lmdb'
gem 'redis'
gem 'redis-namespace'
gem 'yard'
gem 'debug', require: false
end
+49 -78
View File
@@ -1,99 +1,70 @@
GIT
remote: https://github.com/feedbackmine/language_detector.git
revision: 89102790194150b3a8110ce691f9989b8ce70f8d
remote: https://github.com/inukshuk/anystyle.git
revision: c6f5fb2fa6e8ce9456ad1e1e88d6bba5f3d7731d
specs:
language_detector (0.1.2)
anystyle (1.6.0)
anystyle-data (~> 1.3)
bibtex-ruby (~> 6.0)
namae (~> 1.0)
wapiti (~> 2.1)
PATH
remote: .
specs:
anystyle (1.3.10)
anystyle-data (~> 1.2)
bibtex-ruby (~> 5.0)
anystyle-cli (1.5.0)
anystyle (~> 1.6)
gli (~> 2.17)
namae (~> 1.0)
wapiti (~> 1.0, >= 1.0.2)
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
anystyle-data (1.2.0)
bibtex-ruby (5.1.4)
anystyle-data (1.3.0)
bibtex-ruby (6.1.0)
latex-decode (~> 0.0)
builder (3.2.4)
byebug (11.1.3)
citeproc (1.0.10)
namae (~> 1.0)
concurrent-ruby (1.1.7)
diff-lcs (1.4.4)
docile (1.3.2)
edtf (3.0.5)
activesupport (>= 3.0, < 7.0)
gli (2.19.2)
gnuplot (2.6.2)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
latex-decode (0.3.1)
lmdb (0.5.3)
minitest (5.14.1)
namae (1.0.1)
rake (13.0.1)
redis (4.2.1)
redis-namespace (1.8.0)
redis (>= 3.0.4)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.2)
rspec-support (~> 3.9.3)
rspec-expectations (3.9.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.3)
ruby-prof (1.4.1)
simplecov (0.19.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov-html (0.12.2)
thread_safe (0.3.6)
tzinfo (1.2.7)
thread_safe (~> 0.1)
unicode-scripts (1.6.0)
wapiti (1.0.7)
racc (~> 1.7)
builder (3.3.0)
date (3.4.1)
debug (1.10.0)
irb (~> 1.10)
reline (>= 0.3.8)
erb (5.0.1)
gli (2.22.2)
ostruct
io-console (0.8.0)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
latex-decode (0.4.0)
namae (1.2.0)
racc (~> 1.7)
ostruct (0.6.1)
pp (0.6.2)
prettyprint
prettyprint (0.2.0)
psych (5.2.6)
date
stringio
racc (1.8.1)
rdoc (6.14.0)
erb
psych (>= 4.0.0)
reline (0.6.1)
io-console (~> 0.5)
rexml (3.4.1)
stringio (3.1.7)
wapiti (2.1.0)
builder (~> 3.2)
yard (0.9.25)
zeitwerk (2.4.0)
rexml (~> 3.0)
PLATFORMS
arm64-darwin-24
ruby
DEPENDENCIES
anystyle!
bibtex-ruby
byebug
citeproc
edtf
gnuplot
language_detector!
lmdb
rake
redis
redis-namespace
rspec (~> 3.0)
ruby-prof
simplecov
unicode-scripts
yard
anystyle-cli!
debug
BUNDLED WITH
2.1.4
2.5.22
@@ -0,0 +1,32 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'anystyle/cli/version'
Gem::Specification.new do |s|
s.name = 'anystyle-cli'
s.version = AnyStyle::CLI::VERSION.dup
s.platform = Gem::Platform::RUBY
s.authors = ['Sylvester Keil']
s.email = ['http://sylvester.keil.or.at']
s.homepage = 'http://anystyle.io'
s.summary = 'AnyStyle CLI'
s.description = 'A command line interface to the AnyStyle Parser and Finder.'
s.license = 'BSD-2-Clause'
s.require_path = 'lib'
s.bindir = 'bin'
s.executables = ['anystyle']
s.required_ruby_version = '>= 2.3'
s.add_runtime_dependency('anystyle', '~>1.6')
s.add_runtime_dependency('gli', '~>2.17')
s.files = `git ls-files`.split("\n") - %w{
.gitignore
Gemfile
anystyle-cli.gemspec
}
end
# vim: syntax=ruby
@@ -1,52 +0,0 @@
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'anystyle/version'
Gem::Specification.new do |s|
s.name = 'anystyle'
s.version = AnyStyle::VERSION.dup
s.platform = Gem::Platform::RUBY
s.authors = ['Sylvester Keil']
s.email = ['http://sylvester.keil.or.at']
s.homepage = 'http://anystyle.io'
s.summary = 'Smart and fast bibliography parser.'
s.description = 'A sophisticated parser for academic reference lists and bibliographies based on machine learning algorithms using conditional random fields.'
s.license = 'BSD-2-Clause'
s.executables = []
s.require_path = 'lib'
s.required_ruby_version = '>= 2.2'
s.add_runtime_dependency('bibtex-ruby', '~>5.0')
s.add_runtime_dependency('anystyle-data', '~>1.2')
s.add_runtime_dependency('gli', '~>2.17')
s.add_runtime_dependency('wapiti', '~>1.0', '>=1.0.2')
s.add_runtime_dependency('namae', '~>1.0')
s.files =
`git ls-files`.split("\n") - `git ls-files spec`.split("\n") - %w{
.coveralls.yml
.gitignore
.rspec
.simplecov
.travis.yml
Gemfile
Rakefile
appveyor.yml
anystyle.gemspec
res/core.xml
}
s.rdoc_options = %w{
--line-numbers
--inline-source
--title "AnyStyle"
--main README.md
}
s.extra_rdoc_files = %w{README.md LICENSE}
end
# vim: syntax=ruby
+8 -7
View File
@@ -9,13 +9,13 @@ let
deps = bundlerEnv rec {
name = "anystyle-cli-${version}";
source.sha256 = lib.fakeSha256;
version = "1.3.1";
version = "1.5.0";
inherit ruby;
gemdir = ./.;
gemset = lib.recursiveUpdate (import ./gemset.nix) {
anystyle.source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1w79zcia60nnnyrmyvpd10pmxrpk5c7lj9gmmblhwi8x5mfq9k0n";
sha256 = "C/OrU7guHzHdY80upEXRfhWmUYDxpI54NIvIjKv0znw=";
type = "gem";
};
};
@@ -25,8 +25,8 @@ buildRubyGem rec {
inherit ruby;
gemName = "anystyle-cli";
pname = gemName;
version = "1.3.1";
source.sha256 = "1a3ifwxwqkp5dnfk9r8qq8kgfb8k1pl7jjdghbb8ixbxz9ac7awy";
version = "1.5.0";
source.sha256 = "Bkk00PBk/6noCXgAbr1XUcdBq5vpdeL0ES02eeNA594=";
propagatedBuildInputs = [ deps ];
@@ -38,10 +38,11 @@ buildRubyGem rec {
description = "Command line interface to the AnyStyle Parser and Finder";
homepage = "https://anystyle.io/";
license = licenses.bsd2;
maintainers = with maintainers; [ shamilton ];
maintainers = with maintainers; [
aschleck
shamilton
];
mainProgram = "anystyle";
platforms = platforms.unix;
# error: passing argument 2 of 'rb_hash_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
broken = true;
};
}
File diff suppressed because it is too large Load Diff