crockford32 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/LICENSE +7 -0
- data/lib/crockford32/version.rb +1 -1
- data/lib/crockford32.rb +2 -2
- metadata +4 -9
- data/.standard.yml +0 -2
- data/Gemfile +0 -12
- data/Gemfile.lock +0 -63
- data/Rakefile +0 -24
- data/bin/console +0 -8
- data/bin/setup +0 -5
- data/crockford32.gemspec +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29ffac6e2fae482581e82faa6fef2e3a537790fc7b5f8dbdae87fe8ffafb45a5
|
4
|
+
data.tar.gz: 52554e3c47cba913aab0894ea4dcb99eeb332cd32afbc021f598ee72624110c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 352994d3ecc7cd967b0f60169ebb6572b741c08f09d402ee686491aa340c7b360fa5154ccbdc4cc9072d02c8794478d8bc783be740a2063dac6d4ab7aedc725b
|
7
|
+
data.tar.gz: b896cbd7d9c0a0da623b07392dc35def1f5e17a6168272d02284f88b361a6d834612bd491669fb51106090a24f93e7abc3ad20dbd7c6e4570c59ef0e588ac110
|
data/CHANGELOG.md
CHANGED
data/LICENSE
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright 2022 Stephan Tarulli
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/crockford32/version.rb
CHANGED
data/lib/crockford32.rb
CHANGED
@@ -226,8 +226,8 @@ module Crockford32
|
|
226
226
|
result.freeze
|
227
227
|
end
|
228
228
|
|
229
|
-
private_class_method
|
230
|
-
:string_to_integer, :string_to_integer_unrolled, :le_encode_number
|
229
|
+
private_class_method :le_decode_number, :convert, :into_string, :raw_value_to_number,
|
230
|
+
:string_to_integer, :string_to_integer_unrolled, :le_encode_number
|
231
231
|
|
232
232
|
# @!endgroup
|
233
233
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crockford32
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephan Tarulli
|
@@ -17,20 +17,15 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- ".standard.yml"
|
21
20
|
- CHANGELOG.md
|
22
|
-
-
|
23
|
-
- Gemfile.lock
|
21
|
+
- LICENSE
|
24
22
|
- README.md
|
25
|
-
- Rakefile
|
26
|
-
- bin/console
|
27
|
-
- bin/setup
|
28
|
-
- crockford32.gemspec
|
29
23
|
- lib/crockford32.rb
|
30
24
|
- lib/crockford32/errors.rb
|
31
25
|
- lib/crockford32/version.rb
|
32
26
|
homepage: https://github.com/tinychameleon/crockford32
|
33
|
-
licenses:
|
27
|
+
licenses:
|
28
|
+
- MIT
|
34
29
|
metadata:
|
35
30
|
homepage_uri: https://github.com/tinychameleon/crockford32
|
36
31
|
source_code_uri: https://github.com/tinychameleon/crockford32
|
data/.standard.yml
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
crockford32 (1.0.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
ast (2.4.2)
|
10
|
-
benchmark-ips (2.10.0)
|
11
|
-
debug (1.4.0)
|
12
|
-
irb (>= 1.3.6)
|
13
|
-
reline (>= 0.2.7)
|
14
|
-
io-console (0.5.11)
|
15
|
-
irb (1.4.1)
|
16
|
-
reline (>= 0.3.0)
|
17
|
-
minitest (5.15.0)
|
18
|
-
parallel (1.21.0)
|
19
|
-
parser (3.1.0.0)
|
20
|
-
ast (~> 2.4.1)
|
21
|
-
rainbow (3.1.1)
|
22
|
-
rake (13.0.6)
|
23
|
-
regexp_parser (2.2.1)
|
24
|
-
reline (0.3.1)
|
25
|
-
io-console (~> 0.5)
|
26
|
-
rexml (3.2.5)
|
27
|
-
rubocop (1.25.1)
|
28
|
-
parallel (~> 1.10)
|
29
|
-
parser (>= 3.1.0.0)
|
30
|
-
rainbow (>= 2.2.2, < 4.0)
|
31
|
-
regexp_parser (>= 1.8, < 3.0)
|
32
|
-
rexml
|
33
|
-
rubocop-ast (>= 1.15.1, < 2.0)
|
34
|
-
ruby-progressbar (~> 1.7)
|
35
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
36
|
-
rubocop-ast (1.15.2)
|
37
|
-
parser (>= 3.0.1.1)
|
38
|
-
rubocop-performance (1.13.2)
|
39
|
-
rubocop (>= 1.7.0, < 2.0)
|
40
|
-
rubocop-ast (>= 0.4.0)
|
41
|
-
ruby-progressbar (1.11.0)
|
42
|
-
standard (1.7.2)
|
43
|
-
rubocop (= 1.25.1)
|
44
|
-
rubocop-performance (= 1.13.2)
|
45
|
-
unicode-display_width (2.1.0)
|
46
|
-
webrick (1.7.0)
|
47
|
-
yard (0.9.27)
|
48
|
-
webrick (~> 1.7.0)
|
49
|
-
|
50
|
-
PLATFORMS
|
51
|
-
x86_64-darwin-19
|
52
|
-
|
53
|
-
DEPENDENCIES
|
54
|
-
benchmark-ips (~> 2.10)
|
55
|
-
crockford32!
|
56
|
-
debug (~> 1.4)
|
57
|
-
minitest (~> 5.0)
|
58
|
-
rake (~> 13.0)
|
59
|
-
standard (~> 1.3)
|
60
|
-
yard (~> 0.9.27)
|
61
|
-
|
62
|
-
BUNDLED WITH
|
63
|
-
2.3.3
|
data/Rakefile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "bundler/gem_tasks"
|
4
|
-
require "rake/testtask"
|
5
|
-
require "standard/rake"
|
6
|
-
require "yard"
|
7
|
-
|
8
|
-
Rake::TestTask.new(:test) do |t|
|
9
|
-
t.libs << "test"
|
10
|
-
t.libs << "lib"
|
11
|
-
t.test_files = FileList["test/**/test_*.rb"]
|
12
|
-
end
|
13
|
-
|
14
|
-
YARD::Rake::YardocTask.new do |t|
|
15
|
-
t.files = ["lib/**/*.rb", "-", "CHANGELOG.md"]
|
16
|
-
t.options = ["--private", "-o", "./docs"]
|
17
|
-
end
|
18
|
-
|
19
|
-
task default: %i[test standard]
|
20
|
-
|
21
|
-
desc "Benchmark the current implementation"
|
22
|
-
task benchmark: [] do |t|
|
23
|
-
sh "date; ruby test/benchmarks/current.rb"
|
24
|
-
end
|
data/bin/console
DELETED
data/bin/setup
DELETED
data/crockford32.gemspec
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/crockford32/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "crockford32"
|
7
|
-
spec.version = Crockford32::VERSION
|
8
|
-
spec.authors = ["Stephan Tarulli"]
|
9
|
-
spec.email = ["srt@tinychameleon.com"]
|
10
|
-
|
11
|
-
spec.summary = "A fast little-endian implementation of Crockford's Base32 specification."
|
12
|
-
spec.description = "A fast little-endian implementation of Crockford's Base32 specification."
|
13
|
-
spec.homepage = "https://github.com/tinychameleon/crockford32"
|
14
|
-
spec.required_ruby_version = ">= 2.6.0"
|
15
|
-
|
16
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
18
|
-
spec.metadata["changelog_uri"] = File.join(spec.homepage, "blob/main/CHANGELOG.md")
|
19
|
-
spec.metadata["bug_tracker_uri"] = File.join(spec.homepage, "issues")
|
20
|
-
spec.metadata["documentation_uri"] = "https://tinychameleon.github.io/crockford32/"
|
21
|
-
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
25
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
26
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
27
|
-
end
|
28
|
-
end
|
29
|
-
spec.bindir = "exe"
|
30
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
31
|
-
spec.require_paths = ["lib"]
|
32
|
-
|
33
|
-
# Uncomment to register a new dependency of your gem
|
34
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
35
|
-
|
36
|
-
# For more information and examples about making a new gem, check out our
|
37
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
38
|
-
end
|