Skip to content

Commit

Permalink
Merge branch 'master' into pipe_approach
Browse files Browse the repository at this point in the history
  • Loading branch information
LocoDelAssembly committed Mar 20, 2024
2 parents e9dbc57 + 62c7bdb commit 56b3c87
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.1.2
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The gem should work on Linux, Mac and Windows (64bit) machines
## Benchmarks

The fastest way to go through a massive amount of names is to use
`Biodiversity::Parser.parse_ary([big array], simple = true)` function.
`Biodiversity::Parser.parse_ary([big array], simple: true)` function.

For example parsing a large file with one name per line:

Expand Down Expand Up @@ -75,10 +75,10 @@ Biodiversity.version
# gnparser.

# to parse a scientific name into a simple Ruby hash
Biodiversity::Parser.parse("Plantago major", simple = true)
Biodiversity::Parser.parse("Plantago major", simple: true)

# to parse many scientific names using all computer CPUs
Biodiversity::Parser.parse_ary(["Plantago major", ... ], simple = true)
Biodiversity::Parser.parse_ary(["Plantago major", ... ], simple: true)

# to parse a scientific name into a very detailed Ruby hash
Biodiversity::Parser.parse("Plantago major")
Expand Down
10 changes: 5 additions & 5 deletions biodiversity.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split("\n")
gem.require_paths = ['lib']

gem.add_runtime_dependency 'ffi', '~> 1.14'
gem.add_runtime_dependency 'ffi', '~> 1.15'

gem.add_development_dependency 'bundler', '~> 2.2'
gem.add_development_dependency 'bundler', '~> 2.4'
gem.add_development_dependency 'byebug', '~> 11.1'
gem.add_development_dependency 'rake', '~> 13.0'
gem.add_development_dependency 'rspec', '~> 3.10'
gem.add_development_dependency 'rubocop', '~> 1.8'
gem.add_development_dependency 'solargraph', '~> 0.43'
gem.add_development_dependency 'rspec', '~> 3.12'
gem.add_development_dependency 'rubocop', '~> 1.50'
gem.add_development_dependency 'solargraph', '~> 0.49'
end
Binary file modified ext/gnparser-linux
Binary file not shown.
Binary file modified ext/gnparser-mac
Binary file not shown.
Binary file modified ext/gnparser-win.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions lib/biodiversity/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Biodiversity module provides a namespace for scientific name parser.
module Biodiversity
VERSION = '5.3.3'
GNPARSER_VERSION = 'GNparser 1.3.3'
VERSION = '5.7.2'
GNPARSER_VERSION = 'GNparser 1.7.2'

def self.version
VERSION
Expand Down

0 comments on commit 56b3c87

Please sign in to comment.