rrf 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rrf/version.rb +1 -1
- data/rrf.gemspec +43 -0
- metadata +4 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8fe716ce7d3ededc96a7f4c2889fedfb47f35dad8421b06fc2612a4c6f15a95b
|
|
4
|
+
data.tar.gz: c606c5d7cbb1adba77a2c00a4064edce6e5165074fc7386710ac21f9dc8ec338
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61d01173570a12d1e13242d62f2d265cda4281e50fb0451ebfe7b8b5885cd832b8c1803bbed2053f160c7f0d39c4a870a169369afedd2e00ecf57e0af58f31e9
|
|
7
|
+
data.tar.gz: 8e53593ac2b6eadfe3c9b39dea093c02ee605fcb319d753fb90790663dfc431078eb3ab6e6c2a4277d426e94595378e195ef7f35325809569d83d7aa336e3152
|
data/lib/rrf/version.rb
CHANGED
data/rrf.gemspec
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "lib/rrf/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = "rrf"
|
|
7
|
+
spec.version = RRF::VERSION
|
|
8
|
+
spec.authors = ["Chris Petersen"]
|
|
9
|
+
spec.email = ["chris@scientist.com"]
|
|
10
|
+
|
|
11
|
+
spec.summary = %q{A Ruby gem for Reciprocal Rank Fusion across different search engines}
|
|
12
|
+
spec.description = %q{This gem provides an implementation of Reciprocal Rank Fusion (RRF) to merge results from different search engines. Initially supporting Active Record and Elasticsearch.}
|
|
13
|
+
spec.homepage = "https://github.com/assaydepot/rrf"
|
|
14
|
+
spec.license = "MIT"
|
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
|
16
|
+
|
|
17
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
|
18
|
+
|
|
19
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
20
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
|
21
|
+
# spec.metadata["changelog_uri"] = spec.homepage
|
|
22
|
+
|
|
23
|
+
# Specify which files should be added to the gem when it is released.
|
|
24
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
25
|
+
spec.files = Dir.chdir(__dir__) do
|
|
26
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
|
27
|
+
(File.expand_path(f) == __FILE__) ||
|
|
28
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
spec.bindir = "exe"
|
|
32
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
33
|
+
spec.require_paths = ["lib"]
|
|
34
|
+
|
|
35
|
+
# Uncomment to register a new dependency of your gem
|
|
36
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
|
37
|
+
spec.add_development_dependency "rspec"
|
|
38
|
+
spec.add_development_dependency "elasticsearch"
|
|
39
|
+
spec.add_development_dependency "faraday"
|
|
40
|
+
|
|
41
|
+
# For more information and examples about making a new gem, check out our
|
|
42
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
|
43
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rrf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Petersen
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rspec
|
|
@@ -70,6 +69,7 @@ files:
|
|
|
70
69
|
- lib/configuration.rb
|
|
71
70
|
- lib/rrf.rb
|
|
72
71
|
- lib/rrf/version.rb
|
|
72
|
+
- rrf.gemspec
|
|
73
73
|
- sig/rrf.rbs
|
|
74
74
|
homepage: https://github.com/assaydepot/rrf
|
|
75
75
|
licenses:
|
|
@@ -77,7 +77,6 @@ licenses:
|
|
|
77
77
|
metadata:
|
|
78
78
|
homepage_uri: https://github.com/assaydepot/rrf
|
|
79
79
|
source_code_uri: https://github.com/assaydepot/rrf
|
|
80
|
-
post_install_message:
|
|
81
80
|
rdoc_options: []
|
|
82
81
|
require_paths:
|
|
83
82
|
- lib
|
|
@@ -92,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
92
91
|
- !ruby/object:Gem::Version
|
|
93
92
|
version: '0'
|
|
94
93
|
requirements: []
|
|
95
|
-
rubygems_version: 3.
|
|
96
|
-
signing_key:
|
|
94
|
+
rubygems_version: 3.6.9
|
|
97
95
|
specification_version: 4
|
|
98
96
|
summary: A Ruby gem for Reciprocal Rank Fusion across different search engines
|
|
99
97
|
test_files: []
|