digest_generator 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/.rubocop_todo.yml +5 -6
- data/Gemfile.lock +2 -1
- data/digest_generator.gemspec +1 -1
- data/lib/digest_generator.rb +1 -1
- data/lib/digest_generator/version.rb +1 -1
- metadata +4 -5
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 20a49330c6da275ecc649637d70169494fae8761b08177edb9a0acd356c5d15c
|
|
4
|
+
data.tar.gz: 02501b139d206948679ec2be2ab8645d94ed60ff569b6b0d79c5b6ad5222db1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6eadb87e64164407dd59ece17855aace43c0aab78e9ac70e656c9a3efdf1cada8b4b8e2b5c0bb7a80583436034f421f57fa548a1f109ba83716b8a1c7a6157ae
|
|
7
|
+
data.tar.gz: 239b76c9f0e4214440cff5d42ab5675ae6a26b153ef89582bebb4e7990784a35db87b59f95cb0b7f120782608240d764d185417b85a78899e9297d560f868bac
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2021-
|
|
3
|
+
# on 2021-06-14 15:00:37 UTC using RuboCop version 1.10.0.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
|
8
8
|
|
|
9
9
|
# Offense count: 1
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
|
|
13
|
-
Style/ModuleFunction:
|
|
10
|
+
# Configuration parameters: Include.
|
|
11
|
+
# Include: **/*.gemspec
|
|
12
|
+
Gemspec/RequiredRubyVersion:
|
|
14
13
|
Exclude:
|
|
15
|
-
- '
|
|
14
|
+
- 'digest_generator.gemspec'
|
data/Gemfile.lock
CHANGED
data/digest_generator.gemspec
CHANGED
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
to be compatible with postgres bigints, supports xxHash32 and xxHash64 also'
|
|
14
14
|
spec.homepage = 'https://github.com/YourMechanic/digest_generator'
|
|
15
15
|
spec.license = 'MIT'
|
|
16
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 2.
|
|
16
|
+
# spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
|
17
17
|
|
|
18
18
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
19
19
|
|
data/lib/digest_generator.rb
CHANGED
|
@@ -21,7 +21,7 @@ module DigestGenerator
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def configure_default_algo
|
|
24
|
-
self.algorithm = XXHASH_ALGO if algorithm.nil?
|
|
24
|
+
self.algorithm = XXHASH_ALGO if algorithm.nil? || algorithm == ''
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
# Hash 64 and mask bit 63 (0-63) to remove signedness to be compatible with postgress bigints
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: digest_generator
|
|
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
|
- Sachin Saxena
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-06-
|
|
11
|
+
date: 2021-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -94,7 +94,6 @@ files:
|
|
|
94
94
|
- ".gitignore"
|
|
95
95
|
- ".rubocop.yml"
|
|
96
96
|
- ".rubocop_todo.yml"
|
|
97
|
-
- ".ruby-version"
|
|
98
97
|
- CHANGELOG.md
|
|
99
98
|
- CODE_OF_CONDUCT.md
|
|
100
99
|
- Gemfile
|
|
@@ -123,14 +122,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
123
122
|
requirements:
|
|
124
123
|
- - ">="
|
|
125
124
|
- !ruby/object:Gem::Version
|
|
126
|
-
version:
|
|
125
|
+
version: '0'
|
|
127
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
127
|
requirements:
|
|
129
128
|
- - ">="
|
|
130
129
|
- !ruby/object:Gem::Version
|
|
131
130
|
version: '0'
|
|
132
131
|
requirements: []
|
|
133
|
-
rubygems_version: 3.
|
|
132
|
+
rubygems_version: 3.0.3
|
|
134
133
|
signing_key:
|
|
135
134
|
specification_version: 4
|
|
136
135
|
summary: Digest generator to generate digest
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.6.2
|