crockford 0.1.0 → 0.2.0
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/.github/workflows/main.yml +10 -11
- data/.rubocop.yml +2 -2
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +11 -11
- data/Gemfile.lock +54 -41
- data/README.md +8 -9
- data/crockford.gemspec +2 -1
- data/lib/crockford/version.rb +1 -1
- metadata +5 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce91f2d45a17a2a064e6bf7de36a7f6f60de46ba5c647a9c36911c2d75f153e6
|
4
|
+
data.tar.gz: f1f0dc093c38103050eae4d15767305df91bda494c54adb379edc1fefd93574f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c8a9ab4a9c3a8cbbb8e1df129231ab05defe31e45941e93b935afa0a6401d3a295441646c113b5a8e183e9d7c67aa5961469020b9118ed9d3d3bd0bedb88e99
|
7
|
+
data.tar.gz: 270568617e2999bc1a722d043ab72cad8da1d11598d92070be6663b05f50f08f1d89b0b3f0bfee87e7a7cb39a3b57448f3a5a26fcfabb196856a03418c9eb8d3
|
data/.github/workflows/main.yml
CHANGED
@@ -1,22 +1,21 @@
|
|
1
1
|
name: Ruby
|
2
2
|
|
3
|
-
on: [push,pull_request]
|
3
|
+
on: [push, pull_request]
|
4
4
|
|
5
5
|
jobs:
|
6
6
|
build:
|
7
|
-
|
8
7
|
strategy:
|
9
8
|
matrix:
|
10
|
-
ruby-version: [
|
9
|
+
ruby-version: [3.1.7, 3.2.8, 3.3.8, 3.4.4]
|
11
10
|
|
12
11
|
runs-on: ubuntu-latest
|
13
12
|
|
14
13
|
steps:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
14
|
+
- uses: actions/checkout@v2
|
15
|
+
- name: Set up Ruby
|
16
|
+
uses: ruby/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: ${{ matrix.ruby-version }}
|
19
|
+
bundler-cache: true
|
20
|
+
- name: Run the default task
|
21
|
+
run: bundle exec rake
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
@@ -10,21 +10,21 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div
|
|
10
10
|
|
11
11
|
Examples of behavior that contributes to a positive environment for our community include:
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
- Demonstrating empathy and kindness toward other people
|
14
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
15
|
+
- Giving and gracefully accepting constructive feedback
|
16
|
+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
17
|
+
- Focusing on what is best not just for us as individuals, but for the overall community
|
18
18
|
|
19
19
|
Examples of unacceptable behavior include:
|
20
20
|
|
21
|
-
|
21
|
+
- The use of sexualized language or imagery, and sexual attention or
|
22
22
|
advances of any kind
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
- Trolling, insulting or derogatory comments, and personal or political attacks
|
24
|
+
- Public or private harassment
|
25
|
+
- Publishing others' private information, such as a physical or email
|
26
26
|
address, without their explicit permission
|
27
|
-
|
27
|
+
- Other conduct which could reasonably be considered inappropriate in a
|
28
28
|
professional setting
|
29
29
|
|
30
30
|
## Enforcement Responsibilities
|
@@ -67,7 +67,7 @@ Community leaders will follow these Community Impact Guidelines in determining t
|
|
67
67
|
|
68
68
|
### 4. Permanent Ban
|
69
69
|
|
70
|
-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior,
|
70
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
71
71
|
|
72
72
|
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
73
73
|
|
data/Gemfile.lock
CHANGED
@@ -1,61 +1,74 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
crockford (0.
|
4
|
+
crockford (0.2.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
ast (2.4.
|
9
|
+
ast (2.4.3)
|
10
10
|
coderay (1.1.3)
|
11
|
-
diff-lcs (1.
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
diff-lcs (1.6.2)
|
12
|
+
json (2.12.2)
|
13
|
+
language_server-protocol (3.17.0.5)
|
14
|
+
lint_roller (1.1.0)
|
15
|
+
method_source (1.1.0)
|
16
|
+
parallel (1.27.0)
|
17
|
+
parser (3.3.8.0)
|
15
18
|
ast (~> 2.4.1)
|
16
|
-
|
19
|
+
racc
|
20
|
+
prism (1.4.0)
|
21
|
+
pry (0.15.2)
|
17
22
|
coderay (~> 1.1)
|
18
23
|
method_source (~> 1.0)
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
rspec (3.
|
24
|
-
rspec-core (~> 3.
|
25
|
-
rspec-expectations (~> 3.
|
26
|
-
rspec-mocks (~> 3.
|
27
|
-
rspec-core (3.
|
28
|
-
rspec-support (~> 3.
|
29
|
-
rspec-expectations (3.
|
24
|
+
racc (1.8.1)
|
25
|
+
rainbow (3.1.1)
|
26
|
+
rake (13.3.0)
|
27
|
+
regexp_parser (2.10.0)
|
28
|
+
rspec (3.13.1)
|
29
|
+
rspec-core (~> 3.13.0)
|
30
|
+
rspec-expectations (~> 3.13.0)
|
31
|
+
rspec-mocks (~> 3.13.0)
|
32
|
+
rspec-core (3.13.5)
|
33
|
+
rspec-support (~> 3.13.0)
|
34
|
+
rspec-expectations (3.13.5)
|
30
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
-
rspec-support (~> 3.
|
32
|
-
rspec-mocks (3.
|
36
|
+
rspec-support (~> 3.13.0)
|
37
|
+
rspec-mocks (3.13.5)
|
33
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.
|
35
|
-
rspec-support (3.
|
36
|
-
rubocop (1.
|
39
|
+
rspec-support (~> 3.13.0)
|
40
|
+
rspec-support (3.13.4)
|
41
|
+
rubocop (1.77.0)
|
42
|
+
json (~> 2.3)
|
43
|
+
language_server-protocol (~> 3.17.0.2)
|
44
|
+
lint_roller (~> 1.1.0)
|
37
45
|
parallel (~> 1.10)
|
38
|
-
parser (>= 3.
|
46
|
+
parser (>= 3.3.0.2)
|
39
47
|
rainbow (>= 2.2.2, < 4.0)
|
40
|
-
regexp_parser (>=
|
41
|
-
|
42
|
-
rubocop-ast (>= 1.5.0, < 2.0)
|
48
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
49
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
43
50
|
ruby-progressbar (~> 1.7)
|
44
|
-
unicode-display_width (>=
|
45
|
-
rubocop-ast (1.
|
46
|
-
parser (>= 3.
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
rubocop
|
52
|
-
rubocop-
|
53
|
-
|
54
|
-
rubocop
|
55
|
-
|
56
|
-
|
51
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
52
|
+
rubocop-ast (1.45.1)
|
53
|
+
parser (>= 3.3.7.2)
|
54
|
+
prism (~> 1.4)
|
55
|
+
rubocop-performance (1.25.0)
|
56
|
+
lint_roller (~> 1.1)
|
57
|
+
rubocop (>= 1.75.0, < 2.0)
|
58
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
59
|
+
rubocop-rake (0.7.1)
|
60
|
+
lint_roller (~> 1.1)
|
61
|
+
rubocop (>= 1.72.1)
|
62
|
+
rubocop-rspec (3.6.0)
|
63
|
+
lint_roller (~> 1.1)
|
64
|
+
rubocop (~> 1.72, >= 1.72.1)
|
65
|
+
ruby-progressbar (1.13.0)
|
66
|
+
unicode-display_width (3.1.4)
|
67
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
68
|
+
unicode-emoji (4.0.4)
|
57
69
|
|
58
70
|
PLATFORMS
|
71
|
+
arm64-darwin-24
|
59
72
|
x86_64-darwin-20
|
60
73
|
x86_64-linux
|
61
74
|
|
@@ -70,4 +83,4 @@ DEPENDENCIES
|
|
70
83
|
rubocop-rspec
|
71
84
|
|
72
85
|
BUNDLED WITH
|
73
|
-
2.
|
86
|
+
2.6.9
|
data/README.md
CHANGED
@@ -12,7 +12,6 @@ like a serial number, or a token sent via SMS.
|
|
12
12
|
|
13
13
|
For more information, see [Douglas Crockford's own website](https://www.crockford.com/base32.html).
|
14
14
|
|
15
|
-
|
16
15
|
Note: Crockford's Base32 also allows for a checksum character. This
|
17
16
|
functionality has not been implemented yet.
|
18
17
|
|
@@ -20,10 +19,10 @@ functionality has not been implemented yet.
|
|
20
19
|
|
21
20
|
The encoding scheme is required to
|
22
21
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
- Be human readable and machine readable.
|
23
|
+
- Be compact. Humans have difficulty in manipulating long strings of arbitrary symbols.
|
24
|
+
- Be error resistant. Entering the symbols must not require keyboarding gymnastics.
|
25
|
+
- Be pronounceable. Humans should be able to accurately transmit the symbols to other humans using a telephone.
|
27
26
|
|
28
27
|
## Usage
|
29
28
|
|
@@ -115,7 +114,7 @@ trackers, chat rooms and mailing lists is expected to follow the
|
|
115
114
|
|
116
115
|
Some of these haven't been updated in over a decade:
|
117
116
|
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
117
|
+
- [base32-crockford](https://rubygems.org/gems/base32-crockford)
|
118
|
+
- [base32-multi](https://rubygems.org/gems/base32-multi)
|
119
|
+
- [base32-url](https://rubygems.org/gems/base32-url)
|
120
|
+
- [base32-alphabets](https://rubygems.org/gems/base32-alphabets)
|
data/crockford.gemspec
CHANGED
@@ -13,12 +13,13 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/iain/crockford"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
16
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
|
17
17
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
19
|
spec.metadata["source_code_uri"] = spec.homepage
|
20
20
|
spec.metadata["changelog_uri"] = File.join(spec.homepage, "blob/HEAD/CHANGELOG.md")
|
21
21
|
spec.metadata["bug_tracker_uri"] = File.join(spec.homepage, "issues")
|
22
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
22
23
|
|
23
24
|
# Specify which files should be added to the gem when it is released.
|
24
25
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
data/lib/crockford/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crockford
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iain
|
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
|
description: Crockford's Base32
|
14
13
|
email:
|
@@ -42,7 +41,7 @@ metadata:
|
|
42
41
|
source_code_uri: https://github.com/iain/crockford
|
43
42
|
changelog_uri: https://github.com/iain/crockford/blob/HEAD/CHANGELOG.md
|
44
43
|
bug_tracker_uri: https://github.com/iain/crockford/issues
|
45
|
-
|
44
|
+
rubygems_mfa_required: 'true'
|
46
45
|
rdoc_options: []
|
47
46
|
require_paths:
|
48
47
|
- lib
|
@@ -50,15 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
50
49
|
requirements:
|
51
50
|
- - ">="
|
52
51
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
52
|
+
version: 3.1.0
|
54
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
54
|
requirements:
|
56
55
|
- - ">="
|
57
56
|
- !ruby/object:Gem::Version
|
58
57
|
version: '0'
|
59
58
|
requirements: []
|
60
|
-
rubygems_version: 3.
|
61
|
-
signing_key:
|
59
|
+
rubygems_version: 3.6.9
|
62
60
|
specification_version: 4
|
63
61
|
summary: Crockford's Base32
|
64
62
|
test_files: []
|